/* ============================================================
   ELEKTRO YEKA — Redesign-System (One-Pager + kuenftige
   Unterseiten). Reines CSS, kein Framework.
   Tokens laut Referenz-Spec:
   Dark #0A0A0A / Karten #111111 / Light #F4F3EF /
   Text #111111 bzw. #FFFFFF / Muted #7A7A7A /
   Akzent #E8672A sparsam: Listenpunkte, Prozess-Linie, Fokus.
   Radius: Buttons/Pills 999px, Karten 20px, Glass 16px.
   Motion: ein Ease-out fuer alles, was erscheint (--ease-out),
   max. 600 ms fuer Reveals, <= 220 ms fuer Interaktionen.
   ============================================================ */
/* Archivo lokal (variabel 400-600, Latin-Subset) – kein Request zu Google */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0a0a0a;
  --card: #111111;
  --cream: #f4f3ef;
  --body: #111111;
  --on-dark: #ffffff;
  --muted: #5f5f5f; /* vorher #7a7a7a = 3,86:1 auf --cream, jetzt WCAG AA */
  --muted-on-dark: #b9b9b9;
  --accent: #e8672a;

  --r-pill: 999px;
  --r-card: 20px;
  --r-glass: 16px;

  --ff: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --fs-hero: clamp(2.25rem, 1.2rem + 3.2vw, 4.5rem);    /* 36-72px  */
  --fs-h2: clamp(2rem, 1.2rem + 2.4vw, 3.75rem);        /* 32-60px  */

  /* Breite: bis 1680 px Container, Rand waechst mit dem Viewport.
     Auf 1920 px bleiben so ~210 px Rand statt ~380 px. */
  --container: clamp(1280px, 88vw, 2200px);
  --gutter: clamp(1.25rem, 5vw, 7rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 9rem);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --z-nav: 100;
  --z-modal: 400;
}

*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Grosse Displays: Grundschrift waechst mit, alle rem-Werte skalieren
   proportional (Abstaende, Buttons, Fliesstext). */
@media (min-width: 1600px) { html { font-size: 17px; } }
@media (min-width: 1920px) { html { font-size: 18px; } }
@media (min-width: 2400px) { html { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--ff);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  overflow-wrap: break-word; hyphens: manual;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
p { text-wrap: pretty; }
/* Silbentrennung nur auf sehr schmalen Displays, damit lange Woerter
   (Elektroinstallation) nicht ueberstehen. Sonst ganze Woerter. */
@media (max-width: 359px) {
  h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; }
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: var(--gutter); top: -100vh;
  z-index: calc(var(--z-modal) + 1);
  background: var(--cream); color: var(--body);
  padding: 0.75rem 1.25rem; font-weight: 600; text-decoration: none;
  border-radius: var(--r-pill);
}
.skip-link:focus { top: 0.75rem; }

/* ============================================================ REVEAL
   contact.js beobachtet [data-reveal] und setzt .active.
   Ohne JS bleibt alles sichtbar (Klasse fehlt nur bei JS-Start). */
html.js [data-reveal] { opacity: 0; transform: translateY(12px); }
html.js [data-reveal].active {
  opacity: 1; transform: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js [data-reveal].active { opacity: 1; transform: none; transition: none; }
}

/* ============================================================ BUTTONS
   Ruhige Pill: Text + kleiner Pfeil, kein Kreis. Druck-Feedback per
   scale(0.97), Hover nur auf Geraeten mit echter Maus. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 0.75rem 1.4rem;
  font-size: 0.9375rem; font-weight: 500; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.16s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .arrow-dot { display: inline-grid; place-items: center; flex: none; }
.btn .arrow-dot svg { width: 0.85rem; height: 0.85rem; transition: transform 0.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .arrow-dot svg { transform: translate(2px, -2px); }
}

.btn--dark { background: var(--body); color: var(--on-dark); }
.btn--dark:hover { background: #2a2a2a; }

.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--on-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); }

/* primaere Betonung innerhalb der Glas-Familie: dichteres Weiss,
   damit zwei Hero-Buttons trotzdem eine klare Hierarchie zeigen */
