/*
Theme Name: Leuchtaugen
Theme URI: https://leuchtaugen.de
Author: Leuchtaugen
Description: Schlankes Theme für die Leuchtaugen-Startseite. Papier, Tinte, Band.
Version: 1.3
Requires at least: 6.0
Text Domain: leuchtaugen
*/

/* ---------- Schriften (lokal, siehe fonts/LIES-MICH.txt) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2"),
       url("fonts/fraunces.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans.woff2") format("woff2"),
       url("fonts/dm-sans.ttf") format("truetype");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben & Grundwerte ---------- */
:root {
  --papier: #F8F1E7;
  --packpapier: #EADBC8;
  --tinte: #1F4E55;
  --band: #D46A55;
  --messing: #B8945A;
  --messing-dunkel: #8A6A35;
  --weiss: #FFFFFF;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --breite: 68rem;
  --rand: clamp(1.25rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--tinte); text-decoration-color: var(--messing); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--tinte); }

:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-variation-settings: "SOFT" 60, "WONK" 0;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); letter-spacing: -0.01em; }
h3 { font-size: 1.45rem; }

p { margin: 0 0 1em; max-width: 36em; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--tinte); color: var(--papier); padding: 0.6rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Knopf ---------- */
.knopf {
  display: inline-block;
  background: var(--band);
  color: var(--weiss);
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 700;          /* fett + groß: Kontrast weiß auf Koralle reicht so */
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 2px 0 rgba(31, 78, 85, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.knopf:hover { transform: translateY(-1px); box-shadow: 0 4px 0 rgba(31, 78, 85, 0.25); }
.knopf:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(31, 78, 85, 0.25); }

.leise-link { font-weight: 500; }

/* ---------- Kopf ---------- */
.kopf { padding: 1.4rem 0; }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--serif); font-size: 1.55rem; font-weight: 500;
  color: var(--tinte); text-decoration: none;
}
.logo svg { width: 2.4rem; height: auto; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 6vw, 5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero .huelle {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hero-text p.unterzeile { font-size: 1.3rem; margin-bottom: 1.8rem; }
.hero-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; }

/* Der Geschenkanhänger – das eine besondere Element der Seite */
.anhaenger-buehne { position: relative; padding-top: 4.5rem; justify-self: center; width: 100%; max-width: 22rem; }
.anhaenger-faden {
  position: absolute; top: 0; left: 50%; width: 7rem; height: 5.4rem;
  transform: translateX(-50%); overflow: visible;
}
.anhaenger {
  position: relative;
  background: var(--weiss);
  border-radius: 1.1rem;
  padding: 2.6rem 1.8rem 1.8rem;
  box-shadow: 0 1px 0 var(--packpapier), 0 18px 40px -18px rgba(31, 78, 85, 0.35);
  transform-origin: 50% -4.5rem;
  transform: rotate(-3deg);
  animation: pendeln 2.4s cubic-bezier(.3,.7,.3,1) 0.3s both;
}
/* gestanztes Loch */
.anhaenger::before {
  content: ""; position: absolute; top: 1rem; left: 50%;
  width: 0.9rem; height: 0.9rem; margin-left: -0.45rem;
  border-radius: 50%; background: var(--papier);
  box-shadow: inset 0 1px 2px rgba(31, 78, 85, 0.3), 0 0 0 2px var(--messing);
}
/* Band am Kartenrand (wie beim Herzenswunsch in der App) */
.anhaenger::after {
  content: ""; position: absolute; left: 0; top: 1.6rem; bottom: 1.6rem;
  width: 5px; border-radius: 0 3px 3px 0; background: var(--band);
}
.anhaenger-anlass { font-family: var(--serif); font-size: 1.7rem; line-height: 1.15; margin: 0 0 0.25rem; }
.anhaenger-wann { color: var(--messing-dunkel); font-weight: 600; margin: 0 0 1.2rem; }
.anhaenger hr { border: 0; border-top: 1px dashed var(--messing); margin: 0 0 1rem; }
.anhaenger-ideen-titel { font-weight: 600; margin: 0 0 0.4rem; }
.anhaenger ul { margin: 0; padding: 0; list-style: none; }
.anhaenger li { padding-left: 1.3rem; position: relative; margin-bottom: 0.35rem; line-height: 1.4; }
.anhaenger li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.5rem; height: 0.5rem; border: 2px solid var(--messing); border-radius: 50%;
}

