/* Seufert Augenoptik · Designsystem
   Schrift: Atkinson Hyperlegible Next (Braille Institute, für bestmögliche Lesbarkeit entwickelt), lokal eingebunden.
   Schriftgrößen in den Stufen einer Sehprobentafel: jede Stufe ist 10^0,1 ≈ 1,26-mal größer als die nächstkleinere.
   Farben aus Logo und Ladenschild: Optik-Blau für Aktionen, Seufert-Pink nur für Punkt und kleine Markierungen. */

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('/assets/fonts/atkinson-hyperlegible-next-latin-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('/assets/fonts/atkinson-hyperlegible-next-latin-italic-var.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Farben */
  --tinte: #102b36;
  --tinte-2: #46606b;
  --weiss: #ffffff;
  --glas: #eef4f6;
  --glas-2: #e0eaee;
  --linie: #cbdae0;
  --blau: #00719c;
  --blau-tief: #005a7d;
  --blau-logo: #0084b5;
  --blau-hell: #8fd0e8;
  --pink: #de3b5a;
  --pink-tief: #b92643;
  --pink-hell: #fdebef;

  /* Schriftstufen nach Visus (Lesetafel) */
  --v125: 0.8936rem; /* 1,25 · 14,3 px */
  --v10: 1.125rem; /* 1,0 · 18 px */
  --v08: 1.4163rem; /* 0,8 · 22,7 px */
  --v063: 1.783rem; /* 0,63 · 28,5 px */
  --v05: 2.2447rem; /* 0,5 · 35,9 px */
  --v04: 2.8259rem; /* 0,4 · 45,2 px */
  --v032: 3.5576rem; /* 0,32 · 56,9 px */
  --v025: 4.4788rem; /* 0,25 · 71,7 px */

  /* Raster und Formen */
  --content: 76rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(4rem, 8vw, 7.5rem);
  --r-s: 10px;
  --r-m: 20px;
  --r-l: 32px;
  --header-h: 4rem;
  --schatten: 0 18px 40px -24px rgb(16 43 54 / 0.35);
}
@media (min-width: 48rem) {
  :root { --header-h: 4.5rem; }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
body {
  margin: 0;
  font-family: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--tinte);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blau); }