.btn--glass-strong {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--body);
}
.btn--glass-strong:hover { background: #ffffff; }

.btn--light {
  background: var(--cream); color: var(--body);
}
.btn--light:hover { background: #ffffff; }

/* sekundaer, auf hellem Grund: Umriss statt Flaeche */
.btn--outline {
  background: transparent;
  color: var(--body);
  border-color: rgba(17, 17, 17, 0.32);
}
.btn--outline:hover { background: var(--body); color: var(--on-dark); border-color: var(--body); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn .arrow-dot svg { transition: background-color 0.18s ease, color 0.18s ease; }
  .btn:hover .arrow-dot svg, .btn:active { transform: none; }
}

/* ============================================================ NAVBAR */
.nav {
  position: fixed; top: 1rem; left: 0; right: 0; z-index: var(--z-nav);
  display: flex; justify-content: center;
  padding-inline: 1rem;
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 1.44rem;
  border-radius: var(--r-pill);
  padding: 0.46rem 0.46rem 0.46rem 0.63rem;
  color: var(--on-dark);
  /* Immer dunkel (ueber Foto und ueber hellen Sektionen gleich):
     das Logo mit weissem Blitz braucht dunklen Grund, und eine
     konstante Navigation wirkt ruhiger als ein Farbwechsel. */
  background: rgba(14, 14, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 30px rgba(10, 10, 10, 0.22);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
@media (prefers-reduced-transparency: reduce) {
  .nav__pill { background: #111111; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.nav__links a { color: var(--on-dark); }


.nav__logo { display: flex; align-items: center; flex: none; text-decoration: none; }
/* Markenlogo transparent (img/logo-nav.svg: Blitzkreis vollstaendig,
   ohne die bei dieser Groesse unlesbare Claim-Zeile). */
.nav__logo { padding: 0.15rem 0.35rem 0.15rem 0.5rem; }
.nav__logo-badge { display: flex; align-items: center; flex: none; }
.nav__logo-badge img { display: block; height: 2.35rem; width: auto; }

.nav__links {
  display: flex; align-items: center; gap: 1.27rem;
  list-style: none; padding: 0; margin: 0;
}
.nav__links a { font-size: 0.9375rem; text-decoration: none; white-space: nowrap; opacity: 0.82; transition: opacity 0.15s ease; }
.nav__links a:hover { opacity: 1; }

.nav__cta.btn { min-height: 2.6rem; padding: 0.6rem 1.15rem; font-size: 0.9375rem; }

/* --- Leistungen: Dropdown mit allen Unterseiten -------------------- */
.nav__dropdown { position: relative; }
/* Unsichtbare Bruecke ueber die Luecke zwischen Trigger und Menue:
   ohne das verliert der Mauszeiger beim Runterfahren kurz den Hover
   auf .nav__dropdown, das Menue schliesst sich, bevor man es erreicht. */
.nav__dropdown::after {
  content: ""; position: absolute;
  top: 100%; left: 0; right: 0; height: 0.85rem;
}
.nav__dropdown-trigger { display: inline-flex; align-items: center; gap: 0.35rem; }
.nav__caret { width: 0.6rem; height: 0.6rem; flex: none; transition: transform 0.18s ease; }
.nav__dropdown-menu {
  position: absolute; top: calc(100% + 0.85rem); left: 50%;
  min-width: 16.5rem;
  background: var(--cream); color: var(--body);
  border-radius: var(--r-glass); border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 24px 50px rgba(10, 10, 10, 0.18);
  padding: 0.6rem;
  display: grid; gap: 0.1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform-origin: top center;
  transform: translateX(-50%) translateY(-4px) scale(0.97);
  transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out), visibility 0.18s;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .nav__dropdown-menu { transform: translateX(-50%); transition: opacity 0.12s ease, visibility 0.12s; }
  .nav__dropdown:hover .nav__dropdown-menu, .nav__dropdown:focus-within .nav__dropdown-menu { transform: translateX(-50%); }
}
.nav__dropdown:hover .nav__caret,
.nav__dropdown:focus-within .nav__caret { transform: rotate(180deg); }
.nav__dropdown-menu a {
  display: block; padding: 0.6rem 0.8rem; border-radius: 8px;
  font-size: 0.875rem; font-weight: 500; color: var(--body); opacity: 1; white-space: normal;
}
.nav__dropdown-menu a:hover { background: rgba(10, 10, 10, 0.06); }
.nav__dropdown-divider { display: block; height: 1px; background: rgba(10, 10, 10, 0.08); margin: 0.4rem 0.3rem; }

.nav__burger { display: none; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; }
.nav__burger:active { transform: scale(0.94); }
.nav__burger svg { width: 1.27rem; height: 1.27rem; }
.nav__burger .icon-close { display: none; }
.nav__burger[aria-expanded="true"] .icon-open { display: none; }
.nav__burger[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .nav__pill { gap: 0.6rem; }
  /* backdrop-filter macht die Pill zum Containing Block fuer fixed-Kinder:
     im offenen Zustand abschalten, damit das Panel die volle Breite nutzt */
  .nav__pill.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: #111111; }
  .nav__pill.is-open .nav__links {
    display: flex;
    position: fixed; inset: 4.6rem 1rem auto 1rem;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(10, 10, 10, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r-glass);
    padding: 0.75rem;
    color: var(--on-dark);
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
  }
  .nav__pill.is-open .nav__links a { display: block; padding: 0.8rem 0.9rem; font-size: 1rem; }
  .nav__caret { display: none; }
  .nav__dropdown-menu {
    position: static; opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; background: transparent; border: 0; box-shadow: none;
    min-width: 0;
    padding: 0 0 0 0.75rem; margin-top: -0.2rem;
  }
  .nav__dropdown-menu a { color: var(--on-dark); opacity: 0.85; font-size: 0.9375rem; padding: 0.6rem 0.9rem; }
  .nav__dropdown-divider { background: rgba(255, 255, 255, 0.15); }
}

/* ============================================================ HERO */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img,
.hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.35) 45%, rgba(10, 10, 10, 0.2) 100%),
    linear-gradient(to right, rgba(10, 10, 10, 0.5) 0%, transparent 60%);
}

.hero__content {
  position: absolute;
  left: var(--gutter); right: var(--gutter); bottom: clamp(4rem, 12vh, 9rem);
  max-width: 44rem;
}
/* auf breiten Screens an der Container-Kante ausrichten */
@media (min-width: 1455px) {
  .hero__content { left: calc((100vw - var(--container)) / 2 + var(--gutter)); }
}
.hero__eyebrow {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}
.hero__headline {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  line-height: 1.15;
  color: var(--on-dark);
}
.hero__headline-main {
  font-size: var(--fs-hero);
  font-weight: 600;
}
.hero__headline-sub {
  font-size: clamp(1.25rem, 0.9rem + 1.3vw, 2.25rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}
/* Subtext: nur bestaetigte Fakten, keine unbelegten Bewertungs-Claims */
.hero__lead {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  max-width: 44ch;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.75rem;
}

/* Pause/Play fuers Hintergrundvideo */
.hero__vtoggle {
  position: absolute; z-index: 2;
  right: 8%; bottom: 8%;
  width: 2.2rem; height: 2.2rem; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--on-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.18s ease;
}
.hero__vtoggle:hover { background: rgba(255, 255, 255, 0.2); }
.hero__vtoggle[hidden] { display: none; }
.hero__vtoggle svg { width: 0.7rem; height: 0.7rem; }
.hero__vtoggle .icon-play { display: none; }
.hero__vtoggle[aria-pressed="true"] .icon-play { display: block; }
.hero__vtoggle[aria-pressed="true"] .icon-pause { display: none; }
@media (max-width: 860px) {
  .hero__vtoggle { right: var(--gutter); bottom: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__vtoggle { transition: none; }
}

@media (max-width: 860px) {
  .hero__content { left: var(--gutter); right: var(--gutter); bottom: 3.5rem; max-width: none; }
  .hero__headline { max-width: none; }
}

/* ============================================================ SEKTIONEN */
.section { padding-block: var(--section-y); }
.section--light { background: var(--cream); color: var(--body); }
.section--dark { background: var(--ink); color: var(--on-dark); }

.section__h2 { font-size: var(--fs-h2); max-width: 22ch; }
/* Wiederverwendbarer Kopf: H2 + kurzer Fliesstext, fuer alle
   Sektionen/Unterseiten desselben Systems. Standard = gestapelt
   (Headline oben, Text darunter). Der Split (Headline neben Text)
   ist bewusst die Ausnahme, kein Default — siehe --split. */
.section__head { margin-bottom: clamp(2rem, 5vh, 3rem); }
.section__head .section__lead { margin-top: 0.9rem; max-width: 56ch; }

/* Frueher Split (Headline links, Mini-Absatz rechts) – jetzt ebenfalls
   gestapelt: ein Kopf, eine Leserichtung. */
.section__head--split { display: block; }
.section__head--split .section__lead { margin-top: 0.9rem; }

.section__lead { font-size: 1.0625rem; line-height: 1.55; color: var(--muted); max-width: 54ch; }
.section--dark .section__lead { color: var(--muted-on-dark); }


/* ============================================================ ABOUT / PRODUCTS */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.about-copy__intro {
  font-size: 1.0625rem; line-height: 1.55; color: var(--muted);
  max-width: 40ch;
  margin-bottom: 2rem;
}
.eyebrow {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.about-copy .section__h2 { margin-bottom: 1.25rem; }

/* --- Leistungs-Grid -------------------------------------------------
   Alle 6 echten Leistungen auf einen Blick, kein Klicken/Swipen noetig.
   Kompaktes 2x3-Bento in der rechten Spalte, damit der Editorial-Split
   (Text links, Karten rechts) erhalten bleibt. */
/* Asymmetrisches Bento: sechs echt unterschiedliche Kachelgroessen
   auf einem 6-Spalten-Raster, ohne Luecken (6 Zellen = 6 Leistungen).
   a = 3x2 (xl, Neubau) · b = 3x1 (breit, Kernsanierung)
   c = 2x1 (Verteilerbau) · d = 1x1 (klein, Smart Home)
   e = 2x1 (Gewerbe) · f = 4x1 (breit, Service & Wartung) */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(clamp(9.5rem, 13vw, 16rem), auto));
  grid-template-areas:
    "a a a b b b"
    "a a a c c d"
    "e e f f f f";
  gap: 0.75rem;
}
.svc-grid > :nth-child(1) { grid-area: a; }
.svc-grid > :nth-child(2) { grid-area: b; }
.svc-grid > :nth-child(3) { grid-area: d; }
.svc-grid > :nth-child(4) { grid-area: c; }
.svc-grid > :nth-child(5) { grid-area: e; }
.svc-grid > :nth-child(6) { grid-area: f; }

.svc-card {
  position: relative;
  display: flex; align-items: flex-end;
  min-height: 9.5rem;
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: var(--on-dark);
  isolation: isolate;
}
.svc-card--xl { min-height: 20.5rem; }
.svc-card--xl .svc-card__title { font-size: 1.1875rem; }
.svc-card--xl .svc-card__text { font-size: 0.8125rem; max-width: 30ch; }
.svc-card--xl .svc-card__body { padding: 1.15rem 1.25rem; }

.svc-card--sm .svc-card__title { font-size: 0.875rem; }
.svc-card--sm .svc-card__text { display: none; }
.svc-card--sm .svc-card__body { padding: 0.75rem 0.85rem; }
.svc-card__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .svc-card:hover .svc-card__img { transform: scale(1.03); }
}
.svc-card:active { transform: scale(0.99); }
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.05) 85%);
  transition: background 0.3s ease;
}
.svc-card:hover::before, .svc-card:focus-visible::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.5) 55%, rgba(0, 0, 0, 0.12) 85%);
}
.svc-card__body {
  position: relative;
  padding: 0.9rem 1rem;
  display: grid; gap: 0.25rem;
}
.svc-card__title { font-size: 0.9375rem; font-weight: 600; }
.svc-card__text { font-size: 0.75rem; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.svc-card__arrow {
  position: absolute; z-index: 1; right: 0.7rem; top: 0.7rem;
  width: 1.7rem; height: 1.7rem; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.svc-card:hover .svc-card__arrow, .svc-card:focus-visible .svc-card__arrow {
  background: rgba(255, 255, 255, 0.94); color: var(--body);
  transform: translate(2px, -2px);
}
.svc-card__arrow svg { width: 0.7rem; height: 0.7rem; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .svc-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: none;
  }
  /* gleiche Spezifitaet wie die :nth-child(N)-Zuweisungen oben,
     :nth-child(n) trifft aber alle Kinder und gewinnt per Reihenfolge */
  .svc-grid > :nth-child(n) { grid-area: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-card__img, .svc-card::before, .svc-card__arrow { transition: none; }
  .svc-card:hover .svc-card__img { transform: none; }
}

/* Ruhige Zweitreihe unter dem Haupt-Bento: die 4 neuen Zusatzleistungen,
   bewusst ohne Foto/Bento-Gewicht, reuses .related-card (Unterseiten-
   System) statt eines neuen Kartentyps. Liegt als eigener Block auf
   voller .container-Breite (nicht in der schmaleren .about-grid-Spalte),
   damit die 4 Karten spuerbar Platz haben statt eng zusammengequetscht
   zu wirken. */
.svc-more { margin-top: clamp(2.5rem, 6vh, 4rem); }
.svc-more__label {
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--body); margin-bottom: 1rem;
}
.svc-more .related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.svc-more .related-card { padding: 1.5rem 1.6rem; }
@media (max-width: 860px) {
  .svc-more .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .svc-more .related-grid { grid-template-columns: 1fr; }
}

/* ============================================================ GALERIE
   Bewusst anderer Rhythmus als das Leistungs-Bento (4 statt 6 Spalten,
   nicht-klickbare figures statt Karten mit Pfeil-CTA), damit zwei
   Bento-Sektionen hintereinander nicht gleich aussehen.
   a = 2x2 (gross) · b = 1x2 (hochkant) · c/d = 1x1 · e/f = 2x1 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(9.5rem, auto));
  grid-template-areas:
    "a a b c"
    "a a b d"
    "e e f f";
  gap: 0.75rem;
}
.gallery-grid > :nth-child(1) { grid-area: a; }
.gallery-grid > :nth-child(2) { grid-area: b; }
.gallery-grid > :nth-child(3) { grid-area: c; }
.gallery-grid > :nth-child(4) { grid-area: d; }
.gallery-grid > :nth-child(5) { grid-area: e; }
.gallery-grid > :nth-child(6) { grid-area: f; }

/* Vollflaechig: sprengt den Container bis zum Viewport-Rand und
   nutzt Viewport-Hoehe statt fester rem-Werte fuer den
   "Fullscreen"-Effekt. Kein horizontales Scrollen dank body's
   overflow-x:hidden als Sicherheitsnetz. */
.gallery-grid--full {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  grid-template-rows: repeat(3, minmax(24vh, auto));
  gap: 1.25rem 0.9rem;
}

.gallery-item {
  position: relative;
  min-height: 9.5rem;
  display: flex; flex-direction: column; gap: 0.55rem;
}
.gallery-item picture {
  position: relative; flex: 1 1 auto; min-height: 8rem;
  border-radius: var(--r-card); overflow: hidden;
}
.gallery-item--a { min-height: 20.5rem; }
.gallery-grid--full .gallery-item--a { min-height: 50vh; }
.gallery-grid--full .gallery-item { min-height: 24vh; }
.gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover img { transform: scale(1.03); }
}
.gallery-item figcaption {
  flex: none;
  padding-inline: 0.2rem;
  font-size: 0.875rem; color: var(--muted);
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: none;
  }
  .gallery-grid > :nth-child(n) { grid-area: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-item img { transition: none; }
  .gallery-item:hover img { transform: none; }
}

