/* ============================================================
   Flettner Kunstaugen – Design-Upgrade
   Animationen, Übergänge und Effekte (Farben unverändert)
   ============================================================ */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Lenis Smooth Scroll ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis, html.has-motion { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Scroll-Fortschritt ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent));
  box-shadow: 0 0 12px var(--glow);
  pointer-events: none;
}

/* ---------- Ladebildschirm: Kreis-Blende ---------- */
.loading-screen { transition: none; clip-path: circle(150% at 50% 50%); }
.loading-screen.hidden { opacity: 1; visibility: visible; }
.loading-screen.is-gone { visibility: hidden; }
.loading-logo { animation: loader-breathe 1.6s var(--ease-in-out) infinite; }
@keyframes loader-breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(8,145,178,0)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 24px rgba(8,145,178,0.45)); }
}

/* ---------- Navigation: ein-/ausblenden, aktiver Bereich ---------- */
.navbar { transition: transform 0.6s var(--ease-out), top 0.4s var(--ease-out); }
.navbar.nav-hidden { transform: translate(-50%, calc(-100% - 40px)); }
.nav-links { position: relative; }
.nav-ink {
  position: absolute; top: 0; left: 0; height: 100%; border-radius: 30px; pointer-events: none;
  background: linear-gradient(135deg, rgba(8,145,178,0.14), rgba(20,184,166,0.14));
  box-shadow: inset 0 0 0 1px rgba(8,145,178,0.18);
  opacity: 0; transition: transform 0.55s var(--ease-out), width 0.55s var(--ease-out), opacity 0.3s ease;
}
.nav-links a.is-active { color: var(--primary); }
.nav-links > li { position: relative; z-index: 1; }

/* ---------- Hero: Scroll-Karte (Titel + sich aufrichtende Karte mit Kunstauge) ---------- */
.hero.hero-scroll { min-height: 0; display: block; padding: 0; overflow: hidden; }
.cs-container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100svh; padding: 130px 12px 48px; }
.cs-perspective { width: 100%; padding: 0; perspective: 1000px; }
.cs-header { max-width: 64rem; margin: 0 auto; text-align: center; will-change: transform; }
.cs-header .hero-logo { height: 110px; margin-bottom: 26px; }
.cs-header h1 { margin-bottom: 18px; }
.cs-header p { margin-bottom: 30px; }
.cs-card {
  position: relative; max-width: 64rem; width: 100%; height: min(32rem, 46vh); margin: 0 auto 104px; padding: 8px;
  border: 4px solid var(--border); border-radius: 30px;
  background: linear-gradient(160deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  box-shadow:
    0 0 0 1px rgba(8, 145, 178, 0.06),
    0 9px 20px var(--shadow), 0 37px 37px var(--shadow), 0 84px 50px rgba(8, 145, 178, 0.08),
    0 149px 60px rgba(8, 145, 178, 0.03), 0 40px 120px -40px var(--glow);
  transform-origin: 50% 0%; will-change: transform;
}
/* feiner Lichtrand oben wie bei Glas */
.cs-card::before { content: ""; position: absolute; inset: -4px; border-radius: 30px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), transparent 30%); mix-blend-mode: soft-light; }
.cs-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 18px;
  perspective: 900px; isolation: isolate;
  background:
    radial-gradient(55% 60% at 50% 38%, rgba(8, 145, 178, 0.20), transparent 70%),
    radial-gradient(40% 45% at 88% 92%, rgba(20, 184, 166, 0.16), transparent 70%),
    radial-gradient(35% 40% at 8% 10%, rgba(6, 182, 212, 0.12), transparent 70%),
    var(--bg-primary);
  box-shadow: inset 0 0 0 1px var(--border), inset 0 20px 60px -30px var(--shadow-strong);
}
/* dezentes Punktraster im Hintergrund */
.cs-screen::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(var(--border) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 75%); mask: radial-gradient(70% 70% at 50% 45%, #000 20%, transparent 75%); }
.cs-screen .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 1; pointer-events: none; }

