@import url("fonts.css");

/* =================================================================
   PZ-AboCard – Design System
   ================================================================= */

:root {
  /* Farben */
  --paper:        #fbf8f4;
  --paper-2:      #f4efe8;
  --card:         #ffffff;
  --ink:          #17181c;
  --ink-2:        #4a4d57;
  --ink-3:        #7c808c;
  --line:         #e6e0d7;
  --line-2:       #d8d0c4;

  --brand:        #e2700c;
  --brand-600:    #c65f06;
  --brand-700:    #a44f05;
  --brand-100:    #fdf0e2;
  --brand-tint:   rgba(226, 112, 12, .12);

  /* Zweite Akzentfarbe: PZ-Blau */
  --accent:       #005b9a;
  --accent-600:   #004a7e;
  --accent-700:   #003c66;
  --accent-100:   #e5eff6;
  --accent-tint:  rgba(0, 91, 154, .12);

  /* Die Vorteilswelt nutzt das Blau als Leitfarbe */
  --world:        var(--accent);
  --world-600:    var(--accent-600);
  --world-100:    var(--accent-100);

  --ok:           #157a4a;
  --warn:         #b25a00;
  --err:          #b3261e;

  /* Typografie */
  /* Roboto Slab ist die Leitschrift, Inter nur für kleine Hilfstexte */
  --font-display: "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-body:    "Roboto Slab", Georgia, "Times New Roman", serif;
  --font-ui:      "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0:  clamp(1rem, .97rem + .15vw, 1.075rem);
  --step-1:  clamp(1.18rem, 1.1rem + .35vw, 1.4rem);
  --step-2:  clamp(1.45rem, 1.3rem + .7vw, 1.95rem);
  --step-3:  clamp(1.8rem, 1.5rem + 1.4vw, 2.85rem);
  --step-4:  clamp(2.2rem, 1.6rem + 2.6vw, 4rem);
  --step-5:  clamp(2.6rem, 1.7rem + 4vw, 5.4rem);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 780px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-sm: 10px;

  --shadow-sm: 0 1px 2px rgba(23, 24, 28, .05), 0 2px 6px rgba(23, 24, 28, .04);
  --shadow:    0 2px 4px rgba(23, 24, 28, .04), 0 10px 30px rgba(23, 24, 28, .07);
  --shadow-lg: 0 4px 8px rgba(23, 24, 28, .05), 0 24px 60px rgba(23, 24, 28, .13);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --dur: .5s;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Kleinteilige Elemente laufen in Inter – dort ist die Grotesk ruhiger */
.eyebrow, .badge, .card__meta, .field__hint, .field__error, .crumbs,
.footer h3, .marquee__item, .adm-tag, .chip span, .abocard__row, .abocard__no,
.hero__stat span, .statbox span, .cat-tile__num, .offer-box__label,
input, textarea, select { font-family: var(--font-ui); }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brand); color: #fff; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gutter) * 2, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.25rem, 5vw, 4rem); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }
.stack > * + * { margin-top: var(--gap, 1rem); }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