/* ============================================================ ÜBER UNS
   Dunkle Sektion: bricht die drei hellen Sektionen davor auf und
   nutzt die im System etablierte Glass-Card-Sprache fuer das Zitat. */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.story-copy p { color: var(--muted-on-dark); max-width: 56ch; margin-top: 1.1rem; }
.story-copy p:first-of-type { margin-top: 1.75rem; }

.story-figure { position: relative; }
.story-figure img { width: 100%; border-radius: var(--r-card); }
.story-quote {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin: -2.75rem clamp(0rem, 4vw, 3rem) 0 0;
  margin-inline-start: auto;
  max-width: 26rem;
  position: relative;
}
.story-quote blockquote { font-size: 1.0625rem; font-weight: 500; line-height: 1.5; letter-spacing: -0.01em; color: var(--on-dark); }
.story-quote cite {
  display: block; margin-top: 1rem; font-style: normal;
  font-size: 0.875rem; color: var(--muted-on-dark);
}

.facts {
  list-style: none; padding: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 4rem);
}
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.facts > li { padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.facts h3 { font-size: 1.0625rem; margin-bottom: 0.4rem; }
.facts > li > p { font-size: 0.9375rem; color: var(--muted-on-dark); margin: 0; max-width: 40ch; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-quote { margin-inline-start: 0; margin-top: 1.5rem; max-width: none; }
}

/* ============================================================ REZENSIONEN
   Echtes Bento statt gleichfoermiger Spalten-Masonry, im selben
   System wie Leistungen/Galerie: die zwei laengsten Bewertungen
   (Ozan Karakaya, Christian Neuhauser) spannen als Feature-Karten
   2 Spalten, der Rest bleibt einspaltig. Reihenfolge im Markup
   (1 · 2breit · 2breit · 1 · 1 · 1 · 1) fuellt 3 Spalten luecken-
   los: Zeile1 = 1+2, Zeile2 = 2+1, Zeile3 = 1+1+1. */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 1.25rem;
  margin-top: clamp(1rem, 3vh, 1.75rem);
}
.review--wide { grid-column: span 2; }
.review {
  padding: clamp(1.5rem, 2vw, 2rem);
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: var(--r-card);
}
.review__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 0.75rem; margin-bottom: 0.85rem;
}
/* Sterne bleiben Tinte, nicht Akzentfarbe: die ist laut System
   ausschliesslich fuers Logo-Icon reserviert. */
