/* INVERA NATUR – Designsystem
   Eine Schriftfamilie, fünf Schriftgrößen, zwei Markenfarben. */

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-wght.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

:root {
  /* Marke */
  --brand: #006a7a;
  --brand-dark: #004f5b;
  --accent: #90bdc7;
  --accent-soft: #e7f1f3;
  /* Neutrale */
  --ink: #1b2a2d;
  --muted: #55676b;
  --paper: #fbfaf7;
  --white: #fff;
  --line: #d9e3e5;

  /* Schrift – lokal gehostet (OFL), keine Verbindung zu Google Fonts */
  --font: "Figtree", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Schriftgrößen: nur diese fünf */
  --fs-xl: clamp(2.4rem, 5.2vw, 4rem);
  --fs-lg: clamp(1.7rem, 3vw, 2.4rem);
  --fs-md: 1.25rem;
  --fs-base: 1.0625rem;
  --fs-sm: 0.875rem;

  --radius: 14px;
  --shadow: 0 10px 30px rgb(0 60 70 / 0.10);
  --gutter: clamp(1rem, 4vw, 2rem);
  --space: clamp(4rem, 9vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font: 400 var(--fs-base)/1.65 var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 760px); }
.center { text-align: center; margin-top: 2.5rem; }

/* Typografie */
h1, h2, h3 { font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 1rem; }
h1 { font-size: var(--fs-xl); font-weight: 400; }
h2 { font-size: var(--fs-lg); }
h3 { font-size: var(--fs-base); font-weight: 600; letter-spacing: 0; }
.h-small { font-size: var(--fs-md); font-weight: 600; letter-spacing: 0; margin-bottom: .6rem; }
.mt { margin-top: 2.5rem; }
p { margin: 0 0 1.1rem; }
.lead { font-size: var(--fs-md); line-height: 1.55; color: var(--muted); }
.eyebrow {
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 .9rem;
}
.on-dark { color: #fff; }
.textlink { font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: 600 var(--fs-base)/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--brand-dark); }
.btn-light { background: #fff; color: var(--brand-dark); }
.btn-light:hover { background: var(--accent-soft); color: var(--brand-dark); }
.btn-outline-light { color: #fff; border-color: rgb(255 255 255 / .75); }
.btn-outline-light:hover { background: rgb(255 255 255 / .16); color: #fff; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .94);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 6rem; }
.brand { flex: none; }
.brand img { height: 68px; width: auto; max-width: none; }
@media (max-width: 600px) { .brand img { height: 52px; } .header-row { min-height: 5rem; } }

.main-nav > ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--ink); white-space: nowrap; }
.main-nav li > a:not(.btn) { display: block; padding: .6rem .9rem; border-radius: 8px; font-weight: 500; }
.main-nav li > a:not(.btn):hover, .main-nav a[aria-current] { color: var(--brand); background: var(--accent-soft); }
.nav-cta { margin-left: .75rem; }
.nav-cta .btn { padding: .65rem 1.3rem; color: #fff; }
.has-sub { position: relative; }
.sub-toggle { display: none; }
.sub {
  position: absolute; left: 0; top: 100%; min-width: 19rem; margin: 0; padding: .5rem; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { padding: .6rem .8rem; border-radius: 8px; font-weight: 400; }
.sub a:hover { background: var(--accent-soft); color: var(--brand); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 3rem; height: 3rem; cursor: pointer; }
.burger-bars, .burger-bars::before, .burger-bars::after { display: block; width: 1.3rem; height: 2px; background: var(--ink); margin: auto; content: ""; transition: transform .2s; }
.burger-bars { position: relative; }
.burger-bars::before { position: absolute; top: -7px; left: 0; }
.burger-bars::after { position: absolute; top: 7px; left: 0; }
.burger[aria-expanded="true"] .burger-bars { background: transparent; }
.burger[aria-expanded="true"] .burger-bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1200px) {
  .burger { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - 6rem); overflow: auto; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: .75rem var(--gutter) 1.5rem; gap: 0; }
  .has-sub { display: grid; grid-template-columns: 1fr 3rem; align-items: center; }
  .sub-toggle { display: block; background: none; border: 0; height: 3rem; cursor: pointer; position: relative; }
  .sub-toggle::after { content: ""; position: absolute; inset: 0; margin: auto; width: .55rem; height: .55rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(45deg); width: .55rem; }
  .sub { position: static; grid-column: 1 / -1; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem 1rem; min-width: 0; display: none; }
  .has-sub.open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open:hover > .sub { display: block; }
  .nav-cta { margin: 1rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* Hero */
.hero { position: relative; min-height: clamp(30rem, 82vh, 46rem); display: grid; align-items: end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgb(0 42 49 / .82) 0%, rgb(0 42 49 / .5) 45%, rgb(0 42 49 / .05) 100%),
  linear-gradient(0deg, rgb(0 42 49 / .55) 0%, transparent 45%); }
.hero-inner { position: relative; padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { max-width: 20ch; color: #fff; }
.hero .lead { max-width: 36rem; color: rgb(255 255 255 / .92); }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }

/* Abschnitte */
.section { padding-block: var(--space); }
.tint { background: var(--accent-soft); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.page-head { background: var(--accent-soft); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { margin: 0; }

/* Kacheln (Aktuelles) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.tile {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgb(0 60 70 / .06); transition: transform .25s, box-shadow .25s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.tile-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--accent-soft); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover .tile-media img { transform: scale(1.05); }
.badge { position: absolute; left: 1rem; top: 1rem; background: var(--brand); color: #fff; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .75rem; border-radius: 999px; }
.tile-body { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.5rem 1.75rem; flex: 1; }
.tile-date { font-size: var(--fs-sm); color: var(--muted); }
.tile-title { font-size: var(--fs-md); font-weight: 600; line-height: 1.25; }
.tile-text { color: var(--muted); }
.more { margin-top: auto; padding-top: .75rem; color: var(--brand); font-weight: 600; }

/* Zweispaltig */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.split:not(.split-reverse) .split-media img { aspect-ratio: 5 / 4; }

.rows { list-style: none; margin: 1.75rem 0; padding: 0; border-top: 1px solid var(--line); }
.rows a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .2s, background .2s; }
.rows a:hover { padding-left: .9rem; background: rgb(255 255 255 / .6); color: var(--brand-dark); }
.rows strong { display: block; font-weight: 600; }
.rows small { display: block; color: var(--muted); font-size: var(--fs-sm); }
.price { white-space: nowrap; font-weight: 600; color: var(--brand); }

.pillars { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.pillars li { padding-left: 1.25rem; border-left: 3px solid var(--accent); }
.pillars strong { display: block; }
.pillars span { color: var(--muted); }

/* Marken */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.brand-card { background: #fff; border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; gap: .5rem; }
.brand-logo { height: 3.25rem; width: auto; max-width: 100%; object-fit: contain; object-position: left; margin-bottom: 1rem; }
.brand-photo { height: 3.25rem; width: 100%; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; height: 9rem; }
.brand-card .textlink { margin-top: auto; padding-top: .5rem; }
.qr { display: flex; align-items: center; gap: 1rem; margin: .5rem 0 1rem; padding: 1rem; background: var(--accent-soft); border-radius: 10px; font-size: var(--fs-sm); }
.qr img { width: 96px; height: 96px; background: #fff; border-radius: 6px; }

/* Platzhalter für Schnittstellen */
.placeholder-box { display: flex; flex-direction: column; gap: .25rem; padding: 1.25rem 1.5rem; border: 2px dashed var(--accent); border-radius: var(--radius); background: rgb(255 255 255 / .6); color: var(--muted); font-size: var(--fs-sm); }
.placeholder-box strong { color: var(--brand-dark); font-size: var(--fs-base); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 4rem); align-items: start; }
address { font-style: normal; margin-bottom: 1.1rem; }
.map, .embed { position: relative; min-height: 22rem; border-radius: var(--radius); overflow: hidden; background: var(--accent-soft); box-shadow: var(--shadow); }
.map iframe, .embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .9rem; padding: 2rem; background: linear-gradient(135deg, var(--accent-soft), #fff); }
.map-ph p { margin: 0; max-width: 26rem; color: var(--muted); }
.booking-box { padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 1.5rem 0 .5rem; }
.booking-box p { margin-bottom: .9rem; color: var(--muted); font-size: var(--fs-sm); }
.plain-list { padding-left: 1.1rem; }
.plain-list li { margin-bottom: .5rem; }

/* Artikel / Detailseite */
.article { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.crumbs { font-size: var(--fs-sm); }
.crumbs a { text-decoration: none; font-weight: 600; }
.article-img { width: 100%; border-radius: var(--radius); margin: 1.5rem 0 2rem; max-height: 28rem; object-fit: cover; }
.prose p { margin-bottom: 1.25rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.checks li { position: relative; padding-left: 1.75rem; margin-bottom: .45rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .5rem; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg) translateY(-30%); }

/* Footer */
.site-footer { background: var(--brand-dark); color: rgb(255 255 255 / .85); padding-top: 4rem; font-size: var(--fs-sm); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; }
.site-footer h3 { color: #fff; font-size: var(--fs-sm); letter-spacing: .14em; text-transform: uppercase; }
.footer-logo { height: 60px; width: auto; margin-bottom: 1rem; }
.plain { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer .linklike { color: #fff; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .18); padding-block: 1.25rem; }

/* Popup (Neuankündigung) */
.popup { border: 0; padding: 0; border-radius: 18px; width: min(92vw, 52rem); overflow: hidden; box-shadow: 0 30px 80px rgb(0 0 0 / .35); }
.popup::backdrop { background: rgb(0 30 36 / .6); backdrop-filter: blur(2px); }
.popup-grid { display: grid; grid-template-columns: 1fr 1fr; }
.popup-grid img { width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.popup-body { padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; gap: .25rem; }
.popup-body h2 { font-size: var(--fs-lg); }
.popup-close { position: absolute; right: .75rem; top: .75rem; z-index: 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: rgb(255 255 255 / .92); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); box-shadow: 0 2px 8px rgb(0 0 0 / .2); }
.popup-close:hover { background: #fff; color: var(--brand); }

/* Einwilligung */
.consent { position: fixed; inset: auto 1rem 1rem 1rem; z-index: 90; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-box { pointer-events: auto; width: min(100%, 44rem); background: #fff; border-radius: 18px; padding: 1.5rem 1.75rem; box-shadow: 0 20px 60px rgb(0 40 50 / .3); border: 1px solid var(--line); font-size: var(--fs-sm); }
.consent-box h2 { font-size: var(--fs-md); margin-bottom: .5rem; }
.consent fieldset { border: 0; padding: 0; margin: .75rem 0 1rem; display: grid; gap: .5rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; }
.check input { margin-top: .25rem; accent-color: var(--brand); }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.consent-actions .btn { padding: .6rem 1.1rem; font-size: var(--fs-sm); }

@media (max-width: 900px) {
  .tiles, .brands { grid-template-columns: 1fr; }
  .split, .contact, .popup-grid { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .popup-grid img { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .consent-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Eingebettete Videos (YouTube nach Einwilligung, eigene Videos direkt) */
.video-embed { min-height: 0; aspect-ratio: 16 / 9; margin: 0 0 1.25rem; }
.video { display: block; width: 100%; border-radius: var(--radius); background: #000; margin: 0 0 1.25rem; }

/* Behandlungen & Preise */
.page-lead { max-width: 52rem; margin-top: 1rem; }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.narrow-wide { width: min(100% - 2 * var(--gutter), 900px); }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { margin: 0; max-width: 40rem; color: var(--muted); }

.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
.area-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgb(0 60 70 / .06); transition: transform .25s, box-shadow .25s; }
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.area-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--accent-soft); }
.area-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.area-card:hover .area-media img { transform: scale(1.05); }
.area-card-plain .area-media { display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.area-mark { font-size: 5rem; font-weight: 300; color: rgb(255 255 255 / .85); line-height: 1; }
.area-body { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem 1.75rem 1.75rem; flex: 1; }
.area-body .eyebrow { margin: 0; }
.area-title { font-size: var(--fs-md); font-weight: 600; line-height: 1.25; }
.area-text { color: var(--muted); }
.area-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1rem; }
.area-foot .more { margin: 0; padding: 0; }

.area-hero { background: var(--accent-soft); padding-block: clamp(2rem, 5vw, 4rem); }
.area-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.area-hero-grid.no-image { grid-template-columns: 1fr; max-width: 52rem; }
.area-hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.area-hero .actions { margin-top: 1.5rem; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; margin-top: 1rem; }
.fact { background: #fff; border-radius: var(--radius); padding: 1.5rem; border-top: 3px solid var(--accent); }
.fact h3 { color: var(--brand); margin-bottom: .5rem; }
.fact p { margin: 0; color: var(--muted); }

.price-group { background: #fff; border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1.5rem; box-shadow: 0 1px 2px rgb(0 60 70 / .06); }
.price-group header { margin-bottom: 1rem; }
.price-group h3 { font-size: var(--fs-md); font-weight: 600; margin-bottom: .2rem; }
.pg-sub { color: var(--brand); font-weight: 600; margin: 0 0 .3rem; }
.pg-text { color: var(--muted); margin: 0; }
.price-list { list-style: none; margin: 0; padding: 0; }
.price-item { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.price-item:first-child { border-top: 0; }
.pi-main { min-width: 0; }
.pi-main strong { display: block; font-weight: 600; }
.pi-main small { display: block; color: var(--brand); font-size: var(--fs-sm); font-weight: 600; margin-top: .1rem; }
.pi-main p { margin: .35rem 0 0; color: var(--muted); }
.pi-prices { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; flex-shrink: 0; text-align: right; }
.pi-price { display: inline-flex; align-items: baseline; gap: .6rem; white-space: nowrap; }
.pi-dur { color: var(--muted); font-size: var(--fs-sm); }
.pi-amt { font-weight: 700; color: var(--brand); }
.pi-text { max-width: 12rem; font-size: var(--fs-sm); color: var(--muted); }
.is-option { background: var(--accent-soft); margin: .5rem -1rem 0; padding: .9rem 1rem; border-radius: 10px; border-top: 0; }
.is-option .pi-main strong { font-weight: 500; }
.group-prices { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; margin-top: .75rem; padding: 1rem 1.25rem; background: var(--accent-soft); border-radius: 10px; }
.group-prices > span:first-child { font-weight: 600; margin-right: auto; }
.note { font-size: var(--fs-sm); color: var(--muted); margin-bottom: .5rem; }

.jump { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 6rem; z-index: 20; }
.jump-row { display: flex; gap: .5rem; overflow-x: auto; padding-block: .75rem; scrollbar-width: thin; }
.jump-row a { white-space: nowrap; text-decoration: none; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: var(--fs-sm); font-weight: 600; }
.jump-row a:hover { background: var(--accent-soft); color: var(--brand-dark); border-color: var(--accent); }
.price-area { margin-bottom: 3rem; scroll-margin-top: 9rem; }
.price-area-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.price-area-head h2 { margin: 0; }
.row-static { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem .25rem; border-bottom: 1px solid var(--line); }
.tile-static { cursor: default; }
.tile-static:hover { transform: none; box-shadow: 0 1px 2px rgb(0 60 70 / .06); }

@media (max-width: 900px) {
  .area-grid { grid-template-columns: 1fr; }
  .area-hero-grid { grid-template-columns: 1fr; }
  .jump { top: 6rem; }
}
@media (max-width: 560px) {
  .price-item { flex-direction: column; gap: .5rem; }
  .pi-prices { align-items: flex-start; text-align: left; flex-direction: row; flex-wrap: wrap; gap: .25rem 1.25rem; }
  .is-option { margin-inline: -.5rem; }
}

/* Marken */
.brand-h1 { margin: 0 0 1rem; }
.brand-h1 img { mix-blend-mode: multiply; height: clamp(2.5rem, 6vw, 4rem); width: auto; max-width: 100%; }
.section-head.wide { max-width: 52rem; }
.callout { margin: 2rem 0; padding: 1.5rem 1.75rem; background: var(--accent-soft); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; }
.callout p { margin: 0; }
.line-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.line-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgb(0 60 70 / .06); }
.line-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.line-card-square > img { aspect-ratio: 1 / 1; }
.line-body { padding: 1.5rem; }
.line-body h3 { font-size: var(--fs-md); font-weight: 600; }
.line-body dl { margin: 0; }
.line-body dt { font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-top: .9rem; }
.line-body dd { margin: .1rem 0 0; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.product { display: flex; flex-direction: column; }
.product-img { position: relative; background: #fff; border-radius: var(--radius); aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 1rem; box-shadow: 0 1px 2px rgb(0 60 70 / .06); }
.product-img img { position: absolute; inset: 1.25rem; width: calc(100% - 2.5rem); height: calc(100% - 2.5rem); object-fit: contain; transition: transform .4s; }
.product:hover .product-img img { transform: scale(1.04); }
/* Beschreibung beim Überfahren (oder Fokussieren) des Bildes; auf Touchgeräten bleibt „Mehr erfahren“ */
.product-overlay { display: none; }
@media (hover: hover) {
  .product-overlay { position: absolute; inset: 0; display: flex; align-items: center; padding: .9rem; background: rgb(0 79 91 / .97); color: #fff; opacity: 0; transition: opacity .25s; pointer-events: none; }
  .product .product-overlay p { font-size: .8125rem; line-height: 1.45; color: #fff; }
  .product-img:hover .product-overlay, .product-img:focus .product-overlay { opacity: 1; }
  .product .more-details { display: none; }
}
.product h3 { font-size: var(--fs-base); font-weight: 600; margin-bottom: .2rem; }
.product-meta { color: var(--muted); margin-bottom: .5rem; }
.product-meta strong { color: var(--brand); }
.product p { font-size: var(--fs-sm); color: var(--muted); }
.more-details { font-size: var(--fs-sm); margin-top: auto; }
.more-details summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.more-details p { margin-top: .5rem; }
.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.qr-card { margin: 0; justify-self: center; text-align: center; background: #fff; padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.qr-card img { width: 240px; height: 240px; margin-inline: auto; }
.qr-card figcaption { margin-top: .75rem; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 1000px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .line-grid { grid-template-columns: 1fr; } .order-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }

/* Google-Rezensionen & Instagram */
.rating-sum { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin: 1rem 0 0; }
.rating-num { font-size: var(--fs-lg); font-weight: 500; line-height: 1; }
.stars { color: #e7a500; letter-spacing: .1em; white-space: nowrap; }
.stars-off { color: #d3dadc; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.25rem; }
.review { background: #fff; border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .9rem; box-shadow: 0 1px 2px rgb(0 60 70 / .06); }
.review-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.review-when { font-size: var(--fs-sm); color: var(--muted); }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.review-author { display: flex; align-items: center; gap: .65rem; margin: 0; font-weight: 600; font-size: var(--fs-sm); }
.avatar { width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent-soft); color: var(--brand-dark); display: grid; place-items: center; font-weight: 700; }
.review-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0 0; font-size: var(--fs-sm); color: var(--muted); }
.insta-head { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.insta-head h2 { margin: 0; }

/* Instagram-Kacheln: gleiche Optik und Bewegung wie die „Aktuell“-Kacheln */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.insta-grid .tile[hidden] { display: none; }
.insta-tile .tile-media { aspect-ratio: 1; }
.insta-tile .tile-body { gap: .4rem; padding: 1.25rem 1.4rem 1.5rem; }
.insta-tile .tile-text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.insta-kind { position: absolute; right: .8rem; top: .8rem; width: 2rem; height: 2rem; border-radius: 50%; background: rgb(0 40 48 / .55); color: #fff; display: grid; place-items: center; }
.insta-kind svg { width: 1rem; height: 1rem; fill: currentColor; }
.insta-more { display: flex; justify-content: center; margin-top: 2rem; }
@media (max-width: 1100px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .insta-grid { grid-template-columns: 1fr; } }

/* Porträt „Über uns“, Galerie und Ansprechpartnerin */
.split-media.portrait { position: relative; margin: 0; }
.split-media.portrait img { height: auto; aspect-ratio: 4 / 5; object-position: 66% 40%; }
.sign { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgb(255 255 255 / .94); border-radius: 10px; padding: .8rem 1.1rem; line-height: 1.35; box-shadow: 0 6px 18px rgb(0 40 50 / .15); }
.sign strong { display: block; font-weight: 600; }
.sign small { color: var(--brand); font-weight: 600; font-size: var(--fs-sm); }

.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 230px 230px; gap: .9rem; }
.mosaic .photo { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--accent); cursor: zoom-in; }
.mosaic .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic .photo:hover img, .mosaic .photo:focus-visible img { transform: scale(1.05); }
.mosaic .m1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.mosaic .m2 { grid-column: 3; grid-row: 1 / span 2; }
.mosaic .m2 img { object-position: 50% 75%; }
.mosaic .m3 { grid-column: 4; grid-row: 1; }
.mosaic .m4 { grid-column: 4; grid-row: 2; }
.mosaic .m4 img { object-position: 50% 70%; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
  .mosaic .photo, .mosaic .m1, .mosaic .m2, .mosaic .m3, .mosaic .m4 { grid-column: auto; grid-row: auto; aspect-ratio: 1; }
  .mosaic .m1 { grid-column: 1 / span 2; aspect-ratio: 16 / 10; }
  .mosaic .m4 { grid-column: 1 / span 2; aspect-ratio: 16 / 10; }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(0 20 26 / .88); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 3.5rem 1rem 3rem; }
.lightbox img { max-width: min(96vw, 1400px); max-height: calc(100vh - 7rem); width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); }
.lightbox-cap { position: absolute; bottom: .9rem; left: 0; right: 0; text-align: center; color: #fff; font-size: var(--fs-sm); }
.lightbox button { position: absolute; background: rgb(255 255 255 / .92); border: 0; border-radius: 50%; width: 2.8rem; height: 2.8rem; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.lightbox button:hover { background: #fff; color: var(--brand); }
.lightbox .lb-close { top: .9rem; right: .9rem; }
.lightbox .lb-prev { left: .9rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: .9rem; top: 50%; transform: translateY(-50%); }

.who { display: flex; align-items: center; gap: 1.5rem; margin: 1.6rem 0; padding: 1.2rem 1.6rem; background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgb(0 60 70 / .09); }
.who img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line); }
@media (max-width: 560px) { .who { gap: 1.1rem; padding: 1rem 1.1rem; } .who img { width: 104px; height: 104px; } }
.who strong { display: block; font-size: var(--fs-md); font-weight: 600; line-height: 1.2; }
.who-label { display: block; font-size: var(--fs-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: .2rem; }
.who small { display: block; color: var(--muted); font-size: var(--fs-sm); }

/* „Über uns“: Beschreibung unter Name und Funktion */
.sign small { display: block; }
.sign p { margin: .6rem 0 0; font-size: var(--fs-sm); line-height: 1.55; color: var(--ink); }
@media (max-width: 900px) {
  /* Auf schmalen Bildschirmen steht die Beschreibung unter dem Bild, damit das Gesicht frei bleibt */
  .split-media.portrait .sign { position: static; margin-top: 1rem; background: #fff; box-shadow: 0 6px 20px rgb(0 60 70 / .09); }
}

/* Behandlungsübersicht: 4 Bereiche = 2 Spalten, 5 oder mehr = 3 Spalten (letzte Reihe mittig) */
.area-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.75rem; }
.area-grid .area-card { flex: 0 0 calc((100% - 1.75rem) / 2); }
.area-grid.cols-3 .area-card { flex-basis: calc((100% - 3.5rem) / 3); }
@media (max-width: 1000px) { .area-grid.cols-3 .area-card { flex-basis: calc((100% - 1.75rem) / 2); } }
@media (max-width: 760px) { .area-grid .area-card, .area-grid.cols-3 .area-card { flex-basis: 100%; } }
.area-body { padding: 1.4rem 1.6rem 1.6rem; }
.area-names { font-size: var(--fs-sm); font-weight: 600; color: var(--brand); margin-top: .3rem; }
.area-foot { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
.area-foot > span:first-child:empty { display: block; }
/* Farbkachel, solange noch kein Foto vorhanden ist */
.area-card-plain .area-media {
  display: grid; place-items: center; position: relative;
  background:
    radial-gradient(circle at 85% 15%, rgb(255 255 255 / .22), transparent 42%),
    radial-gradient(circle at 10% 90%, rgb(144 189 199 / .35), transparent 45%),
    linear-gradient(135deg, var(--brand), var(--brand-dark));
}
.area-card-plain .area-media::before, .area-card-plain .area-media::after {
  content: ""; position: absolute; border: 1px solid rgb(255 255 255 / .28); border-radius: 50%;
}
.area-card-plain .area-media::before { width: 62%; aspect-ratio: 1; }
.area-card-plain .area-media::after { width: 38%; aspect-ratio: 1; }
.area-mark { position: relative; z-index: 1; font-size: 3.5rem; font-weight: 300; letter-spacing: .06em; color: rgb(255 255 255 / .92); }

/* Kachelblock auf der Startseite */
.area-grid.on-home { margin-bottom: 2.25rem; }
@media (max-width: 760px) {
  /* Auf dem Handy kompakter: ohne Erklärungstext, flacheres Bild */
  .area-grid.on-home .area-text { display: none; }
  .area-grid.on-home .area-media { aspect-ratio: 16 / 8; }
  .area-grid.on-home .area-body { padding: 1.1rem 1.3rem 1.3rem; }
}

/* Download-Karte (z. B. Flyer auf Behandlungsseiten) */
.download-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: #fff; border-radius: var(--radius); box-shadow: 0 1px 2px rgb(0 60 70 / .06); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s; }
.download-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.download-icon { flex: none; display: grid; place-items: center; width: 3rem; height: 3.75rem; border-radius: .4rem; background: var(--accent-soft); color: var(--brand); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .04em; }
.download-text { flex: 1; min-width: 0; }
.download-text strong { display: block; font-weight: 600; }
.download-text small { display: block; color: var(--muted); font-size: var(--fs-sm); }
.download-action { flex: none; color: var(--brand); font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) { .download-card { flex-wrap: wrap; } .download-action { width: 100%; } }

/* Inhaltsblöcke der Behandlungsseiten (Karten, Abbildung, Hinweiskasten, Beispielbilder) */
.method-cards .fact p + p { margin-top: .75rem; }
.fact .list-title { margin-top: 1rem; color: var(--ink); font-weight: 600; }
.fact .closing { margin-top: 1rem; color: var(--ink); font-weight: 600; }
.checklist { list-style: none; margin: .6rem 0 0; padding: 0; }
.checklist li { position: relative; padding-left: 1.6rem; margin: .4rem 0; color: var(--muted); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.callout .checklist li { color: var(--ink); }
.area-figure { margin: .75rem 0 0; }
.area-figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.area-figure figcaption { margin-top: .6rem; font-size: var(--fs-sm); color: var(--muted); }
.area-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; max-width: 40rem; margin-top: .75rem; }
.area-gallery img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 480px) { .area-gallery { gap: .6rem; } }

/* Bildbanner für Hauptseiten (schmaler als die Startseite) */
.page-banner { position: relative; overflow: hidden; color: #fff; background: #3b2a1d; display: grid; align-items: end; min-height: clamp(16rem, 30vw, 22rem); padding-block: 0; }
.page-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.page-banner-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 38 46 / .82) 0%, rgb(0 38 46 / .6) 42%, rgb(0 38 46 / .12) 100%), linear-gradient(0deg, rgb(0 0 0 / .28), transparent 55%); }
.page-banner-inner { position: relative; padding-block: clamp(2rem, 5vw, 3.5rem); }
.page-banner h1 { color: #fff; }
.page-banner .eyebrow { color: #fff; }
.page-banner .page-lead { color: rgb(255 255 255 / .94); max-width: 40rem; }
@media (max-width: 600px) { .page-banner-img { object-position: 38% 60%; } .page-banner-shade { background: linear-gradient(0deg, rgb(0 38 46 / .85), rgb(0 38 46 / .45)); } }

/* Blättermagazin (Preisliste) */
.flipbook { width: min(100%, 1100px); margin-inline: auto; outline-offset: 6px; }
.flipbook:focus-visible { outline: 2px solid var(--brand); }
.fb-stage { position: relative; perspective: 2400px; user-select: none; touch-action: pan-y; cursor: pointer; overflow: hidden; padding-block: .5rem; }
.fb-book { position: relative; width: 100%; aspect-ratio: 2 / 1; transform-style: preserve-3d; transition: transform .8s ease; }
.fb-leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: left center; transform-style: preserve-3d; transition: transform .8s ease; }
.fb-leaf.flipped { transform: rotateY(-180deg); }
.fb-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; overflow: hidden; box-shadow: 0 8px 24px rgb(0 40 50 / .18); }
.fb-back { transform: rotateY(180deg); }
.fb-face img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.fb-front::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(0 0 0 / .16), transparent 7%); }
.fb-back::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(270deg, rgb(0 0 0 / .16), transparent 7%); }
.fb-single { display: flex; justify-content: center; }
.fb-single[hidden], .fb-book[hidden] { display: none; }
.fb-single img { display: block; width: min(100%, 560px); height: auto; aspect-ratio: 1 / 1; box-shadow: 0 8px 24px rgb(0 40 50 / .18); }
.fb-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem; margin-top: 1rem; }
.fb-count { min-width: 11rem; text-align: center; color: var(--muted); font-size: var(--fs-sm); }
.fb-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--brand); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.fb-btn:hover:not(:disabled) { background: var(--accent-soft); border-color: var(--accent); }
.fb-btn:disabled { opacity: .4; cursor: default; }
.flipbook.is-full { width: 100%; max-width: none; height: 100%; display: flex; flex-direction: column; justify-content: center; background: #1c2a2e; padding: 1.5rem; }
.flipbook.is-full .fb-stage { margin-inline: auto; width: min(100%, calc((100vh - 8rem) * 2)); }
.flipbook.is-full .fb-single img { width: min(100%, calc(100vh - 8rem)); }
.flipbook.is-full .fb-count { color: #fff; }
@media (prefers-reduced-motion: reduce) { .fb-book, .fb-leaf { transition-duration: .01s; } }
/* Banner, dessen Bild vollständig sichtbar bleiben soll (z. B. Preisliste auf der Seite „Preise“) */
.page-banner-fit { }
.page-banner-fit .page-banner-shade { background: linear-gradient(90deg, rgb(0 38 46 / .92) 0%, rgb(0 38 46 / .8) 38%, rgb(0 38 46 / .55) 100%); }
@media (max-width: 760px) { .page-banner-fit .page-banner-img { object-position: 85% 50% !important; } .page-banner-fit .page-banner-shade { background: linear-gradient(0deg, rgb(0 30 36 / .85), rgb(0 30 36 / .35)); } }
.page-banner .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }
.page-banner .btn-primary:hover { background: var(--accent-soft); color: var(--brand-dark); }
.page-banner .btn-ghost { color: #fff; border-color: rgb(255 255 255 / .75); background: transparent; }
.page-banner .btn-ghost:hover { background: rgb(255 255 255 / .16); color: #fff; }
.page-banner .actions { margin-top: 1.25rem; }
/* Hellere Abdunklung für Fotos mit viel Produktfarbe */
.page-banner-soft .page-banner-shade { background: linear-gradient(90deg, rgb(0 38 46 / .66) 0%, rgb(0 38 46 / .38) 42%, rgb(0 38 46 / .0) 80%), linear-gradient(0deg, rgb(0 0 0 / .18), transparent 50%); }

/* Rechtstexte (Impressum, Datenschutz) */
.legal h2 { font-size: 1.5rem; margin: 2.25rem 0 .6rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { max-width: 70ch; }
.legal ul, .legal ol { padding-left: 1.3rem; }
.legal li { margin: .3rem 0; }
.legal-toc { background: #fff; border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; box-shadow: 0 1px 2px rgb(0 60 70 / .06); }
.legal-toc ol { columns: 2 16rem; column-gap: 2rem; margin: 0; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal [id] { scroll-margin-top: 7rem; }
.social-links { margin-top: .6rem; }
@media (max-width: 600px) { .jump { top: 5rem; } }

/* lameeq im Detail */
.detail-section { scroll-margin-top: 8rem; }
.detail-section[id] { scroll-margin-top: 8.5rem; }
.detail-text p { max-width: 62rem; }
.principle-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.25rem; }
.step { margin: 0; background: #fff; border-radius: var(--radius); padding: 1.25rem 1.25rem 1.5rem; box-shadow: 0 1px 2px rgb(0 60 70 / .06); text-align: center; }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 52%; height: auto; margin: 0 auto 1rem; }
.step figcaption { display: grid; gap: .25rem; justify-items: center; }
.step-no { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: var(--fs-sm); }
.step small { color: var(--muted); font-size: var(--fs-sm); }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.device { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgb(0 60 70 / .06); }
.device-img { background: #fff; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 1rem; }
.device-img img { width: 100%; height: 100%; object-fit: contain; }
.device-body { padding: 0 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.device-body h3 { color: var(--brand); margin-bottom: .5rem; }
.device-body p { color: var(--muted); }
.device-set { margin-top: auto; padding-top: .75rem; }
.skin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.5rem; }
.skin-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; border-top: 3px solid var(--accent); box-shadow: 0 1px 2px rgb(0 60 70 / .06); display: flex; flex-direction: column; }
.skin-card h3 { color: var(--brand); margin-bottom: .5rem; }
.skin-card > p { color: var(--muted); }
.skin-products { list-style: none; margin: auto 0 0; padding: .75rem 0 0; border-top: 1px solid var(--line); }
.skin-products a { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.skin-products a:hover span { color: var(--brand); text-decoration: underline; }
.skin-products strong { color: var(--brand); white-space: nowrap; }
.skin-card .note { margin-top: .75rem; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.5rem; }
.result-pair { margin: 0; }
.result-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.result-imgs a { position: relative; display: block; border-radius: .5rem; overflow: hidden; }
.result-imgs img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; display: block; transition: transform .4s; }
.result-imgs a:hover img { transform: scale(1.04); }
.result-imgs .tag { position: absolute; left: .4rem; bottom: .4rem; background: rgb(0 38 46 / .78); color: #fff; font-size: .75rem; font-weight: 600; padding: .15rem .55rem; border-radius: 999px; }
.result-pair figcaption { margin-top: .5rem; font-weight: 600; font-size: var(--fs-sm); }
.result-note { max-width: 62rem; margin-top: 1.75rem; }
.faq details { background: #fff; border-radius: var(--radius); margin-bottom: .75rem; padding: 0 1.25rem; box-shadow: 0 1px 2px rgb(0 60 70 / .06); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; color: var(--brand); list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: .75rem; }
.faq details p { color: var(--muted); padding-bottom: 1rem; }
.more-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: .75rem; }
.more-tiles a { display: grid; gap: .2rem; padding: 1.1rem 1.25rem; background: #fff; border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgb(0 60 70 / .06); transition: transform .25s, box-shadow .25s; }
.more-tiles a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.more-tiles strong { color: var(--brand); }
.more-tiles span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 900px) { .principle-steps, .device-grid, .more-tiles { grid-template-columns: 1fr; } }

/* Mobil: Hochformat-Bilder in Bannern (picture-Element), Bild nicht verschieben */
@media (max-width: 760px) {
  .page-banner-img { object-position: 50% 50% !important; }
  .page-banner .page-banner-shade,
  .page-banner-soft .page-banner-shade,
  .page-banner-fit .page-banner-shade { background: linear-gradient(0deg, rgb(0 38 46 / .86) 0%, rgb(0 38 46 / .5) 45%, rgb(0 38 46 / .08) 100%); }
  .page-banner-fit .page-banner-img { object-position: 50% 50% !important; }
}


/* Aktuelles: unscharfes Bildband im Banner (Bilder der neuesten Einträge, langsam wandernd) */
.page-banner-band { background: #0b4a56; }
.page-banner-band .band { position: absolute; inset: -1.5rem; filter: blur(5px) saturate(1); overflow: hidden; }
.page-banner-band .band-track { display: flex; align-items: center; height: 100%; width: max-content; animation: band-drift 140s linear infinite; will-change: transform; }
.page-banner-band .band-track img { flex: none; width: clamp(9rem, 17vw, 14rem); height: 92%; margin-right: 1rem; object-fit: cover; border-radius: .9rem; opacity: .95; }
.page-banner-band .band-track img:nth-child(even) { transform: translateY(9%); }
.page-banner-band .band-track img:nth-child(3n) { transform: translateY(-8%); }
.page-banner-band .page-banner-shade { background: linear-gradient(90deg, rgb(0 62 74 / .62) 0%, rgb(0 62 74 / .32) 50%, rgb(0 62 74 / .08) 100%); }
@keyframes band-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .page-banner-band .band-track { animation: none; } }
@media (max-width: 760px) {
  .page-banner-band .page-banner-shade { background: linear-gradient(0deg, rgb(0 62 74 / .7) 0%, rgb(0 62 74 / .4) 55%, rgb(0 62 74 / .12) 100%); }
}
.page-banner-band .page-banner-inner { text-shadow: 0 1px 14px rgb(0 30 36 / .55); }

/* Einheitliche Bannerhöhe aller Unterseiten: Desktop 16–22 rem, Handy höchstens 22 rem (etwa quadratisch) */
@media (max-width: 600px) { .page-banner { min-height: min(100vw, 22rem); } }
.page-banner-inner { padding-block: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 600px) { .page-banner .actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; } .page-banner .actions .btn { padding: .6rem 1rem; font-size: .9rem; } }

.download-thumb { flex: none; width: 120px; height: auto; border-radius: .35rem; box-shadow: 0 2px 10px rgb(0 60 70 / .22); outline: 1px solid rgb(0 60 70 / .12); outline-offset: -1px; }
.download-card:has(.download-thumb) { padding: 1rem 1.5rem 1rem 1rem; gap: 1.5rem; }

/* Popup ohne Bild: einspaltig und schmaler */
.popup-text { width: min(92vw, 34rem); }
.popup-text .popup-grid { grid-template-columns: 1fr; }
.popup-body p { margin: 0 0 .5rem; }
.popup-body .btn { margin-top: .5rem; }

/* Popup mit Video: Vorschaubild mit Play-Knopf oben, Text darunter */
.popup-video { width: min(92vw, 44rem); }
.popup-video .popup-grid { grid-template-columns: 1fr; }
.popup-media { position: relative; aspect-ratio: 16 / 9; background: #0b2e35; overflow: hidden; }
.popup-media img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.popup-media-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--brand), #00424d); }
.popup-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 4.5rem; height: 4.5rem; border-radius: 50%; border: 0; cursor: pointer; background: rgb(255 255 255 / .95); box-shadow: 0 6px 24px rgb(0 0 0 / .35); transition: transform .2s; }
.popup-play:hover, .popup-play:focus-visible { transform: translate(-50%, -50%) scale(1.07); }
.popup-play span { position: absolute; left: 53%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: .85rem 0 .85rem 1.4rem; border-color: transparent transparent transparent var(--brand); }
.popup-hint { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 1.25rem 1rem .6rem; font-size: var(--fs-sm); color: #fff; text-align: center; background: linear-gradient(0deg, rgb(0 20 26 / .7), transparent); }
.popup-media.is-playing img, .popup-media.is-playing .popup-media-bg, .popup-media.is-playing .popup-play, .popup-media.is-playing .popup-hint { display: none; }
.popup-player { position: absolute; inset: 0; background: #000; }
.popup-player iframe, .popup-player video { width: 100%; height: 100%; border: 0; display: block; }

/* Detailseite: Video und weitere Bilder */
.article-media { margin: 2rem 0 0; }
.article-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .75rem; margin: 1.5rem 0 2rem; }
.article-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--accent-soft); cursor: zoom-in; }
.article-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.article-gallery a:hover img, .article-gallery a:focus-visible img { transform: scale(1.05); }

/* Popup passt sich dem Videoformat an: Querformat oben, Hoch- und Quadratformat links neben dem Text */
.popup { max-height: calc(100vh - 1.5rem); overflow-y: auto; }
.popup-video .popup-media { aspect-ratio: var(--vr, 16 / 9); }
.popup-hoch { width: fit-content; max-width: 94vw; }
.popup-hoch .popup-grid { grid-template-columns: auto minmax(15rem, 24rem); }
.popup-hoch .popup-media { aspect-ratio: auto; justify-self: start; height: min(78vh, 34rem); width: calc(min(78vh, 34rem) * var(--rn, .5625)); }
.popup-hoch .popup-media img { object-fit: cover; }
@media (max-width: 760px) {
  .popup-hoch { width: min(92vw, 30rem); }
  .popup-hoch .popup-grid { grid-template-columns: 1fr; }
  .popup-hoch .popup-media { justify-self: center; height: min(56vh, calc(92vw / var(--rn, .5625))); width: calc(min(56vh, calc(92vw / var(--rn, .5625))) * var(--rn, .5625)); }
}
video.video { max-height: 80vh; }

/* Google-Rezensionen: lange Texte aufklappen */
.review blockquote p.is-open { display: block; -webkit-line-clamp: unset; overflow: visible; }
.review-more { align-self: flex-start; margin: -.35rem 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: var(--fs-sm); font-weight: 600; color: var(--brand); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.review-more:hover { color: var(--brand-dark); }

/* Technologien: Namenslinks mit Hinweis, Teaser auf den Bereichsseiten, Detailseiten */
.tech-link { position: relative; color: inherit; text-decoration: underline dotted var(--brand); text-underline-offset: 3px; }
.tech-link:hover, .tech-link:focus-visible { color: var(--brand); text-decoration-style: solid; }
.tech-link::after { content: attr(data-tip); position: absolute; left: 0; bottom: calc(100% + .45rem); transform: translateY(4px); white-space: nowrap; background: var(--brand-dark); color: #fff; font-size: .8rem; font-weight: 600; font-style: normal; letter-spacing: 0; text-transform: none; text-decoration: none; padding: .3rem .65rem; border-radius: .4rem; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 30; }
.tech-link:hover::after, .tech-link:focus-visible::after { opacity: 1; transform: translateY(0); }
@media (hover: none) { .tech-link::after { display: none; } }

.tech-teaser { display: grid; grid-template-columns: 11rem 1fr; gap: 1.25rem; align-items: center; margin-top: 1rem; padding: 1rem; background: var(--accent-soft); border-radius: var(--radius); }
.tech-teaser .tt-media { display: block; }
.tech-teaser .tt-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .6rem; }
.tech-teaser .tt-body strong { display: block; color: var(--brand); }
.tech-teaser .tt-body p { margin: .25rem 0 .5rem; color: var(--muted); }
@media (max-width: 560px) { .tech-teaser { grid-template-columns: 6.5rem 1fr; gap: .9rem; } }

.tech-facts { margin-top: 1.5rem; }
.tech-facts .checks { margin: 0; }
.tech-figure { margin: 2rem 0 0; }
.tech-figure img { display: block; width: 100%; max-width: 46rem; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.tech-extra { margin-top: 2.5rem; align-items: center; }
.tech-extra .split-media img { aspect-ratio: 4 / 3; }
.tech-video { margin-top: 2.5rem; max-width: 46rem; }
.tech-pairs-title { margin-top: 2rem; }
.result-grid-quer { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); margin-top: 1rem; }
.result-grid-quer .result-imgs img { aspect-ratio: 4 / 3; }

/* Pfeil „nach oben“ */
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgb(0 106 122 / .9); color: #fff; cursor: pointer; box-shadow: 0 4px 14px rgb(0 40 48 / .3); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--brand-dark); }
.to-top svg { width: 1.3rem; height: 1.3rem; }
.has-booking .to-top { bottom: 6rem; }
body:has(#consent:not([hidden])) .to-top { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
@media print { .to-top { display: none; } }

.tech-teaser.no-img { grid-template-columns: 1fr; }

.tech-reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 15rem)); gap: 1.25rem; margin-top: 2.5rem; }
.tech-reels figure { margin: 0; }
.reel { display: block; width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: contain; }
.tech-reels figcaption { margin-top: .5rem; font-size: var(--fs-sm); font-weight: 600; }
.tech-extra .split-media img[style*="aspect-ratio"] { object-fit: cover; }

/* Karussell */
.carousel { margin-top: 2rem; }
.carousel-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.carousel-track { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.carousel-slide { flex: 0 0 calc((100% - 2rem) / 3); scroll-snap-align: start; }
.carousel-slide a { display: block; aspect-ratio: 4 / 5; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; }
.carousel-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.25rem; }
.carousel-btn { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--brand); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 .15rem; }
.carousel-btn:hover:not(:disabled), .carousel-btn:focus-visible { background: var(--accent-soft); border-color: var(--accent); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-count { min-width: 8rem; text-align: center; font-size: var(--fs-sm); font-weight: 600; }
.carousel-bar { height: 3px; max-width: 24rem; margin: .9rem auto 0; background: var(--line); border-radius: 3px; overflow: hidden; }
.carousel-bar span { display: block; height: 100%; width: 0; background: var(--brand); transition: width .3s; }
@media (max-width: 900px) { .carousel-slide { flex-basis: calc((100% - 1rem) / 2); } }
@media (max-width: 600px) { .carousel-slide { flex-basis: 84%; } }
@media (prefers-reduced-motion: reduce) { .carousel-bar span { transition: none; } }

/* Porträt (Markenseiten) */
.split-portrait img { aspect-ratio: 1 / 1; object-fit: cover; max-width: 30rem; margin-inline: auto; }

.page-banner .crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Banner mit Studio-Schild (Luis Huber): Text links, Schild bleibt frei */
.page-banner-sign .page-lead { max-width: 23rem; }
.page-banner-sign .page-banner-shade { background: linear-gradient(90deg, rgb(0 38 46 / .8) 0%, rgb(0 38 46 / .55) 32%, rgb(0 38 46 / 0) 55%), linear-gradient(0deg, rgb(0 0 0 / .18), transparent 50%); }
@media (max-width: 600px) {
  .page-banner-sign .page-lead { max-width: none; }
  .page-banner-sign .page-banner-shade { background: linear-gradient(0deg, rgb(0 38 46 / .85), rgb(0 38 46 / .4)); }
}