/* ---------- Kopfzeile ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(23,24,28,.05); }

.header__inner {
  display: flex; align-items: center; gap: 1.25rem;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo__img {
  height: 34px; width: auto; display: block;
  transition: transform .4s var(--ease), opacity .25s;
}
.logo:hover .logo__img { transform: scale(1.03); }
.logo:active .logo__img { opacity: .8; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .8rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; text-decoration: none;
  color: var(--ink-2); position: relative;
  transition: color .25s, background .25s;
  white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--ink); background: var(--paper-2); }
.nav__link.is-active { color: var(--brand-700); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem;
  height: 2px; border-radius: 2px; background: var(--brand);
  animation: nav-in .45s var(--ease) both;
}
@keyframes nav-in { from { transform: scaleX(0); opacity: 0 } to { transform: scaleX(1); opacity: 1 } }

.nav__item { position: relative; }
.nav__caret { width: 9px; height: 9px; transition: transform .3s var(--ease); opacity: .6; }
.nav__item:hover .nav__caret, .nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + .4rem); left: 50%;
  translate: -50% 0;
  width: max-content; max-width: min(92vw, 560px); padding: .9rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.985);
  transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
}
.nav__item:hover > .mega,
.nav__item:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

/* Kategorien als kompaktes Kachelraster */
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: .25rem; }
.mega__tile {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .7rem; border-radius: 11px; text-decoration: none; color: inherit;
  transition: background .2s;
}
.mega__tile:hover { background: var(--brand-100); }
.mega__icon {
  flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  background: var(--paper-2); color: var(--brand-700); transition: background .2s, color .2s;
}
.mega__icon svg { width: 17px; height: 17px; }
.mega__tile:hover .mega__icon { background: var(--brand); color: #fff; }
.mega__body { display: grid; gap: .05rem; min-width: 0; }
.mega__body strong { font-size: .94rem; font-weight: 600; }
.mega__body small { font-family: var(--font-ui); font-size: .76rem; color: var(--ink-3); }

/* Einspaltige Liste für Vorteilswelt und Termine */
.mega__list { display: grid; gap: .15rem; }
.mega__list a {
  display: grid; gap: .1rem; padding: .55rem .7rem; border-radius: 10px;
  text-decoration: none; color: inherit; transition: background .2s, padding-left .2s;
}
.mega__list a:hover { background: var(--paper-2); padding-left: .95rem; }
.mega__list strong { font-size: .93rem; font-weight: 600; }
.mega__list small { font-family: var(--font-ui); font-size: .77rem; color: var(--ink-3); }

.mega__intro {
  font-family: var(--font-ui); font-size: .82rem; line-height: 1.5; color: var(--ink-2);
  margin: 0 .3rem .7rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line);
  max-width: 42ch;
}
.mega__intro strong { color: var(--ink); font-weight: 600; }

