/* ==========================================================================
   Moderne Augenoptik J. Paschhoff — Düsseldorf
   Design: "Sehprobe" — Porzellan, Flaschengrün, Messing, Duochrom-Detail
   ========================================================================== */

/* ---------- Fonts (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --paper:      #FBFAF6;
  --paper-alt:  #F3F2EC;
  --ink:        #1B1E1C;
  --ink-soft:   #50554F;
  --line:       #E2E0D6;
  --primary:      #AC1A71;  /* Logo-Magenta */
  --primary-deep: #7A1152;
  --primary-tint: #F7E7F1;
  --blue:         #5DAFE2;  /* Logo-Hellblau, auf dunklem Grund */
  --blue-deep:    #266D9F;  /* Hellblau abgedunkelt, für Text auf hellem Grund */
  --test-green:   #2F7A4B;  /* nur für den authentischen Duochromtest */
  --red:          #BF3B2B;
  --white:      #FFFFFF;

  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 8rem);

  --shadow-soft: 0 20px 50px -30px rgba(27, 30, 28, .35);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01" on;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 2.8rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-deep); }
strong { font-weight: 600; }
em { font-family: var(--font-display); font-style: italic; font-size: 1.06em; }
::selection { background: var(--primary); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue-deep); outline-offset: 3px; border-radius: 3px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.section--alt { background: var(--paper-alt); }
.section--brand { background: var(--primary-deep); color: var(--paper); }
.section--brand a { color: var(--ink); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--white); padding: .7rem 1.2rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Eyebrow: Dioptrien-Skala als Struktur-Element */
.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue-deep); margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 8px; flex: none;
  background:
    repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 6px) left center / 100% 8px no-repeat;
  opacity: .85;
}
.section--brand .eyebrow { color: var(--blue); }

.lead { font-size: clamp(1.15rem, 1.8vw, 1.3rem); color: var(--ink-soft); max-width: 42rem; }
.section--brand .lead { color: rgba(251, 250, 246, .78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  padding: .95rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--primary); color: var(--white) !important; }
.btn--primary:hover { background: var(--primary-deep); color: var(--white); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.btn--light { background: var(--paper); color: var(--primary-deep); }
.btn--light:hover { background: var(--white); color: var(--primary-deep); transform: translateY(-2px); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--primary-deep); color: rgba(251, 250, 246, .88);
  font-size: .84rem; letter-spacing: .02em;
}
.topbar__inner {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: .5rem; flex-wrap: wrap;
}
.topbar a { color: inherit; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar__hours { display: inline-flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(27,30,28,.4); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand__mark { width: 86px; height: 86px; object-fit: contain; flex: none; }
.brand__text { line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: .01em; }
.brand__sub { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }

.figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer__logo { width: 84px; height: auto; background: var(--white); border-radius: 10px; padding: 8px; margin-bottom: 1rem; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; position: relative; padding-block: .3rem; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: linear-gradient(to right, var(--primary) 0 50%, var(--blue) 50% 100%);
  transition: right .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a:not(.btn)[aria-current="page"]::after { right: 0; }
.nav .btn { padding: .6rem 1.2rem; font-size: .92rem; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .55rem .7rem; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .6rem var(--pad) 1.2rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; justify-content: center; }
  .topbar__hours span:nth-child(2) { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }

/* Himmel: sanfter Verlauf in beiden Markenfarben */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(90rem 40rem at 85% 115%, color-mix(in srgb, var(--blue) 14%, transparent), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, color-mix(in srgb, var(--primary-tint) 55%, var(--paper)) 100%);
}

/* Skyline-Ebene */
.hero__bg { position: absolute; inset: auto 0 0 0; z-index: 0; pointer-events: none; }
.hero__bg svg { width: 100%; height: clamp(150px, 24vw, 300px); display: block; }
.hero__bg-back  { fill: color-mix(in srgb, var(--blue) 22%, var(--paper)); }
.hero__bg-front { fill: color-mix(in srgb, var(--primary) 26%, var(--paper)); color: color-mix(in srgb, var(--primary) 26%, var(--paper)); }
.hero__bg-water { stroke: color-mix(in srgb, var(--blue) 45%, var(--paper)); stroke-width: 3; fill: none; stroke-linecap: round; }

/* Weicher Übergang, damit Text über der Skyline lesbar bleibt */
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--paper) 0%, transparent 55%);
  opacity: .55;
}

.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
  padding-block: clamp(3.5rem, 8vw, 4rem) clamp(6rem, 14vw, 11rem);
}

/* Foto-Variante: <section class="hero hero--photo" style="--hero-image:url('img/hero-duesseldorf.jpg')">
   ersetzt die Skyline durch ein echtes Foto mit Schutz-Verlauf für die Lesbarkeit. */
