/* ==========================================================================
   indirimGo – Stylesheet
   Farben & Schriften laut Brand Book. Schriften lokal eingebunden (DSGVO).
   ========================================================================== */

/* ---------- Fonts (lokal, kein Google-CDN) ---------- */
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 900;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../fonts/ibm-plex-serif-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  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;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../fonts/ibm-plex-serif-latin-ext-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../fonts/ibm-plex-serif-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  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;
}
@font-face {
  font-family: "IBM Plex Serif";
  src: url("../fonts/ibm-plex-serif-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --green: #01372d;        /* Primary */
  --green-hover: #0b4a3d;
  --yellow: #ffd447;       /* Secondary */
  --red: #eb5c4a;          /* Tertiary */
  --white: #ffffff;        /* Accent 1 */
  --surface: #f7f9f8;      /* Accent 2 */
  --bg: #f0f3f1;           /* Accent 3 */
  --positive: #105f28;
  --negative: #da1e28;

  --ink: var(--green);
  --text: #3d4a46;
  --muted: #66716d;
  --line: #d9e0dc;

  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --pill: 999px;

  --wrap: 1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(4.5rem, 10vw, 8rem);

  /* Wellenkante wie bei den Print-Sujets (Abreiß-Coupon) */
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 12V6C3 1 9 1 12 6S21 11 24 6V12Z' fill='%2301372D'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--green); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--sans);
  padding: 1.05rem 1.6rem; min-height: 3.25rem;
  border-radius: var(--pill); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-hover); }
.btn--ghost {
  background: var(--white); color: var(--ink); border-color: var(--line);
  padding: .8rem 1rem; min-height: 2.75rem; border-radius: var(--radius-s);
}
.btn--ghost:hover { border-color: var(--green); }
.btn--yellow { background: var(--yellow); color: var(--green); }
.btn--yellow:hover { background: #ffdd6b; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 20;
  padding-block: 1.25rem;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(100% - 2 * var(--gutter), 1300px); }
.logo { display: inline-flex; }
.logo img { width: clamp(118px, 12vw, 146px); height: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  margin-top: -5.5rem; padding-top: 7.5rem;
  text-align: center;
  isolation: isolate;
  overflow-x: clip;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/map.svg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 55%, #000 30%, transparent 85%);
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1; letter-spacing: -.012em;
  max-width: 24ch; margin-inline: auto;
}
.hero .lead {
  margin: 1rem auto 0; max-width: 46ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted);
}

/* Warteliste */
.waitlist { margin: 2rem auto 0; max-width: 520px; text-align: left; }
.waitlist__row {
  display: flex; gap: .5rem; padding: .375rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--pill);
  box-shadow: 0 10px 30px -20px rgba(1, 55, 45, .45);
}
.waitlist__row:focus-within { border-color: var(--green); }
.waitlist input[type="email"] {
  flex: 1; min-width: 0; border: 0; background: transparent;
  font: 500 1rem var(--sans); color: var(--ink);
  padding: 0 1rem 0 1.25rem;
}
.waitlist input[type="email"]:focus { outline: none; }
.waitlist input::placeholder { color: #8a9490; }
.consent {
  display: flex; gap: .6rem; align-items: flex-start;
  margin-top: .9rem; font-size: .85rem; line-height: 1.45; color: var(--muted);
}
.consent input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: .1rem; accent-color: var(--green); }
.consent a { color: var(--ink); }
.form-status { margin-top: .75rem; font-size: .9rem; font-weight: 600; min-height: 1.3em; }
.form-status[data-state="success"] { color: var(--positive); }
.form-status[data-state="error"] { color: var(--negative); }
.form-status[data-state="info"] { color: var(--muted); font-weight: 500; }
.hp { position: absolute; left: -9999px; }