.mega__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: .5rem; padding: .65rem .7rem; border-radius: 10px;
  background: var(--paper-2); color: var(--brand-700);
  font-size: .89rem; font-weight: 600; text-decoration: none;
  transition: background .22s, color .22s;
}
.mega__foot svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mega__foot:hover { background: var(--brand); color: #fff; }
.mega__foot:hover svg { transform: translateX(3px); }
.mega--world .mega__foot { color: var(--accent-600); }
.mega--world .mega__foot:hover { background: var(--accent); color: #fff; }
.mega--world .mega__list a:hover { background: var(--accent-100); }

.header__actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--card); border-radius: 12px; cursor: pointer; padding: 0;
  place-items: center;
}
.burger span {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Navigation */
@media (max-width: 1060px) {
  .burger { display: grid; }
  .header__actions { margin-left: auto; }
  /* backdrop-filter würde einen Containing Block für das fixierte Menü erzeugen */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 80;
    background: var(--paper); overflow-y: auto;
    padding: 1.25rem var(--gutter) 4rem;
    transform: translateX(100%); visibility: hidden;
    transition: transform .42s var(--ease), visibility .42s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav__link { padding: .9rem .5rem; font-size: 1.1rem; font-family: var(--font-display); font-weight: 600; justify-content: space-between; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--brand-100); }
  .mega {
    position: static; translate: none; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0;
    margin: 0 0 .75rem .35rem; padding: .35rem 0 .35rem .55rem;
    width: auto; max-width: none; display: none;
  }
  .nav__item.is-open > .mega { display: block; animation: slide-down .3s var(--ease); }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__intro { margin-inline: .7rem; }
  @keyframes slide-down { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand); --btn-fg: #fff; --btn-bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.5rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 600; font-size: .96rem; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s, border-color .25s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brand-700); transform: translateY(101%);
  transition: transform .42s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--btn-bg) 35%, transparent); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { --btn-fg: #fff; border-color: var(--ink); box-shadow: 0 10px 24px rgba(23,24,28,.18); }
.btn--ink { --btn-bg: var(--ink); --btn-bd: var(--ink); }
.btn--ink::before { background: var(--brand); }
.btn--world { --btn-bg: var(--world); --btn-bd: var(--world); }
.btn--world::before { background: var(--world-600); }
.btn--sm { padding: .55rem 1.05rem; font-size: .875rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .65; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; text-decoration: none; color: var(--brand-700);
  border-bottom: 1.5px solid color-mix(in srgb, var(--brand) 30%, transparent);
  padding-bottom: 1px; transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow:hover { gap: .7rem; border-bottom-color: var(--brand); }

/* ---------- Eyebrow / Badges ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px;
  transform-origin: left; animation: eyebrow .7s var(--ease) both;
}
@keyframes eyebrow { from { transform: scaleX(0) } to { transform: scaleX(1) } }
.eyebrow--light { color: color-mix(in srgb, #fff 82%, var(--brand)); }
.eyebrow--light::before { background: var(--brand); }
.eyebrow--world { color: var(--world); }
.eyebrow--world::before { background: var(--world); }

.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--brand-100); color: var(--brand-700);
}
.badge--world { background: var(--world-100); color: var(--world-600); }
.badge--ink { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-2); }
.badge--live { background: #e7f6ee; color: var(--ok); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(46% 52% at 12% 20%, rgba(226,112,12,.55), transparent 62%),
    radial-gradient(40% 46% at 88% 12%, rgba(226,112,12,.28), transparent 60%),
    radial-gradient(52% 60% at 72% 92%, rgba(0, 91, 154, .42), transparent 66%);
  filter: blur(6px);
  animation: mesh 22s var(--ease-soft) infinite alternate;
  z-index: -2;
}
@keyframes mesh {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.08); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.04); }
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .045; mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  padding-block: clamp(3.5rem, 9vw, 7.5rem);
}
@media (max-width: 940px) { .hero__inner { grid-template-columns: 1fr; } }

.hero h1 { font-size: var(--step-5); margin-bottom: .35em; }
.hero h1 em {
  font-style: normal; position: relative; display: inline-block;
  color: var(--brand);
}
.hero h1 em::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .04em; height: .16em;
  background: color-mix(in srgb, var(--brand) 30%, transparent); border-radius: 2px; z-index: -1;
  transform-origin: left; animation: underline 1s .55s var(--ease) both;
}
@keyframes underline { from { transform: scaleX(0) } to { transform: scaleX(1) } }

.hero__lead { font-size: var(--step-1); color: rgba(255,255,255,.82); max-width: 42ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__cta .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.35); }
.hero__cta .btn--ghost::before { background: #fff; }
.hero__cta .btn--ghost:hover { --btn-fg: var(--ink); border-color: #fff; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 2.75rem;
  padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stat strong {
  display: block; font-family: var(--font-display); font-size: var(--step-2);
  line-height: 1; letter-spacing: -.008em;
}
.hero__stat:nth-child(even) strong { color: #6fb4e6; }
.hero__stat span { font-size: .84rem; color: rgba(255,255,255,.6); }

/* Karte im Hero */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 320px; }

.abocard {
  --tiltX: 0deg; --tiltY: 0deg;
  position: relative; width: min(100%, 420px); aspect-ratio: 1.586;
  border-radius: 20px; padding: 1.5rem 1.6rem;
  background: linear-gradient(135deg, #f08a1e 0%, #e2700c 42%, #b85405 100%);
  box-shadow: 0 30px 70px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.32);
  transform: perspective(1100px) rotateX(var(--tiltX)) rotateY(var(--tiltY));
  transition: transform .6s var(--ease);
  display: flex; flex-direction: column; justify-content: space-between;
  animation: float 7s ease-in-out infinite;
  will-change: transform;
}
@keyframes float { 0%,100% { translate: 0 0 } 50% { translate: 0 -12px } }
.abocard::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.42) 46%, transparent 60%);
  background-size: 260% 100%; background-position: 130% 0;
  animation: sheen 5.5s 1.4s var(--ease-soft) infinite;
}
@keyframes sheen { 0% { background-position: 130% 0 } 45%,100% { background-position: -60% 0 } }
.abocard__chip {
  width: 42px; height: 32px; border-radius: 6px;
  background: linear-gradient(150deg, #f7e3b5, #d9b263 55%, #b8913f);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
  position: relative;
}
.abocard__chip::before, .abocard__chip::after {
  content: ""; position: absolute; background: rgba(0,0,0,.18);
}
.abocard__chip::before { inset: 8px 0; height: 1px; }
.abocard__chip::after { inset: 0 14px; width: 1px; }
.abocard__brand { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: #fff; letter-spacing: -.01em; }
.abocard__no { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .16em; color: rgba(255,255,255,.92); font-size: .95rem; }
.abocard__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; color: rgba(255,255,255,.75); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }

.hero__skyline {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: -1;
  width: 100%; opacity: .16; color: #fff;
}

/* ---------- Karten ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .35s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,24,28,.5), transparent 52%);
  opacity: .85;
}
.card__tag { position: absolute; left: .85rem; top: .85rem; z-index: 2; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); }
.card__benefit {
  position: absolute; left: .85rem; right: .85rem; bottom: .8rem; z-index: 2;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  line-height: 1.22; letter-spacing: -.008em;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin: 0;
}
.card__body { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; gap: .45rem; }
.card__title { font-family: var(--font-display); font-size: 1.16rem; font-weight: 700; letter-spacing: -.008em; margin: 0; }
.card__meta { font-size: .84rem; color: var(--ink-3); display: flex; align-items: center; gap: .4rem; }
.card__text { font-size: .92rem; color: var(--ink-2); margin: 0; }
.card__foot { margin-top: auto; padding-top: .85rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.card__more {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .88rem; font-weight: 600; color: var(--brand-700);
  transition: gap .3s var(--ease);
}
.card:hover .card__more { gap: .6rem; }
.card--world .card__more { color: var(--world-600); }
.card--world:hover { border-color: transparent; }

/* Vorteilswelt-Karte */
.card--world .card__benefit { font-size: 1rem; }

/* ---------- Abschnitts-Kopf ---------- */
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem); flex-wrap: wrap;
}
.section__head p { color: var(--ink-2); max-width: 52ch; margin: .35rem 0 0; }
.section__head h2 { margin-bottom: 0; }

