/* Schrift "Anton" (SIL Open Font License, Vernon Adams) — selbst gehostet statt von
   Google-Servern geladen, damit beim Seitenaufruf keine IP-Adresse an Google geht. */
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/anton-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/anton-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #eeece8;
  --card: #ffffff;
  --card-border: #e2ded4;
  --navy: #025fad;
  --navy-dark: #01467f;
  --olive: #a9c139;
  --olive-dark: #86a02a;
  --ink: #14171a;
  --muted: #6b7c85;
  --radius: 18px;
  --shadow: 0 4px 18px rgba(20, 23, 26, 0.08);
  --font-display: 'Anton', 'Segoe UI', system-ui, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'Segoe UI', system-ui, sans-serif;
  line-height: 1.55;
}

.ink { color: var(--ink); }
.accent { color: var(--navy); }

.hero {
  background: var(--bg);
  padding: 40px 20px 0;
  text-align: center;
}
.hero-logo { width: 84px; height: auto; margin-bottom: 14px; }
.legal-hero { padding-bottom: 30px; }
.legal-hero .hero-title { font-size: clamp(26px, 8vw, 32px) !important; padding: 0 10px; word-break: break-word; hyphens: auto; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0.5px;
}
.hero-title .accent { display: block; font-size: 1.15em; }
.hero-banner {
  display: inline-block;
  background: var(--olive);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  margin: 18px 0 0;
  transform: rotate(-1deg);
}

main { max-width: 640px; margin: 0 auto; padding: 24px 16px 60px; }

/* FEATURE-STREIFEN (3 Bullets wie Flyer-Vorderseite) */
.feature-strip { display: flex; flex-direction: column; gap: 18px; margin-bottom: 20px; }
.feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.feature p { font-weight: 700; font-size: 14px; max-width: 220px; margin: 0; color: var(--ink); }

.badge {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.badge svg { width: 26px; height: 26px; }
.badge-olive { background: var(--olive); color: #fff; }
.badge-blue { background: var(--navy); color: #fff; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  margin-bottom: 20px;
}

h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.3px; font-size: 24px; margin-bottom: 14px; color: var(--ink); }
p { margin-bottom: 10px; }
.muted { color: var(--muted); font-size: 13px; }
.lead { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 18px; }

/* WARUM-SEKTION */
.why-grid { display: flex; flex-direction: column; gap: 16px; }
.why-item { background: #f8f7f3; border: 1px solid var(--card-border); border-radius: 14px; padding: 16px 18px; }
.why-item h3 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.why-item p { font-size: 14px; color: var(--muted); margin-bottom: 0; }

/* BEISPIEL */
.example-card { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.example-photo img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 14px; display: block; }
.example-name { font-weight: 700; color: var(--navy); font-size: 15px; }
.example-text p { font-size: 14px; }

.card.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, var(--olive), var(--navy)) border-box;
  box-shadow: 0 8px 28px rgba(2, 60, 90, 0.12);
}

/* ICON-LISTE (Flyer-Rückseite) */
.icon-list { display: flex; flex-direction: column; gap: 18px; margin: 16px 0 8px; }
.icon-list-item { display: flex; gap: 14px; align-items: flex-start; }
.icon-list-item .badge { width: 44px; height: 44px; }
.icon-list-item .badge svg { width: 22px; height: 22px; }
.icon-list-item h3 { font-size: 16px; margin-bottom: 4px; }
.icon-list-item p { font-size: 14px; color: var(--muted); margin-bottom: 0; }
.term-list { list-style: none; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; }
.term-list strong { color: var(--ink); }

/* BUCH-VORSCHAU */
.book-mockup { margin-top: 18px; border-radius: 14px; overflow: hidden; border: 1px solid var(--card-border); }
.book-mockup img { width: 100%; display: block; }
.book-caption { text-align: center; padding: 10px 12px 4px; margin-bottom: 0; }

/* CTA-BANNER */
.cta-banner { text-align: center; padding: 12px 0 28px; }
.cta-line { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 22px; letter-spacing: 0.3px; margin-bottom: 6px; }
.cta-script { font-family: 'Segoe Script', cursive; font-style: italic; color: var(--navy); font-size: 17px; margin: 0; }

form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }

label { font-weight: 600; font-size: 14px; margin-bottom: -8px; }

input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: #fdfcfa;
  color: var(--ink);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
}

.char-counter { text-align: right; font-size: 12px; color: var(--muted); margin-top: -10px; }
.char-counter.limit-near { color: #c98a00; }
.char-counter.limit-reached { color: #d1332a; font-weight: 600; }

input[type="file"] { font-size: 14px; }

.photo-preview { margin-top: 4px; }
.photo-preview img { max-width: 100%; max-height: 260px; border-radius: 12px; display: block; }
.hidden { display: none !important; }
.photo-note { margin-top: -6px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 0;
}
.checkbox-label input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--navy); }
.checkbox-label a { color: var(--navy); }

