/* Aqua Felix – Website-Entwurf BoPlo Media
   Farben und Schrift aus dem bestehenden Odoo-Theme (o-color-1 bis 5, Montserrat).
   Jeder Abschnitt entspricht einem Odoo-19-Baustein (data-odoo). */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #265255;          /* o-color-1 */
  --teal-dark: #1b3d3f;
  --sage: #a2bfae;          /* o-color-2 */
  --sage-dark: #4c7563;     /* Augenbrauen-Text, Kontrast 4,9:1 auf Weiß */
  --sage-tint: #e9f1ec;
  --mist: #f5f8f6;
  --grey: #77797b;          /* o-color-3 */
  --ink: #1f2b2c;
  --line: #d9e3de;
  --white: #fff;
  --tbc: #fff1b8;
  --radius: 4px;
  --shadow: none;            /* Designlinie: keine Schatten, Flächen nur mit 1px-Linie */
  --hdr: 104px;              /* Kopfzeile oben (transparent) */
  --hdr-s: 68px;             /* Kopfzeile beim Scrollen (Glas mit Salbeiton) */
  --hdr-glas: rgba(214,227,220,.62);   /* Salbei o-color-2 auf Weiß, durchscheinend */
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-s) + 1rem); }   /* Sprungziele nicht unter der Kopfzeile */
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-align: left;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--sage-dark); outline-offset: 2px; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