/* ---------- Filter ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  margin-bottom: 2rem;
}
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--card);
  font-size: .9rem; font-weight: 550; text-decoration: none; color: var(--ink-2);
  cursor: pointer; transition: all .28s var(--ease);
}
.chip:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip span { font-size: .75rem; opacity: .6; }

.searchbox { position: relative; margin-left: auto; min-width: min(100%, 280px); }
.searchbox input {
  width: 100%; padding: .7rem 2.6rem .7rem 1.1rem;
  border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--card);
  transition: border-color .25s, box-shadow .25s;
}
.searchbox input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.searchbox button {
  position: absolute; right: .35rem; top: 50%; translate: 0 -50%;
  width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer;
  transition: background .25s, transform .25s;
}
.searchbox button:hover { background: var(--brand); transform: translateY(-50%) scale(1.06); }

/* ---------- Laufband ---------- */
.marquee { overflow: hidden; padding-block: 1.1rem; border-block: 1px solid var(--line); background: var(--card); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .98rem; font-weight: 600;
  color: var(--ink-3); white-space: nowrap;
}
.marquee__item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- Detailseite ---------- */
.detail__hero { position: relative; }
.detail__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 21 / 9; background: var(--paper-2); box-shadow: var(--shadow);
}
@media (max-width: 700px) { .detail__media { aspect-ratio: 16 / 10; } }
.detail__media img { width: 100%; height: 100%; object-fit: cover; }
.detail__grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 1.6fr) minmax(0, .95fr);
  align-items: start;
}
@media (max-width: 940px) { .detail__grid { grid-template-columns: 1fr; } }