.review__stars { color: var(--body); letter-spacing: 0.1em; font-size: 0.8125rem; }
.review__time { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.review__text { font-size: 0.9375rem; line-height: 1.6; color: var(--body); }
.review__foot { margin-top: 1rem; display: grid; gap: 0.15rem; }
.review__name { font-size: 0.8125rem; font-weight: 600; color: var(--body); }
.review__meta { font-size: 0.75rem; color: var(--muted); }

@media (max-width: 900px) {
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Handy: nur die ersten 3 Karten, Rest hinter "Weitere anzeigen" —
   weniger Scroll-Strecke bis zur naechsten Sektion, aber alle 7
   bleiben ohne Wischen/Slider erreichbar. Auf Laptop/Desktop immer
   alle 7 sichtbar, Button existiert dort gar nicht (display:none). */
.review-more { display: none; margin-top: 1.5rem; }
.review-more .arrow-dot svg { transition: transform 0.18s ease; }
.review-grid.is-expanded + .review-more { display: none; }

@media (max-width: 620px) {
  .review-grid { grid-template-columns: 1fr; }
  .review--wide { grid-column: span 1; }
  .review--extra { display: none; }
  .review-grid.is-expanded .review--extra { display: block; }
  .review-more { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .review-more .arrow-dot svg { transition: none; }
}

/* ============================================================ FAQ
   Natives details/summary, kein JS noetig. Custom Plus/Kreuz-Marker
   statt Browser-Dreieck, im on-dark-Tokenset. */
.faq { max-width: 52rem; margin-top: clamp(2rem, 5vh, 3rem); }
/* Ab Laptop: Titel links (mitlaufend), Fragen rechts – nutzt die Breite. */
@media (min-width: 1024px) {
  .container:has(> .faq) {
    display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 6vw, 7rem); align-items: start;
  }
  .container:has(> .faq) > .section__h2 { position: sticky; top: 7rem; }
  .container:has(> .faq) > .faq { margin-top: 0; max-width: none; }
}
.faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.faq details:first-of-type { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em;
  color: var(--on-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq__mark { flex: none; width: 1.5rem; height: 1.5rem; position: relative; color: var(--on-dark); }
.faq__mark::before, .faq__mark::after {
  content: ""; position: absolute; background: currentColor;
  left: 50%; top: 50%; translate: -50% -50%;
}
.faq__mark::before { width: 0.9rem; height: 2px; }
.faq__mark::after { width: 2px; height: 0.9rem; transition: opacity 0.18s ease, rotate 0.3s ease; }
details[open] .faq__mark::after { opacity: 0; rotate: 90deg; }
.faq__mark::after { transition-timing-function: var(--ease-out); }
.faq details > div { padding-bottom: 1.25rem; color: var(--muted-on-dark); max-width: 60ch; }
@media (prefers-reduced-motion: reduce) {
  .faq__mark::after { transition: none; }
}

/* ============================================================ KONTAKT (dark, Glass-Form) */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact-side .section__h2 { margin-bottom: 2rem; }
.contact-side dl { display: grid; gap: 1.1rem; margin: 0 0 2rem; }
.contact-side dt { font-size: 0.875rem; color: var(--muted-on-dark); }
.contact-side dd { margin: 0.1rem 0 0; font-size: 1.0625rem; }
.contact-side dd.tel-big { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); font-weight: 500; letter-spacing: -0.01em; }
.contact-side dd a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 4px; transition: text-decoration-color 0.15s ease; }
.contact-side dd a:hover { text-decoration-color: currentColor; }
.contact-side dd.tel-big a { text-decoration: none; }
.contact-side .hours { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 1rem; }
.contact-side .hours div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.3rem 0; font-size: 0.875rem;
}
.contact-side .area { margin-top: 1.6rem; font-size: 0.875rem; color: var(--muted-on-dark); max-width: 44ch; }

.glass-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field label {
  display: block;
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit; font-size: 0.9375rem;
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  min-height: 2.9rem;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1rem;
  padding-right: 2.6rem;
}
.field select option { color: var(--body); background: #ffffff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.55); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #ff7a6b; }

.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.8125rem; color: var(--muted-on-dark); }
.consent input { width: 1.15rem; height: 1.15rem; flex: none; margin-top: 0.15rem; accent-color: var(--cream); }
.consent a { color: var(--on-dark); }

.form-submit { width: 100%; justify-content: center; }
.form-note { font-size: 0.75rem; color: var(--muted-on-dark); line-height: 1.5; }
.form-note a { color: var(--muted-on-dark); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================ FOOTER */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 2.25rem;
}
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem; color: var(--muted-on-dark);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.footer__nap { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer__social { display: flex; gap: 0.25rem; }
.footer__social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; transition: background-color 0.15s ease; }
.footer__social a:hover { background: rgba(255, 255, 255, 0.08); }
.footer__social svg { width: 1.1rem; height: 1.1rem; }

/* ============================================================ SIDE-ACTIONS (Anrufen / Kontakt)
   Fix am rechten Rand, vertikal zentriert. Standardmaessig unsichtbar,
   site.js blendet sie ein, sobald die Hero-Sektion aus dem Sichtfeld
   gescrollt ist (siehe IntersectionObserver auf .hero/.page-hero). */
.side-actions {
  position: fixed; top: 50%; right: 1.25rem; z-index: var(--z-nav);
  display: flex; flex-direction: column; gap: 0.7rem;
  transform: translateY(-50%) translateX(0.75rem);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0.3s;
}
.side-actions.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.side-actions__btn {
  display: inline-flex; align-items: center; gap: 0.65rem;
  background: var(--ink); color: var(--on-dark);
  border-radius: var(--r-pill);
  padding: 0.5rem 1.05rem 0.5rem 0.5rem;
  font-size: 0.8125rem; font-weight: 500; white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(10, 10, 10, 0.3);
  transition: background 0.18s ease, transform 0.18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .side-actions__btn:hover { background: #2a2a2a; }
}
.side-actions__btn:active { transform: scale(0.97); }
.side-actions__icon {
  display: grid; place-items: center; flex: none;
  width: 2rem; height: 2rem; border-radius: 999px;
  background: var(--accent); color: var(--on-dark);
}
.side-actions__icon svg { width: 0.95rem; height: 0.95rem; }
@media (prefers-reduced-motion: reduce) {
  .side-actions, .side-actions__btn { transition: none; }
}
/* Ab 1200 px: nur runde Icon-Buttons im freien Seitenrand, Beschriftung
   erscheint beim Hover links daneben (ueberdeckt sonst nie Inhalt). */
@media (min-width: 1200px) {
  .side-actions { right: 0.75rem; gap: 0.5rem; align-items: flex-end; }
  .side-actions__btn {
    position: relative; padding: 0; gap: 0; background: transparent; box-shadow: none;
  }
  .side-actions__icon { width: 2.75rem; height: 2.75rem; box-shadow: 0 8px 22px rgba(10, 10, 10, 0.28); transition: transform 0.16s var(--ease-out); }
  .side-actions__icon svg { width: 1.05rem; height: 1.05rem; }
  .side-actions__btn:active .side-actions__icon { transform: scale(0.94); }
  .side-actions__label {
    position: absolute; right: calc(100% + 0.5rem); top: 50%;
    padding: 0.4rem 0.8rem; border-radius: var(--r-pill);
    background: var(--ink); color: var(--on-dark); font-size: 0.8125rem;
    opacity: 0; transform: translate(6px, -50%); pointer-events: none;
    transition: opacity 0.15s ease, transform 0.2s var(--ease-out);
  }
  .side-actions__btn:hover .side-actions__label,
  .side-actions__btn:focus-visible .side-actions__label { opacity: 1; transform: translate(0, -50%); }
  .side-actions__btn:hover { background: transparent; }
}
@media (max-width: 1199px) {
  /* Handy/Tablet/kleiner Laptop: Bottom-Bar mit zwei gleich grossen Buttons (Anrufen / Anfrage),
     erscheint nach dem Hero. Safe-Area fuer iPhones mit Home-Indikator. */
  .side-actions {
    top: auto; right: 0; left: 0; bottom: 0;
    flex-direction: row; gap: 0.5rem;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(10, 10, 10, 0.92);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(100%);
  }
  .side-actions.is-visible { transform: translateY(0); }
  .side-actions__btn {
    flex: 1 1 0; justify-content: center; min-height: 48px;
    font-size: 0.9375rem; box-shadow: none;
    background: #1c1c1c;
  }
  .side-actions__btn + .side-actions__btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); }
  .side-actions__btn:first-child { background: var(--cream); color: var(--body); }
  .side-actions__btn:hover { transform: none; }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
}
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-dark); }