.consent-details { border: 1px solid var(--card-border); border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.consent-details summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.consent-details ul { margin: 10px 0 0 18px; }
.consent-details li { margin-bottom: 6px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

button#submit-btn {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
button#submit-btn:hover { background: var(--navy-dark); }
button#submit-btn:disabled { background: var(--muted); cursor: not-allowed; }

.form-status { font-size: 14px; min-height: 20px; }
.form-status.error { color: #d1332a; }
.form-status.success { color: var(--olive-dark); font-weight: 600; }

.freebie-reveal {
  background: #f8fbee;
  border: 1.5px solid var(--olive);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
  margin-top: 6px;
}
.freebie-reveal p { margin-bottom: 8px; }
.freebie-btn {
  display: inline-block;
  background: var(--olive);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  margin: 4px 0 10px;
}
.freebie-btn:hover { background: var(--olive-dark); }

.next-steps {
  background: #f3f7fb;
  border: 1.5px solid var(--navy);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 6px;
}
.next-steps p { margin-bottom: 8px; }
.next-steps ul { margin: 0 0 14px 18px; font-size: 14px; }
.next-steps li { margin-bottom: 4px; }
.share-btn {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.share-btn:hover { background: var(--navy-dark); }

ol { margin-left: 20px; }
ol li { margin-bottom: 8px; }

/* GALERIE */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 20px;
}
.gallery-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gallery-photo { width: 100%; height: 220px; object-fit: cover; display: block; background: var(--bg); }
.gallery-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.gallery-name { font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.gallery-story { font-size: 14px; margin-bottom: 8px; }
.gallery-more {
  background: none; border: none; color: var(--navy); font-weight: 600;
  font-size: 13px; padding: 0; cursor: pointer; text-align: left; margin-bottom: 8px;
}
.gallery-vote { margin-top: auto; padding-top: 8px; }
.vote-btn {
  width: 100%;
  background: var(--olive);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.vote-btn:hover { background: var(--olive-dark); }
.vote-btn:disabled { background: var(--muted); cursor: not-allowed; }
.vote-done { color: var(--olive-dark); font-weight: 600; font-size: 14px; }
.vote-soon { color: var(--muted); font-size: 13px; font-style: italic; }

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
}

/* SPOTLIGHT-KARUSSELL */
.spotlight {
  background: var(--card);
  border-bottom: 1px solid var(--card-border);
  padding: 22px 0 28px;
}
.spotlight-track {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 8px;
  touch-action: pan-y;
  user-select: none;
}
.spot-peek {
  flex: 0 0 auto;
  width: 34px;
  height: 130px;
  overflow: hidden;
  border-radius: 10px;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.45;
  background: none;
  transition: opacity 0.15s;
}
.spot-peek img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot-peek:hover { opacity: 0.75; }

.spot-main { display: flex; flex-direction: column; gap: 14px; flex: 1 1 auto; max-width: 600px; margin: 0 10px; min-width: 0; }
.spot-photo-wrap {
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border-radius: 14px; overflow: hidden; max-height: 520px;
}
.spot-photo { max-width: 100%; max-height: 520px; display: block; object-fit: contain; }
.spot-story { font-size: 14px; max-height: 110px; overflow-y: auto; white-space: pre-wrap; margin-bottom: 10px; padding-right: 4px; }
.spot-vote { margin-top: 4px; }

@media (min-width: 700px) {
  .spot-peek { width: 90px; height: 220px; }
  .spot-photo-wrap { max-height: 740px; }
  .spot-photo { max-height: 740px; }
  .spot-main { flex-direction: row; align-items: center; max-width: 1300px; gap: 28px; }
  .spot-photo-wrap { flex: 1 1 55%; }
  .spot-text { flex: 1 1 45%; min-width: 0; }
  .spot-story { max-height: 260px; font-size: 15px; }
}

footer { text-align: center; padding: 28px 24px; color: var(--muted); font-size: 13px; }
.footer-logo { width: 44px; height: auto; margin-bottom: 8px; opacity: 0.85; }
footer a { color: var(--navy); }

@media (min-width: 560px) {
  .example-card { flex-direction: row; align-items: stretch; }
  .example-photo { flex: 0 0 42%; }
  .example-photo img { height: 100%; }
  .example-text { flex: 1; }

  .feature-strip { flex-direction: row; }
  .feature { flex: 1; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
}

/* ============ DESKTOP: breiteres, gefälligeres Layout ab 900px ============ */
@media (min-width: 900px) {
  .hero { padding: 60px 20px 0; }
  .hero-logo { width: 110px; }
  .hero-title { font-size: clamp(48px, 6vw, 76px); }
  .hero-banner { font-size: 17px; padding: 10px 28px; }

  main { max-width: 1140px; padding: 44px 24px 80px; }

  .card { padding: 40px 44px; margin-bottom: 28px; }
  h2 { font-size: 34px; margin-bottom: 20px; }
  .lead { font-size: 19px; }
  .why .lead, .example > p.muted, .intro > p { font-size: 17px; }

  .why-grid { flex-direction: row; gap: 22px; }
  .why-item { flex: 1; padding: 22px 24px; }
  .why-item h3 { font-size: 18px; }
  .why-item p { font-size: 15px; }

  .example-card { gap: 28px; }
  .example-photo { flex: 0 0 46%; }
  .example-photo img { max-height: 420px; border-radius: 16px; }
  .example-name { font-size: 18px; }
  .example-text p { font-size: 16px; }

  .icon-list-item .badge { width: 56px; height: 56px; }
  .icon-list-item .badge svg { width: 28px; height: 28px; }
  .icon-list-item h3 { font-size: 19px; }
  .icon-list-item p, .term-list { font-size: 15px; }

  .cta-line { font-size: 32px; }
  .cta-script { font-size: 20px; }

  .feature p { font-size: 16px; max-width: 260px; }
  .badge { width: 60px; height: 60px; }
  .badge svg { width: 30px; height: 30px; }

  #form-section form, #rules-section > *:not(h2) { max-width: 640px; }

  ol li { font-size: 16px; }
}