.prose { font-size: 1.05rem; line-height: 1.78; color: var(--ink-2); }
.prose p { margin-bottom: 1.05em; }
.prose strong { color: var(--ink); }
.prose h3 { color: var(--ink); margin-top: 1.8em; }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 1.9rem);
}
.panel--brand { background: var(--brand-100); border-color: color-mix(in srgb, var(--brand) 22%, transparent); }
.panel--world { background: var(--world-100); border-color: color-mix(in srgb, var(--world) 20%, transparent); }
.panel--ink { background: var(--ink); color: #fff; border-color: transparent; }
.panel + .panel { margin-top: 1.15rem; }
.panel__title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .01em; margin: 0 0 .9rem; display: flex; align-items: center; gap: .5rem;
}

.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.benefit-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; line-height: 1.5; }
.benefit-list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: .16rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.panel--world .benefit-list li::before { background-color: var(--world); }

.factlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; font-size: .95rem; }
.factlist li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; }
.factlist svg { width: 18px; height: 18px; color: var(--brand); margin-top: .18rem; }
.factlist a { color: inherit; }

.sticky-side { position: sticky; top: calc(var(--header-h) + 1.25rem); }

.notice {
  display: flex; gap: .7rem; align-items: flex-start;
  padding: .85rem 1.05rem; border-radius: var(--radius-sm);
  background: #fff6e6; border: 1px solid #f0d5a4; color: #7a5200; font-size: .92rem;
}

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .84rem; color: var(--ink-3); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand-700); }
.crumbs span { opacity: .45; }

/* ---------- Seitenkopf ---------- */
.pagehead { padding-block: clamp(2.5rem, 5.5vw, 4.5rem) clamp(1.5rem, 3vw, 2.5rem); }
.pagehead p { font-size: var(--step-1); color: var(--ink-2); max-width: 58ch; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 1.05rem; }
.form__row { display: grid; gap: 1.05rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { position: relative; display: grid; gap: .4rem; }
.field > label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field > label .req { color: var(--brand); }
.field input, .field textarea, .field select {
  width: 100%; padding: .82rem 1rem;
  border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--card);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint);
}
.field.has-error input, .field.has-error textarea { border-color: var(--err); box-shadow: 0 0 0 4px rgba(179,38,30,.1); }
.field__error { font-size: .82rem; color: var(--err); display: none; }
.field.has-error .field__error { display: block; animation: shake .4s var(--ease-soft); }
@keyframes shake { 25% { transform: translateX(-4px) } 50% { transform: translateX(4px) } 75% { transform: translateX(-2px) } }
.field__hint { font-size: .82rem; color: var(--ink-3); }

.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .88rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--brand); flex: none; }
.check a { color: var(--brand-700); }

.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