/* ============================================================ MODAL (contact.js) */
.modal {
  display: none; position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.72);
  padding: var(--gutter);
  align-items: center; justify-content: center;
}
.modal[style*="block"] { display: flex !important; }
.modal-content {
  background: var(--cream); color: var(--body);
  border-radius: var(--r-card);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 30rem; width: 100%; position: relative;
}
.modal-content .close {
  position: absolute; top: 0.5rem; right: 0.85rem;
  font-size: 2rem; line-height: 1; color: var(--muted);
  min-width: 44px; min-height: 44px; background: none; border: 0; cursor: pointer;
}
.modal-content .close:hover { color: var(--body); }
#modalMessage h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
#modalMessage p { color: var(--muted); }
#modalMessage ul { margin: 0.6rem 0 0; padding-left: 1.2rem; color: var(--body); }
#modalMessage a { color: inherit; }
/* Feld-Fehler im Formular */
.field [aria-invalid="true"] { border-color: #d94a3a; }
.field-error { display: block; margin-top: 0.35rem; font-size: 0.8125rem; color: #ff8a7a; }

/* ============================================================ UNTERSEITEN-SYSTEM
   Bausteine, die nur Unterseiten brauchen (Leistungs-Detailseiten).
   Nav, Footer, .faq, .contact-grid/.glass-form, .btn-Familie und die
   Farb-/Typo-Tokens werden 1:1 von der Startseite wiederverwendet —
   hier ausschliesslich das, was dort noch fehlt. */

/* --- Seiten-Hero: ruhig inszeniertes Vollbild-Foto -------------------
   Aufbau nach Kunden-Referenz (Yacht-Brand-Screenshot): Vollbild-Foto,
   Inhalt zentriert statt linksbuendig, minimal — Eyebrow, Headline,
   kurzer Lead, ein leiser Kontaktweg. Farben/Schrift bleiben das
   bestehende YEKA-System, nur die Komposition ist neu. */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 68vh;
  padding: calc(4.5rem + 2.5rem) 0 clamp(3rem, 8vh, 5.5rem);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.35) 55%, rgba(10, 10, 10, 0.12) 100%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.5) 0%, transparent 30%, rgba(10, 10, 10, 0.45) 100%);
}
.page-hero > .container { width: 100%; }
.page-hero__inner { max-width: 44rem; }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.4rem; font-size: 0.8125rem; margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.72); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.18s ease, color 0.18s ease; }
.breadcrumb a:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.55); }
.breadcrumb__sep { color: rgba(255, 255, 255, 0.32); }
.breadcrumb__current { color: rgba(255, 255, 255, 0.92); }
.page-hero__eyebrow {
  font-size: 0.9375rem; color: rgba(255, 255, 255, 0.72); margin-bottom: 0.75rem;
}
/* Zweigeteilte Headline wie im Homepage-Hero: kraeftige Kernaussage
   + leichtere, konkrete Praezisierung. Kein Marketing-Anhaengsel. */
.page-hero h1 {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem;
  line-height: 1.1; margin-bottom: 1.25rem;
}
.page-hero__headline-main { font-size: clamp(2.1rem, 1.2rem + 2.9vw, 4.25rem); font-weight: 600; color: #ffffff; letter-spacing: -0.025em; }
.page-hero__headline-sub { font-size: clamp(1.1rem, 0.85rem + 0.9vw, 1.6rem); font-weight: 400; color: rgba(255, 255, 255, 0.8); }
.page-hero__lead { font-size: 1rem; line-height: 1.6; color: rgba(255, 255, 255, 0.78); max-width: 52ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.page-hero__tel {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: rgba(255, 255, 255, 0.88); text-decoration: none;
  font-size: 0.9375rem; font-weight: 500;
  padding-bottom: 0.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.32);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.page-hero__tel svg { width: 1rem; height: 1rem; flex: none; }
.page-hero__tel:hover { color: #ffffff; border-color: rgba(255, 255, 255, 0.75); }

@media (max-width: 760px) {
  .page-hero { min-height: 62vh; padding-block: calc(4.5rem + 2rem) 2.5rem; }
}

/* --- Fliesstext: Problemliste, Prozess-Schritte -------------------- */
.prose { max-width: 62ch; overflow-wrap: anywhere; }
.prose h2, .prose h3 { font-size: 1.0625rem; font-weight: 600; margin-top: 1.75rem; letter-spacing: -0.01em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-top: 0.5rem; }
.prose ul { padding-left: 1.2rem; margin-top: 0.6rem; color: var(--muted); }
.prose li + li { margin-top: 0.4rem; }
.prose b, .prose strong { color: var(--body); font-weight: 600; }
.section--dark .prose p,
.section--dark .prose ul { color: var(--muted-on-dark); }
.section--dark .prose b, .section--dark .prose strong { color: var(--on-dark); }

.prose-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 760px) { .prose-columns { grid-template-columns: 1fr; } }

/* --- Ablauf-Schritte: nebeneinander statt untereinander ------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
/* Durchgehende Linie zeigt die Reihenfolge; der Akzent-Abschnitt
   markiert den Beginn jedes Schritts. Keine 01/02/03-Marker. */
.steps { border-top: 1px solid rgba(17, 17, 17, 0.14); }
.section--dark .steps { border-top-color: rgba(255, 255, 255, 0.16); }
.step { position: relative; padding-top: 1.75rem; }
.step::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 2.5rem; height: 3px; background: var(--accent);
}
.step__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.step h3 { font-size: 1.0625rem; font-weight: 600; }
.step p { color: var(--muted); margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.55; }
.section--dark .step p { color: var(--muted-on-dark); }

@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; border-top: 0; }
  .step { border-top: 1px solid rgba(17, 17, 17, 0.14); }
  .section--dark .step { border-top-color: rgba(255, 255, 255, 0.16); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* --- Mission-Split: Text links, versetzte Foto-Collage rechts -------
   Layout-Vorbild vom Kunden (Referenz-Screenshot einer Yacht-Brand-
   Seite): Text + Bullet-Liste links, zwei ueberlappende Fotos rechts,
   das kleinere tiefer/weiter rechts versetzt. Farben/Schrift bleiben
   das bestehende YEKA-System — nur der Aufbau ist neu. */
.mission {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.mission__content .section__h2 { margin-bottom: 1rem; }
.mission__content h3 { font-size: 1.0625rem; font-weight: 600; margin-top: 1.75rem; }
.mission__content h3:first-child { margin-top: 0; }
.mission__content > p { color: var(--muted); max-width: 46ch; }
.mission__list { list-style: none; padding: 0; margin-top: 0.75rem; display: grid; gap: 0.55rem; }
.mission__list li {
  position: relative; padding-left: 1.3rem;
  color: var(--muted); font-size: 0.9375rem;
}
.mission__list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 0.4rem; height: 0.4rem; border-radius: 999px;
  background: var(--accent);
}
.mission__list b { color: var(--body); font-weight: 600; }

.mission__photos { position: relative; max-width: 40rem; justify-self: end; width: 100%; }
.mission__photos img { display: block; width: 100%; height: auto; border-radius: var(--r-card); }
.mission__photo--main { position: relative; z-index: 1; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 24px 60px -24px rgba(10, 10, 10, 0.35); }
.mission__photo--main img { aspect-ratio: 4 / 5; object-fit: cover; }
.mission__photo--accent {
  position: absolute; z-index: 2;
  width: 55%; right: -8%; bottom: -10%;
  box-shadow: 0 20px 44px -18px rgba(10, 10, 10, 0.4);
  border: 6px solid var(--cream);
}
.mission__photo--accent img { aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 860px) {
  .mission { grid-template-columns: 1fr; }
  .mission__photos { order: -1; max-width: 26rem; margin-inline: auto; }
  .mission__photo--accent { width: 58%; right: -4%; bottom: -8%; }
}

/* --- Leistungs-Facts mit Unterpunkten: erweitert die vorhandene
   .facts-Basis (siehe Why-Us) um verschachtelte Listen ------------- */
.facts--detailed li { padding-top: 1.5rem; }
.facts--detailed h3 { margin-bottom: 0.5rem; }
.facts--detailed > li > p { margin-bottom: 0.75rem; max-width: none; }
.facts--detailed ul { list-style: none; padding: 0; display: grid; gap: 0.4rem; }
.facts--detailed ul li {
  padding: 0; border: 0; font-size: 0.8125rem;
  padding-left: 1.1rem; position: relative;
}
.facts--detailed ul li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.4rem; height: 0.4rem; border-radius: 999px;
  border: 1.5px solid currentColor; opacity: 0.55;
}