.hero--photo::before {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 92%, transparent) 0 34%, color-mix(in srgb, var(--paper) 45%, transparent) 62%, transparent),
    var(--hero-image) center / cover no-repeat;
}
.hero--photo .hero__bg { display: none; }
.hero--photo .hero__inner { padding-block: clamp(3.5rem, 8vw, 7rem); }
.hero h1 em { display: block; color: var(--primary); font-size: 1em; }
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.hero__note { margin-top: 1.6rem; font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: .55rem; }
.hero__note svg { width: 16px; height: 16px; color: var(--blue-deep); flex: none; }

/* Signatur: Sehprobentafel */
.chart-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.2rem, 2.5vw, 2rem);
  text-align: center; position: relative;
  transform: rotate(1.2deg);
}
.chart-card__label {
  font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1.4rem;
}
.chart-card__rows { font-family: var(--font-display); color: var(--ink); }
.chart-card__rows span { display: block; letter-spacing: .35em; padding-left: .35em; }
.chart-card__rows span:nth-child(1) { font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: 1.1; }
.chart-card__rows span:nth-child(2) { font-size: clamp(2.1rem, 3.8vw, 2.9rem); line-height: 1.3; color: color-mix(in srgb, var(--ink) 82%, var(--paper)); }
.chart-card__rows span:nth-child(3) { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.5; color: color-mix(in srgb, var(--ink) 60%, var(--paper)); }
.chart-card__rows span:nth-child(4) { font-size: .95rem; line-height: 1.9; color: color-mix(in srgb, var(--ink) 42%, var(--paper)); }
.chart-card__rows span:nth-child(5) { font-size: .62rem; line-height: 2.1; color: color-mix(in srgb, var(--ink) 30%, var(--paper)); }
.chart-card__duochrome {
  display: grid; grid-template-columns: 1fr 1fr; height: 34px; margin-top: 1.5rem;
  border-radius: 6px; overflow: hidden;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--white);
}
.chart-card__duochrome b { display: grid; place-items: center; font-weight: 400; letter-spacing: .2em; }
.chart-card__duochrome b:first-child { background: var(--red); }
.chart-card__duochrome b:last-child { background: var(--test-green); }
.chart-card__row-index {
  position: absolute; left: -1px; top: 88px; bottom: 96px; width: 1px;
}
.chart-card__footnote { margin-top: .9rem; font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .chart-card { transform: none; max-width: 420px; margin-inline: auto; }
}

/* ---------- Trust-Leiste ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--white); }
.ticker__inner {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  padding-block: 1.1rem; font-size: .9rem; font-weight: 500; color: var(--ink-soft);
}
.ticker__item { display: inline-flex; align-items: center; gap: .55rem; }
.ticker__item svg { width: 17px; height: 17px; color: var(--primary); flex: none; }

/* ---------- Split-Layout (Über uns, Kontaktlinsen etc.) ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.2rem, 6vw, 5.5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
}

/* Bildplatzhalter mit Linien-Illustration */
.figure {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--primary-tint), #E1F0FB 70%);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 4.6;
  display: grid; place-items: center;
}
.figure--wide { aspect-ratio: 16 / 10; }
.figure svg.illu { width: 62%; height: auto; color: var(--primary-deep); opacity: .9; }
.figure__tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: color-mix(in srgb, var(--white) 85%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .9rem; color: var(--ink-soft);
}

.checklist { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: .2rem; }

/* ---------- Leistungen ---------- */
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 1020px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.9rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.3rem;
  background: var(--primary-tint); color: var(--primary-deep);
  display: grid; place-items: center;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.4rem; margin-bottom: .45em; }
.card p { font-size: .96rem; color: var(--ink-soft); }