a:hover { color: var(--blau-tief); }
h1, h2, h3 { color: var(--tinte); text-wrap: balance; }
h1 { margin: 0 0 1rem; }
h2 {
  font-size: clamp(var(--v063), 1.1rem + 2.4vw, var(--v04));
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 720;
  margin: 0 0 1rem;
}
h3 {
  font-size: clamp(1.25rem, 1.12rem + 0.4vw, 1.375rem);
  line-height: 1.25;
  font-weight: 680;
  margin: 0 0 0.4rem;
}
p { margin: 0 0 1rem; max-width: 68ch; }
address { font-style: normal; }
figure { margin: 0; }
figcaption { font-size: 0.9375rem; color: var(--tinte-2); margin-top: 0.6rem; }
:focus-visible { outline: 3px solid var(--pink); 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: -5rem; z-index: 100;
  background: var(--tinte); color: var(--weiss); padding: 0.75rem 1rem; border-radius: var(--r-s); font-weight: 700;
}
.skip-link:focus { top: 1rem; color: var(--weiss); }
.container { width: min(100% - 2 * var(--gutter), var(--content)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p:last-child { margin-bottom: 0; }
.lead { font-size: clamp(1.1875rem, 1.05rem + 0.5vw, var(--v08)); line-height: 1.5; color: var(--tinte); }
.prose { max-width: 46rem; }
.textlink {
  color: var(--blau); font-weight: 650; text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 0.22em;
}
.textlink:hover { color: var(--blau-tief); text-decoration-color: var(--pink); }

/* ---------- Icons und Sehzeichen ---------- */
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.landolt { fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.75rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-size: 1.0625rem; font-weight: 680; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn-primary { background: var(--blau); color: var(--weiss); }
.btn-primary:hover { background: var(--blau-tief); color: var(--weiss); }
.btn-secondary { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.btn-secondary:hover { background: var(--tinte); color: var(--weiss); }
.btn-light { background: var(--weiss); color: var(--blau-tief); }
.btn-light:hover { background: var(--glas); color: var(--blau-tief); }
.btn-ghost-light { background: transparent; color: var(--weiss); border-color: rgb(255 255 255 / 0.7); }
.btn-ghost-light:hover { background: rgb(255 255 255 / 0.12); color: var(--weiss); border-color: var(--weiss); }
.btn-sm { min-height: 2.6rem; padding: 0.5rem 1.05rem; font-size: 0.975rem; }
.btn-block { width: 100%; }

/* ---------- Wortmarke ---------- */
.marke {
  display: inline-flex; align-items: baseline; gap: 0.32rem;
  font-size: 1.375rem; line-height: 1; text-decoration: none; white-space: nowrap;
}
.marke-name { font-weight: 800; color: var(--tinte); letter-spacing: -0.015em; }
.marke-zusatz { font-weight: 430; color: var(--blau); letter-spacing: 0.005em; }
.marke-punkt {
  display: inline-block; width: 0.28em; height: 0.28em; margin-left: -0.2rem;
  border-radius: 50%; background: var(--pink);
}
.marke:hover .marke-name { color: var(--tinte); }
.marke-hell .marke-name { color: var(--weiss); }
.marke-hell .marke-zusatz { color: var(--blau-hell); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.ist-gescrollt { border-bottom-color: var(--linie); }
.header-bar { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding-block: 0.45rem;
  color: var(--tinte); font-weight: 620; font-size: 1rem; text-decoration: none;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.main-nav a:hover { border-bottom-color: var(--linie); }
.main-nav a[aria-current='page'] { border-bottom-color: var(--pink); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--tinte); font-weight: 650; text-decoration: none; white-space: nowrap;
}
.header-phone .icon { color: var(--blau); }
.header-phone:hover { color: var(--blau-tief); }
.menu-toggle {
  display: none; align-items: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.45rem 1rem 0.45rem 0.85rem;
  border: 2px solid var(--tinte); border-radius: 999px; background: var(--weiss); color: var(--tinte);
  font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
}
.menu-toggle-icon { display: grid; }
.menu-toggle .icon { width: 1.25rem; height: 1.25rem; grid-area: 1 / 1; }
.menu-toggle .icon-close { visibility: hidden; }
.menu-toggle[aria-expanded='true'] .icon-close { visibility: visible; }
.menu-toggle[aria-expanded='true'] .icon-open { visibility: hidden; }
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--weiss); border-top: 1px solid var(--linie);
  padding-block: 1rem 3rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav ul { list-style: none; margin: 0 0 1.75rem; padding: 0; }
.mobile-menu nav a {
  display: block; padding: 0.85rem 0;
  color: var(--tinte); font-size: 1.5rem; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--linie);
}
.mobile-menu nav a[aria-current='page'] { color: var(--blau); }
.mobile-menu-contact { list-style: none; padding: 0; margin: 1.75rem 0 1rem; display: grid; gap: 1rem; }
.mobile-menu-contact li, .mobile-menu-contact a {
  display: flex; align-items: center; gap: 0.65rem; color: var(--tinte); font-weight: 620; text-decoration: none;
}
.mobile-menu-contact .icon { color: var(--blau); }
.mobile-menu-note { color: var(--tinte-2); font-size: 0.9375rem; }
html.menu-open { overflow: hidden; }

@media (max-width: 71.99rem) {
  .main-nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (min-width: 72rem) and (max-width: 81.99rem) {
  .header-phone { display: none; }
}
@media (max-width: 29.99rem) {
  .header-cta { display: none; }
  .marke { font-size: 1.25rem; }
}

/* ---------- Einstieg Startseite: Sehtafel ---------- */
.hero { padding-block: clamp(0.75rem, 2vw, 1.75rem) var(--section); }
.hero-box {
  display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center;
  background: var(--glas); border-radius: var(--r-l);
  padding: clamp(1.5rem, 4.5vw, 4.25rem) clamp(1.25rem, 4.5vw, 4.25rem);
}
.hero-text { --visus-w: 2.1rem; --visus-gap: 0.65rem; min-width: 0; }
.tafel { margin: 0; display: grid; gap: 0.7rem; font-size: inherit; }
.zeile {
  display: grid; grid-template-columns: var(--visus-w) minmax(0, 1fr); column-gap: var(--visus-gap);
  align-items: baseline; margin: 0; max-width: none;
}
.visus {
  font-size: 0.75rem; font-weight: 560; line-height: 1;
  color: var(--tinte-2); text-align: right;
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.z1 .zeile-text {
  font-size: clamp(2.35rem, 1rem + 6.1vw, var(--v025));
  font-weight: 780; line-height: 1.02; letter-spacing: -0.035em;
}
.z2 .zeile-text {
  font-size: clamp(1.45rem, 0.95rem + 2.4vw, var(--v05));
  font-weight: 700; line-height: 1.14; letter-spacing: -0.018em;
}
.z3 { margin-top: clamp(1.25rem, 2.5vw, 2rem); }
.z3 .zeile-text {
  font-size: clamp(1.125rem, 1rem + 0.55vw, var(--v08));
  font-weight: 430; line-height: 1.45; max-width: 36ch;
}
.z4 { margin-top: 1rem; }
.z4 .zeile-text {
  font-size: clamp(1rem, 0.96rem + 0.2vw, var(--v10));
  font-weight: 540; line-height: 1.5; color: var(--tinte-2); max-width: 46ch;
}
.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}
.hero-text .hero-actions { padding-left: calc(var(--visus-w) + var(--visus-gap)); }
.hero-call { color: var(--tinte); text-decoration: none; font-weight: 520; }
.hero-call span {
  font-weight: 720; white-space: nowrap;
  text-decoration: underline; text-decoration-color: var(--pink);
  text-decoration-thickness: 2px; text-underline-offset: 0.25em;
}
.hero-call:hover { color: var(--blau-tief); }
.hero-bild { position: relative; }
.hero-bild img { width: 100%; aspect-ratio: 800 / 530; object-fit: cover; border-radius: var(--r-m); }
.hero-karte {
  display: grid; gap: 0.1rem; margin-top: 0.9rem;
  font-size: 1rem; line-height: 1.35; color: var(--tinte);
}
.hero-karte strong { font-weight: 720; }
.hero-karte span { color: var(--tinte-2); font-size: 0.9375rem; }

@media (min-width: 30rem) {
  .hero-text { --visus-w: 2.6rem; --visus-gap: 0.9rem; }
  .visus { font-size: 0.8125rem; }
}
@media (min-width: 60rem) {
  .hero-box { grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); }
  .hero-text { --visus-w: 3rem; --visus-gap: 1.1rem; }
  .z1 .zeile-text { font-size: clamp(3rem, 0.6rem + 4.6vw, var(--v025)); }
  .z2 .zeile-text { font-size: clamp(1.75rem, 0.8rem + 1.7vw, var(--v05)); }
  .hero-bild img { aspect-ratio: 4 / 5; object-position: 42% 30%; }
  .hero-karte {
    position: absolute; left: -1.75rem; bottom: 1.5rem; margin: 0;
    background: var(--weiss); border-radius: var(--r-s); padding: 0.8rem 1.1rem;
    box-shadow: var(--schatten);
  }
}

/* Scharfstellen: die Zeilen der Tafel werden beim Laden einmal scharf, wie beim Wechsel der Messgläser. */
@media (prefers-reduced-motion: no-preference) {
  .hero .zeile-text { animation: scharf 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .z2 .zeile-text { animation-delay: 0.12s; }
  .hero .z3 .zeile-text { animation-delay: 0.24s; }
  .hero .z4 .zeile-text { animation-delay: 0.34s; }
}
@keyframes scharf {
  from { filter: blur(8px); opacity: 0.35; }
  55% { filter: blur(1.5px); opacity: 1; }
  to { filter: blur(0); opacity: 1; }
}

/* ---------- Ablauf: ein Termin ---------- */
.ablauf { padding-top: 0; }
.ablauf-kopf { display: grid; gap: 2rem; align-items: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.ablauf-intro p:last-child { margin-bottom: 0; }
.ablauf-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-m); }
@media (min-width: 56rem) {
  .ablauf-kopf { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; }
}
.termin-leiste { display: grid; gap: 1.25rem; }
.leiste { border-radius: var(--r-m); padding: clamp(1.4rem, 2.6vw, 2.1rem); }
.leiste-termin { background: var(--glas); box-shadow: inset 0 0 0 2px var(--blau); }
.leiste-danach { background: var(--weiss); border: 2px dashed var(--linie); }
.leiste-label {
  display: flex; align-items: center; gap: 0.55rem; margin: 0 0 1.5rem;
  font-weight: 720; font-size: 1rem; color: var(--blau);
}
.leiste-danach .leiste-label { color: var(--tinte-2); }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; position: relative; }
.schritt {
  display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1rem; align-content: start;
  position: relative;
}
.schritt-marke {
  grid-row: span 2; position: relative; z-index: 1;
  width: 3rem; height: 3rem; display: grid; place-items: center;
  color: var(--blau); border-radius: 50%;
}
.leiste-termin .schritt-marke { background: var(--glas); }
.schritt-marke .landolt { position: absolute; inset: 0; width: 100%; height: 100%; }
.schritt-nr { position: relative; font-weight: 780; font-size: 0.95rem; color: var(--tinte); }
.leiste-danach .schritt-marke { border: 2px dashed var(--tinte-2); background: var(--weiss); }
.schritt h3 { margin: 0.55rem 0 0.25rem; font-size: 1.1875rem; }
.schritt p { margin: 0; font-size: 1rem; color: var(--tinte-2); }
/* Verbindungslinie zwischen den Sehzeichen */
.leiste-termin .schritte::before {
  content: ''; position: absolute; left: 1.5rem; top: 1.5rem; bottom: 1.5rem;
  border-left: 2px solid var(--blau); opacity: 0.35;
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .leiste-termin .schritte, .leiste-danach .schritte { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .leiste-termin .schritte::before { display: none; }
}
/* Desktop: der Termin als Zeile mit vier Stationen, darunter die zwei Schritte danach */
@media (min-width: 64rem) {
  .leiste-termin .schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 2rem; }
  .leiste-termin .schritt { grid-template-columns: minmax(0, 1fr); }
  .leiste-termin .schritt-marke { grid-row: auto; }
  .leiste-termin .schritte::before {
    left: 1.5rem; right: calc((100% - 6rem) / 4 - 1.5rem); top: 1.5rem; bottom: auto;
    border-left: 0; border-top: 2px solid var(--blau);
  }
  .leiste-danach { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); column-gap: 2rem; align-items: center; }
  .leiste-danach .leiste-label { margin: 0; }
  .leiste-danach .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}

/* ---------- Sortiment ---------- */
.sortiment { background: var(--glas); }
.sortiment-grid { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.sortiment-bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 30% 50%; border-radius: var(--r-m); }
.sortiment-liste { list-style: none; padding: 0; margin: 1.75rem 0 0; border-top: 1px solid var(--linie); }
.sortiment-liste li { display: grid; gap: 0.3rem; padding: 1.35rem 0; border-bottom: 1px solid var(--linie); }
.sortiment-liste h3, .sortiment-liste p { margin: 0; }
.sortiment-liste p { color: var(--tinte-2); }
.sortiment-liste .textlink { justify-self: start; margin-top: 0.25rem; }
@media (min-width: 60rem) {
  .sortiment-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .sortiment-bild { position: sticky; top: calc(var(--header-h) + 2rem); }
  .sortiment-bild img { aspect-ratio: 1 / 1; }
}

/* ---------- Aktion ---------- */
.aktion { padding-top: var(--section); }
.aktion-box {
  display: grid; gap: 1.5rem; align-items: center;
  background: var(--pink-hell); border-radius: var(--r-l);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.aktion-paar { width: 100%; max-width: 12rem; }
.aktion-paar .glas { fill: rgb(255 255 255 / 0.6); stroke-width: 4; }
.aktion-paar .glas-a { stroke: var(--blau); }
.aktion-paar .glas-b { stroke: var(--pink); }
.aktion-paar .steg, .aktion-paar .buegel { fill: none; stroke: var(--tinte); stroke-width: 4; stroke-linecap: round; }
.aktion-label {
  display: inline-block; margin: 0 0 0.75rem; padding: 0.2rem 0.75rem;
  background: var(--pink-tief); color: var(--weiss); border-radius: 999px;
  font-weight: 720; font-size: 0.875rem; line-height: 1.5;
}
.aktion h2 { font-size: clamp(1.5rem, 1.05rem + 1.7vw, var(--v05)); }
.aktion-text p:last-child { margin-bottom: 0; }
.aktion-hinweis { font-size: 0.9375rem; color: var(--tinte-2); }
.aktion-cta { justify-self: start; }
@media (min-width: 56rem) {
  .aktion-box { grid-template-columns: 11rem minmax(0, 1fr) auto; gap: 2.5rem; }
}
.aktion-kompakt { padding-block: var(--section) 0; }

/* ---------- Über mich ---------- */
.ueber-grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.ueber-label { font-weight: 720; color: var(--blau); margin-bottom: 0.75rem; }
.ueber h2 {
  font-size: clamp(2.2rem, 1.1rem + 4.2vw, var(--v025));
  line-height: 1.03; letter-spacing: -0.035em; font-weight: 780; margin-bottom: 1.5rem; max-width: 14ch;
}
.ueber-text p:last-child { margin-bottom: 0; }
.brillenpass {
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-m);
  padding: 1.4rem 1.5rem 0.6rem; box-shadow: var(--schatten);
}
.brillenpass-titel {
  margin: 0; padding-bottom: 0.65rem; border-bottom: 2px solid var(--tinte);
  font-weight: 780; font-size: 1.0625rem;
}
.brillenpass dl { margin: 0; }
.brillenpass dl > div {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px dashed var(--linie);
}
.brillenpass dl > div:last-child { border-bottom: 0; }
.brillenpass dt { color: var(--tinte-2); font-size: 0.9375rem; }
.brillenpass dd { margin: 0; font-weight: 660; }
@media (min-width: 60rem) {
  .ueber-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
}

/* ---------- Häufige Fragen ---------- */
.faq { background: var(--glas); }
.faq-grid { display: grid; gap: 2rem; }
.faq-intro p { color: var(--tinte-2); }
.faq-liste { border-top: 1px solid var(--linie); }
.faq-item { border-bottom: 1px solid var(--linie); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 0; cursor: pointer; list-style: none;
  font-weight: 680; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blau-tief); }