/* --- CTA-Band: einzeiliger Aufruf, z.B. Foerderberatung ------------ */
.cta-band { text-align: center; }
.cta-band__inner { max-width: 44rem; margin-inline: auto; }
.cta-band .section__h2 { max-width: none; }
.cta-band p { margin-top: 0.9rem; font-size: 0.9375rem; max-width: 52ch; margin-inline: auto; }
.section--light .cta-band p { color: var(--muted); }
.section--dark .cta-band p { color: var(--muted-on-dark); }
.cta-band .btn { margin-top: 1.6rem; }

/* --- Trust-Bar: schmaler Streifen direkt unter dem Hero, nur
   bestaetigte Fakten (siehe Memory), keine Sternebewertung ---------- */
.trust-bar {
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.trust-bar__row {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 0.75rem 2.25rem;
  text-align: center;
}
.trust-bar__item {
  font-size: 0.8125rem; font-weight: 500;
  color: var(--muted-on-dark); white-space: nowrap;
}
.trust-bar__item b { color: var(--on-dark); font-weight: 600; }
@media (max-width: 700px) {
  .trust-bar__row { gap: 0.6rem 1.25rem; }
  .trust-bar__item { font-size: 0.75rem; }
}

/* --- Preis-Anker: schnelle Kosten-Orientierung vor der FAQ-Detailantwort */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.pricing__item {
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-card);
}
.pricing__label { font-size: 0.8125rem; color: var(--muted-on-dark); margin-bottom: 0.6rem; }
.pricing__value { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); font-weight: 600; color: var(--on-dark); }
.pricing__value span { display: block; margin-top: 0.4rem; font-size: 0.9375rem; font-weight: 400; color: var(--muted-on-dark); letter-spacing: 0; }
.pricing__note { margin-top: 1.5rem; font-size: 0.875rem; color: var(--muted-on-dark); max-width: 56ch; }
.section--light .pricing__item { background: #ffffff; border-color: rgba(17, 17, 17, 0.06); }
.section--light .pricing__label,
.section--light .pricing__value span,
.section--light .pricing__note { color: var(--muted); }
.section--light .pricing__value { color: var(--body); }
@media (max-width: 640px) { .pricing__grid { grid-template-columns: 1fr; } }
.hourly { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.hourly__title { margin-bottom: 1.25rem; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); font-weight: 600; color: var(--on-dark); }
.section--light .hourly__title { color: var(--body); }
.preis-hinweis { margin-top: 1.25rem; font-size: 1rem; font-weight: 600; color: var(--on-dark); }
.section--light .preis-hinweis { color: var(--body); }
.hourly + .funding { margin-top: clamp(2.5rem, 4vw, 3.5rem); }

/* --- Referenzen: echte, verbatim Google-Bewertungen (siehe Memory:
   niemals erfinden) — eigenstaendiges 2er-Layout, keine Bento-Areas
   der Startseite (die haengen an .review-grid, hier bewusst nicht
   verwendet). Karten bleiben weiss = Kontrastpunkt auf dunkler Sektion. */
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 0.5rem; }
.testimonials .review { align-self: stretch; display: flex; flex-direction: column; }
.testimonials .review__foot { margin-top: auto; padding-top: 1rem; }
.testimonials-more { margin-top: 1.75rem; text-align: center; }
@media (max-width: 760px) { .testimonials { grid-template-columns: 1fr; } }

/* --- Leistungsgebiet: lokale Ortsliste fuer lokale SEO-Relevanz ---- */
.service-area__list {
  list-style: none; padding: 0; margin-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.service-area__list li {
  font-size: 0.875rem; padding: 0.45rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.12); border-radius: var(--r-pill);
  color: var(--body);
}
.service-area__list li[data-primary] {
  border-color: transparent; background: var(--ink); color: var(--on-dark); font-weight: 600;
}

/* --- Verwandte Leistungen: internes Cross-Linking ------------------ */
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr));
  gap: 1rem; margin-top: 0.5rem;
}
.related-card {
  display: block; padding: 1.25rem 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.06); border-radius: var(--r-card);
  text-decoration: none; color: var(--body);
  transition: border-color 0.18s ease, transform 0.16s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .related-card:hover { border-color: rgba(17, 17, 17, 0.28); }
}
.related-card:active { transform: scale(0.98); }
.related-card__label { font-size: 0.9375rem; font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.related-card__label svg { width: 0.9rem; height: 0.9rem; flex: none; color: var(--accent); }

/* --- Arbeits-Galerie (Platzhalter): 4 Kacheln, klar als "Foto folgt"
   markiert statt mit unpassenden/wiederverwendeten echten Fotos zu
   fuellen — durch echte Projektfotos ersetzen sobald vorhanden. */
.work-strip__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem; margin-top: 0.5rem;
}
.work-strip__item {
  aspect-ratio: 4 / 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.6rem; text-align: center; padding: 1rem;
  border: 1px dashed rgba(0, 0, 0, 0.22);
  border-radius: var(--r-card);
  background: repeating-linear-gradient(135deg, rgba(0,0,0,0.025) 0 10px, transparent 10px 20px);
  color: var(--muted);
}
.work-strip__item svg { width: 1.5rem; height: 1.5rem; opacity: 0.5; }
.work-strip__item span { font-size: 0.75rem; }
.work-strip__item--photo {
  padding: 0; border: none; background: none; overflow: hidden;
}
.work-strip__item--photo picture { display: block; width: 100%; height: 100%; }
.work-strip__item--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-strip__note { margin-top: 1rem; font-size: 0.8125rem; color: var(--muted); }

@media (max-width: 860px) { .work-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============================================================ AUDIT-FIXES (2026-11)
   Zielgroessen >= 24 px (WCAG 2.5.8) fuer Breadcrumb und Checkbox,
   lesbarer Quellenhinweis in Rechtstexten. */
.breadcrumb a { display: inline-block; padding-block: 0.2rem; min-height: 24px; }
.consent input[type="checkbox"] { width: 1.5rem; height: 1.5rem; flex: none; }
.legal-source { margin-top: 2.75rem; font-size: 0.875rem; color: var(--muted); }

/* ============================================================ LANDINGPAGE (2026-11)
   Bausteine fuer die neue Startseite: Header-Telefon, breites Dropdown,
   Hero mit echtem Foto als LCP, Trust-Leiste, Vorteile, Ablauf,
   Referenzen, Einsatzgebiet mit Klick-Karte, Kosten, Inhaber,
   erweitertes Formular, grosser Footer. Alles im bestehenden System. */

/* --- Header: Telefon + breites Leistungs-Dropdown ------------------ */
.nav__tel {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  color: var(--on-dark); opacity: 0.92;
}
.nav__tel svg { width: 1rem; height: 1rem; flex: none; }
.nav__tel:hover { opacity: 1; }
@media (max-width: 1180px) { .nav__tel { display: none; } }
.nav__dropdown-menu--wide { grid-template-columns: repeat(2, minmax(15rem, 1fr)); column-gap: 0.4rem; min-width: 33rem; }
.nav__dropdown-heading {
  display: block; padding: 0.55rem 0.8rem 0.25rem;
  font-size: 0.8125rem; font-weight: 600; color: var(--muted);
}
.nav__dropdown-col { display: grid; align-content: start; gap: 0.1rem; }
@media (max-width: 860px) {
  .nav__dropdown-menu--wide { grid-template-columns: 1fr; min-width: 0; }
  .nav__dropdown-heading { color: rgba(255, 255, 255, 0.55); padding-left: 0.9rem; }
}

/* --- Hero: Foto als LCP, Video blendet auf Desktop darueber ein ----- */
.hero__bg picture, .hero__bg .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg .hero__img { object-fit: cover; object-position: 50% 60%; }
.hero__bg video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s var(--ease-out); }
.hero__bg video.is-playing { opacity: 1; }
.hero__content--answer { max-width: 48rem; }
.hero__answer { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.55; color: rgba(255, 255, 255, 0.86); max-width: 58ch; }
.hero__note { margin-top: 1rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 860px) { .hero__answer { font-size: 0.9375rem; } }