h1, h2, h3, h4 { color: var(--teal); line-height: 1.22; margin: 0 0 .55em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.95rem, 1.3rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
.eyebrow {
  display: block; font-size: .8rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--sage-dark); margin-bottom: .9rem;
}
.lead { font-size: 1.16rem; line-height: 1.6; max-width: 40em; }
.muted { color: #50595a; font-size: .95rem; }
.small { font-size: .88rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }
section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; position: relative; }
.bg-mist { background: var(--mist); }
.bg-tint { background: var(--mist); }   /* Designlinie: nur drei Hintergründe (Weiß, Nebel, Petrol) */
.bg-teal { background: var(--teal); color: #fff; }
.bg-teal h2, .bg-teal h3, .bg-teal .eyebrow { color: #fff; }
.bg-teal .eyebrow { opacity: .85; }
.bg-teal a:not(.btn) { color: #fff; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.center.section-head, .section-head.center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em; border-radius: var(--radius);
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid var(--teal); background: var(--teal); color: #fff; line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
/* Jeder Button wächst beim Darüberfahren leicht (zeigt: anklickbar). Nur mit Maus; Tastatur sieht es beim Fokus */
@media (hover: hover) {
  .btn:hover, .menu-toggle:hover { transform: scale(1.06); }
}
.btn:focus-visible { transform: scale(1.06); }
.btn:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) {
  .btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
  .btn:hover, .btn:focus-visible, .btn:active, .menu-toggle:hover { transform: none; }
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.bg-teal .btn { background: #fff; color: var(--teal); border-color: #fff; }
.bg-teal .btn:hover { background: var(--sage-tint); }
.bg-teal .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.center .btn-row { justify-content: center; }
.phone-line { margin-top: 1rem; font-size: .98rem; }
.phone-line a { font-weight: 600; white-space: nowrap; }
.textlink a { display: inline-block; padding: .6rem 0; font-weight: 600; }

/* Entwurfsleiste */
.draftbar {
  background: var(--ink); color: #e9efed; font-size: .8rem; line-height: 1.4;
  padding: .45rem 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; justify-content: center;
}
.draftbar strong { color: #fff; font-weight: 600; }
.draftbar label { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }
.draftbar input { accent-color: var(--sage); }
mark.tbc { background: var(--tbc); color: inherit; padding: 0 .2em; border-radius: 2px; }
mark.tbc::after { content: " ⚑"; font-size: .75em; color: #8a6d00; }
body.hide-tbc mark.tbc { background: none; padding: 0; }
body.hide-tbc mark.tbc::after { content: ""; }
.tbc-note { display: block; background: var(--tbc); border-left: 4px solid #d8b200; padding: .6rem .9rem; font-size: .9rem; margin: 1rem 0; color: var(--ink); }
body.hide-tbc .tbc-note { display: none; }
body.show-odoo [data-odoo] { outline: 2px dashed #c27b00; outline-offset: -2px; }
body.show-odoo [data-odoo]::before {
  content: "Odoo: " attr(data-odoo); position: absolute; z-index: 30; top: 0; left: 0;
  background: #c27b00; color: #fff; font-size: .72rem; font-weight: 600; padding: .2rem .5rem; letter-spacing: .02em;
}

/* Kopfbereich: oben transparent mit großem Logo; beim Scrollen niedriger und durchscheinend mit leichtem Salbeiton.
   Die Kopfzeile nimmt keinen Platz ein (negativer Abstand) – der erste Abschnitt beginnt darunter. */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--hdr); margin-bottom: calc(-1 * var(--hdr)); pointer-events: none; }
.header-bar { position: relative; pointer-events: auto; background: linear-gradient(180deg, rgba(245,248,246,.9) 0%, rgba(245,248,246,.55) 60%, rgba(245,248,246,0) 100%); transition: background-color .35s ease; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--hdr); max-width: 1400px; transition: min-height .35s ease; }
.logo { position: relative; flex: 0 0 auto; display: flex; align-items: center; min-height: 44px; }
.logo img { display: block; width: 230px; height: auto; transition: width .35s ease; }
.mainnav { flex: 1 1 auto; }
.mainnav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; justify-content: center; }
.mainnav li { position: relative; }
.mainnav a, .mainnav button {
  display: block; padding: .65rem .55rem; font: inherit; font-size: .92rem; font-weight: 500; color: var(--ink); white-space: nowrap;
  text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--radius); transition: color .25s ease, background-color .25s ease;
}
.mainnav a:hover, .mainnav button:hover, .mainnav a[aria-current="page"] { color: var(--teal); background: rgba(255,255,255,.7); }
.mainnav a[aria-current="page"] { font-weight: 600; }
.mainnav .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.mainnav li:hover > .sub, .mainnav li:focus-within > .sub { display: block; }
.mainnav .sub a { font-weight: 500; color: var(--ink); }
.mainnav .sub a:hover { background: var(--mist); color: var(--teal); }
.caret::after { content: " ▾"; font-size: .75em; }
.header-cta { display: flex; align-items: center; gap: .9rem; flex: 0 0 auto; }
.header-phone { display: inline-block; padding: .55rem 0; font-weight: 600; text-decoration: none; font-size: .93rem; white-space: nowrap; }
.header-cta .btn { min-height: 44px; padding: .55em 1em; font-size: .9rem; }
.menu-toggle { display: none; }
/* gescrollt (oder Menü am Handy offen): Glas mit Salbeiton; Schrift, Logo und Button bleiben wie oben */
body.gescrollt .header-bar, body.nav-open .header-bar { background-color: rgba(228,237,232,.96); background-image: none; box-shadow: 0 1px 0 rgba(38,82,85,.12); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  body.gescrollt .header-bar, body.nav-open .header-bar { background-color: var(--hdr-glas); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
}
body.gescrollt .header-inner { min-height: var(--hdr-s); }
body.gescrollt .logo img { width: 150px; }
/* erster Abschnitt beginnt unter der Kopfzeile */
main > section:first-child { padding-top: calc(var(--hdr) + clamp(2rem, 1.2rem + 3vw, 4rem)); }
@media (prefers-reduced-motion: reduce) { .header-bar, .header-inner, .logo img { transition: none; } }
/* Handy quer und niedrige Fenster: Kopfzeile flacher, damit vom Inhalt mehr bleibt */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --hdr: 64px; --hdr-s: 56px; }
  .logo img { width: 150px; }
  body.gescrollt .logo img { width: 120px; }
}

/* Hero */
.hero { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0; background: var(--mist) center/cover no-repeat; overflow: hidden; }
/* Start: Hansjörg über die ganze Breite; Weichzeichnung und schräger Nebel sind im Bild, der Verlauf hier verstärkt nur unter dem Text */
.hero-start {
  position: relative; display: flex; align-items: center; min-height: calc(clamp(540px, 40vw, 720px) + var(--hdr));
  background-image: linear-gradient(74deg, rgba(245,248,246,.55) 0%, rgba(245,248,246,.35) 30%, rgba(245,248,246,0) 50%), url("../img/hero-hansjoerg-2400.webp");
  background-position: 0 0, right top; background-size: 100% 100%, cover;
}
.hero-start > .wrap { width: 100%; }
.hero-text { max-width: 600px; }
.hero-name {
  position: absolute; right: clamp(1rem, 4vw, 3rem); bottom: 1.4rem; margin: 0;
  padding: .45em .9em; border-radius: var(--radius); background: rgba(255,255,255,.88);
  font-size: .86rem; color: var(--ink);
}
@media (max-width: 1180px) {
  .hero-start { background-position: 0 0, right -6vw top 0; }
  .hero-text { max-width: 52%; }
}
@media (max-width: 1000px), (orientation: portrait) and (max-width: 1100px) {   /* auch Hochkant-Tablets wie iPad Pro 1024 px: Foto über dem Text */
  .hero-start { display: block; min-height: 0; padding-top: 0; background: var(--mist); }
  .hero-start::before {
    content: ""; display: block; width: 100%; aspect-ratio: 2 / 1; max-height: 62vh; margin: 0 0 -1.5rem;
    background: url("../img/hero-hansjoerg-2400.webp") right top / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }
  .hero-text { max-width: 640px; margin: 0 auto; }
  .hero-name { position: static; display: inline-block; margin-bottom: 1rem; background: #fff; }
}
@media (max-width: 600px) {
  .hero-start::before {
    aspect-ratio: 900 / 738; margin-bottom: -1rem;
    background: url("../img/hero-hansjoerg-mobil-900.webp") center top / 100% auto no-repeat;
    -webkit-mask-image: none; mask-image: none;
  }
}
/* Foto über die ganze Breite (Text - Bild, Einstiege der Unterseiten). Weichzeichnung und Nebel stecken im Bild (feature_bild.py). */
.flaeche { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(520px, 40vw, 700px); background: var(--mist); overflow: hidden; }
.flaeche > picture { position: absolute; inset: 0; z-index: -2; }
.flaeche > picture img { width: 100%; height: 100%; object-fit: cover; object-position: right top; }
/* Desktop: Foto immer über die volle Höhe skaliert – oben und unten wird nie etwas abgeschnitten (Köpfe, Schultern).
   Ist das Bild breiter als der Abschnitt, fällt nur die Textseite weg; ist es schmaler, läuft es zur Textseite weich in den Nebel aus.
   Hohe Abschnitte (viel Text): Foto höchstens 50 vw hoch, darunter weicher Auslauf in den Nebel. */
@media (min-width: 1101px), (min-width: 1001px) and (orientation: landscape) {
  .flaeche > picture { -webkit-mask-image: linear-gradient(180deg, #000 42vw, transparent 50vw); mask-image: linear-gradient(180deg, #000 42vw, transparent 50vw); }
  .flaeche > picture img { position: absolute; top: 0; right: 0; width: auto; max-width: none; height: min(100%, 50vw); aspect-ratio: 12 / 5;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
  .flaeche--foto-links > picture img { right: auto; left: 0;
    -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 30%); mask-image: linear-gradient(270deg, transparent 0, #000 30%); }
}
@media (min-width: 1001px) and (max-width: 1180px) and (orientation: landscape) {
  .flaeche > picture img { right: -6vw; }                       /* Foto etwas nach außen, mehr Platz für den Text */
  .flaeche--foto-links > picture img { right: auto; left: -6vw; }
}
.flaeche--foto-links > picture img { object-position: left top; }
/* Lesbarkeit: Nebel und Weichzeichner nur über der Textspalte, danach 140 px weicher Auslauf – das Foto daneben bleibt frei */
.flaeche::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
  width: calc(max(0px, (100% - var(--wrap)) / 2) + 1.25rem + 480px + 140px);
  background: linear-gradient(90deg, rgba(245,248,246,.74) calc(100% - 140px), rgba(245,248,246,0));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 140px), transparent);
}
.flaeche--foto-links::after {
  left: auto; right: 0;
  background: linear-gradient(270deg, rgba(245,248,246,.74) calc(100% - 140px), rgba(245,248,246,0));
  -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 140px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 140px), transparent);
}
.flaeche > .wrap { width: 100%; }
.flaeche-text { max-width: 480px; }
.flaeche--foto-links .flaeche-text { margin-left: auto; }
.hero-flaeche { min-height: calc(clamp(520px, 40vw, 700px) + var(--hdr)); }
@media (max-width: 1180px) {
  .flaeche-text { max-width: 52%; }
  .flaeche::after { width: calc(1.25rem + (100% - 2.5rem) * .52 + 140px); }
}
@media (max-width: 1000px), (orientation: portrait) and (max-width: 1100px) {   /* auch Hochkant-Tablets wie iPad Pro 1024 px: Foto über dem Text */
  .flaeche, .hero-flaeche { display: block; min-height: 0; padding-top: 0; }
  .flaeche > picture { position: static; display: block; }
  .flaeche > picture img { aspect-ratio: 2 / 1; height: auto; max-height: 62vh; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .flaeche::after { display: none; }
  .flaeche-text, .flaeche--foto-links .flaeche-text { max-width: 640px; margin: -1.5rem auto 0; }
  /* Erstes Foto: Die transparente Kopfzeile liegt darüber wie am Desktop. Unter ihr läuft ein Streifen in den Farben
     der obersten Bildzeile (--kopf-d/-m aus build/rahmen.py), das Foto selbst beginnt darunter – Köpfe bleiben frei. */
  main > section.hero-start:first-child, main > section.flaeche:first-child { padding-top: 0; }
  main > section.flaeche:first-child > picture { padding-top: var(--hdr); background: var(--kopf-d, var(--mist)) center top / 100% calc(var(--hdr) + 40px) no-repeat; }
  main > section.flaeche:first-child > picture img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22px, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22px, #000 72%, transparent 100%); }
  main > section.hero-start:first-child::before { box-sizing: content-box; padding-top: var(--hdr);
    background: url("../img/hero-hansjoerg-2400.webp") right top / cover no-repeat content-box, var(--kopf-d, var(--mist)) center top / 100% calc(var(--hdr) + 2px) no-repeat border-box; }
}
@media (max-width: 600px) {
  .flaeche > picture img { aspect-ratio: 900 / 621; object-position: center top; -webkit-mask-image: none; mask-image: none; }
  /* Handy: Einstiegsfoto mit echtem Bildraum oben (…-mobil-kopf.webp), es läuft ganz unter die Kopfzeile */
  main > section.flaeche:first-child > picture { padding-top: 0; background: none; }
  main > section.flaeche:first-child > picture img { aspect-ratio: 900 / 811; -webkit-mask-image: none; mask-image: none; }
  main > section.hero-start:first-child::before { background: url("../img/hero-hansjoerg-mobil-900.webp") center top / 100% auto no-repeat content-box, var(--kopf-m, var(--mist)) center top / 100% calc(var(--hdr) + 2px) no-repeat border-box; }
  .flaeche-text, .flaeche--foto-links .flaeche-text { margin-top: -1rem; }
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero-sub { padding: clamp(2.5rem, 1.6rem + 3vw, 4.2rem) 0; background: var(--mist); }
.hero-sub .hero-grid { grid-template-columns: 1.2fr .8fr; }
.hero-sub .hero-img img { border-radius: var(--radius); }
.hero-sub .hero-img.produkt { justify-self: center; }
.hero-sub .hero-img.produkt img { width: auto; max-height: 420px; border-radius: 0; }
.breadcrumb { font-size: .85rem; margin-bottom: 1rem; color: #50595a; }
.breadcrumb a { color: #50595a; }

/* Vertrauensleiste */
.trust { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .93rem; color: var(--teal); }
.trust li::before { content: ""; flex: 0 0 18px; height: 2px; background: var(--sage); }

/* Text-Bild */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); }
/* Fotos neben Text: so hoch wie die Textspalte (mindestens Originalformat), Zuschnitt mittig */
.split > .media { align-self: stretch; }
.split > .media img { width: 100%; height: 100%; object-fit: cover; }
.fact { border-left: 4px solid var(--sage); padding: .2rem 0 .2rem 1rem; margin: 1.4rem 0; }
.fact .src { display: block; font-size: .82rem; color: #50595a; margin-top: .3rem; }

/* Raster und Karten */
.grid { display: grid; gap: 1.4rem; }
.grid > *, .split > *, .hero-grid > *, .form-grid > *, .product-top > * { min-width: 0; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; }
.bg-mist .card, .bg-tint .card { border-color: var(--line); }
.card:has(a.more) { position: relative; transition: border-color .25s ease; }
.card a.more:only-of-type::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }   /* ganze Karte ist Link, wenn sie nur einen Textlink hat */
.card a.more:only-of-type:focus-visible { outline: none; }
.card:has(a.more:only-of-type:focus-visible) { outline: 3px solid var(--sage-dark); outline-offset: 2px; }
@media (hover: hover) { .card:has(a.more):hover { border-color: var(--sage); } }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card .more { margin-top: auto; padding: 1rem 0 .2rem; font-weight: 600; text-decoration: none; }
.card .more + .more { margin-top: 0; padding: 0; min-height: 44px; display: flex; align-items: center; }
.card .more::after { content: "\00a0→"; }
.card ul { padding-left: 1.1em; margin-bottom: .5rem; }
.card-img { margin: -1.5rem -1.5rem 1.2rem; background: var(--mist); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 4/3; object-fit: contain; padding: 1rem; }
.card-img.cover img { object-fit: cover; padding: 0; }
.card-img.natur img { aspect-ratio: auto; }   /* Querformat-Bilder ohne 4:3-Zuschnitt (sonst stark vergrößert und unscharf) */
.card-img a { display: block; }
.card-img a img { transition: transform .45s ease; }
/* Kartenbild wächst, sobald der Mauszeiger irgendwo auf der Karte ist (INFINITY-Karten, Zubehör); nur bei Maus */
@media (hover: hover) { .card:hover .card-img a img { transform: scale(1.14); } }
@media (prefers-reduced-motion: reduce) { .card-img a img { transition: none; } .card:hover .card-img a img { transform: none; } }
.tag { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: .4rem; }
.price { font-weight: 600; color: var(--teal); margin: .2rem 0 .6rem; }

/* Schritte */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; list-style: none; padding: 0; margin: 0; }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: step; position: relative; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 1.9rem; font-weight: 300; line-height: 1; color: var(--sage-dark); margin-bottom: 1rem; letter-spacing: .02em; }
.steps h3 { margin-bottom: .3rem; }
.steps p { margin: 0; }
/* Klickbare Schritte: ganze Fläche ist Link. Beim Darüberfahren Wellen wie von einem Zweig im Wasser (site.js), keine Vollfarbe */
.steps.linked li { isolation: isolate; overflow: hidden; transition: border-color .25s ease; }
.steps.linked canvas.wasser { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.steps.linked li::after { content: "→"; position: absolute; top: 1.3rem; right: 1.4rem; font-size: 1.6rem; line-height: 1; font-weight: 600; color: var(--sage-dark); transition: color .2s ease, transform .25s ease; }
.steps.linked h3 a { color: inherit; text-decoration: none; }
.steps.linked h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.steps.linked li:focus-within { border-color: var(--sage); }
.steps.linked li:focus-within::after { color: var(--teal); transform: translateX(5px); }
@media (hover: hover) {
  .steps.linked li:hover { border-color: var(--sage); }
  .steps.linked li:hover::after { color: var(--teal); transform: translateX(5px); }
}
.steps.linked h3 a:focus-visible { outline: none; }
.steps.linked li:focus-within { outline: 3px solid var(--sage); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .steps.linked li::after { transition: none; } .steps.linked li:hover::after, .steps.linked li:focus-within::after { transform: none; } }

/* Haekchen-Liste */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 2rem; margin-bottom: .65rem; }
.checks li::before { content: "✓"; position: absolute; left: .1rem; top: 0; color: var(--teal); font-weight: 700; }
.bg-teal .checks li::before { color: #fff; }

/* Zahlen */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; text-align: center; }
.numbers div { padding: 1.3rem .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.numbers strong { display: block; font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); color: var(--teal); line-height: 1.15; }
.numbers span { font-size: .9rem; color: #50595a; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--teal); color: #fff; font-weight: 600; position: sticky; top: 0; }
tbody tr:nth-child(even) { background: var(--mist); }
tbody th { font-weight: 600; color: var(--teal); width: 34%; }
.compare td, .compare th { text-align: center; }
.compare thead a { display: inline-block; padding: .6rem .3rem; margin: -.6rem -.3rem; }
.compare tbody th { text-align: left; }
.wisch-hinweis { display: none; }
.yes { color: var(--teal); font-weight: 700; }
.no { color: #9aa3a0; }

/* Zitate */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.quote p { font-size: 1.05rem; }
.quote footer { margin-top: auto; display: flex; align-items: center; gap: .8rem; font-size: .92rem; }
.quote footer img { width: 52px; height: 52px; border-radius: var(--radius); object-fit: cover; }
.quote cite { font-style: normal; font-weight: 600; color: var(--teal); display: block; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; text-align: center; }
.team img { width: 100%; max-width: 220px; margin: 0 auto .9rem; border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; background: var(--mist); }
.team h3 { font-size: 1.05rem; margin-bottom: .1rem; }
.team p { margin: 0; color: #50595a; font-size: .93rem; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: .7rem; }
.bg-mist .faq details, .bg-tint .faq details { border-color: var(--line); }
.faq summary { cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.2rem; font-weight: 600; color: var(--teal); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.2rem 1.1rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* Formular */
.form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
form.demo { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 1rem + 1.5vw, 2rem); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; }
.field .opt { font-weight: 400; color: #50595a; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .75rem .85rem; border: 1px solid #b9c7c1; border-radius: var(--radius);
  background: #fff; color: var(--ink); min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 2px solid var(--sage); outline-offset: 0; }
.privacy { font-size: .86rem; color: #50595a; margin: 1rem 0 0; }
.form-demo-note { font-size: .82rem; color: #8a6d00; margin-top: .6rem; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li { margin-bottom: .9rem; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage-dark); }
.contact-list a { font-weight: 600; font-size: 1.08rem; text-decoration: none; }

/* Produktseite (Odoo-Shop-Vorlage) */
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.gallery-main { background: var(--mist); border-radius: var(--radius); padding: 1.5rem; }
.gallery-main img { margin: 0 auto; max-height: 480px; width: auto; }
.thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.thumbs img { width: 74px; height: 74px; object-fit: contain; background: var(--mist); border-radius: var(--radius); padding: .3rem; border: 1px solid var(--line); }
.product-info .short { font-size: 1.1rem; }
.keyfacts { list-style: none; padding: 0; margin: 1.2rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.keyfacts li { background: var(--mist); border: 1px solid var(--line); color: var(--teal); font-weight: 600; font-size: .86rem; padding: .35rem .75rem; border-radius: var(--radius); }
.price-box { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; margin: 1.2rem 0; }
.price-box strong { font-size: 1.2rem; color: var(--teal); }

/* Wissen */
.article { max-width: 760px; }
.article h2 { margin-top: 2.2rem; font-size: 1.45rem; }
.article .answer-first { font-size: 1.15rem; background: var(--mist); border-left: 4px solid var(--teal); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; }
.sources { font-size: .88rem; background: var(--mist); padding: 1.2rem 1.4rem; border-radius: var(--radius); margin-top: 2.4rem; }
.sources ol { margin: .4rem 0 0; padding-left: 1.2em; }
.author { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.author img { width: 72px; height: 72px; border-radius: var(--radius); object-fit: cover; background: var(--mist); }
.author p { margin: 0; font-size: .92rem; }

/* Platzhalter fuer spaetere Fotos */
.photo-todo { aspect-ratio: 4/3; display: grid; place-items: center; text-align: center; padding: 1.5rem; background: repeating-linear-gradient(45deg, var(--mist), var(--mist) 12px, #eef3f0 12px, #eef3f0 24px); border: 2px dashed var(--sage); border-radius: var(--radius); color: var(--sage-dark); font-weight: 600; font-size: .92rem; }

/* Fusszeile */
.site-footer { background: var(--teal-dark); color: #dbe7e2; padding: 3.5rem 0 6rem; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h2 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .5rem; }
.footer-logo { width: 170px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.5rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .86rem; }

/* Mobile Anrufleiste */
.mobile-cta { display: none; }

/* Landingpage Weihnachtsverlosung */
.lp-ziehung { margin-top: 1.1rem; font-weight: 600; color: var(--teal); }
.lp-produkt { display: grid; place-items: center; }
.lp-produkt img { max-height: 420px; width: auto; }
.check { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1rem; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.check input { flex: 0 0 auto; width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--teal); cursor: pointer; }
body.lp .header-cta { margin-left: auto; }
/* Landingpage-Video: eigene Datei, erst nach Klick geladen */
.lp-videoblock .section-head { margin-bottom: 1.8rem; }
.yt { position: relative; aspect-ratio: 16 / 9; max-width: 960px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--teal-dark); box-shadow: 0 18px 40px -24px rgba(14, 58, 64, .45); }
.yt-start { all: unset; position: relative; display: block; width: 100%; height: 100%; cursor: pointer; }
.yt-start picture { display: block; width: 100%; height: 100%; }
.yt-start img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; display: grid; place-items: center; background: var(--teal); color: #fff; border-radius: var(--radius); font-size: 1.7rem; transition: transform .2s ease, background-color .2s ease; }
.yt-start:focus-visible { outline: 3px solid var(--sage-dark); outline-offset: 3px; }
@media (hover: hover) { .yt-start:hover .yt-play { transform: scale(1.06); background: var(--teal-dark); } }
.yt-start:focus-visible .yt-play { transform: scale(1.06); background: var(--teal-dark); }
@media (prefers-reduced-motion: reduce) { .yt-play { transition: background-color .2s ease; } .yt-start:hover .yt-play, .yt-start:focus-visible .yt-play { transform: none; } }
.yt video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.yt-hinweis { max-width: 960px; margin: .8rem auto 0; font-size: .9rem; line-height: 1.5; color: #50595a; text-align: center; }
.lp-videotext { max-width: 760px; margin: 1.4rem auto 0; }
.lp-videotext details { margin-bottom: 0; }
.lp-hinweis { margin: 1.1rem 0 0; padding: .75rem 1rem; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--sage-dark); border-radius: var(--radius); font-size: .95rem; }
.lp-team { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.lp-team img { max-width: 200px; }
.lp-cta { transition: transform .25s ease; }
body.lp.cta-aus .lp-cta { transform: translateY(110%); }
[hidden] { display: none !important; }   /* hidden gilt auch für Elemente mit eigener display-Regel (z. B. .btn-row) */
.lp-falle { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }   /* Falle für Formular-Roboter */
.lp-meldung { margin: 0 0 1.2rem; padding: .75rem 1rem; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: var(--radius); font-weight: 600; color: var(--teal); }
/* Wasser-Check-Angebot (Formular und Dankeseite) */
.lp-wc { margin: 1.3rem 0 .2rem; padding: 1rem 1.1rem; background: var(--sage-tint); border: 1px solid var(--line); border-left: 3px solid var(--sage-dark); border-radius: var(--radius); text-align: left; }
.lp-wc-titel { margin: 0 0 .3rem; font-weight: 700; color: var(--teal); }
.lp-wc-text { margin: 0; font-size: .95rem; }
.lp-wc .check { margin-top: .7rem; }
.lp-wc .btn-row { margin-top: 1rem; }
.lp-wc .privacy { margin-top: .7rem; }
.lp-wc-danke { margin: 0; }
.lp-bed details { margin-bottom: 0; }
.lp-bed .answer { padding-top: .2rem; }
.lp-bedingungen { padding-left: 1.3em; }
.lp-bedingungen li { margin-bottom: .8rem; }
body.lp .site-footer { padding: 1.8rem 0 5.5rem; }
body.lp .footer-bottom { border-top: 0; margin-top: 0; padding-top: 0; }

/* Touch-Bildschirme: Tippflächen mindestens 44 px hoch */
@media (pointer: coarse) {
  .footer-grid li { margin-bottom: 0; }
  .footer-grid li a, .site-footer p a { display: inline-block; padding: .6rem 0; }
  .footer-bottom a { display: inline-block; padding: .7rem 0; }
  .footer-bottom { gap: 0 1.4rem; }
  .breadcrumb { margin-bottom: .5rem; }
  .breadcrumb a { display: inline-block; padding: .7rem 0; }
}

/* Responsive */
@media (max-width: 1440px) {
  .header-phone { display: none; }
  .header-inner { gap: 1rem; }
}
/* 1181–1320 px: volles Menü, aber kompakter (sonst lief die Kopfzeile bis 1240 px über den Rand) */
@media (max-width: 1320px) {
  .logo img { width: 190px; }
  .mainnav > ul { gap: .1rem; }
  .mainnav a, .mainnav button { padding-left: .42rem; padding-right: .42rem; }
  .header-cta .btn { padding-left: .9em; padding-right: .9em; }
}
@media (max-width: 1180px) {
  .mainnav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 1.4rem; color: var(--teal); cursor: pointer; transition: background-color .25s ease, color .25s ease, transform .2s ease; }
  body.gescrollt .menu-toggle, body.nav-open .menu-toggle { background: rgba(255,255,255,.5); border-color: rgba(38,82,85,.2); }
  .header-inner { justify-content: space-between; }
  body.nav-open .mainnav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--hdr)); max-height: calc(100dvh - var(--hdr)); overflow-y: auto; overscroll-behavior: contain; }
  body.nav-open .mainnav > ul { flex-direction: column; padding: .8rem 1.25rem 1.2rem; }
  body.nav-open .mainnav .sub { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 1rem; }
  .mainnav a, .mainnav button { padding: .8rem .4rem; font-size: 1rem; }
  .g4, .numbers, .trust ul, .team { grid-template-columns: repeat(2, 1fr); }
  .steps.four { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Hochkant-Tablets: Schritte untereinander (Ziffer links), Formular über die ganze Breite */
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; max-width: 720px; margin-left: auto; margin-right: auto; }
  .steps.four { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .steps:not(.four) li { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: .6rem; padding-right: 3.6rem; }
  .steps:not(.four) li::before { grid-row: 1 / span 2; margin: .1rem 0 0; }
  .steps:not(.four) li > h3, .steps:not(.four) li > p { grid-column: 2; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; }
  :root { --hdr: 76px; --hdr-s: 60px; }
  .header-inner { gap: .6rem; }
  .logo img { width: 150px; }
  body.gescrollt .logo img { width: 112px; }
  .header-cta .btn { display: none; }
  .hero-grid, .hero-sub .hero-grid, .split, .form-grid, .product-top, .g2, .g3, .g4, .quotes { grid-template-columns: 1fr; }
  h1, h2, h3 { hyphens: auto; overflow-wrap: break-word; hyphenate-limit-chars: 14 6 6; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; }   /* nur lange Wörter trennen */
  .card-img:not(.cover) img { aspect-ratio: 16 / 10; }   /* Produktbilder in Karten flacher, weniger Scrollen */
  .gallery-main { padding: 1rem; }
  .gallery-main img { max-height: 300px; }
  .werte { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .werte .card { padding: 1rem .8rem; }
  .werte img { width: 110px; margin: 0 auto .5rem; }
  .werte h3 { font-size: 1.02rem; }
  .werte p { font-size: .9rem; line-height: 1.5; }
  /* Technische Daten: Bezeichnung über dem Wert statt zweier enger Spalten */
  .daten th, .daten td { display: block; width: auto; }
  .daten tbody th { padding-bottom: .15rem; border-bottom: 0; }
  .daten tbody td { padding-top: 0; }
  /* Vergleichstabelle: Spalten nicht zusammendrücken, erste Spalte bleibt beim Wischen stehen */
  .wisch-hinweis { display: block; font-size: .86rem; color: #50595a; margin: 0 0 .6rem; }
  .compare { min-width: 620px; }
  .compare tbody th, .compare thead th:first-child { position: sticky; left: 0; z-index: 1; width: 10.5rem; min-width: 10.5rem; font-size: .9rem; hyphens: auto; hyphenate-limit-chars: 14 6 6; box-shadow: 1px 0 0 var(--line); }
  .compare tbody th { background: #fff; }
  .compare tbody tr:nth-child(even) th { background: var(--mist); }
  .compare thead th:first-child { z-index: 2; }
  .split.reverse > :first-child { order: 0; }
  .hero-photo { max-width: 210px; order: -1; }
  .hero-sub .hero-img { display: none; }
  .steps, .steps.four { grid-template-columns: 1fr; }
  .steps.four li { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: .6rem; padding-right: 3.6rem; }
  .steps.four li::before { grid-row: 1 / span 2; margin: .1rem 0 0; }
  .steps.four li > h3, .steps.four li > p { grid-column: 2; }
  .fields { grid-template-columns: 1fr; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .trust ul { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .trust li { font-size: .86rem; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .btn-row.chips .btn { width: auto; min-height: 44px; padding: .5em .9em; font-size: .9rem; }
  th.nr, td.nr { display: none; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 600; text-decoration: none; font-size: .98rem; }
  .mobile-cta a:last-child { background: var(--teal); color: #fff; }
  .lp-cta { grid-template-columns: 1fr; }
  body.lp { padding-bottom: calc(57px + env(safe-area-inset-bottom)); }
  body.lp-danke { padding-bottom: 0; }   /* Dankeseite ohne feste Leiste */   /* feste Leiste verdeckt das Seitenende nicht */
  body.lp .eyebrow { font-size: .85rem; }
  .yt-play { width: 64px; height: 64px; font-size: 1.4rem; }
  /* Hochformat-Video am Handy: höchstens so hoch, dass es unter der Kopfzeile ganz zu sehen ist */
  .yt.yt-hoch { aspect-ratio: 9 / 16; width: min(100%, 340px, calc((100vh - 170px) * 9 / 16)); width: min(100%, 340px, calc((100svh - 170px) * 9 / 16)); }
  .lp-produkt img { max-height: 300px; }
  .check { min-height: 44px; }
  body.nav-open .mainnav { max-height: calc(100vh - var(--hdr) - 56px); max-height: calc(100dvh - var(--hdr) - 56px - env(safe-area-inset-bottom)); }   /* Menü endet über der Anrufleiste */
  .draftbar { font-size: .74rem; }
  th, td { padding: .6rem .7rem; }
}
@media print {
  .draftbar, .site-header, .mobile-cta, .site-footer { display: none; }
}