/* Store-Badges (noch nicht verfügbar) */
.stores { margin-top: 1.75rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.stores__label { font-size: .85rem; color: var(--muted); }
.stores__badges { display: flex; gap: .6rem; }
.stores__badges { align-items: center; }
.stores__badges img { height: 40px; width: auto; filter: grayscale(1); opacity: .55; }

/* Phone + Coupon-Karten */
.showcase {
  position: relative; margin: 2.75rem auto 0;
  width: min(290px, 70vw);
}
.showcase__phone { position: relative; z-index: 2; width: 100%; filter: drop-shadow(0 30px 40px rgba(1, 55, 45, .18)); }
.coupon {
  position: absolute; z-index: 3; width: clamp(200px, 21vw, 260px);
  filter: drop-shadow(0 14px 22px rgba(1, 55, 45, .16));
}
.coupon--left  { top: 20%; right: calc(100% + 1rem); --r: -4deg; transform: rotate(var(--r)); }
.coupon--right { top: 50%; left: calc(100% + 1rem);  --r: 3.5deg; transform: rotate(var(--r)); }

@media (prefers-reduced-motion: no-preference) {
  .coupon { animation: tear-in .9s cubic-bezier(.2, .8, .2, 1.1) both; }
  .coupon--left  { --from: 45%;  animation-delay: .35s; }
  .coupon--right { --from: -45%; animation-delay: .55s; }
  @keyframes tear-in {
    from { opacity: 0; transform: translateX(var(--from)) rotate(0deg) scale(.9); }
    to   { opacity: 1; transform: translateX(0) rotate(var(--r)) scale(1); }
  }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.15; letter-spacing: -.01em;
}
.section .intro { margin-top: 1rem; max-width: 56ch; color: var(--muted); font-size: 1.125rem; }
/* Perforation wie auf den Coupons */
.perforation { border: 0; border-top: 2px dashed var(--line); margin: 0; }

/* Über uns */
.about { display: grid; gap: 3rem; }
.about__text p + p { margin-top: 1rem; }
.about__text .intro { margin-bottom: 1rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; counter-reset: step; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 2.6rem; height: 2.1rem; margin-top: .1rem;
  background: var(--yellow); color: var(--green);
  font: 600 1.15rem/1 var(--serif);
  border-radius: 6px; transform: rotate(-4deg);
  box-shadow: inset 0 -2px 0 rgba(1, 55, 45, .12);
}
.steps li:nth-child(2)::before { transform: rotate(3deg); }
.steps h3 { font: 700 1.15rem/1.3 var(--sans); }
.steps p { margin-top: .25rem; color: var(--muted); }

@media (min-width: 860px) {
  .about { grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; }
}

/* ---------- Partner (das Poster) ---------- */
.partner {
  position: relative;
  background: var(--green); color: rgba(255, 255, 255, .82);
  margin-block: 12px;
}
.partner::before, .partner::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: var(--wave) repeat-x left bottom / 24px 12px;
}
.partner::before { top: -11px; }
.partner::after { bottom: -11px; transform: scaleY(-1); }
.partner__grid { display: grid; gap: 3rem; }
.partner__head { position: relative; }
.partner .poster-title {
  font-family: var(--sans); font-weight: 850; color: var(--white);
  font-size: clamp(3rem, 8.5vw, 6.6rem); line-height: .92; letter-spacing: -.035em;
}
.partner__head .intro { color: rgba(255, 255, 255, .78); margin-top: 1.5rem; }
.benefits { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; max-width: 46ch; }
.benefits li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; }
.benefits svg { margin-top: .3rem; color: var(--yellow); }
.benefits strong { color: var(--white); font-weight: 650; }

/* ---------- Formulare ---------- */
.card-form {
  background: var(--white); color: var(--text);
  border-radius: var(--radius-l); padding: clamp(1.5rem, 3.5vw, 2.25rem);
}
.card-form h3 { font: 600 1.4rem/1.25 var(--serif); margin-bottom: .75rem; }
.tally-box iframe { display: block; width: 100%; border: 0; min-height: 200px; }
.tally-placeholder {
  display: grid; place-items: center; text-align: center; gap: .35rem;
  min-height: 260px; padding: 1.5rem;
  border: 2px dashed var(--line); border-radius: var(--radius-m);
  color: var(--muted); font-size: .95rem; background: var(--surface);
}
.tally-placeholder strong { color: var(--ink); }
.tally-fallback { color: var(--muted); }

@media (min-width: 960px) {
  .partner__grid { grid-template-columns: 1.15fr 1fr; gap: 4.5rem; align-items: center; }
}