/* --- Trust-Leiste ---------------------------------------------------- */
.trust-strip { background: var(--card); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.trust-strip__list {
  list-style: none; margin: 0; padding: 1.4rem 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem 2rem;
}
.trust-strip__item { display: grid; gap: 0.15rem; color: var(--muted-on-dark); font-size: 0.875rem; line-height: 1.35; }
.trust-strip__item strong { color: var(--on-dark); font-size: 1.0625rem; font-weight: 600; }
.trust-strip__item a { color: inherit; text-decoration: none; display: grid; gap: 0.15rem; }
.trust-strip__item a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.trust-strip__stars { color: #f2b544; letter-spacing: 0.08em; }
@media (max-width: 1100px) { .trust-strip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .trust-strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Leistungen: Bento ueber volle Breite + Zusatzkarten mit Nutzen -- */
.svc-grid--full { margin-top: 0.5rem; }
.related-card__text { display: block; margin-top: 0.45rem; font-size: 0.875rem; line-height: 1.45; color: var(--muted); }

/* --- Vorteile (4) ---------------------------------------------------- */
.facts--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .facts--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts--four { grid-template-columns: 1fr; } }
.promise {
  margin-top: clamp(2rem, 5vw, 3.5rem); padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-card);
  font-size: 1.0625rem; color: var(--on-dark); max-width: 60rem;
}
.promise strong { font-weight: 600; }

/* --- Ablauf: nummerierte Liste (ol) ----------------------------------- */
ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps--numbered .step { counter-increment: step; }
.steps--numbered .step h3::before {
  content: counter(step) ". "; color: var(--accent);
}

/* --- Referenzen -------------------------------------------------------- */
.ref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: 0.5rem; }
.ref-card { display: flex; flex-direction: column; gap: 0.9rem; text-decoration: none; color: inherit; }
.ref-card picture { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden; }
.ref-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ref-card:hover img { transform: scale(1.03); } }
.ref-card__meta { font-size: 0.875rem; color: var(--muted-on-dark); }
.ref-card h3 { font-size: 1.1875rem; font-weight: 600; }
.ref-card p { font-size: 0.9375rem; color: var(--muted-on-dark); max-width: 46ch; }
.ref-card__more { font-size: 0.875rem; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.35); }
@media (max-width: 1000px) { .ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ref-grid { grid-template-columns: 1fr; } }
.section-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: clamp(1.75rem, 4vh, 2.5rem); }
.btn--outline-light { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.35); }
.btn--outline-light:hover { background: var(--on-dark); color: var(--body); border-color: var(--on-dark); }

/* --- Einsatzgebiet + Klick-Karte -------------------------------------- */
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.area-grid p { color: var(--muted-on-dark); max-width: 56ch; }
.area-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-list li { padding: 0.45rem 0.95rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--r-pill); font-size: 0.9375rem; }
.area-list li[data-primary] { background: var(--on-dark); color: var(--body); border-color: var(--on-dark); font-weight: 600; }
.area-links { margin-top: 1.5rem; display: grid; gap: 0.4rem; font-size: 0.9375rem; color: var(--muted-on-dark); }
.area-links a { color: var(--on-dark); text-underline-offset: 4px; }
.map-consent {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14); background: #161616;
  display: grid; place-items: center; text-align: center; padding: 2rem;
}
.map-consent p { font-size: 0.875rem; max-width: 40ch; margin: 0.9rem auto 1.2rem; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent__addr { font-size: 1.0625rem; color: var(--on-dark); }
@media (max-width: 900px) { .area-grid { grid-template-columns: 1fr; } }

/* --- Kosten & Foerderungen -------------------------------------------- */
.pricing__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .pricing__grid--three { grid-template-columns: 1fr; } }
.funding {
  margin-top: clamp(2rem, 5vw, 3rem); padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #ffffff; border-radius: var(--r-card); border: 1px solid rgba(17, 17, 17, 0.06);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem;
}
.funding h3 { font-size: 1.1875rem; font-weight: 600; }
.funding p { color: var(--muted); margin-top: 0.5rem; }
.funding ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.funding a { color: var(--body); font-weight: 500; text-underline-offset: 4px; }
.funding li span { display: block; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 800px) { .funding { grid-template-columns: 1fr; } }

/* --- Ueber uns / Inhaber ------------------------------------------------ */
.owner-facts { margin: 1.75rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; max-width: 40rem; }
.owner-facts dt { font-size: 0.875rem; color: var(--muted); }
.owner-facts dd { margin: 0.1rem 0 0; font-weight: 500; }
.section--light .story-copy p { color: var(--muted); }
.section--light .story-quote { background: rgba(255, 255, 255, 0.9); border-color: rgba(17, 17, 17, 0.08); }
.section--light .story-quote blockquote { color: var(--body); }
.section--light .story-quote cite { color: var(--muted); }
@media (max-width: 560px) { .owner-facts { grid-template-columns: 1fr; } }
.owner-creds { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(17, 17, 17, 0.14); max-width: 40rem; }
.owner-creds__title { font-size: 1.0625rem; font-weight: 600; }
.owner-creds__list { margin: 0.85rem 0 0; padding-left: 1.1rem; list-style: disc; display: grid; gap: 0.45rem; }
.owner-creds__list li { color: var(--muted); }
@media (min-width: 901px) {
  .owner-creds__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 2rem; }
  .story-figure { position: sticky; top: 6.5rem; align-self: start; }
}

/* --- FAQ: Fragen als H3 im summary ------------------------------------- */
.faq summary h3 { font: inherit; letter-spacing: inherit; margin: 0; }

/* --- Formular-Erweiterung ------------------------------------------------ */
.field input[type="file"] { padding: 0.65rem 0.9rem; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  font: inherit; font-size: 0.875rem; margin-right: 0.9rem; padding: 0.45rem 0.9rem;
  border: 0; border-radius: var(--r-pill); background: var(--cream); color: var(--body); cursor: pointer;
}
.field-hint { display: block; margin-top: 0.4rem; font-size: 0.8125rem; color: var(--muted-on-dark); }
.contact-promise { margin-top: 1rem; font-size: 1rem; color: var(--on-dark); }