.form__status {
  display: none; padding: .95rem 1.15rem; border-radius: 12px; font-size: .93rem;
  border: 1px solid transparent;
}
.form__status.is-visible { display: block; animation: pop .4s var(--ease); }
.form__status.is-ok { background: #e8f6ee; border-color: #b6dfc7; color: #10603c; }
.form__status.is-error { background: #fdecea; border-color: #f3c4bf; color: var(--err); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.99) } to { opacity: 1; transform: none } }

.form-success {
  text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
  animation: pop .5s var(--ease);
}
.form-success svg { width: 62px; height: 62px; margin: 0 auto 1.1rem; color: var(--ok); }
.form-success svg circle, .form-success svg path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw .8s .1s var(--ease) forwards; }
.form-success svg path { animation-delay: .45s; }
@keyframes draw { to { stroke-dashoffset: 0 } }

/* ---------- Akkordeon ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem .25rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; letter-spacing: -.008em;
  transition: color .25s;
}
.accordion__btn:hover { color: var(--brand-700); }
.accordion__icon { flex: none; width: 26px; height: 26px; position: relative; }
.accordion__icon::before, .accordion__icon::after {
  content: ""; position: absolute; inset: 50% 4px auto; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .35s var(--ease);
}
.accordion__icon::after { transform: rotate(90deg); }
.accordion__btn[aria-expanded="true"] .accordion__icon::after { transform: rotate(0); }
.accordion__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .42s var(--ease);
}
.accordion__panel > div { overflow: hidden; }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel p { padding-bottom: 1.35rem; color: var(--ink-2); max-width: 68ch; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 46px 1fr; gap: 1.1rem; align-items: start; list-style: none; }
.steps li::before {
  content: counter(step); grid-row: span 2;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-100); color: var(--brand-700);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  border: 1.5px solid color-mix(in srgb, var(--brand) 25%, transparent);
}
.steps h3 { font-size: 1.1rem; margin: .3rem 0 .25rem; }
.steps p { color: var(--ink-2); font-size: .96rem; margin: 0; }

/* ---------- CTA-Band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--ink); color: #fff; padding: clamp(2.25rem, 5vw, 4rem);
  display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center;
}
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 120% at 88% 12%, rgba(226,112,12,.42), transparent 62%),
    radial-gradient(52% 100% at 8% 96%, rgba(0, 91, 154, .38), transparent 64%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.72); max-width: 50ch; margin: 0; }

/* ---------- Fußzeile ---------- */
.footer {
  background: var(--ink); color: rgba(255,255,255,.7);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  border-top: 3px solid var(--accent);
}
.footer a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .22s; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid; gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  padding-bottom: 2.75rem; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-ui); font-weight: 700; margin-bottom: 1.1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .92rem; }
.footer__brand .logo__img { height: 32px; width: auto; margin-bottom: 1.15rem; }
.footer__brand p { font-size: .93rem; max-width: 34ch; }
.footer__contact { display: grid; gap: .55rem; margin-top: 1.35rem; font-size: .93rem; }
.footer__contact a { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 550; }
.footer__contact svg { width: 16px; height: 16px; color: var(--brand); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  padding-top: 1.75rem; font-size: .85rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- Newsletter ---------- */
.newsletter { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.newsletter input {
  flex: 1 1 200px; padding: .8rem 1.1rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff;
  transition: border-color .25s, background .25s;
}
.newsletter input::placeholder { color: rgba(255,255,255,.45); }
.newsletter input:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,.1); }

/* ---------- Suchergebnisse / Leerzustand ---------- */
.empty {
  text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border: 1.5px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--card);
}
.empty svg { width: 52px; height: 52px; color: var(--ink-3); margin: 0 auto 1rem; }