.faq-icon { width: 1.5rem; height: 1.5rem; color: var(--blau); transition: transform 0.2s ease; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 2.5rem 1.4rem 0; color: var(--tinte-2); }
@media (min-width: 60rem) {
  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 5rem; }
}

/* ---------- Kontakt ---------- */
.kontakt-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.kanaele { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.75rem; }
.kanaele a {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem;
  background: var(--glas); border-radius: var(--r-m); color: var(--tinte); text-decoration: none;
  transition: background-color 0.18s ease;
}
.kanaele a:hover { background: var(--glas-2); color: var(--tinte); }
.kanaele .icon { width: 1.75rem; height: 1.75rem; color: var(--blau); }
.kanaele a > span { display: grid; min-width: 0; }
.kanaele strong { font-size: 1.125rem; font-weight: 720; }
.kanaele a > span > span { color: var(--tinte-2); font-size: 0.9375rem; overflow-wrap: anywhere; }
.adresse-karte { background: var(--glas); border-radius: var(--r-l); overflow: hidden; }
.adresse-bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.adresse-text { padding: 1.5rem clamp(1.25rem, 3vw, 2rem) 2rem; }
.adresse-text h3 { margin-bottom: 0.35rem; }
.adresse-text address { font-size: 1.125rem; margin-bottom: 1rem; }
.adresse-termin { display: flex; align-items: center; gap: 0.5rem; font-weight: 680; color: var(--blau); }
@media (min-width: 60rem) {
  .kontakt-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

/* ---------- Abschlussband der Unterseiten ---------- */
.termin-band { background: var(--blau); color: var(--weiss); padding-block: clamp(3rem, 6vw, 4.5rem); }
.termin-band-inner { display: grid; gap: 1.5rem; align-items: center; }
.termin-band h2 { color: var(--weiss); margin-bottom: 0.5rem; }
.termin-band p { color: rgb(255 255 255 / 0.88); margin: 0; }
.termin-band-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.termin-band :focus-visible { outline-color: var(--weiss); }
@media (min-width: 56rem) {
  .termin-band-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; }
}