/* ---------- Marken ---------- */
.brands { text-align: center; }
.brands__grid {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: clamp(1.4rem, 4vw, 3.2rem); margin-top: 2.6rem;
}
.brands__grid span {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.brands__grid span:hover { color: var(--ink); }
.brands__note { margin-top: 2.2rem; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Abo-Panel ---------- */
.abo-panel { position: relative; overflow: hidden; }
.abo-panel .split { position: relative; z-index: 1; }
.abo-panel::after {
  content: "ABO"; position: absolute; right: -2rem; bottom: -5rem; z-index: 0;
  font-family: var(--font-display); font-size: clamp(12rem, 26vw, 22rem);
  letter-spacing: .02em; color: rgba(251, 250, 246, .045); line-height: 1; pointer-events: none;
}
.abo-steps { list-style: none; counter-reset: abo; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.abo-steps li {
  counter-increment: abo;
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding-bottom: 1.1rem; border-bottom: 1px solid rgba(251, 250, 246, .14);
}
.abo-steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.abo-steps li::before {
  content: counter(abo);
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
  color: var(--blue); flex: none; width: 2rem; padding-top: .2rem;
}
.section--alt .abo-steps li, .section:not(.section--brand) .abo-steps li { border-bottom-color: var(--line); }
.abo-steps strong { display: block; font-size: 1.08rem; margin-bottom: .15rem; }
.abo-steps p { font-size: .95rem; color: rgba(251, 250, 246, .72); }

/* ---------- Gutschein ---------- */
.voucher {
  border: 1px dashed var(--primary); border-radius: var(--radius);
  background: var(--white);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.6rem; align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem);
}
.voucher h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: .3em; }
.voucher p { color: var(--ink-soft); max-width: 34rem; }
@media (max-width: 720px) { .voucher { grid-template-columns: 1fr; } }

/* ---------- Terminformular ---------- */
.appointment { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); }
@media (max-width: 880px) { .appointment { grid-template-columns: 1fr; } }

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem 1rem; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}
.field--consent { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; display: grid; }
.field--consent input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--primary); }
.field--consent label { font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.form__status { font-size: .95rem; font-weight: 500; min-height: 1.4em; }
.form__status.is-ok { color: var(--primary); }
.form__status.is-error { color: var(--red); }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.contact-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: .95rem; align-items: flex-start; }
.contact-list svg { width: 21px; height: 21px; color: var(--primary); flex: none; margin-top: .2rem; }
.contact-list strong { display: block; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .1rem; }
.contact-list a { font-weight: 500; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: .4rem; font-variant-numeric: tabular-nums; }
.hours-table td { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours-table td:last-child { text-align: right; font-weight: 500; }
.hours-table tr:last-child td { border-bottom: 0; }

/* ---------- Karte (DSGVO Click-to-Load) ---------- */
.map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--primary-tint);
  aspect-ratio: 16 / 8.5; margin-top: clamp(2.5rem, 5vw, 4rem);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(172, 26, 113, .06), transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(172, 26, 113, .05) 22px 23px);
}
.map__consent-inner { max-width: 26rem; display: grid; gap: .9rem; justify-items: center; }
.map__consent p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(251, 250, 246, .75); font-size: .95rem; }
.footer a { color: rgba(251, 250, 246, .9); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (max-width: 880px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: .82rem; font-family: var(--font-body); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__brand .brand__name { color: var(--paper); }
.footer__brand p { margin-top: .9rem; max-width: 22rem; }
.footer__legal {
  border-top: 1px solid rgba(251, 250, 246, .12);
  padding-block: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(251, 250, 246, .55);
}
.footer__duochrome { display: grid; grid-template-columns: 1fr 1fr; height: 5px; }
.footer__duochrome b:first-child { background: var(--primary); }
.footer__duochrome b:last-child { background: var(--blue); }

/* ---------- Unterseiten ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { max-width: 24ch; }
.page-hero h1 em { color: var(--primary); }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span[aria-hidden] { margin-inline: .45rem; color: var(--blue-deep); }

.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }

.faq { display: grid; gap: .9rem; max-width: 52rem; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 1.4rem;
  transition: border-color .25s var(--ease);
}
.faq details[open] { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.15rem; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.6rem; color: var(--blue-deep); line-height: 1; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.2rem; }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.6rem; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Print ---------- */
@media print {
  .topbar, .header, .footer, .map, .hero__actions, .btn { display: none !important; }
}

/* ---------- Bewertungen ---------- */
.reviews { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 1.1rem; align-items: stretch; }
@media (max-width: 880px) { .reviews { grid-template-columns: 1fr; } }
.reviews__score {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; text-align: center;
  display: grid; justify-items: center; align-content: center; gap: .35rem;
}
.reviews__value { font-family: var(--font-display); font-size: clamp(3.2rem, 6vw, 4.4rem); line-height: 1; color: var(--ink); }
.reviews__stars { color: var(--primary); font-size: 1.3rem; letter-spacing: .18em; padding-left: .18em; }
.reviews__score p { font-size: .92rem; color: var(--ink-soft); max-width: 15rem; }
.reviews__score .btn { margin-top: .9rem; }
.reviews__write { display: inline-block; margin-top: .55rem; font-size: .88rem; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 1020px) { .reviews__grid { grid-template-columns: 1fr; } }
.review {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.review::before {
  content: "\201E"; position: absolute; top: -.4rem; left: 1.1rem;
  font-family: var(--font-display); font-size: 4.2rem; line-height: 1; color: var(--primary-tint);
}
.review blockquote { margin: 0; font-size: .98rem; color: var(--ink); position: relative; z-index: 1; }
.review figcaption { margin-top: auto; font-size: .84rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Abo-Rechner (brillen-abo.html) ---------- */
.calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-soft); }
.calc__terms { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .45rem; }
.calc__terms button { font: inherit; font-weight: 600; font-size: .93rem; cursor: pointer; padding: .55rem 1.05rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.calc__terms button:hover { border-color: var(--primary); color: var(--primary); }
.calc__terms button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--white); }
.calc__result { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; color: var(--ink-soft); }
.calc__rate { font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 3.2rem); line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.calc__hint { margin-top: .9rem; font-size: .82rem; color: var(--ink-soft); }

.page-hero--photo { overflow: hidden; }
.page-hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 92%, transparent) 0 34%, color-mix(in srgb, var(--paper) 45%, transparent) 62%, transparent),
    var(--hero-image) center / cover no-repeat;
}
.page-hero--photo > .container { position: relative; z-index: 1; }