/* --- Footer gross ---------------------------------------------------------- */
.footer--full { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr; gap: 2.5rem 3rem;
  font-size: 0.9375rem; color: var(--muted-on-dark);
}
.footer__grid h2 { font-size: 0.9375rem; font-weight: 600; color: var(--on-dark); margin-bottom: 0.9rem; letter-spacing: 0; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.footer__grid a { color: var(--muted-on-dark); }
.footer__grid a:hover { color: var(--on-dark); }
.footer__brand img { height: 2.6rem; width: auto; margin-bottom: 1rem; }
.footer__brand address { font-style: normal; line-height: 1.7; }
.footer__hours { margin-top: 1rem; display: grid; grid-template-columns: auto auto; gap: 0.2rem 1rem; justify-content: start; }
.footer__bottom {
  margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  font-size: 0.8125rem; color: var(--muted-on-dark);
}
.footer__bottom a { color: var(--muted-on-dark); }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* --- WhatsApp in Side-Actions / Bottom-Bar ------------------------------ */
.side-actions__btn--wa .side-actions__icon { background: #25d366; color: #ffffff; }
@media (max-width: 1199px) {
  .side-actions { gap: 0.4rem; }
  .side-actions__btn { gap: 0.45rem; padding: 0.4rem 0.7rem 0.4rem 0.4rem; font-size: 0.875rem; }
  .side-actions__icon { width: 1.75rem; height: 1.75rem; }
}
@media (max-width: 360px) {
  .side-actions__btn { font-size: 0.8125rem; padding-right: 0.5rem; }
}
.hero__note a { color: #ffffff; text-underline-offset: 3px; }

/* --- Bildstreifen mit 6 Fotos: 3 Spalten statt 4 + 2 Waisen ------------- */
.work-strip__grid--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .work-strip__grid--six { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.work-strip__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 620px) { .work-strip__grid--three { grid-template-columns: 1fr; } }

/* --- Galerie-Band: rundum 20 px Rand statt randlos ------------------------- */
.gallery-grid--inset {
  max-width: none; padding-inline: 20px; margin-top: clamp(2.5rem, 6vw, 4rem);
  grid-template-rows: repeat(3, minmax(clamp(10rem, 22vw, 26rem), auto));
}
.gallery-grid--inset .gallery-item--a { min-height: 0; }
.section--dark .gallery-item figcaption { color: var(--muted-on-dark); }
@media (max-width: 600px) { .gallery-grid--inset picture { min-height: 14rem; } }

/* --- Kunden-Slider ---------------------------------------------------------- */
.kunden-section { padding-block: clamp(3rem, 6vw, 5rem); }
.kunden-title { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); font-weight: 500; margin-bottom: 1.75rem; }
.kunden-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.kunden-marquee__track { display: flex; width: max-content; animation: kunden-slide 44s linear infinite; }
.kunden-marquee__group { display: flex; gap: 1rem; padding: 0 0.5rem; margin: 0; list-style: none; }
.kunden-tile {
  display: grid; place-items: center; width: 17rem; height: 6rem; padding: 0 1.25rem;
  background: #ffffff; border: 1px solid rgba(17, 17, 17, 0.06); border-radius: var(--r-card);
  font-size: 1.0625rem; font-weight: 600; color: var(--body); text-align: center;
}
.kunden-tile img { max-width: 100%; max-height: 3.25rem; width: auto; height: auto; object-fit: contain; }
@keyframes kunden-slide { to { transform: translateX(-25%); } }
@media (hover: hover) and (pointer: fine) { .kunden-marquee:hover .kunden-marquee__track { animation-play-state: paused; } }
@media (max-width: 600px) { .kunden-tile { width: 13rem; height: 5rem; font-size: 0.9375rem; } }
@media (prefers-reduced-motion: reduce) {
  .kunden-marquee { -webkit-mask-image: none; mask-image: none; }
  .kunden-marquee__track { animation: none; width: auto; padding-inline: var(--gutter); }
  .kunden-marquee__group { flex-wrap: wrap; padding: 0; }
  .kunden-marquee__group[aria-hidden="true"] { display: none; }
}

/* --- Projekte: Kacheln auf hellem Grund -------------------------------------- */
.ref-grid--light .ref-card__meta, .ref-grid--light .ref-card p { color: var(--muted); }
.ref-grid--light .ref-card__more { text-decoration-color: rgba(17, 17, 17, 0.35); }

/* --- Footer-Link Cookie-Einstellungen ------------------------------------------------------- */
.footer__linkbtn { padding: 0; color: var(--muted-on-dark); font-size: inherit; text-align: left; }
.footer__linkbtn:hover { color: var(--on-dark); }

/* --- Hero mobil: staerkerer Verlauf, Text bleibt auf bunten Kabeln lesbar --- */
@media (max-width: 860px) {
  .hero__bg::after { background: linear-gradient(to top, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.8) 55%, rgba(10, 10, 10, 0.25) 100%); }
}

/* --- Designcheck: Farben je Sektionstyp (dunkel/hell) ------------------------ */
.section--dark .mission__content > p,
.section--dark .mission__list li,
.section--dark .u-label { color: var(--muted-on-dark); }
.section--dark .mission__list b { color: var(--on-dark); }
.section--dark .service-area__list li { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.24); }
.section--dark .service-area__list li[data-primary] { background: var(--on-dark); color: var(--body); }
.section--light .facts > li { border-top-color: rgba(17, 17, 17, 0.14); }
.section--light .facts > li > p,
.section--light .facts--detailed ul li { color: var(--muted); }
.section--dark .mission__photo--accent { border-color: var(--ink); }

/* --- Lange deutsche Woerter in schmalen Spalten: kleiner + sauber trennen ----- */
@media (min-width: 1024px) {
  .container:has(> .faq) > .section__h2 { font-size: clamp(1.75rem, 1rem + 1.5vw, 2.75rem); hyphens: auto; -webkit-hyphens: auto; }
}
.contact-side .section__h2 { font-size: clamp(1.75rem, 1rem + 1.5vw, 2.75rem); hyphens: auto; -webkit-hyphens: auto; }

/* --- Rechtstexte: keine doppelte Luecke zwischen Kopf und Inhalt -------------- */
.section--light:has(> .container > .section__head:only-child) { padding-bottom: 0; }
.section--light:has(> .container > .section__head:only-child) .section__head { margin-bottom: 0; }
.section--light:has(> .container > .section__head:only-child) + .section--light { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Interne Verweise und Verantwortlichen-Hinweis (SEO-Audit 05.11.) */
.area-link a,
.owner-note a,
.case-links a { color: inherit; text-decoration: underline; text-underline-offset: 0.18em; }
.area-link { margin-top: 1.25rem; font-size: 1rem; line-height: 1.5; }
.owner-note {
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
  font-size: 0.9375rem; line-height: 1.5; color: var(--muted);
}
.owner-note b { color: var(--body); font-weight: 600; }
.section--dark .owner-note { color: var(--muted-on-dark); border-top-color: rgba(255, 255, 255, 0.16); }
.section--dark .owner-note b { color: var(--on-dark); }
.case-links { margin-top: 0.9rem; font-size: 0.9375rem; line-height: 1.5; }

/* --- Galerie-Lightbox (Projekte.html) ---------------------------------- */
.galerie-open { margin-top: 1.75rem; }
.galerie-open[hidden] { display: none; }
html.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 10, 10, 0.97);
  color: var(--on-dark);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(10, 10, 10, 0.97); }
.lightbox__stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 4.5rem clamp(0.75rem, 6vw, 6rem);
  touch-action: pan-y pinch-zoom;
}
.lightbox__img {
  display: block; width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox__count {
  position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 1;
  margin: 0; font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--on-dark);
}
.lightbox__btn {
  position: absolute; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 50%;
  background: rgba(17, 17, 17, 0.72);
  color: var(--on-dark);
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
}
.lightbox__btn:hover { background: rgba(70, 70, 70, 0.9); }
.lightbox__btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.lightbox__btn svg { width: 1.375rem; height: 1.375rem; }
.lightbox__close { top: 0.75rem; right: 0.75rem; }
.lightbox__prev { top: 50%; left: 0.75rem; transform: translateY(-50%); }
.lightbox__next { top: 50%; right: 0.75rem; transform: translateY(-50%); }
@media (max-width: 640px) {
  /* Handy: Pfeile unten, damit sie nicht auf dem Foto liegen */
  .lightbox__prev, .lightbox__next { top: auto; bottom: 0.75rem; transform: none; }
  .lightbox__prev { left: calc(50% - 3.5rem); }
  .lightbox__next { right: calc(50% - 3.5rem); }
}

/* --- Keine Umbrüche mitten in festen Begriffen (E-Mobilität, Smart Home ...) */
.nb { white-space: nowrap; }

/* --- Verwandte Leistungen: keine einzelne Karte in der letzten Reihe */
@media (min-width: 1000px) {
  .related-grid:has(> :nth-child(6):last-child),
  .related-grid:has(> :nth-child(9):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .related-grid:has(> :nth-child(7):last-child),
  .related-grid:has(> :nth-child(8):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --- Kontaktbereich: Spalten dürfen schmaler als ihr Inhalt werden (320 px) */
.contact-grid > * { min-width: 0; }