/* Logo in der Karte */
.cs-logo-wrap { position: absolute; left: 0; right: 0; margin: 0 auto; top: 2%; z-index: 2; height: 70%; aspect-ratio: 666 / 1137; transform-style: preserve-3d; will-change: transform; }
.cs-logo-spin { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.cs-logo {
  position: absolute; inset: 0;
  -webkit-mask: url('../img/logo.webp') center / contain no-repeat; mask: url('../img/logo.webp') center / contain no-repeat;
  background: linear-gradient(170deg, var(--text-primary) 0%, var(--text-primary) 28%, var(--primary-dark) 40%, var(--primary-light) 50%, var(--accent) 58%, var(--text-primary) 72%, var(--text-primary) 100%);
  background-size: 100% 320%; background-position: 50% 0%;
  animation: logo-flow 7s ease-in-out infinite, logo-float 6s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px var(--shadow-strong));
}
@keyframes logo-flow { 0% { background-position: 50% 100%; } 50% { background-position: 50% 0%; } 100% { background-position: 50% 100%; } }
@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(-1.2deg); }
  50% { transform: translateY(-14px) rotate(0.6deg); }
  75% { transform: translateY(-6px) rotate(1.2deg); }
}
.cs-logo-glow { position: absolute; left: 50%; top: 55%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.30) 0%, rgba(20, 184, 166, 0.12) 35%, transparent 65%);
  animation: glow-pulse 4.5s ease-in-out infinite; }
@keyframes glow-pulse { 0%, 100% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.92); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); } }
.cs-logo-ring { position: absolute; left: 50%; top: 60%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(72deg);
  border-radius: 50%; border: 1px solid rgba(8, 145, 178, 0.35); box-shadow: 0 0 30px rgba(6, 182, 212, 0.25), inset 0 0 30px rgba(6, 182, 212, 0.15);
  animation: ring-spin 14s linear infinite; }
.cs-logo-ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--primary-light); box-shadow: 0 0 14px var(--primary-light); }
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); } }

.hero-outro { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); width: min(720px, calc(100% - 32px)); text-align: center; z-index: 3; pointer-events: none; }
.hero-outro .section-label { margin-bottom: 10px; }
.hero-outro h2 { font-size: clamp(24px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--text-primary); margin: 0 0 10px; }
.hero-outro h2 .gradient-text { background: var(--gradient-1); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-outro p { font-size: clamp(13px, 1.4vw, 17px); color: var(--text-secondary); line-height: 1.55; margin: 0 auto; max-width: 560px; }
@media (min-width: 769px) {
  .cs-container { padding: 150px 80px 60px; }
  .cs-card { height: min(44rem, 54vh); padding: 20px; margin-bottom: 140px; }
}
@media (max-width: 768px) {
  .cs-header .hero-logo { height: 84px; margin-bottom: 18px; }
  .hero-outro { bottom: -8%; }
  .hero-outro p { display: none; }
}

/* Hero-Hintergrund: langsam fließende Aurora */
.hero-bg::after {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 70% 30%, rgba(6,182,212,0.12), transparent 70%),
    radial-gradient(35% 30% at 25% 70%, rgba(20,184,166,0.10), transparent 70%);
  animation: aurora 26s var(--ease-in-out) infinite alternate;
}
@keyframes aurora {
  0% { transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1); }
  100% { transform: translate3d(3%, 2%, 0) rotate(8deg) scale(1.08); }
}

/* ---------- Buttons: magnetisch, Glanz, Ring ---------- */
.btn { will-change: transform; transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease, background 0.3s ease, color 0.3s ease; }
.btn-primary { position: relative; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; opacity: 0;
  background: conic-gradient(from var(--beam, 0deg), transparent 0 70%, var(--primary-light) 82%, var(--accent) 90%, transparent 100%);
  filter: blur(6px); transition: opacity 0.4s ease;
}
.btn-primary:hover::after { opacity: 0.9; animation: beam-spin 2.4s linear infinite; }
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes beam-spin { to { --beam: 360deg; } }

