/* ==========================================================================
   geschenke.css – gemeinsames Design für die Geschenke-Seiten
   (geschenke.html, geschenke-zugang.html, klarheit-checkliste.html und die
   kleinen Hinweisseiten von bestaetigen.php / abmelden.php)
   Farben und Schriften sind identisch mit der Startseite.
   ========================================================================== */

:root {
  --braun:  #1E2A40;
  --braun-dunkel: #10182A;
  --sand:   #CBBFA8;
  --sand-dunkel: #867450;
  --grau:   #000000;
  --creme:  #F4F2EF;
  --creme-2:#EAE7E1;
  --rosa:   #F7E6EA;
  --weiss:  #ffffff;
  --insta:  #E1306C;
  --schrift-display: 'Prata', Georgia, 'Times New Roman', serif;
  --schrift-text: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 14px;
  --schatten: 0 18px 50px rgba(71, 72, 74, 0.12);
  --schatten-klein: 0 8px 24px rgba(71, 72, 74, 0.10);
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--schrift-text);
  color: var(--grau);
  background: var(--creme);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: var(--schrift-display);
  font-weight: 400;
  color: var(--braun);
  line-height: 1.25;
  letter-spacing: 0.2px;
}
img { max-width: 100%; display: block; }
a { color: var(--braun); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 40px 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--sand-dunkel);
  margin-bottom: 14px;
  display: block;
}

/* Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--braun);
  color: var(--weiss);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--schrift-text);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(30, 42, 64, 0.28);
}
.btn:hover { background: var(--braun-dunkel); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(30, 42, 64, 0.34); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-hell { background: transparent; color: var(--braun); border: 1.5px solid var(--braun); box-shadow: none; }
.btn-hell:hover { background: var(--braun); color: var(--weiss); }
.btn-klein { padding: 9px 20px; font-size: 15.5px; }
.btn:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid var(--sand-dunkel); outline-offset: 3px;
}

/* Kopfbereich ---------------------------------------------------------- */
header.site {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 242, 239, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(203, 191, 168, 0.35);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; row-gap: 8px;
  padding: 6px 24px; max-width: var(--max); margin: 0 auto;
}
.logo-gruppe { display: flex; align-items: center; gap: 14px; }
.logo-bild { height: 52px; width: auto; display: block; }
.logo-eyebrow { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sand-dunkel); font-weight: 600; }
.nav-links { display: flex; gap: 20px; align-items: center; list-style: none; flex-wrap: wrap; }
.nav-links a { text-decoration: none; color: var(--grau); font-weight: 500; font-size: 15.5px; white-space: nowrap; }
.nav-links a:hover { color: var(--sand-dunkel); }
.nav-links a.btn { color: var(--weiss); }
@media (max-width: 720px) { .logo-eyebrow { display: none; } .nav-links { gap: 12px; } }

/* Einstieg ------------------------------------------------------------- */
.hero { padding: 54px 0 30px; text-align: center; }
.hero h1 { font-size: clamp(27px, 4.4vw, 44px); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--sand-dunkel); }
.hero p.lead { font-size: 19px; max-width: 680px; margin: 0 auto; }