/* ---------- FAQ ---------- */
.faq__list { margin-top: 2.5rem; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.35rem 0; font-weight: 650; font-size: 1.1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301372D' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 1px solid var(--line); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 3rem 1.5rem 0; color: var(--muted); max-width: 68ch; }
@media (min-width: 900px) {
  .faq__layout { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
  .faq__list { margin-top: .5rem; }
}

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: 3rem; }
.contact .card-form { border: 1px solid var(--line); }
.contact__direct { margin-top: 2rem; display: grid; gap: .35rem; }
.contact__direct a { font-weight: 650; color: var(--ink); font-size: 1.15rem; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.socials { display: flex; gap: .6rem; margin-top: 2rem; list-style: none; padding: 0; }
.socials a {
  display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--white); border: 1px solid var(--line); color: var(--ink);
}
.socials a:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start; }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 2.5rem; font-size: .92rem; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; }
.site-footer nav ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 44px; }
.credit a { text-decoration: underline; text-underline-offset: 2px; }
.heart { color: var(--negative); }

/* ---------- Mobile ---------- */
@media (max-width: 599px) {
  .site-header .btn--ghost { font-size: .92rem; padding-inline: .8rem; }
  .hero { padding-top: 6.5rem; }
  .waitlist__row { flex-direction: column; border-radius: var(--radius-l); padding: .5rem; }
  .waitlist input[type="email"] { padding: .9rem .75rem; }
  .waitlist .btn { width: 100%; }
  .coupon { width: 190px; }
  .coupon--left  { right: calc(100% + .75rem); top: 14%; }
  .coupon--right { left: calc(100% + .75rem); top: 52%; }
  .faq details p { padding-right: 0; }
}

/* Fehlerzustand */
.waitlist [aria-invalid="true"] { border-color: var(--negative); }
.waitlist__row:has([aria-invalid="true"]) { border-color: var(--negative); }
.consent input[aria-invalid="true"] { outline: 2px solid var(--negative); outline-offset: 2px; }

/* ---------- Rechtliche Unterseiten ---------- */
.legal { padding-block: clamp(2.5rem, 7vw, 5rem) var(--section); }
.legal__wrap { max-width: 720px; }
.legal h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -.012em;
}
.legal__meta {
  margin-top: .75rem; padding-bottom: 2rem;
  border-bottom: 2px dashed var(--line);
  color: var(--muted); font-size: .95rem;
}
.legal section { margin-top: 2.5rem; }
.legal h2 { font: 600 1.35rem/1.3 var(--serif); margin-bottom: .9rem; }
.legal p + p { margin-top: 1rem; }
.legal strong { color: var(--ink); font-weight: 650; }
.legal a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__facts { margin: 1.25rem 0 0; display: grid; gap: .9rem; }
.legal__facts div { display: grid; gap: .1rem; }
.legal__facts dt { font-size: .88rem; color: var(--muted); }
.legal__facts dd { margin: 0; color: var(--ink); font-weight: 500; }
@media (min-width: 640px) {
  .legal__facts div { grid-template-columns: 15rem 1fr; gap: 1.5rem; }
}
.legal__back { margin-top: 3.5rem; font-weight: 600; }
.site-footer a[aria-current="page"] { text-decoration: underline; text-underline-offset: 3px; }
.legal__intro { margin-top: 2rem; }
.legal h3 { font: 700 1.05rem/1.35 var(--sans); color: var(--ink); margin: 1.75rem 0 .4rem; }
.legal h2 { text-wrap: pretty; }
.legal__num { color: var(--red); margin-right: .15em; }
.legal ul { margin: .75rem 0 1rem; padding-left: 1.2rem; }
.legal ul li + li { margin-top: .25rem; }
.legal ul li::marker { color: var(--muted); }
.legal__toc {
  margin-top: 2rem; padding: 1.25rem 1.5rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m);
}
.legal__toc ol { margin: 0; padding-left: 1.3rem; columns: 2 14rem; column-gap: 2rem; }
.legal__toc li { break-inside: avoid; padding-block: .15rem; }
.legal__toc a { text-decoration: none; font-weight: 500; }
.legal__toc a:hover { text-decoration: underline; }
.legal section { scroll-margin-top: 1.5rem; }
@media (min-width: 640px) {
  .legal__facts--wide div { grid-template-columns: 11rem 1fr; }
}
.legal__facts--wide dd { font-weight: 400; color: var(--text); }
.legal a[href^="tel:"] { white-space: nowrap; }