/* ---------- Einstieg der Unterseiten ---------- */
.page-hero { padding-top: clamp(0.75rem, 2vw, 1.75rem); }
.page-hero-grid {
  display: grid; gap: 2rem; align-items: center;
  background: var(--glas); border-radius: var(--r-l);
  padding: clamp(1.5rem, 4.5vw, 4rem) clamp(1.25rem, 4.5vw, 4rem);
}
.page-hero h1 {
  font-size: clamp(2.35rem, 1.2rem + 4.2vw, var(--v032));
  line-height: 1.04; letter-spacing: -0.032em; font-weight: 780;
}
.page-hero .lead { max-width: 40ch; }
.page-hero .hero-actions { margin-top: 1.75rem; }
.page-hero-bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m); }
@media (min-width: 60rem) {
  .page-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; }
  .page-hero-grid.ohne-bild { grid-template-columns: minmax(0, 1fr); }
}
.page-hero-schmal .page-hero-grid { padding-block: clamp(1.5rem, 3.5vw, 3rem); }
.page-hero-schmal .lead { max-width: 52ch; margin-bottom: 0; }

/* ---------- Zweispaltige Wissensabschnitte ---------- */
.zwei-spalten { display: grid; gap: 1rem 4rem; }
@media (min-width: 60rem) {
  .zwei-spalten { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .zwei-spalten > h2 { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ---------- Brillengläser: Schichten ---------- */
.glaeser { background: var(--glas); }
.schichten-grid { display: grid; gap: 2.5rem; align-items: center; }
.schichten-bild { background: var(--weiss); border-radius: var(--r-m); padding: clamp(1rem, 3vw, 2rem) clamp(0.75rem, 3vw, 2rem) 1.25rem; }
.glas-schichten { width: 100%; height: auto; }
.glas-schichten text { font-family: inherit; }
.s-kern { fill: #d8eaf1; stroke: #9dc6d6; stroke-width: 1.5; }
.s-hart { fill: none; stroke: #86b9cc; stroke-width: 6; }
.s-ar { fill: none; stroke-width: 2.5; }
.s-ar-1 { stroke: var(--blau-logo); }
.s-ar-2 { stroke: var(--pink); }
.s-ar-3 { stroke: #4fae9c; }
.s-clean { fill: none; stroke: var(--tinte); stroke-width: 2.5; stroke-dasharray: 0.5 6; stroke-linecap: round; }
.s-linie { fill: none; stroke: var(--tinte); stroke-width: 1.3; }
.schicht-marke circle { fill: var(--tinte); }
.schicht-marke text { fill: var(--weiss); font-weight: 760; font-size: 14px; }
.schichten-bild figcaption { text-align: center; }
.schichten-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.schichten-liste li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.schicht-nr {
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--tinte); color: var(--weiss); font-weight: 760;
}
.schichten-liste h3 { margin: 0.15rem 0 0.2rem; }
.schichten-liste p { margin: 0; color: var(--tinte-2); }
.blauschutz {
  display: flex; gap: 0.75rem; align-items: flex-start; max-width: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 1rem 1.25rem; background: var(--weiss); border-radius: var(--r-s);
}
.blauschutz .icon, .sehstaerke-aktion .icon { width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; color: var(--blau); }
@media (min-width: 60rem) {
  .schichten-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem; }
}

/* ---------- Glasarten ---------- */
.glasarten-liste {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
}
.glasart { background: var(--glas); border-radius: var(--r-m); padding: 1.5rem 1.5rem 1.6rem; }
.glasart-bild { width: 100%; max-width: 13.5rem; margin: 0 auto 1.25rem; overflow: visible; }
.glasart-bild text { font-family: inherit; font-size: 13px; font-weight: 720; fill: var(--tinte); }
.glasart-bild text.klein { font-size: 11px; }
.glasart-bild text.hell { fill: var(--weiss); }
.glasart-rand { fill: none; stroke: var(--tinte); stroke-width: 3; }
.z-ferne { fill: #d6ebf3; }
.z-zwischen { fill: #a3d2e3; }
.z-nah { fill: #6db6d1; }
.z-rand { fill: #f4f7f8; }
.z-rand-linie { stroke: #c9d6db; stroke-width: 2; }
.z-toenung-oben { stop-color: #2b434d; }
.z-toenung-unten { stop-color: #7f959d; }
.glasart p { margin: 0; color: var(--tinte-2); }
.glasarten-hinweis { margin: 1.5rem 0 0; font-size: 0.9375rem; color: var(--tinte-2); }

/* ---------- Sehtest ---------- */
.sehtest { background: var(--glas); }
.sehtest-grid { display: grid; gap: 2rem; align-items: center; }
.sehtest-bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-m); }
@media (min-width: 60rem) {
  .sehtest-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
}

/* ---------- Sonnenbrillen ---------- */
.uv-schaubild { display: grid; gap: 0.9rem; }
.uv-fall { background: var(--weiss); border-radius: var(--r-m); padding: 1rem 1.25rem 1.2rem; }
.uv-fall svg { width: 100%; height: auto; }
.uv-glas { fill: #34454c; }
.uv-glas-filter { stroke: var(--blau-logo); stroke-width: 3.5; }
.uv-strahl { fill: none; stroke: var(--pink); stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linecap: round; }
.uv-lid { fill: var(--weiss); stroke: var(--tinte); stroke-width: 2.5; }
.uv-iris { fill: #7db9cf; }
.uv-pupille { fill: var(--tinte); }
.uv-fall figcaption { margin-top: 0.4rem; }
.uv-fall figcaption strong { display: block; color: var(--tinte); font-size: 1.0625rem; margin-bottom: 0.15rem; }
.uv-hinweis { margin: 0; font-size: 0.8125rem; color: var(--tinte-2); }
.sehstaerke { background: var(--glas); }
.sehstaerke-liste {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.sehstaerke-liste li { border-top: 3px solid var(--tinte); padding-top: 1rem; }
.sehstaerke-liste p { margin: 0; color: var(--tinte-2); }
.sehstaerke-aktion {
  display: flex; gap: 0.75rem; align-items: flex-start; max-width: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 1rem 1.25rem; background: var(--weiss); border-radius: var(--r-s);
}

/* ---------- Terminanfrage ---------- */
.termin-seite { padding-top: clamp(2.5rem, 5vw, 4rem); }
.termin-grid { display: grid; gap: 3rem; align-items: start; }
.termin-form { display: grid; gap: 1.9rem; min-width: 0; }
.termin-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.termin-form legend, .feld > label {
  display: block; padding: 0; margin-bottom: 0.65rem;
  font-weight: 720; font-size: 1.0625rem; line-height: 1.35;
}
.pflicht, .optional { margin-left: 0.35rem; font-weight: 500; font-size: 0.8125rem; color: var(--tinte-2); }
.pflicht { color: var(--pink-tief); }
.auswahl-raster { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.auswahl-zeile { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.auswahl { position: relative; display: block; cursor: pointer; }
.auswahl input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.auswahl span {
  display: flex; align-items: center; gap: 0.75rem; height: 100%;
  min-height: 3.25rem; padding: 0.7rem 1rem;
  background: var(--weiss); border: 2px solid var(--linie); border-radius: var(--r-s);
  font-weight: 620; line-height: 1.3;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.auswahl span::before {
  content: ''; flex: none; width: 1.25rem; height: 1.25rem;
  border: 2px solid var(--tinte-2); border-radius: 50%; background: var(--weiss);
  transition: border-width 0.15s ease, border-color 0.15s ease;
}
.auswahl:hover span { border-color: var(--tinte-2); }
.auswahl input:checked + span { border-color: var(--blau); background: var(--glas); }
.auswahl input:checked + span::before { border: 6px solid var(--blau); }
.auswahl input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.auswahl-klein span { min-height: 2.9rem; }
.termin-form input[type='text'], .termin-form input[type='tel'], .termin-form textarea {
  display: block; width: 100%; min-height: 3.25rem; padding: 0.75rem 1rem;
  font: inherit; color: var(--tinte); background: var(--weiss);
  border: 2px solid var(--linie); border-radius: var(--r-s);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.termin-form textarea { resize: vertical; min-height: 7.5rem; }
.termin-form input:focus, .termin-form textarea:focus {
  outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgb(0 113 156 / 0.22);
}
.feld.hat-fehler input[type='text'], .feld.hat-fehler input[type='tel'], .feld.hat-fehler .auswahl span { border-color: var(--pink-tief); }
.feld-fehler { margin: 0.55rem 0 0; color: var(--pink-tief); font-weight: 650; font-size: 0.9375rem; }
.feld-hinweis { margin: 0.55rem 0 0; color: var(--tinte-2); font-size: 0.9375rem; }
.feld-paar { display: grid; gap: 1.9rem; }
@media (min-width: 40rem) {
  .feld-paar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; }
}
.form-senden { border-top: 1px solid var(--linie); padding-top: 1.6rem; }
.senden-frage { font-weight: 720; margin-bottom: 0.75rem; }
.senden-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.form-fehler {
  padding: 1rem 1.25rem; border: 2px solid var(--pink-tief); border-radius: var(--r-s); background: #fff6f8;
}
.form-fehler p { margin: 0; }
.form-fehler ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.form-fehler a { color: var(--pink-tief); font-weight: 650; }
.form-hinweis-box {
  display: flex; gap: 0.75rem; align-items: flex-start; max-width: none;
  padding: 1rem 1.25rem; background: var(--pink-hell); border-radius: var(--r-s);
}
.form-status { padding: 1.5rem; border-radius: var(--r-m); background: var(--glas); box-shadow: inset 0 0 0 2px var(--blau); }
.form-status-titel { font-size: 1.375rem; margin-bottom: 0.5rem; }
.form-status-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0.25rem; }
.termin-aside { display: grid; gap: 1.25rem; }
.aside-block { background: var(--glas); border-radius: var(--r-m); padding: 1.5rem; }
.aside-block h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.aside-block p:last-child { margin-bottom: 0; }
.aside-block .kanaele { margin-top: 0; }
.aside-block .kanaele a { background: var(--weiss); }
.aside-block .kanaele a:hover { background: var(--glas-2); }
.aside-block address { margin-bottom: 0.75rem; }
@media (min-width: 64rem) {
  .termin-grid { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 4rem; }
  .termin-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* ---------- Rechtliches und Fehlerseite ---------- */
.rechtlich h1 { font-size: clamp(2.2rem, 1.2rem + 3vw, var(--v032)); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 1.5rem; }
.rechtlich h2 { font-size: 1.375rem; margin: 2rem 0 0.5rem; }
.platzhalter {
  padding: 0.75rem 1rem; background: var(--pink-hell);
  border-left: 4px solid var(--pink); border-radius: 0 var(--r-s) var(--r-s) 0;
}
.fehler-tafel { display: flex; align-items: baseline; gap: 1rem; margin: 0 0 1.5rem; }
.fehler-zahl {
  font-size: clamp(5.5rem, 3rem + 11vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: var(--tinte); filter: blur(7px); transition: filter 0.7s ease;
}
.fehler-tafel:hover .fehler-zahl { filter: blur(0); }
.fehlerseite h1 { font-size: clamp(2rem, 1.2rem + 3vw, var(--v04)); line-height: 1.1; letter-spacing: -0.025em; max-width: 22ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tinte); color: rgb(255 255 255 / 0.85); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer a { color: var(--weiss); }
.site-footer a:hover { color: var(--blau-hell); }
.site-footer :focus-visible { outline-color: var(--weiss); }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-brand .marke { font-size: 1.5rem; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 38ch; }
.footer-termin { display: flex; align-items: center; gap: 0.5rem; font-weight: 650; color: var(--weiss); }
.footer-title { font-size: 1rem; font-weight: 720; color: var(--weiss); margin: 0 0 0.8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col address { margin-bottom: 1rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-contact .icon { color: var(--blau-hell); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.16);
  font-size: 0.9375rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
@media (min-width: 56rem) {
  .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
}

/* ---------- Kontaktleiste am Handy ---------- */
.kontaktleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 0.5rem;
  padding: 0.6rem max(0.75rem, env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  background: rgb(255 255 255 / 0.97); border-top: 1px solid var(--linie);
  box-shadow: 0 -10px 28px -12px rgb(16 43 54 / 0.22);
  transform: translateY(110%); transition: transform 0.25s ease;
}
.js .kontaktleiste:not(.ist-sichtbar) { visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s; }
.kontaktleiste.ist-sichtbar, html:not(.js) .kontaktleiste { transform: none; }
.kontaktleiste a {
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 3rem; padding: 0 0.5rem; border-radius: 999px;
  background: var(--glas); color: var(--tinte); font-weight: 720; font-size: 0.975rem; text-decoration: none;
}
.kontaktleiste .icon { width: 1.2rem; height: 1.2rem; color: var(--blau); }
.kontaktleiste .kontaktleiste-termin { background: var(--blau); color: var(--weiss); }
.kontaktleiste .kontaktleiste-termin .icon { color: var(--weiss); }
@media (max-width: 71.99rem) {
  body:not(.seite-termin) .site-footer { padding-bottom: 6.5rem; }
}
@media (min-width: 72rem) {
  .kontaktleiste { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
@media print {
  .site-header, .kontaktleiste, .hero-actions, .termin-band { display: none !important; }
}