/* ---------- Spotlight-Karten ---------- */
.spot { position: relative; isolation: isolate; }
.spot > .spotlight {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(6,182,212,0.16), transparent 45%);
  transition: opacity 0.4s ease;
}
.spot > .spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(6,182,212,0.75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot:hover > .spotlight { opacity: 1; }
.spot > *:not(.spotlight) { position: relative; z-index: 1; }

/* ---------- Leistungs-Icons ---------- */
.service-icon { display: grid; place-items: center; color: #fff; }
.service-icon svg { width: 34px; height: 34px; stroke-width: 1.6; }
.service-card:hover .service-icon svg { animation: icon-pop 0.7s var(--ease-spring); }
@keyframes icon-pop { 0% { transform: scale(1) rotate(0); } 40% { transform: scale(1.18) rotate(-6deg); } 100% { transform: scale(1) rotate(0); } }

/* ---------- Länder-Flaggen (rein CSS, ohne Emoji) ---------- */
.country-flag { font-size: 0; width: 46px; height: 32px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(15,23,42,0.18), inset 0 0 0 1px rgba(15,23,42,0.08); display: inline-block; }
.country-flag.flag-nl { background: linear-gradient(#ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66%); }
.country-flag.flag-de { background: linear-gradient(#000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66%); }
.country-flag.flag-ch { width: 32px; background:
  linear-gradient(#fff, #fff) center / 60% 20% no-repeat,
  linear-gradient(#fff, #fff) center / 20% 60% no-repeat, #da291c; }

/* ---------- Laufband der Standorte ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 28px 0; background: var(--bg-secondary);
  border-block: 1px solid var(--border);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 56px; font-size: clamp(22px, 3vw, 38px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--text-primary); white-space: nowrap; }
.marquee-item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--text-muted); }
.marquee-item::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gradient-1, var(--primary)); box-shadow: 0 0 14px var(--glow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Abschnitts-Titel: Wortweises Einblenden ---------- */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- Glasauge-Tabs: gleitender Indikator, weiche Wechsel ---------- */
.tab-navigation { position: relative; }
.tab-ink {
  position: absolute; left: 0; top: 0; border-radius: 12px; pointer-events: none; z-index: 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--accent));
  box-shadow: 0 10px 30px var(--glow);
  transition: transform 0.6s var(--ease-out), width 0.6s var(--ease-out), height 0.6s var(--ease-out);
}
.tab-btn { z-index: 1; }
.has-tab-ink .tab-btn.active { background: transparent !important; box-shadow: none; transform: none; }
.tab-pane { animation: none; }
.tab-content { transition: height 0.6s var(--ease-out); }

/* ---------- Behandlungsschritte: Fortschrittslinie ---------- */
.treatment-steps { position: relative; }
.treatment-line { position: absolute; left: 70px; top: 40px; bottom: 40px; width: 2px; background: var(--border); border-radius: 2px; z-index: 0; }
.treatment-line > span { position: absolute; inset: 0; transform-origin: 50% 0; transform: scaleY(0);
  background: linear-gradient(var(--primary), var(--accent)); box-shadow: 0 0 12px var(--glow); border-radius: 2px; }
.treatment-step { z-index: 1; }
@media (max-width: 768px) { .treatment-line { display: none; } }

/* ---------- Galerie & Bilder ---------- */
.gallery-item { overflow: hidden; }
.gallery-item img { transition: transform 1.2s var(--ease-out), filter 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.lightbox { display: flex; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease-out), visibility 0.5s; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img { transform: scale(0.92); transition: transform 0.7s var(--ease-out); }
.lightbox.active img { transform: scale(1); }
.about-image { transform-style: preserve-3d; transition: transform 0.8s var(--ease-out); will-change: transform; }

/* ---------- Kleinigkeiten ---------- */
::selection { background: rgba(8,145,178,0.22); }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.stat-number { font-variant-numeric: tabular-nums; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  .hero-bg::after { animation: none; }
}

/* ---------- Zitat-Band: Hintergrund sichtbar, Text gut lesbar ---------- */
.parallax-section { isolation: isolate; }
:root .parallax-section .parallax-content h2, [data-theme] .parallax-section .parallax-content h2 { background: none; color: #fff; -webkit-text-fill-color: #fff; text-shadow: 0 2px 18px rgba(4, 47, 62, 0.25); }
:root .parallax-section .parallax-content p, [data-theme] .parallax-section .parallax-content p { background: none; color: rgba(255, 255, 255, 0.9); -webkit-text-fill-color: rgba(255, 255, 255, 0.9); letter-spacing: 0.04em; }

/* ---------- Eigene Seiten (seite.php) ---------- */
.page-main { min-height: 70vh; padding: 140px 24px 80px; background: var(--bg-primary); }
.page-container { max-width: 820px; margin: 0 auto; }
.page-back { display: inline-block; margin-bottom: 28px; color: var(--primary); text-decoration: none; font-weight: 600; font-size: 14px; }
.page-back:hover { text-decoration: underline; }
.page-title { text-align: left; margin-bottom: 32px; }
.page-content { color: var(--text-secondary); font-size: 17px; line-height: 1.8; }
.page-content h2, .page-content h3, .page-content h4 { color: var(--text-primary); margin: 1.6em 0 0.6em; line-height: 1.3; }
.page-content p { margin: 0 0 1.1em; }
.page-content ul, .page-content ol { margin: 0 0 1.2em 1.3em; }
.page-content li { margin-bottom: 0.4em; }
.page-content a { color: var(--primary); }
.page-content blockquote { border-left: 3px solid var(--primary); margin: 1.4em 0; padding: 0.4em 0 0.4em 1.2em; font-style: italic; }
.page-footer { padding: 40px 24px; text-align: center; font-size: 14px; color: var(--text-muted); border-top: 1px solid var(--border); background: var(--bg-secondary); }
.page-footer a { color: inherit; }
.page-sub .navbar .nav-links a.is-active { color: var(--primary); }

/* Einblendung des Hero-Titels übernimmt GSAP (sonst doppelte Animation) */
.has-motion .hero-scroll .cs-header > * { animation: none; }

/* keine seitliche Scrollleiste durch Effekte (Aurora, Glanz, 3D) */
html, body { overflow-x: clip; }

/* ---------- Hero ohne Tablet-Rahmen: Logo, Glanz und Funken schweben direkt auf dem Hintergrund-Verlauf ---------- */
.cs-card, .cs-card::before { background: none; border: 0; box-shadow: none; }
.cs-card::before { display: none; }
.cs-screen { background: none; box-shadow: none; overflow: visible; }
.cs-screen::before { display: none; }
/* Funken weich zum Rand ausblenden, damit keine Kante entsteht */
.cs-screen .hero-canvas { -webkit-mask: radial-gradient(60% 65% at 50% 42%, #000 45%, transparent 100%); mask: radial-gradient(60% 65% at 50% 42%, #000 45%, transparent 100%); }
/* Lichtschein etwas größer und weicher, damit er in die Hintergrund-Verläufe übergeht */
.cs-logo-glow { width: 260%; background: radial-gradient(circle, rgba(6, 182, 212, 0.26) 0%, rgba(20, 184, 166, 0.10) 32%, transparent 62%); }

/* ============================================================
   Spectral (wie auf der Visitenkarte): Überschriften, Markenname,
   Kapitälchen-Beschriftungen und Zitate. Fließtext bleibt Plus Jakarta Sans.
   ============================================================ */
@font-face {
  font-family: 'Spectral';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/spectral-medium.ttf') format('truetype');
}
:root { --font-serif: 'Spectral', Georgia, 'Times New Roman', serif; }

/* Große Überschriften */
.hero h1, .cs-header h1,
.section-title,
.hero-outro h2,
.page-title,
.about-content h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.hero h1, .cs-header h1 { line-height: 1.08; }

/* Kleine Beschriftungen wie „MANUFAKTUR FÜR KÜNSTLICHE AUGEN“ auf der Karte */
.section-label,
.hero-outro .section-label,
.section-subtitle.impressum-kicker {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Zitat-Band */
:root .parallax-section .parallax-content h2, [data-theme] .parallax-section .parallax-content h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.4; letter-spacing: 0;
}

/* Kennzahlen (20+, 9) */
.stat-number { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.02em; }

/* Firmenname in Impressum, Datenschutz und Fußzeile */
.impressum-company-name,
.datenschutz-contact-card strong,
.footer-brand p:first-of-type::first-line { font-family: var(--font-serif); font-weight: 500; }
.impressum-company-name { font-size: 1.15em; letter-spacing: 0.01em; }

/* Ortsnamen der Sprechtage und Länder */
.termin-card h4, .country-header h3 { font-family: var(--font-serif); font-weight: 500; letter-spacing: 0.01em; }

/* Fehlende Farbvariablen aus dem Grund-Stylesheet nachtragen (Impressum-Symbole u. a. waren unsichtbar) */
:root { --secondary: var(--accent); --dark: var(--text-primary); --gray: var(--text-secondary); }

/* Standort-Laufband schmaler */
.marquee { padding: 14px 0; }
.marquee-item { font-size: clamp(16px, 1.8vw, 22px); gap: 40px; }
.marquee-track, .marquee-item-group { gap: 40px !important; }
.marquee-item::after { width: 7px; height: 7px; }

/* ---------- Augenprothese-Bereich: einheitlicher Mouseover wie bei „Optimale Verträglichkeit“ ---------- */
#glasauge :is(.feature-card, .step-section, .process-step, .highlight-box, .handling-column, .handling-variant,
  .warning-card, .warning-note, .tip-box, .cost-step, .cost-notice, .quality-feature-box, .quality-explanation) {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#glasauge :is(.feature-card, .step-section, .process-step, .highlight-box, .handling-column, .handling-variant,
  .warning-card, .warning-note, .tip-box, .cost-step, .cost-notice, .quality-feature-box, .quality-explanation):hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
[data-theme="light"] #glasauge :is(.feature-card, .step-section, .process-step, .highlight-box, .handling-column, .handling-variant,
  .warning-card, .warning-note, .tip-box, .cost-step, .cost-notice, .quality-feature-box, .quality-explanation):hover {
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   Augenprothese-Bereich: alle Kästen im Stil von „Herstellung“ / „Eigenschaften“
   (neutrale Glas-Karte, feiner Rand, 16 px Rundung, Symbole in Petrol-Kachel)
   ============================================================ */
#glasauge :is(.feature-card, .process-step, .highlight-box, .warning-section, .warning-card, .conclusion-box,
  .cost-highlight-box, .cost-step, .cost-notice, .quality-feature-box, .step-section, .handling-column, .tip-box) {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}
[data-theme="light"] #glasauge :is(.feature-card, .process-step, .highlight-box, .warning-section, .warning-card, .conclusion-box,
  .cost-highlight-box, .cost-step, .cost-notice, .quality-feature-box, .step-section, .handling-column, .tip-box) {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
#glasauge :is(.highlight-box, .warning-section, .conclusion-box, .cost-highlight-box, .quality-feature-box, .cost-notice, .tip-box) { padding: 24px; }
#glasauge .warning-card { padding: 16px 18px; }
#glasauge .warning-note { border-top-color: rgba(8, 145, 178, 0.18); }
#glasauge .process-title { border-bottom-color: rgba(8, 145, 178, 0.3); }
#glasauge .exemption-badge { background: rgba(8, 145, 178, 0.08); border-color: rgba(8, 145, 178, 0.2); }

/* Symbole und Nummern: Petrol-Kachel wie bei „Optimale Verträglichkeit“ */
#glasauge :is(.highlight-icon, .cost-highlight-icon, .notice-icon, .warning-icon, .quality-icon-large, .tip-icon,
  .process-step-number, .cost-step-number, .step-number) {
  flex-shrink: 0; width: 44px; height: 44px; min-width: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-1); border-radius: 12px; color: #fff;
  font-size: 20px; font-weight: 700; line-height: 1;
  box-shadow: 0 8px 20px var(--glow);
  animation: none;
}
#glasauge :is(.highlight-icon, .cost-highlight-icon, .quality-icon-large) { margin-bottom: 0; }
@media (max-width: 768px) {
  #glasauge :is(.highlight-icon, .cost-highlight-icon, .process-step-number) { margin: 0 auto 8px; }
}
/* Hinweisboxen: Symbol links neben dem Text wie bei den Eigenschafts-Karten */
@media (min-width: 769px) {
  #glasauge :is(.highlight-box, .cost-highlight-box, .cost-notice) { display: flex; flex-direction: row; align-items: flex-start; gap: 16px; text-align: left; }
}

/* ============================================================
   Qualität: Glaslinse mit Tränenfilm (statt Augengrafik) + Petrol-Haken
   ============================================================ */
.lens-visual { width: 170px; aspect-ratio: 1; filter: drop-shadow(0 18px 30px var(--glow)); }
.lens-visual svg { width: 100%; height: 100%; overflow: visible; }
.lens-ring { fill: none; stroke: var(--primary); transform-origin: 100px 100px; }
.lens-ring-outer { stroke-opacity: 0.25; stroke-width: 1; stroke-dasharray: 2 7; animation: lens-spin 28s linear infinite; }
.lens-ring-inner { stroke-opacity: 0.35; stroke-width: 1.2; }
.lens-orbit-dot { fill: var(--primary-light); transform-origin: 100px 100px; animation: lens-spin 9s linear infinite; filter: drop-shadow(0 0 4px var(--primary-light)); }
.lens-body { stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.2; }
[data-theme="dark"] .lens-body { stroke: rgba(103, 232, 249, 0.35); }
.lens-film { animation: lens-blink 4.2s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.lens-pulse { fill: none; stroke: var(--primary-light); stroke-width: 2; opacity: 0; transform-origin: 100px 100px; animation: lens-pulse 4.2s ease-out infinite; }
.lens-gloss { fill: #fff; opacity: 0.75; animation: lens-gloss 4.2s ease-in-out infinite; }
.lens-sparkle { fill: #fff; opacity: 0.55; animation: lens-sparkle 4.2s ease-in-out infinite; }
.lens-drop { fill: #e0fbff; opacity: 0; }
.lens-drop-1 { animation: lens-drop 4.2s ease-in 0.55s infinite; }
.lens-drop-2 { animation: lens-drop 4.2s ease-in 0.75s infinite; }
.lens-drop-3 { animation: lens-drop 4.2s ease-in 0.95s infinite; }
@keyframes lens-spin { to { transform: rotate(360deg); } }
@keyframes lens-blink { 0%, 8% { transform: translateY(0); } 30% { transform: translateY(210px); } 100% { transform: translateY(210px); } }
@keyframes lens-pulse { 0%, 26% { opacity: 0; transform: scale(1); } 30% { opacity: 0.7; transform: scale(1); } 60% { opacity: 0; transform: scale(1.38); } 100% { opacity: 0; transform: scale(1.38); } }
@keyframes lens-gloss { 0%, 22%, 100% { opacity: 0.6; } 32% { opacity: 1; } }
@keyframes lens-sparkle { 0%, 28%, 100% { opacity: 0.2; } 36% { opacity: 0.95; } }
@keyframes lens-drop { 0%, 18% { opacity: 0; transform: translateY(-14px); } 26% { opacity: 0.9; } 55% { opacity: 0; transform: translateY(26px); } 100% { opacity: 0; transform: translateY(26px); } }
#glasauge .quality-visual .eye-animation { display: none; }

/* Haken in Petrol-Kacheln, die sich beim Öffnen des Reiters einzeichnen */
#glasauge .quality-benefits li::before { display: none; }
#glasauge .quality-benefits li { padding-left: 0; }
.quality-benefits .benefit-icon {
  position: relative; display: inline-flex; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px;
  background: var(--gradient-1); box-shadow: 0 6px 14px var(--glow);
  font-size: 0; color: transparent; overflow: hidden;
  animation: benefit-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.quality-benefits .benefit-icon::after {
  content: ""; position: absolute; left: 10px; top: 5px; width: 6px; height: 12px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
  clip-path: inset(100% 0 0 0); animation: benefit-draw 0.45s ease-out both;
}
.quality-benefits li:nth-child(1) .benefit-icon, .quality-benefits li:nth-child(1) .benefit-icon::after { animation-delay: 0.15s; }
.quality-benefits li:nth-child(2) .benefit-icon, .quality-benefits li:nth-child(2) .benefit-icon::after { animation-delay: 0.35s; }
.quality-benefits li:nth-child(3) .benefit-icon, .quality-benefits li:nth-child(3) .benefit-icon::after { animation-delay: 0.55s; }
.quality-benefits li:nth-child(n) .benefit-icon::after { animation-delay: calc(var(--d, 0s) + 0.25s); }
.quality-benefits li:nth-child(1) { --d: 0.15s; } .quality-benefits li:nth-child(2) { --d: 0.35s; } .quality-benefits li:nth-child(3) { --d: 0.55s; }
@keyframes benefit-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes benefit-draw { to { clip-path: inset(0 0 0 0); } }

/* ============================================================
   UI/UX-Feinschliff nach Regelwerk (Barrierefreiheit, Bedienung, Bewegung)
   ============================================================ */
/* Zum Inhalt springen (nur bei Tastaturbedienung sichtbar) */
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 10001; padding: 12px 18px; border-radius: 10px;
  background: var(--primary-dark); color: #fff; font-weight: 600; text-decoration: none; transition: top 0.2s ease-out; }
.skip-link:focus { top: 16px; }

/* Einheitliche Linien-Icons in den Petrol-Kacheln */
#glasauge .handling-column-icon, #glasauge .info-icon {
  flex-shrink: 0; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient-1); border-radius: 12px; color: #fff; box-shadow: 0 8px 20px var(--glow); font-size: 0;
}
.ui-icon { width: 22px; height: 22px; display: block; }
#glasauge .info-icon { width: 30px; height: 30px; border-radius: 8px; position: relative; vertical-align: middle; margin-right: 8px; }
#glasauge .info-icon::after { content: ""; position: absolute; inset: 6px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6M10 22h4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5'/%3E%3Cpath d='M9 18h6M10 22h4'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Kontraste (WCAG AA 4,5:1) */
[data-theme="light"] .section-label, [data-theme="light"] .hero-outro .section-label { color: var(--primary-dark); }
.termin-address { color: var(--text-secondary); }
[data-theme="light"] .auf-anfrage { color: #0e5f73; }
[data-theme="light"] #glasauge .conclusion-box h4 { color: #0e5f73; }
.footer-bottom p { color: var(--text-secondary); }

/* Mindestgrößen für Bedienelemente (WCAG 2.2: 24 px) und Lesbarkeit */
.lightbox-close { min-width: 48px; min-height: 48px; }
.form-consent input { width: 24px; height: 24px; margin-top: 0; }
.lang-btn { font-size: 12px; min-height: 28px; }
#glasauge .handling-variant-recommended { font-size: 12px; }
footer .footer-col a { display: inline-block; padding: 4px 0; }
a, button, [role="button"], input, label { touch-action: manipulation; }

/* Bewegung: Hover nur auf Geräten mit Maus, kürzere Übergänge, Druck-Feedback */
#glasauge :is(.feature-card, .step-section, .process-step, .highlight-box, .handling-column, .handling-variant,
  .warning-card, .warning-note, .tip-box, .cost-step, .cost-notice, .quality-feature-box, .quality-explanation),
.service-card, .termin-card, .impressum-card, .treatment-step, .stat-item {
  transition-duration: 0.22s; transition-timing-function: ease;
}
@media (hover: none), (pointer: coarse) {
  #glasauge :is(.feature-card, .step-section, .process-step, .highlight-box, .handling-column, .handling-variant,
    .warning-card, .warning-note, .tip-box, .cost-step, .cost-notice, .quality-feature-box, .quality-explanation):hover,
  .service-card:hover, .termin-card:hover, .impressum-card:hover, .treatment-step:hover, .stat-item:hover,
  .gallery-item:hover img, .about-image:hover img { transform: none; box-shadow: none; }
}
.btn:active, .termin-book-btn:active, .tab-btn:active, .lang-btn:active { transform: scale(0.97); transition-duration: 0.1s; }
.marquee:focus-within .marquee-track { animation-play-state: paused; }
/* Aufzählungsnummern in „Einsetzen/Herausnehmen“ ebenfalls in Petrol statt Blau/Orange */
#glasauge .handling-column .handling-steps li::before,
[data-theme="light"] #glasauge .handling-column .handling-steps li::before { background: rgba(8, 145, 178, 0.12); color: var(--primary-dark); }
[data-theme="dark"] #glasauge .handling-column .handling-steps li::before { color: var(--primary-light); }

/* ============================================================
   Zitat-Band animiert: fließender Farbverlauf im Text (wie beim Header-Logo),
   langsam wandernder Hintergrund, leuchtendes Anführungszeichen
   ============================================================ */
:root .parallax-section .parallax-content h2, [data-theme] .parallax-section .parallax-content h2 {
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 30%, #cffafe 40%, #67e8f9 47%, #99f6e4 53%, #ffffff 62%, #ffffff 100%);
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 14px rgba(4, 47, 62, 0.28));
  animation: quote-flow 7s ease-in-out infinite;
}
@keyframes quote-flow {
  0% { background-position: 100% 0; }
  55% { background-position: 0% 0; }
  100% { background-position: 0% 0; }
}
:root .parallax-section .parallax-content p, [data-theme] .parallax-section .parallax-content p {
  background: linear-gradient(90deg, rgba(255,255,255,0.85), #a5f3fc, rgba(255,255,255,0.85));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  animation: quote-author 7s ease-in-out infinite;
}
@keyframes quote-author { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }

/* Anführungszeichen: in Spectral, sanftes Leuchten */
.parallax-content::before {
  content: "\201C"; font-family: var(--font-serif, Georgia, serif); font-size: 140px; top: -46px;
  color: rgba(255, 255, 255, 0.45);
  text-shadow: 0 0 30px rgba(165, 243, 252, 0.6);
  animation: quote-glow 7s ease-in-out infinite;
}
@keyframes quote-glow { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; text-shadow: 0 0 46px rgba(165, 243, 252, 0.9); } }

/* Hintergrund fließt langsam, wie die Verläufe im Kopfbereich */
.parallax-bg { background-size: 200% 200%; animation: quote-bg 22s ease-in-out infinite alternate; }
@keyframes quote-bg { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }

@media (prefers-reduced-motion: reduce) {
  :root .parallax-section .parallax-content h2, [data-theme] .parallax-section .parallax-content h2,
  :root .parallax-section .parallax-content p, .parallax-content::before, .parallax-bg { animation: none; }
  :root .parallax-section .parallax-content h2, [data-theme] .parallax-section .parallax-content h2 { background-position: 0 0; }
}

/* Zitat-Band: halbe Höhe */
.parallax-section { height: auto; min-height: 250px; padding: 44px 0 36px; }
.parallax-content { padding: 20px 24px 0; }
.parallax-content::before { font-size: 96px; top: -34px; }
:root .parallax-section .parallax-content h2, [data-theme] .parallax-section .parallax-content h2 { margin-bottom: 10px; font-size: clamp(20px, 2.6vw, 30px); line-height: 1.35; }
@media (max-width: 768px) { .parallax-section { min-height: 220px; padding: 36px 0 28px; } }

/* Anführungszeichen direkt am Zitat statt allein darüber (mit derselben Farbanimation) */
.parallax-content::before { content: none; display: none; }
:root .parallax-section .parallax-content h2::before,
:root .parallax-section .parallax-content h2::after {
  font-family: var(--font-serif, Georgia, serif); font-style: normal; font-size: 1.35em; line-height: 0;
  position: relative; top: 0.18em;
}
:root .parallax-section .parallax-content h2::before { content: "\201C"; margin-right: 0.06em; }
:root .parallax-section .parallax-content h2::after { content: "\201D"; margin-left: 0.04em; }
html[lang="de"] .parallax-section .parallax-content h2::before { content: "\201E"; top: -0.02em; }
html[lang="de"] .parallax-section .parallax-content h2::after { content: "\201C"; }

/* Historie: Text in Karten im gleichen Stil wie die anderen Reiter, mit demselben Mouseover */
#glasauge .history-cards { display: grid; gap: 16px; }
#glasauge .history-card {
  padding: 24px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
[data-theme="light"] #glasauge .history-card { background: rgba(0, 0, 0, 0.02); border-color: rgba(0, 0, 0, 0.06); }
#glasauge .history-card > :first-child { margin-top: 0; }
#glasauge .history-card > :last-child { margin-bottom: 0; }
@media (hover: hover) and (pointer: fine) {
  #glasauge .history-card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.15); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); }
  [data-theme="light"] #glasauge .history-card:hover { border-color: rgba(0, 0, 0, 0.1); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
}

/* Postadresse im Impressum: ganze Box öffnet Google Maps */
a.impressum-card--map {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.impressum-card--map:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.impressum-map-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s ease;
}
a.impressum-card--map:hover .impressum-map-hint { gap: 0.6rem; }
@media (prefers-reduced-motion: reduce) {
  .impressum-map-hint { transition: none; }
}