/* Geschenk-Karten ------------------------------------------------------ */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.karte {
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  box-shadow: var(--schatten-klein);
  border: 2px solid transparent;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.karte h3 { font-size: 22px; }
.karte p { font-size: 16.5px; }
.karte .wort {
  align-self: flex-start;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap;
  color: var(--braun); background: var(--creme-2);
  padding: 5px 14px; border-radius: 30px;
}
.karte .karte-kopf { display: flex; align-items: center; gap: 12px; }
.karte .symbol { width: 44px; height: 44px; flex-shrink: 0; color: var(--sand-dunkel); }
.karte.aktiv { border-color: var(--sand-dunkel); box-shadow: var(--schatten); transform: translateY(-4px); }
.karte.aktiv .wort { background: var(--braun); color: var(--weiss); }
.karte .karte-fuss { margin-top: auto; padding-top: 12px; }
@media (max-width: 860px) { .karten { grid-template-columns: 1fr; } }

/* Formular ------------------------------------------------------------- */
#formular-bereich { background: var(--rosa); }
.formular-box {
  background: var(--weiss);
  max-width: 680px; margin: 0 auto;
  border-radius: 20px;
  padding: 38px 40px 34px;
  box-shadow: var(--schatten);
}
.formular-box h2 { font-size: clamp(23px, 3vw, 31px); margin-bottom: 8px; text-align: center; }
.formular-box .unter { text-align: center; margin-bottom: 26px; font-size: 16.5px; }
.feld { margin-bottom: 18px; }
.feld label.titel { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; color: var(--braun); }
.feld .optional { font-weight: 400; color: #555; }
.feld input[type=text], .feld input[type=email], .feld input[type=tel] {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 17px;
  border: 1.5px solid #cfc8bb; border-radius: 10px; background: var(--creme); color: var(--grau);
}
.feld input:focus { border-color: var(--braun); background: var(--weiss); }
.feld .hilfe { font-size: 14px; color: #444; margin-top: 5px; line-height: 1.5; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .zwei { grid-template-columns: 1fr; gap: 0; } .formular-box { padding: 28px 22px; } }
.haken { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0; font-size: 15px; line-height: 1.55; }
.haken input { width: 22px; height: 22px; margin-top: 2px; flex-shrink: 0; accent-color: var(--braun); }
.haken a { color: var(--braun); }
#telefon-einwilligung { display: none; }
#telefon-einwilligung.sichtbar { display: flex; }
.formular-box .btn { width: 100%; margin-top: 10px; font-size: 18px; }
.formular-hinweis { font-size: 13.5px; color: #333; text-align: center; margin-top: 14px; line-height: 1.5; }
.falle { position: absolute; left: -5000px; height: 0; overflow: hidden; }
.fehler { background: #fbe9e7; border: 1.5px solid #c0392b; color: #7b241c; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; font-size: 15.5px; }
.fehler[hidden], .erfolg[hidden], .formular-box form[hidden] { display: none; }
.erfolg { text-align: center; padding: 6px 0; }
.erfolg .haken-gross { width: 62px; height: 62px; margin: 0 auto 16px; color: var(--sand-dunkel); }
.erfolg h2 { margin-bottom: 14px; }
.erfolg p { margin-bottom: 10px; }
.erfolg .spam { font-size: 15px; background: var(--creme); border-radius: 10px; padding: 12px 16px; margin-top: 16px; }

/* Ablauf --------------------------------------------------------------- */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; counter-reset: s; }
.schritt { text-align: center; padding: 0 12px; }
.schritt::before {
  counter-increment: s; content: counter(s);
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin: 0 auto 12px;
  border-radius: 50%; border: 1.5px solid var(--sand-dunkel);
  font-family: var(--schrift-display); font-size: 20px; color: var(--braun);
}
.schritt h3 { font-size: 19px; margin-bottom: 6px; }
.schritt p { font-size: 16px; }
@media (max-width: 760px) { .schritte { grid-template-columns: 1fr; } }
.mittig { text-align: center; }
.mittig h2 { font-size: clamp(23px, 3vw, 32px); }

/* Zugangsseite --------------------------------------------------------- */
.zugang-liste { display: grid; gap: 18px; max-width: 820px; margin: 0 auto; }
.zugang-zeile {
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten-klein);
  padding: 22px 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  border: 2px solid transparent;
}
.zugang-zeile.aktiv { border-color: var(--sand-dunkel); box-shadow: var(--schatten); }
.zugang-zeile .symbol { width: 44px; height: 44px; color: var(--sand-dunkel); }
.zugang-zeile h3 { font-size: 20px; margin-bottom: 2px; }
.zugang-zeile p { font-size: 16px; line-height: 1.55; }
@media (max-width: 640px) { .zugang-zeile { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.dokumente { max-width: 820px; margin: 0 auto; background: var(--weiss); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--schatten-klein); }
.dokumente h3 { font-size: 20px; margin-bottom: 10px; }
.dokumente ul { list-style: none; }
.dokumente li { padding: 10px 0; border-bottom: 1px solid #ece7dd; display: flex; gap: 12px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.dokumente li:last-child { border-bottom: none; }
.dokumente li span { font-size: 14px; color: #555; }

/* Checkliste ----------------------------------------------------------- */
.checkliste-kopf { max-width: 760px; margin: 0 auto; }
.fortschritt { max-width: 760px; margin: 22px auto 0; background: var(--weiss); border-radius: var(--radius); padding: 18px 24px; box-shadow: var(--schatten-klein); position: sticky; top: 74px; z-index: 20; }
.fortschritt .zeile { display: flex; justify-content: space-between; font-weight: 600; font-size: 15.5px; color: var(--braun); margin-bottom: 8px; }
.balken { height: 10px; background: var(--creme-2); border-radius: 10px; overflow: hidden; }
.balken > div { height: 100%; width: 0; background: var(--braun); border-radius: 10px; transition: width .35s ease; }
.gruppe { max-width: 760px; margin: 30px auto 0; }
.gruppe h2 { font-size: 24px; margin-bottom: 4px; }
.gruppe .gruppen-text { font-size: 16px; color: #222; margin-bottom: 12px; }
.punkt { display: flex; gap: 14px; align-items: flex-start; background: var(--weiss); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(71,72,74,.07); cursor: pointer; border: 1.5px solid transparent; transition: border-color .2s, background .2s; }
.punkt:hover { border-color: var(--sand); }
.punkt input { width: 24px; height: 24px; margin-top: 2px; flex-shrink: 0; accent-color: var(--braun); cursor: pointer; }
.punkt .text strong { display: block; font-weight: 700; color: var(--braun); }
.punkt .text span { font-size: 15.5px; color: #222; }
.punkt.erledigt { background: #f3efe7; }
.punkt.erledigt .text strong { text-decoration: line-through; text-decoration-color: var(--sand-dunkel); opacity: .75; }
.auswertung { max-width: 760px; margin: 34px auto 0; background: var(--braun); color: var(--creme); border-radius: 20px; padding: 30px 34px; box-shadow: var(--schatten); }
.auswertung h2 { color: var(--creme); font-size: 24px; margin-bottom: 10px; }
.auswertung p { color: var(--creme); }
.mehr { max-width: 760px; margin: 0 auto; }
.mehr-box { background: var(--weiss); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--schatten-klein); margin-bottom: 20px; }
.mehr-box h2, .mehr-box h3 { font-size: 22px; margin-bottom: 10px; }
.mehr-box ul { margin: 8px 0 0 20px; }
.mehr-box li { margin-bottom: 8px; }
.cta-reihe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.telegram-box { background: var(--rosa); }
.drucken { text-align: center; margin: 26px 0 0; }

/* Hinweisseiten (bestaetigen.php, abmelden.php) -------------------------- */
.hinweis-seite { max-width: 640px; margin: 70px auto; padding: 0 24px; text-align: center; }
.hinweis-seite h1 { font-size: clamp(25px, 4vw, 34px); margin-bottom: 16px; }
.hinweis-seite p { margin-bottom: 14px; }

/* Fußbereich ------------------------------------------------------------ */
footer.site { background: var(--weiss); border-top: 1px solid rgba(203,191,168,0.55); padding: 22px 0 18px; margin-top: 30px; }
footer.site .wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
footer.site .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
footer.site .footer-links a { color: var(--grau); text-decoration: none; font-size: 14px; font-weight: 500; }
footer.site .footer-links a:hover { color: var(--sand-dunkel); text-decoration: underline; }
footer.site .insta { display: inline-flex; align-items: center; gap: 10px; color: var(--grau); text-decoration: none; font-size: 15px; }
footer.site .insta svg { width: 30px; height: 30px; color: var(--sand-dunkel); }
footer.site .footer-copy { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; }

/* Drucken (Checkliste als PDF) ------------------------------------------ */
@media print {
  body { background: #fff; font-size: 12pt; }
  header.site, footer.site, .fortschritt, .drucken, .mehr, .auswertung, .nav, .no-print { display: none !important; }
  .punkt { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .gruppe { break-inside: avoid-page; margin-top: 18px; }
  .hero { padding: 0 0 8px; }
}

/* Button „Termin sichern“ neben dem Logo ------------------------------- */
.logo-gruppe .btn.btn-logo-termin { padding: 8px 16px; font-size: 14.5px; white-space: nowrap; color: var(--weiss); box-shadow: none; }
@media (max-width: 380px) { .logo-gruppe .btn.btn-logo-termin { padding: 7px 12px; font-size: 13.5px; } .logo-gruppe { gap: 10px; } }

/* Klarheits-Checkliste: Anmeldeformular am Ende (Auswertung kommt als PDF) */
.klarheit-formular { max-width: 760px; margin: 40px auto 0; border: 1.5px solid var(--sand); }
.klarheit-formular h2 { text-align: left; }
.klarheit-formular .unter { text-align: left; }
.im-pdf { background: var(--creme-2); border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; font-size: 15.5px; }
.im-pdf ul { margin: 6px 0 0 20px; }
.im-pdf li { margin-bottom: 3px; }
/* Handy: Kopfzeile in einer Zeile halten (Termin-Button + "Meine Geschenke"), Kontakt steht im Fußbereich */
@media (max-width: 520px) {
  .nav-links .btn-klein { display: none; }
  .nav { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .nav-links { gap: 10px; }
  .nav-links a { font-size: 14.5px; }
}@media (max-width: 520px) { .nav-links li:not(:first-child) { display: none; } }