@keyframes pendeln {
  0%   { transform: rotate(9deg); }
  35%  { transform: rotate(-6deg); }
  60%  { transform: rotate(-1deg); }
  80%  { transform: rotate(-4deg); }
  100% { transform: rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .anhaenger { animation: none; }
  .knopf { transition: none; }
}

/* ---------- Was Leuchtaugen anders macht ---------- */
.besonders { background: var(--weiss); border-top: 1px solid var(--packpapier); border-bottom: 1px solid var(--packpapier); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3rem); }
.besonders-kopf { max-width: 40rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.einleitung { font-size: 1.25rem; }

.spot {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-top: 1px solid var(--packpapier);
}
.spot-gespiegelt .spot-bild { order: -1; }
.spot-text h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: 0.6rem; }
.spot-text p:last-child { margin-bottom: 0; }
.spot-bild { display: flex; justify-content: center; }

/* Kleine Nachbauten der App, als Geschenkanhänger */
.mock {
  position: relative; width: 100%; max-width: 24rem;
  background: var(--papier); border-radius: 1.1rem;
  padding: 2.4rem 1.5rem 1.5rem;
  box-shadow: 0 1px 0 var(--packpapier), 0 14px 32px -18px rgba(31, 78, 85, 0.35);
  font-size: 1rem; line-height: 1.45;
}
.mock::before {
  content: ""; position: absolute; top: 0.95rem; left: 50%;
  width: 0.8rem; height: 0.8rem; margin-left: -0.4rem; border-radius: 50%;
  background: var(--weiss); box-shadow: inset 0 1px 2px rgba(31, 78, 85, 0.3), 0 0 0 2px var(--messing);
}
.mock p { margin: 0; }
.mock-titel { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.9rem !important; }
.mock-zwischen { font-weight: 700; margin: 1.1rem 0 0.4rem !important; }
.mock-klein { margin-bottom: 0.7rem !important; }
.mock-idee-gross { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.7rem !important; }

.mock-fakten { margin: 0; display: grid; gap: 0.3rem; }
.mock-fakten div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.5rem; }
.mock-fakten dt { color: var(--messing-dunkel); font-weight: 600; }
.mock-fakten dd { margin: 0; }

.mock-ideen { list-style: none; margin: 0; padding: 0; }
.mock-ideen li {
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
  background: var(--weiss); border-radius: 0.6rem; padding: 0.55rem 0.75rem; margin-bottom: 0.4rem;
}
.chip { font-size: 0.8rem; font-weight: 700; padding: 0.15rem 0.65rem; border-radius: 999px; background: var(--packpapier); white-space: nowrap; }
.chip-gekauft { background: transparent; box-shadow: inset 0 0 0 1.5px var(--tinte); }
.chip-verschenkt { background: var(--tinte); color: var(--papier); }

.mock-hinweis {
  background: var(--weiss); border-radius: 0.6rem; padding: 0.7rem 0.9rem 0.7rem 1rem;
  border-left: 4px solid var(--band); font-weight: 600;
}

.vorschlag { background: var(--weiss); border-radius: 0.6rem; padding: 0.8rem 0.9rem; margin-bottom: 0.5rem; }
.vorschlag:last-child { margin-bottom: 0; }
.vorschlag-name { font-weight: 700; }
.vorschlag-grund { margin: 0.15rem 0 0.5rem !important; }
.vorschlag-fuss { display: flex; justify-content: space-between; align-items: center; }
.preis { color: var(--messing-dunkel); font-weight: 700; }
.finden { font-size: 0.85rem; font-weight: 700; padding: 0.2rem 0.8rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--tinte); }

.mock-anlaesse { list-style: none; margin: 0; padding: 0; }
.mock-anlaesse li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--weiss); border-radius: 0.6rem; padding: 0.65rem 0.8rem; margin-bottom: 0.45rem;
}
.mock-anlaesse li:first-child { box-shadow: inset 4px 0 0 var(--band); }
.mock-anlaesse strong { display: block; }
.mock-anlaesse small { color: var(--messing-dunkel); font-size: 0.85rem; font-weight: 600; }
.mock-anlaesse .wann { font-size: 0.9rem; font-weight: 600; white-space: nowrap; }

/* ---------- Und außerdem ---------- */
.ausserdem { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.ausserdem h2 { margin-bottom: 2.2rem; }
.ausserdem-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem 3rem; }
.ding { border-top: 2px solid var(--messing); padding-top: 1.1rem; }
.ding h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.ding p { margin: 0; }

/* ---------- Oma-Garantie ---------- */
.oma { background: var(--tinte); color: var(--papier); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.oma a { color: var(--papier); }
.oma .einleitung { margin-bottom: 2.5rem; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: schritt; }
.schritte li { counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt);
  display: flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; margin-bottom: 0.9rem;
  border: 2px solid var(--messing); border-radius: 50%;
  font-family: var(--serif); font-size: 1.3rem;
}
.schritte strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin-bottom: 0.3rem; }