/* ---------- Scroll-Animationen ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: scale(.965) translateY(18px); }
[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }

.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--brand), #f5a742 55%, var(--accent));
  width: 0; transition: width .1s linear;
}

/* Toast */
.toast-wrap { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 300; display: grid; gap: .6rem; }
.toast {
  display: flex; gap: .7rem; align-items: center;
  padding: .9rem 1.15rem; border-radius: 12px; background: var(--ink); color: #fff;
  box-shadow: var(--shadow-lg); font-size: .92rem; max-width: 340px;
  animation: toast-in .45s var(--ease);
}
.toast.is-ok { background: #14603d; }
.toast.is-error { background: #8e1f19; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.97) } to { opacity: 1; transform: none } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Druck ---------- */
@media print {
  .header, .footer, .btn, .marquee, .cta-band { display: none !important; }
  body { background: #fff; }
  .card, .panel { box-shadow: none; border: 1px solid #ccc; }
}

/* Ladeanzeige im Button */
.btn__spinner {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* ---------- Kategorie-Kacheln ---------- */
.cat-tile {
  position: relative; display: block; padding: 1.75rem 1.6rem 3.25rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit; overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.cat-tile::before {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 260px; height: 260px;
  border-radius: 50%; background: var(--brand-tint); z-index: -1;
  transform: scale(.2); opacity: 0; transition: transform .6s var(--ease), opacity .5s;
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-tile:hover::before { transform: scale(1); opacity: 1; }
.cat-tile__num {
  font-family: var(--font-body); font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--brand-700);
  display: inline-block; padding: .22rem .6rem; border-radius: 999px; background: var(--brand-100);
  margin-bottom: .9rem;
}
.cat-tile h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.cat-tile p { font-size: .93rem; color: var(--ink-2); margin: 0; }
.cat-tile__go {
  position: absolute; right: 1.4rem; bottom: 1.4rem;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-2); color: var(--ink);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.cat-tile:hover .cat-tile__go { background: var(--brand); color: #fff; transform: translateX(4px); }
.cat-tile--world .cat-tile__num { background: var(--world-100); color: var(--world-600); }
.cat-tile--world::before { background: color-mix(in srgb, var(--world) 10%, transparent); }
.cat-tile--world:hover .cat-tile__go { background: var(--world); }

/* ---------- Vorteilswelt ---------- */
.world-head { background: linear-gradient(180deg, var(--world-100), transparent 85%); }
.world-note {
  display: flex; gap: .9rem; align-items: flex-start; margin-top: 2rem;
  padding: 1.15rem 1.35rem; border-radius: var(--radius);
  background: var(--card); border: 1px solid color-mix(in srgb, var(--world) 22%, transparent);
  max-width: 70ch;
}
.world-note svg { flex: none; color: var(--world); margin-top: .2rem; }
.world-note p { font-size: .95rem; color: var(--ink-2); margin: 0; }

.offer-box {
  position: relative; margin-top: 1.75rem; padding: 1.6rem 1.75rem;
  border-radius: var(--radius); background: var(--world-100);
  border: 1.5px dashed color-mix(in srgb, var(--world) 35%, transparent);
}
.offer-box::before, .offer-box::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); top: 50%; translate: 0 -50%;
}
.offer-box::before { left: -12px; }
.offer-box::after { right: -12px; }
.offer-box__label {
  font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--world-600); margin-bottom: .6rem;
}
.offer-box__text {
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 700;
  letter-spacing: -.01em; line-height: 1.25; color: var(--ink); margin-bottom: .5rem;
}
.offer-box__cond { font-size: .85rem; color: var(--ink-2); margin: .9rem 0 0; }

.coupon-panel { background: var(--card); border-color: var(--line); }
.coupon-panel .panel__title svg { color: var(--world); }

/* ---------- Statistik-Boxen & USP ---------- */
.statbox {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.statbox:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.statbox strong {
  display: block; font-family: var(--font-display); font-size: var(--step-3);
  line-height: 1; letter-spacing: -.008em; color: var(--brand-700); margin-bottom: .35rem;
}
.statbox span { font-size: .88rem; color: var(--ink-2); }

.usp {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.usp:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.usp svg { width: 30px; height: 30px; color: var(--world); margin-bottom: 1rem; }
.usp h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.usp p { font-size: .94rem; color: var(--ink-2); margin: 0; }
.benefit-list li span { display: block; }
.benefit-list li span br + * , .benefit-list li span br { line-height: 1.6; }

/* ---------- Kopfzeile auf kleinen Bildschirmen ---------- */
.nav__cta { display: none; }
@media (max-width: 1060px) {
  .nav__cta { display: block; margin-top: 1.75rem; }
}
@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .header__actions > .btn { display: none; }
  .logo__img { height: 27px; }
  .hero__meta { gap: 1.25rem 2rem; }
}
@media (max-width: 420px) {
  .btn { padding: .74rem 1.2rem; font-size: .92rem; }
  .btn--lg { padding: .85rem 1.4rem; font-size: .96rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}