/* ---------- Gut zu wissen ---------- */
.wissen { padding: clamp(3.5rem, 8vw, 6rem) 0; border-top: 1px solid var(--packpapier); }
.wissen .huelle { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.5rem 4rem; align-items: start; }
.wissen dl { margin: 0; }
.wissen dt { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 0.3rem; }
.wissen dd { margin: 0 0 1.8rem; }
.wissen dd:last-child { margin-bottom: 0; }

/* ---------- Schluss ---------- */
.schluss { padding: 0 0 clamp(4rem, 9vw, 7rem); text-align: center; }
.schluss .kasten {
  background: var(--packpapier);
  border-radius: 1.4rem;
  padding: clamp(2.5rem, 6vw, 4rem) var(--rand);
}
.schluss p { margin: 0 auto 1.8rem; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.seite { padding: 2rem 0 5rem; }
.seite .inhalt { max-width: 44rem; }
.seite .inhalt h2 { font-size: 1.6rem; margin-top: 2rem; }

/* ---------- Fuß ---------- */
.fuss { border-top: 1px solid var(--packpapier); padding: 2rem 0 2.5rem; font-size: 1rem; }
.fuss .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.fuss nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.fuss button.link-knopf {
  background: none; border: 0; padding: 0; font: inherit; color: var(--tinte);
  text-decoration: underline; text-decoration-color: var(--messing); text-underline-offset: 0.2em; cursor: pointer;
}

/* ---------- Mobil ---------- */
@media (max-width: 52rem) {
  .hero .huelle, .wissen .huelle { grid-template-columns: 1fr; }
  .anhaenger-buehne { max-width: 19rem; }
  .schritte, .spot { grid-template-columns: 1fr; }
  .spot-gespiegelt .spot-bild { order: 0; }
  .ausserdem-raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 34rem) {
  .ausserdem-raster { grid-template-columns: 1fr; }
}
@media (max-width: 30rem) {
  .kopf .leise-link { display: none; }
}

/* ---------- Kopf-Navigation ---------- */
.kopf-nav { display: flex; align-items: center; gap: 1.5rem; }

/* ---------- Ratgeber ---------- */
.ratgeber { padding: 2rem 0 5rem; }
.ratgeber-kopf { max-width: 40rem; margin-bottom: 2.5rem; }
.artikel-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 2rem; }
.artikel-karte {
  background: var(--weiss); border-radius: 1.1rem; padding: 1.4rem;
  box-shadow: 0 1px 0 var(--packpapier), 0 14px 32px -22px rgba(31, 78, 85, 0.35);
}
.artikel-karte img { border-radius: 0.7rem; margin-bottom: 1rem; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.artikel-karte h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.artikel-karte h2 a { text-decoration: none; }
.artikel-karte h2 a:hover { text-decoration: underline; text-decoration-color: var(--messing); }
.artikel-karte p { margin: 0; }
.blaettern { margin-top: 2.5rem; }
.blaettern .nav-links { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Einzelner Artikel ---------- */
.artikel-seite { padding: 1.5rem 0 5rem; }
.artikel { max-width: 42rem; margin: 0 auto; }
.artikel-zurueck { margin-bottom: 0.8rem; font-weight: 600; }
.artikel-datum { color: var(--messing-dunkel); font-weight: 600; font-size: 1rem; }
.artikel-bild { margin: 1.5rem 0 2rem; }
.artikel-bild img { border-radius: 1.1rem; width: 100%; }
.artikel-inhalt h2 { font-size: 1.8rem; margin-top: 2.2rem; }
.artikel-inhalt h3 { margin-top: 1.8rem; }
.artikel-inhalt ul, .artikel-inhalt ol { padding-left: 1.3rem; margin: 0 0 1.2em; max-width: 36em; }
.artikel-inhalt li { margin-bottom: 0.4rem; }
.artikel-inhalt img { border-radius: 0.8rem; }
.artikel-inhalt blockquote { margin: 1.5rem 0; padding: 0.2rem 0 0.2rem 1.2rem; border-left: 4px solid var(--band); }
.artikel-cta {
  max-width: 42rem; margin: 3.5rem auto 0; background: var(--packpapier);
  border-radius: 1.4rem; padding: 2rem clamp(1.5rem, 4vw, 2.5rem);
}
.artikel-cta-titel { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; margin-bottom: 0.5rem; }

/* ---------- Kleiner Knopf (Anmelden oben rechts) ---------- */
.knopf-klein {
  padding: 0.5rem 1.2rem;
  box-shadow: 0 2px 0 rgba(31, 78, 85, 0.2);
}

/* ---------- Zwischen-Einladung nach den Merkmalen ---------- */
.zwischen-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap;
  border-top: 1px solid var(--packpapier);
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}
.zwischen-cta p { margin: 0; }
.zwischen-cta-titel { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; margin-bottom: 0.3rem !important; }