/* ==========================================================================
   Nordblick24 – gemeinsames Stylesheet (alle Seiten)
   Farben: RAL 7016 Anthrazit + Nordblick-Blau. Hero und Montage-Animation liegen in index.html.
   ========================================================================== */

/* ==========================================================================
   0. Schriften – lokal eingebunden (seit 2026-10-02), keine Verbindung zu Google.
      Dateien und OFL-Lizenzen in assets/fonts/ (Quelle: Fontsource, nur Zeichensatz "latin").
      Inter und Manrope als variable Schrift (eine Datei für alle Stärken), Logo-Schriften statisch.
   ========================================================================== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-wght-normal.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; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/manrope-latin-wght-normal.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; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Michroma"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/michroma-latin-400-normal.woff2") format("woff2"); }

/* ==========================================================================
   1. Design-Tokens
   ========================================================================== */
:root {
  --anthracite: #293133;        /* RAL 7016 */
  --anthracite-900: #1b2123;
  --anthracite-800: #222a2c;
  --anthracite-700: #3a4548;
  --anthracite-500: #5c686b;

  /* Akzentfarbe: Nordblick-Blau. Die Token heißen historisch "oak" (früher Eichenholz) und werden überall weiterverwendet. */
  --oak: #4a9be0;               /* Linien, Balken, Fokusringe, Chips */
  --oak-light: #8fc4f0;         /* helles Blau auf dunklem Grund */
  --oak-deep: #2f7fc4;
  --oak-text: #1f6fb5;          /* Blau als Textfarbe auf Weiß/Creme – kontraststark */
  --oak-grain: linear-gradient(135deg, #2676c2 0%, #1e6cb3 40%, #1a5f9e 65%, #2373bd 100%);   /* Buttons, Badges (weiße Schrift) */

  --cream: #f5f2ec;
  --cream-2: #ece7dd;
  --surface: #ffffff;
  --text: #1f2628;
  --muted: #5b6467;
  --line: rgba(41, 49, 51, 0.14);
  --error: #b3261e;

  --carbon: #1f2c3f;            /* Grundfarbe der ganzen Seite: Mitternachtsblau, eine Stufe heller (Kundenwunsch 2026-09-20); Name aus der Carbon-Phase beibehalten */
  --carbon-2: #121a26;          /* nur mobiles Menü (gehört zur Leiste, die im dunkleren Ton bleibt) */
  --carbon-line: rgba(255, 255, 255, 0.08);
  --on-carbon: #eef2f7;
  --on-carbon-muted: #aab6c4;
  --trust: #f5b400;             /* Sternfarbe der Google-Bewertungen */

  --font-display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(27, 33, 35, .06), 0 4px 12px rgba(27, 33, 35, .06);
  --shadow-md: 0 8px 24px rgba(27, 33, 35, .10), 0 2px 6px rgba(27, 33, 35, .06);
  --shadow-lg: 0 24px 60px rgba(27, 33, 35, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 899px) {
  :root { --header-h: 64px; }
}

/* ==========================================================================
   2. Basis
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
/* Weiches Scrollen zu Ankern nur mit Maus/Trackpad (2026-10-03). Auf dem iPhone brachte das globale
   scroll-behavior: smooth Safaris eigene Scroll-Korrektur beim Ein-/Ausfahren der Adressleiste durcheinander:
   Beim Hochscrollen sprang die Seite zurück. Auf Touch-Geräten scrollt assets/contact.js Ankerklicks weich. */
@media (hover: hover) and (pointer: fine) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--carbon);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--anthracite);
  hyphens: auto;                 /* lange deutsche Komposita dürfen auf schmalen Screens umbrechen */
  overflow-wrap: anywhere;
}
p { margin: 0; overflow-wrap: anywhere; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
  background: var(--oak-text); color: #fff;
}
.skip-link:focus { top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--oak { background: var(--oak-grain); color: #fff; box-shadow: 0 6px 18px rgba(74, 155, 224, .35); }
.btn--oak:hover { box-shadow: 0 10px 26px rgba(74, 155, 224, .45); }
.btn--light {
  background: rgba(255, 255, 255, .92); color: var(--anthracite);
  border-color: rgba(41, 49, 51, .18);   /* fast deckend, daher ohne backdrop-filter (sparte pro Frame einen Blur im Hero) */
}
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--anthracite); color: #fff; }
.btn--dark:hover { background: var(--anthracite-900); }
.btn--sm { padding: 10px 18px; font-size: .875rem; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ==========================================================================
   3. Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  color: #fff;                                    /* dunkle Glasleiste von Anfang an – liegt über dem Fenster im Hero */
  background: rgba(24, 34, 48, .78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);   /* kleinerer Radius: der Header wird bei jedem Scroll-Frame neu geblurrt */
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), color .35s var(--ease);
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(24, 34, 48, .9);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(27, 33, 35, .25);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit;
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em;
}
.brand__mark { width: 36px; height: 36px; flex: none; }
/* Echtes Logo (aus Logo_Nordsicht24_final.ai): Bildmarke als Vektor, Schriftzug als Text in den Logo-Schriften */
.brand__logo { display: block; height: 40px; width: auto; flex: none; }
.site-footer .brand__logo { height: 46px; }
@media (max-width: 899px) { .brand__logo { height: 34px; } }
.brand b { color: var(--oak-light); font-weight: 800; }
.brand__mark .mark-bg { fill: #fff; transition: fill .35s; }
.brand__mark .mark-pane { fill: var(--anthracite); transition: fill .35s; }
.brand__mark .mark-oak { fill: var(--oak); }
.site-header.is-scrolled .brand b, .site-header.is-open .brand b, .site-footer .brand b { color: var(--oak-light); }
.site-header.is-scrolled .mark-bg, .site-header.is-open .mark-bg, .site-footer .mark-bg { fill: #fff; }
.site-header.is-scrolled .mark-pane, .site-header.is-open .mark-pane, .site-footer .mark-pane { fill: var(--anthracite); }
.site-footer .brand { color: #fff; }

.site-nav { position: relative; display: flex; align-items: center; gap: 32px; }   /* relative: Bezug für das Klappmenü */
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav ul > li > a, .nav-menu__toggle {
  position: relative; display: inline-block; padding: 6px 0;
  text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .92;
}
.site-nav ul > li > a::after, .nav-menu__toggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--oak); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav ul > li > a:hover::after, .site-nav ul > li > a:focus-visible::after,
.nav-item--menu.is-open > .nav-menu__toggle::after { transform: scaleX(1); }

/* Klappmenü "Leistungen": vier Bildkacheln im Quadrat + Link zur vollständigen Produktliste (JS: Block "Klappmenü") */
.nav-menu__toggle { display: inline-flex; align-items: center; gap: 6px; margin: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 500; font-size: .95rem; cursor: pointer; }
.nav-menu__toggle svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.nav-menu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-menu {
  position: absolute; left: 0; top: calc(100% + 16px); z-index: 5;
  width: min(640px, 100%); padding: 12px; border-radius: 18px;
  background: rgba(18, 26, 38, .97); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .75);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }   /* Brücke, damit der Hover nicht abreißt */
.nav-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
.nav-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nav-menu__tile { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff; background: #1f2a38; }
.nav-menu__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nav-menu__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 14, 22, .88) 0%, rgba(8, 14, 22, .15) 60%); }
.nav-menu__tile:hover img, .nav-menu__tile:focus-visible img { transform: scale(1.05); }
.nav-menu__label { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: grid; gap: 2px; }
.nav-menu__title { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; letter-spacing: -0.02em; }
.nav-menu__text { font-size: .78rem; color: rgba(255, 255, 255, .78); }
.nav-menu__all {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px; border-radius: 12px;
  text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--oak-light);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--carbon-line); transition: border-color .2s, background-color .2s;
}
.nav-menu__all svg { width: 18px; height: 18px; }
.nav-menu__all:hover, .nav-menu__all:focus-visible { border-color: var(--oak); background: rgba(74, 155, 224, .12); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: inherit;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  /* Wichtig: backdrop-filter würde den Header zum Containing Block des fixierten Menüs machen → daher im offenen Zustand aus. */
  .site-header.is-open { background: var(--carbon-2); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 32px;
    padding: 28px var(--gutter) 48px; background: var(--carbon-2); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
  .site-nav ul { flex-direction: column; gap: 4px; width: 100%; }
  .site-nav ul > li > a, .nav-menu__toggle {
    display: block; width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
    font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; text-align: left;
  }
  .site-nav ul > li > a::after, .nav-menu__toggle::after { display: none; }
  .site-nav .btn { width: 100%; padding: 16px 24px; font-size: 1rem; }
  /* Klappmenü im Handy-Menü: als Akkordeon unter "Leistungen" */
  .nav-menu__toggle { display: flex; align-items: center; justify-content: space-between; }
  .nav-menu__toggle svg { width: 22px; height: 22px; }
  .nav-menu { position: static; width: 100%; padding: 0 0 14px; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; transition: none; display: none; }
  .nav-menu.is-open { display: block; }
  .nav-menu::before { display: none; }
  .nav-menu__grid { gap: 8px; }
  .nav-menu__tile { aspect-ratio: 4 / 3; }
  .nav-menu__title { font-size: .98rem; }
  .nav-menu__text { display: none; }
}

/* ==========================================================================
   5. Sektionen (allgemein)
   ========================================================================== */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--tint { background: var(--cream-2); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oak-text);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--oak); flex: none; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }

/* Reveal-on-scroll (nur mit JS aktiv) */
.js [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; translate: 0 0; transition: none; } }

/* ==========================================================================
   6. Produkte – gestaffeltes Raster (Bestseller → Kernprodukte → weitere → Auch im Angebot)
   ========================================================================== */
.products { display: grid; gap: 24px; }
.products__tier { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .products__tier--core { grid-template-columns: repeat(2, 1fr); }
  .products__tier--more { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) { .products__tier--more { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover, .card:focus-within { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(74, 155, 224, .55); }
.card__media {
  position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden;   /* Hover-Zoom des Fotos bleibt in der Bildfläche */
  background: repeating-linear-gradient(135deg, var(--stripe-a, #e9e3d8) 0 14px, var(--stripe-b, #f5f1ea) 14px 28px);
}
.card__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(41, 49, 51, 0) 55%, rgba(41, 49, 51, .08)); }
/* Echtes Produktfoto: füllt die Bildfläche, die Streifen bleiben als Fallback dahinter; sanfter Zoom beim Hover */
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__img, .card:focus-within .card__img { transform: scale(1.04); }
.card__icon {
  width: 68px; height: 68px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .9); color: var(--anthracite); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), background-color .35s;
}
.card:hover .card__icon { transform: scale(1.06); background: #fff; }
.card__icon svg { width: 32px; height: 32px; }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(41, 49, 51, .85); color: #fff;
}
.card__tag--oak { left: auto; right: 14px; background: var(--oak-grain); color: #fff; }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; }
.card__kicker { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--oak-text); }
.card__title { font-size: 1.2rem; font-weight: 700; }
.card__title--lg { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -0.03em; }
.card__text { color: var(--muted); font-size: .95rem; }
.card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--oak-text); }
.card__link::after { content: ""; position: absolute; inset: 0; }   /* ganze Karte klickbar */
.card__link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Stichwort-Chips in den Karten */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  padding: 5px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; line-height: 1.3;
  background: var(--cream); color: var(--anthracite); border: 1px solid var(--line);
}

/* A · Bestseller-Karte: volle Breite, Bild links, Inhalt rechts */
.card--hero .card__media { aspect-ratio: 16 / 9; }
.card--hero .card__icon { width: 84px; height: 84px; border-radius: 22px; }
.card--hero .card__icon svg { width: 40px; height: 40px; }
.card--hero .card__body { padding: clamp(24px, 3vw, 40px); gap: 14px; }
.card--hero .card__text { font-size: 1.02rem; max-width: 56ch; }
@media (min-width: 800px) {
  .card--hero { display: grid; grid-template-columns: 1fr 1.05fr; }
  .card--hero .card__media { aspect-ratio: auto; min-height: 340px; height: 100%; }
}

/* C · kompakte Karten */
.card--small .card__media { aspect-ratio: 16 / 9; }
.card--small .card__icon { width: 52px; height: 52px; border-radius: 14px; }
.card--small .card__icon svg { width: 26px; height: 26px; }
.card--small .card__body { padding: 18px 18px 20px; gap: 10px; }
.card--small .card__title { font-size: 1.05rem; }
.card--small .chips li { font-size: .74rem; padding: 4px 9px; }

/* D · Auch im Angebot */
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 8px 0 0; }
.also__label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--oak-light); margin-right: 6px; }
.also__chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; text-decoration: none;
  font-size: .9rem; font-weight: 500; color: var(--on-carbon);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--carbon-line);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.also__chip svg { width: 18px; height: 18px; color: var(--oak-light); flex: none; }
.also__chip:hover, .also__chip:focus-visible { border-color: var(--oak); background: rgba(74, 155, 224, .12); transform: translateY(-2px); }

/* E · Button zur Übersicht */
.products__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 16px; }
.btn--lg { padding: 18px 32px; font-size: 1.05rem; gap: 12px; }
.btn--lg svg { width: 20px; height: 20px; }
.products__cta-note { font-size: .9rem; color: var(--on-carbon-muted); text-align: center; }

/* ==========================================================================
   7. Über uns
   ========================================================================== */
.about { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1.05fr .95fr; } }
.about__text p { color: var(--muted); font-size: 1.05rem; }
.about__text p + p { margin-top: 16px; }
.about__visual { position: relative; }
.about__frame { padding: 10px; border-radius: 20px; background: var(--oak-grain); box-shadow: var(--shadow-md); }
.about__frame-inner {
  position: relative; aspect-ratio: 4 / 5; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #e4ddd0 0 14px, #efe9df 14px 28px);
}
.about__frame-inner .card__tag { top: auto; bottom: 14px; left: 14px; }
.about__frame-inner svg { width: 96px; height: 96px; color: rgba(41, 49, 51, .55); }
.about__badge {
  position: absolute; left: 0; bottom: 0; max-width: 260px; padding: 20px 24px; border-radius: 14px;
  background: var(--anthracite); color: #fff; box-shadow: var(--shadow-lg);
}
.about__badge strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--oak-light); line-height: 1.1; }
.about__badge span { display: block; margin-top: 6px; font-size: .9rem; color: rgba(255, 255, 255, .8); }

.values { display: grid; gap: 20px; margin-top: clamp(40px, 6vw, 72px); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.value { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.value__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--anthracite); color: var(--oak-light); }
.value__icon svg { width: 22px; height: 22px; }
.value h3 { font-size: 1.05rem; font-weight: 700; }
.value p { margin-top: 6px; color: var(--muted); font-size: .92rem; }

.stats {
  position: relative; overflow: hidden; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 48px); border-radius: 20px;
  background: var(--anthracite); color: #fff;
}
.stats::before {
  content: ""; position: absolute; right: -10%; bottom: -60%; width: 55%; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(74, 155, 224, .35), transparent 62%);
}
.stat { position: relative; }
.stat__value { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--oak-light); }
.stat__label { margin-top: 8px; font-size: .95rem; color: rgba(255, 255, 255, .78); }

/* ==========================================================================
   8. Kontakt
   ========================================================================== */
.contact { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .contact { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.contact__info dl { margin: 28px 0 0; display: grid; gap: 18px; }
.contact__info dt { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--oak-text); }
.contact__info dd { margin: 4px 0 0; font-size: 1.05rem; }
.contact__info dd a { text-decoration: none; border-bottom: 1px solid rgba(41, 49, 51, .25); transition: border-color .2s, color .2s; }
.contact__info dd a:hover { color: var(--oak-text); border-color: var(--oak); }
.map {
  position: relative; margin-top: 28px; aspect-ratio: 16 / 10; border-radius: var(--radius); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--anthracite);
  background: repeating-linear-gradient(135deg, #e6e1d7 0 14px, #f1ede6 14px 28px);
}
.map svg { width: 44px; height: 44px; }

.form { padding: clamp(24px, 3.5vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); color: var(--text); }   /* Schrift immer dunkel: die Karte ist weiß, die dunkle Sektion vererbt sonst helle Schrift (Nachtmodus) */
.form__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: .9rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input:not([type="checkbox"]), .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(41, 49, 51, .22);
  background: #fff; color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--oak); box-shadow: 0 0 0 4px rgba(74, 155, 224, .22); }
.field textarea { min-height: 140px; resize: vertical; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__error { display: none; margin-top: 8px; font-size: .85rem; color: var(--error); }
.field.is-invalid .field__error { display: block; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.checkbox input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--oak-deep); }
.checkbox a { color: var(--oak-text); }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 22px; }
.form__hint { font-size: .85rem; color: var(--muted); }
.form-success { padding: clamp(24px, 3.5vw, 40px); background: var(--surface); border: 1px solid rgba(74, 155, 224, .5); border-radius: 20px; box-shadow: var(--shadow-sm); color: var(--text); }
.form-success__icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--oak-grain); color: #fff; margin-bottom: 18px; }
.form-success__icon svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.4rem; }
.form-success p { margin: 10px 0 20px; color: var(--muted); }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.site-footer { padding: 56px 0 28px; background: var(--carbon); border-top: 1px solid var(--carbon-line); color: rgba(255, 255, 255, .75); }
.site-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { margin-bottom: 16px; }
.site-footer__tagline { max-width: 36ch; font-size: .95rem; }
.site-footer h3 { margin-bottom: 14px; color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--oak-light); }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.site-footer__bottom a { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__bottom svg { width: 16px; height: 16px; }

/* ==========================================================================
   10. Carbon-Look unterhalb des Heros (dunkle Sektionen, weiße Karten)
   ========================================================================== */
/* Eine durchgehende, ruhige Fläche in Mitternachtsblau: kein Schein, keine Trennlinien, keine Tonbrüche zwischen den Sektionen. */
.section--carbon { position: relative; background: var(--carbon); color: var(--on-carbon); }
.section--carbon > .container { position: relative; }
.section--carbon .section-title, .section--carbon .about__text h2 { color: #fff; }
.section--carbon .section-lead, .section--carbon .about__text p { color: var(--on-carbon-muted); }
.section--carbon .eyebrow { color: var(--oak-light); }
.section--carbon .card { border-color: transparent; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
.section--carbon .card:hover, .section--carbon .card:focus-within { box-shadow: 0 26px 50px rgba(0, 0, 0, .45); border-color: rgba(74, 155, 224, .6); }
.section--carbon .value { border-color: transparent; box-shadow: 0 12px 32px rgba(0, 0, 0, .3); }
.section--carbon .about__frame { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.section--carbon .stats { background: #fff; color: var(--anthracite); box-shadow: 0 12px 32px rgba(0, 0, 0, .3); }
.section--carbon .stats::before { opacity: .45; }
.section--carbon .stat__value { color: var(--oak-text); }
.section--carbon .stat__label { color: var(--muted); }
.section--carbon .contact__info dt { color: var(--oak-light); }
.section--carbon .contact__info dd { color: var(--on-carbon); }
.section--carbon .contact__info dd a { border-color: rgba(255, 255, 255, .3); }
.section--carbon .contact__info dd a:hover { color: var(--oak-light); border-color: var(--oak-light); }
.section--carbon .map { background: repeating-linear-gradient(135deg, #22303f 0 14px, #2a3949 14px 28px); border-color: var(--carbon-line); color: var(--on-carbon); }
.section--carbon .form, .section--carbon .form-success { border-color: transparent; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }

/* Bewertungen (Google): Zusammenfassung + Anleitung als weiße Karten, darunter drei Rezensionen */
.reviews { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .reviews { grid-template-columns: 1.1fr .9fr; } }
.reviews__card {
  display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 3.5vw, 40px);
  background: #fff; color: var(--text); border-radius: 20px; box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}
.reviews__brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--anthracite); }
.reviews__g { width: 26px; height: 26px; flex: none; }
.reviews__g svg { width: 100%; height: 100%; display: block; }
.reviews__rating { display: flex; align-items: center; gap: 18px; }
.reviews__score { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.reviews__score small { font-size: 1.1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.stars { display: inline-flex; gap: 3px; color: #f5b400; }
.stars svg { width: 22px; height: 22px; fill: currentColor; }
.stars--sm svg { width: 16px; height: 16px; }
.reviews__note { color: var(--muted); font-size: .92rem; }
/* Karte ohne Google-Note (2026-10-02): Aufforderung statt Zahlen, Inhalt mittig, Knöpfe direkt darunter */
.reviews__card--ask { justify-content: center; }
.reviews__card--ask .reviews__actions { margin-top: 8px; }
.reviews__ask { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--anthracite); }
.reviews__ask-text { margin: 0; max-width: 46ch; font-size: 1.02rem; line-height: 1.6; color: var(--anthracite-700); }
.reviews__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.reviews__actions .btn svg { width: 18px; height: 18px; }
.reviews__card h3 { font-size: 1.35rem; }
.reviews__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.review {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px;
  background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}
.review__tag { position: absolute; top: 14px; right: 14px; left: auto; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: var(--oak-grain); color: #fff; font-family: var(--font-display); font-weight: 800; }
.review__name { display: block; font-weight: 700; }
.review__date { display: block; font-size: .8rem; color: var(--muted); }
.review__text { font-size: .95rem; line-height: 1.55; }
.review__source { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); }
.review__source svg { width: 14px; height: 14px; }
@media (max-width: 899px) { .reviews__list { grid-template-columns: 1fr; } }

/* Merkmale – sechs Kacheln unter dem Hero (nach Vorlage): Icon-Kachel, fette Zeile, Unterzeile */
.badges { padding: clamp(28px, 4vw, 48px) 0 clamp(8px, 2vw, 24px); }
.badges__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 16px; }
/* align-content: start → Kachel, Titel und Unterzeile stehen in allen sechs Feldern auf gleicher Höhe
   (ohne das verteilt das Raster die Resthöhe kürzerer Felder auf die Zeilen, und die Texte rutschen nach unten) */
.badge { display: grid; align-content: start; justify-items: center; text-align: center; gap: 3px; perspective: 520px; }
.badge__icon {
  width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
  background: rgba(143, 196, 240, .14); border: 1px solid rgba(143, 196, 240, .22); color: var(--oak-light);
  transition: background-color .3s, box-shadow .3s;
}
.badge__icon svg { width: 28px; height: 28px; }
.badge__icon--google { background: #fff; border-color: #fff; }
.badge__icon--google svg { width: 30px; height: 30px; }
/* In Ruhe (Kundenwunsch 2026-09-26): jede Kachel schwebt leicht auf und ab, jede in eigenem Takt und mit eigenem Versatz,
   dadurch wirkt die Leiste ungleichmäßig und lebendig. Dauer und Versatz stecken in Variablen, damit der Salto beim
   Überfahren (Regel darunter, gleiche Spezifität, steht später und gewinnt) weiterhin ohne Verzögerung startet. */
.badge { --drift-d: 4.2s; --drift-o: 0s; }
.badge:nth-child(2) { --drift-d: 5.1s; --drift-o: -1.7s; }
.badge:nth-child(3) { --drift-d: 3.7s; --drift-o: -0.6s; }
.badge:nth-child(4) { --drift-d: 4.8s; --drift-o: -3.1s; }
.badge:nth-child(5) { --drift-d: 3.9s; --drift-o: -2.2s; }
.badge:nth-child(6) { --drift-d: 5.4s; --drift-o: -4.0s; }
.badges__list.is-visible .badge__icon, html:not(.js) .badge__icon { animation: badge-drift var(--drift-d) ease-in-out var(--drift-o) infinite; }
@keyframes badge-drift {
  0%, 100% { transform: translateY(0); }
  28%      { transform: translateY(-6px); }
  52%      { transform: translateY(-2px); }
  76%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) { .badges__list.is-visible .badge__icon, html:not(.js) .badge__icon { animation: none; } }
/* Bewegung NUR beim Überfahren (Kundenwunsch 2026-09-21): die Kachel schwebt langsam und ungleichmäßig auf und ab
   und macht dabei einen langsamen Salto nach vorn (Drehung um die Querachse, perspective auf .badge). In Ruhe schwebt jede Kachel leicht (Regel darüber). */
.badge:hover .badge__icon, .badge:focus-within .badge__icon { animation: badge-salto 4.4s ease-in-out infinite; background: rgba(143, 196, 240, .26); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .5); }
@keyframes badge-salto {
  0%   { transform: translateY(0) rotateX(0); }
  14%  { transform: translateY(-9px) rotateX(0); }
  26%  { transform: translateY(-3px) rotateX(0); }
  40%  { transform: translateY(-11px) rotateX(-30deg); }
  62%  { transform: translateY(-5px) rotateX(-330deg); }
  74%  { transform: translateY(-10px) rotateX(-360deg); }
  88%  { transform: translateY(-2px) rotateX(-360deg); }
  100% { transform: translateY(0) rotateX(-360deg); }
}
@media (prefers-reduced-motion: reduce) { .badge:hover .badge__icon, .badge:focus-within .badge__icon { animation: none; } }
.badge:hover .badge__icon--google { background: #fff; }
.badge b { font-size: .98rem; color: #fff; }
.badge > span:last-child { font-size: .84rem; color: var(--on-carbon-muted); }
@media (max-width: 1023px) { .badges__list { grid-template-columns: repeat(3, 1fr); gap: 26px 14px; } }
@media (max-width: 639px) { .badges__list { grid-template-columns: repeat(2, 1fr); } .badge__icon { width: 56px; height: 56px; border-radius: 16px; } .badge b { font-size: .92rem; } }

/* Schrittanleitung "So einfach geht's": siehe Block 17 (dunkelblaue Karte mit leuchtenden Nummern) */


/* ==========================================================================
   12. Produktseite (produkte.html)
   ========================================================================== */
.site-header--solid { color: #fff; background: rgba(24, 34, 48, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(27, 33, 35, .25); }
.site-header--solid::before { opacity: 0; }
.site-header--solid .brand b { color: var(--oak-light); }
.site-header--solid .mark-bg { fill: #fff; }
.site-header--solid .mark-pane { fill: var(--anthracite); }

.page-head { padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(28px, 4vw, 44px); }
.page-head__back {
  display: flex; width: max-content; align-items: center; gap: 8px; margin-bottom: 26px; text-decoration: none;
  font-size: .9rem; font-weight: 600; color: var(--on-carbon-muted); transition: color .2s;
}
.page-head__back svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.page-head__back:hover { color: var(--oak-light); }
.page-head__back:hover svg { transform: translateX(-4px); }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.page-head .section-lead { max-width: 64ch; }

/* Sprungleiste zu den Kategorien */
.jumpbar { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jumpbar a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; text-decoration: none;
  font-size: .88rem; font-weight: 500; color: var(--on-carbon);
  background: rgba(255, 255, 255, .05); border: 1px solid var(--carbon-line);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.jumpbar a:hover, .jumpbar a:focus-visible { border-color: var(--oak); background: rgba(74, 155, 224, .12); transform: translateY(-2px); }

/* Kategorien als Bildkacheln (produkte.html): Kachel = Button mit Bild, Nummer, Icon, Titel, Einleitung, Zähler und Pfeil.
   Das Panel mit den Produktkarten liegt als volle Reihe direkt unter der Kachelreihe (order aus dem Skript) und klappt
   per Höhen-Animation (grid-template-rows 0fr → 1fr) auf. Zugeklappte Panels sind aus dem Raster genommen (display: none). */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.cat { display: contents; }
.cat__tile {
  display: flex; flex-direction: column; width: 100%; margin: 0; padding: 0; text-align: left; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; overflow: hidden;
  background: rgba(255, 255, 255, .05); color: inherit; font: inherit;
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .6);
  transition: transform .35s var(--ease), border-color .3s, background-color .3s, box-shadow .35s var(--ease);
}
.cat__tile:hover, .cat__tile:focus-visible { transform: translateY(-4px); border-color: rgba(143, 196, 240, .55); background: rgba(255, 255, 255, .08); box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .7); }
.cat__tile:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }
.cat.is-open .cat__tile { border-color: var(--oak); background: rgba(74, 155, 224, .12); }
.cat__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #253243; }
.cat__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cat__tile:hover .cat__media img { transform: scale(1.05); }
.cat__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(31, 44, 63, .6), transparent 55%); }
.cat__num { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 9px; border-radius: 999px; font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .12em; background: rgba(16, 26, 44, .72); color: var(--oak-light); }
.cat__icon { position: absolute; top: 12px; right: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(16, 26, 44, .72); border: 1px solid rgba(255, 255, 255, .18); color: #fff; }
.cat__icon svg { width: 20px; height: 20px; }
.cat__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px; }
.cat__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #fff; }
.cat__intro { font-size: .93rem; line-height: 1.5; color: var(--on-carbon-muted); }
.cat__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.cat__count { font-size: .82rem; font-weight: 600; color: var(--oak-light); }
.cat__chevron { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .2); color: var(--oak-light); transition: transform .3s var(--ease), background-color .2s, border-color .2s, color .2s; }
.cat__chevron svg { width: 18px; height: 18px; }
.cat__tile:hover .cat__chevron { border-color: var(--oak-light); }
.cat.is-open .cat__chevron { transform: rotate(180deg); background: var(--oak); border-color: var(--oak-light); color: #fff; }
/* Panel */
.cat__panel { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .32s var(--ease), visibility 0s linear .32s; }
.cat__panel.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .32s var(--ease), visibility 0s; }
.cat__panel.is-collapsed { display: none; }
.cat__panel-inner { min-height: 0; overflow: hidden; }
.cat__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 4px 2px 16px; }
.cat__panel-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: #fff; }
.cat__panel-title .cat__num { position: static; }
.cat__panel-count { font-size: .95rem; font-weight: 500; color: var(--on-carbon-muted); }
.cat__close { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; cursor: pointer; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; transition: border-color .2s, background-color .2s; }
.cat__close:hover, .cat__close:focus-visible { border-color: var(--oak); background: rgba(74, 155, 224, .16); }
.cat__close svg { width: 18px; height: 18px; }
.cat__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cat__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat__grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
/* Produktkarte: gleiche Optik wie die Karten der Startseite, etwas kompakter */
.card--product { box-shadow: 0 12px 32px rgba(0, 0, 0, .35); border-color: transparent; }
.card--product:hover, .card--product:focus-within { box-shadow: 0 26px 50px rgba(0, 0, 0, .45); border-color: rgba(74, 155, 224, .6); }
.card--product .card__media { aspect-ratio: 16 / 10; }
.card--product .card__icon { width: 56px; height: 56px; border-radius: 15px; }
.card--product .card__icon svg { width: 28px; height: 28px; }
.card--product .card__body { padding: 18px 20px 20px; gap: 8px; }
.card--product .card__title { font-size: 1.08rem; }
.card--product .card__text { font-size: .92rem; line-height: 1.55; }
.cat__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 24px 0 clamp(14px, 3vw, 26px); }
.cat__cta-note { font-size: .88rem; color: var(--on-carbon-muted); }
@media (max-width: 1023px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 639px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat__body { padding: 16px 18px; }
  .cat__name { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cat__panel, .cat__panel.is-open, .cat__chevron, .cat__tile, .cat__media img { transition: none; }
}

/* Einblendung auf der Produktseite: kurz (0,3 s) und ohne Wartezeit. Beim Laden sichtbare Elemente erscheinen sofort.
   Produktkarten blenden erst ein, wenn ihre Kategorie aufgeklappt ist (leicht versetzt, max. ca. 0,2 s). */
.js .page-products [data-reveal] { translate: 0 14px; transition-duration: .3s; transition-delay: 0s; }
.js .page-products [data-reveal].is-visible { translate: 0 0; }   /* gleiche Spezifität wie die Regel darüber → muss hier erneut gesetzt werden */
.js .page-products .card--product[data-reveal] { transition-delay: calc(var(--i, 0) * 30ms); }
.js .page-products [data-reveal].is-instant { transition: none; }

/* ==========================================================================
   13. Projekte – Bildergalerie auf der Startseite (Fotos folgen, bis dahin Streifen-Platzhalter)
   ========================================================================== */
/* Quadratische Kacheln, vier pro Reihe (Kundenwunsch 2026-09-22); die Fotos sind bereits 900×900 zugeschnitten */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.gallery__item {
  position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 1 / 1; box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  background: #253243;
}
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover .gallery__img { transform: scale(1.04); }
/* Echte Projektfotos (2026-09-22): figure ohne Rand, Bildunterschrift beim Überfahren, weitere Bilder hinter "Alle Projekte ansehen" */
figure.gallery__item { margin: 0; }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; pointer-events: none;
  font-size: .84rem; font-weight: 600; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
  background: linear-gradient(to top, rgba(8, 14, 22, .82), rgba(8, 14, 22, 0));
  opacity: 0; translate: 0 8px; transition: opacity .35s var(--ease), translate .35s var(--ease);
}
.gallery__item:hover .gallery__cap, .gallery__item:focus-within .gallery__cap { opacity: 1; translate: 0 0; }
.gallery__item--extra { display: none; }
.gallery.is-expanded .gallery__item--extra { display: block; animation: gallery-in .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes gallery-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
html:not(.js) .gallery__item--extra { display: block; }
html:not(.js) .gallery__foot { display: none; }
.gallery__foot { display: flex; justify-content: center; margin-top: 22px; }
.gallery__more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.gallery__more[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (max-width: 379px) { .gallery__more { max-width: 100%; white-space: normal; text-align: center; } }   /* 320-px-Handys: Text darf umbrechen */
@media (prefers-reduced-motion: reduce) { .gallery.is-expanded .gallery__item--extra { animation: none; } }
@media (max-width: 899px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .gallery { gap: 10px; } .gallery__item { border-radius: 12px; } }

/* Abschluss der Produktseite */
.page-end { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--carbon-line); text-align: center; }
.page-end h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; }
.page-end p { margin: 14px auto 26px; max-width: 56ch; color: var(--on-carbon-muted); }
.page-end .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 639px) {
  .jumpbar a { font-size: .82rem; padding: 8px 12px; }
}

/* ==========================================================================
   14. Kopfleiste doppelt so groß + Tag/Nacht-Schalter + Tagmodus (weiße Seite)
   --------------------------------------------------------------------------
   Kundenwunsch 2026-09-20: Leiste 120 px, Logo 64 px, Menüpunkte 1,35 rem, Menüpunkte füllen die Zeile
   zwischen Logo und Button. Der Schalter setzt data-theme="light|dark" auf <html> (Start: Tag = weiß).
   Leiste, Klappmenü, Handy-Menü und Footer bleiben in beiden Modi dunkel.
   ========================================================================== */
@media (min-width: 900px) {
  :root { --header-h: 120px; }
  .site-header__inner { gap: 40px; }
  .brand__logo { height: 64px; }
  .site-nav { flex: 1; gap: 36px; }
  .site-nav ul { flex: 1; justify-content: space-evenly; gap: 24px; }
  .site-nav ul > li > a, .nav-menu__toggle { font-size: 1.35rem; font-weight: 600; padding: 10px 0; }
  .nav-menu__toggle svg { width: 18px; height: 18px; }
  .site-nav .btn--sm { padding: 16px 30px; font-size: 1.08rem; }
  .nav-menu { top: calc(100% + 8px); }
}
@media (max-width: 899px) {
  :root { --header-h: 72px; }
  .brand__logo { height: 40px; }
}
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); color: #fff;
  transition: background-color .2s, border-color .2s, transform .3s var(--ease);
}
.theme-toggle:hover, .theme-toggle:focus-visible { border-color: var(--oak-light); background: rgba(74, 155, 224, .22); transform: rotate(-12deg); }
.theme-toggle svg { width: 22px; height: 22px; }
.theme-toggle .theme-toggle__moon { display: none; }
:root[data-theme="light"] .theme-toggle .theme-toggle__sun { display: none; }
:root[data-theme="light"] .theme-toggle .theme-toggle__moon { display: block; }
@media (max-width: 899px) { .theme-toggle { width: 42px; height: 42px; } .theme-toggle svg { width: 20px; height: 20px; } }

/* Tagmodus: Seitenfläche weiß, Text dunkel; Akzente im kräftigen Blau statt Hellblau */
:root[data-theme="light"] { --carbon: #ffffff; --carbon-line: rgba(15, 25, 40, .1); --on-carbon: #1b2430; --on-carbon-muted: #5b6875; }
:root[data-theme="light"] .section--carbon .section-title, :root[data-theme="light"] .section--carbon .about__text h2,
:root[data-theme="light"] .page-head h1, :root[data-theme="light"] .page-end h2, :root[data-theme="light"] .cat__name,
:root[data-theme="light"] .cat__panel-title, :root[data-theme="light"] .badge b { color: var(--on-carbon); }
:root[data-theme="light"] .section--carbon .eyebrow, :root[data-theme="light"] .also__label, :root[data-theme="light"] .also__chip svg,
:root[data-theme="light"] .cat__count, :root[data-theme="light"] .page-head__back:hover, :root[data-theme="light"] .section--carbon .contact__info dt,
:root[data-theme="light"] .cat__chevron, :root[data-theme="light"] .badge__icon { color: var(--oak-text); }
:root[data-theme="light"] .also__chip, :root[data-theme="light"] .jumpbar a, :root[data-theme="light"] .cat__tile,
:root[data-theme="light"] .cat__chevron, :root[data-theme="light"] .cat__close { background: rgba(15, 25, 40, .04); border-color: rgba(15, 25, 40, .12); }
:root[data-theme="light"] .also__chip:hover, :root[data-theme="light"] .jumpbar a:hover, :root[data-theme="light"] .jumpbar a:focus-visible { background: rgba(74, 155, 224, .12); border-color: var(--oak); }
:root[data-theme="light"] .cat__close { color: var(--on-carbon); }
:root[data-theme="light"] .cat__tile { box-shadow: 0 16px 40px -24px rgba(15, 25, 40, .35); }
:root[data-theme="light"] .cat__tile:hover, :root[data-theme="light"] .cat__tile:focus-visible { background: rgba(15, 25, 40, .06); border-color: rgba(74, 155, 224, .6); box-shadow: 0 26px 50px -26px rgba(15, 25, 40, .4); }
:root[data-theme="light"] .cat.is-open .cat__tile { background: rgba(74, 155, 224, .1); border-color: var(--oak); }
:root[data-theme="light"] .cat.is-open .cat__chevron { color: #fff; }
:root[data-theme="light"] .badge__icon { background: rgba(74, 155, 224, .12); border-color: rgba(74, 155, 224, .25); }
:root[data-theme="light"] .badge:hover .badge__icon { background: rgba(74, 155, 224, .2); }
:root[data-theme="light"] .badge__icon--google, :root[data-theme="light"] .badge:hover .badge__icon--google { background: #fff; border-color: rgba(15, 25, 40, .12); }
:root[data-theme="light"] .section--carbon .card, :root[data-theme="light"] .card--product, :root[data-theme="light"] .reviews__card, :root[data-theme="light"] .review,
:root[data-theme="light"] .gallery__item, :root[data-theme="light"] .section--carbon .stats, :root[data-theme="light"] .section--carbon .form, :root[data-theme="light"] .section--carbon .form-success { box-shadow: 0 12px 32px rgba(15, 25, 40, .12); border-color: var(--line); }
:root[data-theme="light"] .section--carbon .card:hover, :root[data-theme="light"] .section--carbon .card:focus-within, :root[data-theme="light"] .card--product:hover { box-shadow: 0 24px 48px rgba(15, 25, 40, .18); border-color: rgba(74, 155, 224, .6); }
:root[data-theme="light"] .section--carbon .map { background: repeating-linear-gradient(135deg, #e6e1d7 0 14px, #f1ede6 14px 28px); border-color: var(--line); color: var(--anthracite); }
:root[data-theme="light"] .section--carbon .contact__info dd a { border-color: rgba(15, 25, 40, .3); }
:root[data-theme="light"] .site-footer { background: #182230; border-top-color: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .75); }

/* ==========================================================================
   15. Kopfleiste nach Vorlage (2026-09-20): Home-Icon, Menüpunkte mit Icons, WhatsApp-Knopf, Telefon-Pille,
       Tag/Nacht als reines Icon, blauer Button. Breite Leiste (bis 1840 px); Elemente fallen
       stufenweise weg, damit nichts überlappt: Telefonnummer ab 1800 px, Home-Icon
       ab 1600 px, Menü-Icons ab 1440 px, WhatsApp/Telefon ab 1280 px. Unter 900 px wandern WhatsApp, Telefon und Button ins Menü.
   ========================================================================== */
.site-header__inner { width: calc(100% - 2 * var(--gutter)); max-width: 1840px; gap: 18px; }
.brand { flex: none; }
.nav-home { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: rgba(255, 255, 255, .85); transition: background-color .2s, color .2s; }
.nav-home:hover, .nav-home:focus-visible { background: rgba(255, 255, 255, .1); color: #fff; }
.nav-home svg { width: 22px; height: 22px; }
.nav-ico { width: 18px; height: 18px; flex: none; color: rgba(255, 255, 255, .75); transition: color .2s; }
@media (min-width: 900px) {
  .site-nav { flex: 1 1 auto; min-width: 0; gap: 16px; }
  .site-nav ul { flex: 1 1 auto; min-width: 0; gap: 12px; justify-content: space-evenly; }
  .site-nav ul > li { white-space: nowrap; }
  .site-nav ul > li > a, .nav-menu__toggle { display: inline-flex; align-items: center; gap: 7px; font-size: 1rem; font-weight: 600; padding: 8px 0; }
  .site-nav ul > li > a:hover .nav-ico, .nav-menu__toggle:hover .nav-ico, .nav-item--menu.is-open .nav-ico { color: var(--oak-light); }
  .nav-wa__label, .site-nav__mobile-cta { display: none; }
  .brand__logo { height: 56px; }
}
@media (min-width: 1600px) { .brand__logo { height: 64px; } .site-nav ul { gap: 16px; } .site-nav ul > li > a, .nav-menu__toggle { font-size: 1.06rem; } }
.nav-wa { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #25d366; color: #fff; text-decoration: none; box-shadow: 0 6px 16px rgba(37, 211, 102, .35); transition: transform .25s var(--ease), box-shadow .25s; }
.nav-wa:hover, .nav-wa:focus-visible { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 22px rgba(37, 211, 102, .45); }
.nav-wa svg { width: 25px; height: 25px; fill: currentColor; flex: none; }
.nav-phone { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 5px 18px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.nav-phone:hover, .nav-phone:focus-visible { background: rgba(74, 155, 224, .22); border-color: var(--oak-light); }
.nav-phone__icon { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; background: rgba(74, 155, 224, .35); color: #fff; }
.nav-phone__icon svg { width: 17px; height: 17px; }
.theme-toggle, .theme-toggle:hover, .theme-toggle:focus-visible { width: 40px; height: 40px; border: 0; background: none; color: rgba(255, 255, 255, .85); }
.theme-toggle:hover, .theme-toggle:focus-visible { color: var(--oak-light); transform: rotate(-15deg); }
.theme-toggle svg { width: 24px; height: 24px; }
.site-header__cta { display: flex; align-items: center; gap: 10px; flex: none; }   /* nur noch "Beratung anfragen" – "Angebot anfordern" auf Kundenwunsch entfernt (2026-09-21) */
.site-header__cta .btn--sm { padding: 12px 20px; font-size: .95rem; white-space: nowrap; }
.site-header__cta .btn svg { width: 18px; height: 18px; }
@media (max-width: 1799px) { .nav-phone__num { display: none; } .nav-phone { padding: 4px; } }
@media (max-width: 1599px) { .nav-home { display: none; } }
@media (max-width: 1439px) { .nav-ico { display: none; } }   /* Menü-Icons erst ab 1440 px: darunter schieben sie "Kontakt" in den WhatsApp-Knopf (gemessen 2026-09-21) */
@media (max-width: 1279px) {
  .nav-wa, .nav-phone { display: none; }     /* WhatsApp und Telefon stehen im Kontaktbereich; in der Leiste fehlt hier der Platz */
  .site-nav ul > li > a, .nav-menu__toggle { font-size: .92rem; }
  .site-nav ul { gap: 8px; }
  .site-header__inner { gap: 14px; }
  .brand__logo { height: 48px; }
  .site-header__cta .btn--sm { padding: 10px 16px; font-size: .9rem; }
}
@media (max-width: 1023px) { .site-header__cta { display: none; } .site-nav ul > li > a, .nav-menu__toggle { font-size: .92rem; } }
@media (max-width: 899px) {
  .site-header__cta, .nav-home { display: none; }
  .nav-wa { display: inline-flex; width: 100%; height: 52px; border-radius: 12px; justify-content: flex-start; padding: 0 16px; font-weight: 700; font-size: 1.05rem; }
  .nav-phone { display: inline-flex; }
  .nav-wa__label { display: inline; }
  .nav-phone { width: 100%; padding: 5px 16px 5px 5px; }
  .nav-phone__num { display: inline; }
  .site-nav__mobile-cta { display: grid; gap: 10px; width: 100%; }
  .site-nav__mobile-cta .btn { width: 100%; }
}

/* ==========================================================================
   16. Endspurt (2026-09-20): Leistungen-Menü mit fünf Kacheln, Standort-Karte mit Google-Maps-Links
   ========================================================================== */
@media (min-width: 900px) {
  .nav-menu { width: min(820px, 100%); }
  .nav-menu__grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .nav-menu__tile { aspect-ratio: 4 / 3; }
  .nav-menu__label { left: 10px; right: 10px; bottom: 10px; }
  .nav-menu__title { font-size: .98rem; }
  .nav-menu__text { font-size: .72rem; }
}
/* Standort: statt Karten-Platzhalter eine Adresskarte mit Links zu Google Maps (kein Iframe → kein Cookie-Hinweis nötig) */
.map { aspect-ratio: auto; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; padding: 22px 24px; background: #fff; color: var(--text); text-align: left; box-shadow: var(--shadow-sm); }
.map__head { display: flex; align-items: center; gap: 12px; }
.map__pin { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; background: var(--oak-grain); color: #fff; }
.map__pin svg { width: 22px; height: 22px; }
.map__title { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--anthracite); }
.map__addr { display: block; margin-top: 2px; font-size: .95rem; color: var(--muted); }
.map__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map__actions .btn svg { width: 18px; height: 18px; }
.section--carbon .map, :root[data-theme="light"] .section--carbon .map { background: #fff; border-color: var(--line); color: var(--text); }

/* ==========================================================================
   17. Bewertungen als Qualitätsware (2026-09-21) + Kontaktformular-Versand
   --------------------------------------------------------------------------
   Zusammenfassung: Google-Note zählt hoch (JS-Block 5), Sterne erscheinen nacheinander, Karte hebt sich
   beim Überfahren, das G dreht sich, der Bewerten-Knopf bekommt einen Lichtstreifen und ein wackelndes Sternchen.
   Schrittanleitung: dunkelblaue Karte mit weißer Schrift (lesbar in beiden Modi), leuchtende Nummern mit
   pulsierendem Ring, Verbindungslinie, die sich beim Einblenden zeichnet, Nummer wird beim Überfahren zum Haken.
   Rezensionen: erscheinen versetzt, großes Zitatzeichen, Karte hebt sich, Avatar hüpft, Sterne springen.
   Formular: Statuszeile für Fehlermeldungen (der Knopf "Per WhatsApp senden" wurde am 2026-09-28 auf Kundenwunsch entfernt).
   ========================================================================== */
/* --- Karten allgemein: Hover-Schwung; Einblendung (data-reveal) bleibt erhalten --- */
.reviews__card, .js .reviews__card[data-reveal] {
  border: 1px solid transparent;
  transition: opacity .8s var(--ease), translate .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  transition-delay: calc(var(--i, 0) * 90ms), calc(var(--i, 0) * 90ms), 0s, 0s, 0s;
}
.reviews__card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .55); border-color: rgba(74, 155, 224, .55); }

/* --- Zusammenfassung --- */
.reviews__card--summary { position: relative; overflow: hidden; }
.reviews__card--summary::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .45s; background: radial-gradient(55% 45% at 100% 0%, rgba(74, 155, 224, .16), transparent 70%); }
.reviews__card--summary:hover::after { opacity: 1; }
.reviews__g svg { transition: transform .9s var(--ease); }
.reviews__card--summary:hover .reviews__g svg { transform: rotate(360deg); }
.reviews__score { flex: none; white-space: nowrap; background: linear-gradient(135deg, #1f6fb5 0%, #4a9be0 60%, #1b2430 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reviews__score small { color: var(--muted); }
.js .reviews__card--summary .stars svg { opacity: 0; transform: scale(0) rotate(-30deg); transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .3s; }
.js .reviews__card--summary.is-visible .stars svg { opacity: 1; transform: none; }
.reviews__card--summary.is-visible .stars svg:nth-child(2) { transition-delay: .1s; }
.reviews__card--summary.is-visible .stars svg:nth-child(3) { transition-delay: .2s; }
.reviews__card--summary.is-visible .stars svg:nth-child(4) { transition-delay: .3s; }
.reviews__card--summary.is-visible .stars svg:nth-child(5) { transition-delay: .4s; }
/* Sterne springen nacheinander, wenn man über die Karte fährt */
.reviews__card--summary:hover .stars svg, .review:hover .stars svg { animation: star-bounce .7s var(--ease); }
.stars svg:nth-child(2) { animation-delay: .07s; }
.stars svg:nth-child(3) { animation-delay: .14s; }
.stars svg:nth-child(4) { animation-delay: .21s; }
.stars svg:nth-child(5) { animation-delay: .28s; }
@keyframes star-bounce { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-7px) scale(1.25) rotate(-10deg); } 70% { transform: translateY(1px) scale(.96) rotate(4deg); } 100% { transform: translateY(0) scale(1); } }
/* Knopf mit Lichtstreifen und wackelndem Stern */
.btn--shine { position: relative; overflow: hidden; isolation: isolate; }
.btn--shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; z-index: -1; pointer-events: none; background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .5) 50%, transparent 100%); transform: skewX(-22deg); transition: left .65s var(--ease); }
.btn--shine:hover::after, .btn--shine:focus-visible::after { left: 130%; }
.btn--shine:hover svg { animation: star-wiggle .65s var(--ease); }
@keyframes star-wiggle { 0% { transform: rotate(0) scale(1); } 30% { transform: rotate(-18deg) scale(1.25); } 60% { transform: rotate(14deg) scale(1.15); } 100% { transform: rotate(0) scale(1); } }

/* --- Schrittanleitung --- */
.reviews__card--steps { position: relative; overflow: hidden; color: #fff; border-color: rgba(143, 196, 240, .3); background: linear-gradient(150deg, #2676c2 0%, #1a4f8a 42%, #14243a 100%); box-shadow: 0 24px 60px -24px rgba(31, 111, 181, .6); }
.reviews__card--steps::before { content: ""; position: absolute; top: -170px; right: -150px; width: 380px; height: 380px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(143, 196, 240, .5), rgba(143, 196, 240, 0) 62%); transition: transform .9s var(--ease); }
.reviews__card--steps:hover { border-color: rgba(143, 196, 240, .7); box-shadow: 0 34px 70px -24px rgba(31, 111, 181, .75); }
.reviews__card--steps:hover::before { transform: translate(-40px, 40px) scale(1.2); }
.reviews__card--steps > * { position: relative; }
.steps__head { display: grid; gap: 8px; }
.reviews__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-light); }
.reviews__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--oak-light); }
.reviews__card--steps h3 { color: #fff; font-size: 1.5rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.steps__item { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; padding: 12px 14px 12px 10px; border-radius: 16px; }
.steps__item:hover { background: rgba(255, 255, 255, .08); transform: translateX(6px); }
.steps__item:not(:last-child)::after { content: ""; position: absolute; left: 33px; top: 64px; bottom: -14px; width: 2px; border-radius: 2px; background: linear-gradient(to bottom, rgba(143, 196, 240, .75), rgba(143, 196, 240, .12)); transform: scaleY(0); transform-origin: 50% 0; transition: transform .6s var(--ease); }
.reviews__card--steps.is-visible .steps__item:not(:last-child)::after { transform: scaleY(1); transition-delay: calc(.5s + var(--i, 0) * .18s); }
.steps__num { position: relative; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff; background: linear-gradient(145deg, #8fc4f0 0%, #2676c2 100%); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7), 0 0 0 0 rgba(143, 196, 240, .3); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .45s; }
.steps__num::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(143, 196, 240, .6); opacity: 0; }
.reviews__card--steps.is-visible .steps__num::before { animation: steps-ring 3s ease-out infinite; animation-delay: calc(.8s + var(--i, 0) * .55s); }
@keyframes steps-ring { 0% { transform: scale(.85); opacity: .9; } 60% { transform: scale(1.55); opacity: 0; } 100% { transform: scale(1.55); opacity: 0; } }
.steps__num > span { display: inline-block; }
.steps__num > span, .steps__num > svg { transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), opacity .25s; }
.steps__num > svg { position: absolute; width: 22px; height: 22px; opacity: 0; transform: scale(.3) rotate(-45deg); }
.steps__item:hover .steps__num { transform: scale(1.12) rotate(-8deg); box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .7), 0 0 0 8px rgba(143, 196, 240, .22); }
.steps__item:hover .steps__num > span { transform: scale(.2); opacity: 0; }
.steps__item:hover .steps__num > svg { opacity: 1; transform: scale(1) rotate(0); }
.steps__body { display: grid; gap: 4px; padding-top: 6px; }
.steps__body strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: #fff; }
.steps__body span { font-size: .95rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.steps__foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.steps__foot svg { width: 18px; height: 18px; flex: none; color: var(--oak-light); }
/* Schritte erscheinen nacheinander von links; Hover-Werte reagieren ohne Verzögerung */
.js .reviews__card--steps .steps__item { opacity: 0; translate: -18px 0; transition: opacity .55s var(--ease), translate .55s var(--ease), background-color .3s, transform .35s var(--ease); }
.js .reviews__card--steps.is-visible .steps__item { opacity: 1; translate: 0 0; transition-delay: calc(.3s + var(--i, 0) * .16s), calc(.3s + var(--i, 0) * .16s), 0s, 0s; }

/* --- Rezensionen --- */
.review { isolation: isolate; overflow: hidden; border: 1px solid transparent; }
.review::before { content: "\201C"; position: absolute; right: 14px; bottom: -38px; z-index: -1; font-family: Georgia, "Times New Roman", serif; font-size: 8rem; line-height: 1; font-weight: 700; color: rgba(74, 155, 224, .12); pointer-events: none; transition: transform .6s var(--ease), color .4s; }
.review:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .55); border-color: rgba(74, 155, 224, .55); }
.review:hover::before { transform: translate(-8px, -12px) rotate(-8deg); color: rgba(74, 155, 224, .22); }
.review__avatar { transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s; }
.review:hover .review__avatar { transform: scale(1.12) rotate(-6deg); box-shadow: 0 0 0 6px rgba(74, 155, 224, .18); }
.js .reviews__list .review { opacity: 0; translate: 0 24px; transition: opacity .6s var(--ease), translate .6s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.js .reviews__list.is-visible .review { opacity: 1; translate: 0 0; }
.js .reviews__list.is-visible .review:nth-child(2) { transition-delay: .14s, .14s, 0s, 0s, 0s; }
.js .reviews__list.is-visible .review:nth-child(3) { transition-delay: .28s, .28s, 0s, 0s, 0s; }

/* --- Tagmodus: Schatten passend zur weißen Seite, Schritt-Karte bleibt dunkelblau --- */
:root[data-theme="light"] .reviews__card:hover, :root[data-theme="light"] .review:hover { box-shadow: 0 26px 52px -18px rgba(15, 25, 40, .28); border-color: rgba(74, 155, 224, .6); }
:root[data-theme="light"] .reviews__card--steps, :root[data-theme="light"] .reviews__card--steps:hover { border-color: rgba(31, 111, 181, .35); box-shadow: 0 24px 60px -24px rgba(31, 111, 181, .5); }

/* --- Kontaktformular: Knopfzeile und Statuszeile --- */
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.form__status { margin-top: 14px; font-size: .9rem; font-weight: 500; color: var(--error); }
.form__status:empty { display: none; }
.form__trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }   /* Spam-Falle (kontakt.php), nicht display:none, sonst übergehen Bots sie */

@media (prefers-reduced-motion: reduce) {
  .js .reviews__card--steps .steps__item, .js .reviews__list .review, .js .reviews__card--summary .stars svg { opacity: 1; translate: 0 0; transform: none; transition: none; }
  .steps__item:not(:last-child)::after { transform: none; }
  .reviews__card--steps.is-visible .steps__num::before, .btn--shine:hover svg, .reviews__card--summary:hover .stars svg, .review:hover .stars svg { animation: none; }
}

/* ==========================================================================
   18. WhatsApp-Knopf direkt in der Kopfleiste (2026-09-23)
   --------------------------------------------------------------------------
   Unter 1280 px verschwindet der große WhatsApp-Knopf aus der Leiste (unter 900 px liegt er nur im
   aufklappbaren Menü). Dieser runde Knopf sitzt dann rechts neben dem Logo, vor Tag/Nacht und Menü.
   Damit alles auf schmale Handys passt, werden Abstände und Logo stufenweise kleiner.
   ========================================================================== */
.header-wa { display: none; }
@media (max-width: 1279px) {
  .header-wa {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 42px; height: 42px; border-radius: 50%; background: #25d366; color: #fff; text-decoration: none;
    box-shadow: 0 6px 16px rgba(37, 211, 102, .35); transition: transform .25s var(--ease), box-shadow .25s;
  }
  .header-wa svg { width: 24px; height: 24px; fill: currentColor; }
  .header-wa:hover, .header-wa:focus-visible { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 22px rgba(37, 211, 102, .45); }
  .header-wa:active { transform: scale(.95); }
}
@media (max-width: 899px) {
  .header-wa { margin-left: auto; }                 /* schiebt WhatsApp, Tag/Nacht und Menü gemeinsam nach rechts */
  .site-header__inner { gap: 8px; }
  .theme-toggle { width: 40px; height: 40px; }
}
@media (max-width: 399px) { .brand__logo { height: 40px; } }
@media (max-width: 359px) {
  .brand__logo { height: 34px; }
  .header-wa { width: 38px; height: 38px; }
  .header-wa svg { width: 21px; height: 21px; }
  .theme-toggle { width: 36px; height: 36px; }
  .nav-toggle { width: 40px; }
}
/* Schmale Tablets/Laptops (900–1099 px): Leiste etwas kompakter, damit der WhatsApp-Knopf neben "Kontakt" Platz hat */
@media (min-width: 900px) and (max-width: 1099px) {
  .site-header__inner { gap: 8px; }
  .site-nav { gap: 8px; }
  .site-nav ul { gap: 4px; }
  .brand__logo { height: 44px; }
  .site-header__cta .btn--sm { padding: 9px 14px; font-size: .86rem; gap: 7px; }
}

/* ==========================================================================
   19. Rechtliche Seiten: impressum.html, datenschutz.html (2026-09-26)
   Gut lesbare Textspalte auf der Seitenfarbe, Tag- und Nachtmodus über die Tokens.
   ========================================================================== */
.legal { max-width: 820px; }
.legal-body { padding: 0 0 clamp(64px, 9vw, 120px); }
.page-legal .page-head h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.legal h2 { margin: 44px 0 12px; font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -0.02em; color: var(--on-carbon); }
.legal h2:first-child { margin-top: 8px; }
.legal p, .legal li, .legal dd { font-size: 1rem; line-height: 1.7; color: var(--on-carbon-muted); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 14px; padding-left: 1.3em; }
.legal li + li { margin-top: 4px; }
.legal strong { color: var(--on-carbon); }
.legal-body a { color: var(--oak-light); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-body a:hover { color: #fff; }
.legal__lead { font-size: 1.1rem !important; color: var(--on-carbon) !important; }
.legal__card { margin-top: 12px; padding: 22px 26px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--carbon-line); }
.legal__card p { color: var(--on-carbon); }
.legal__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; margin: 22px 0 0; }
.legal__grid dt { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--oak-light); }
.legal__grid dd { margin: 4px 0 0; color: var(--on-carbon); }
.legal__grid small { color: var(--on-carbon-muted); }
.legal__todo { padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--oak); color: var(--oak-light) !important; font-size: .92rem !important; }
.legal__stand { margin-top: 44px !important; font-size: .88rem !important; }
@media (max-width: 639px) { .legal__grid { grid-template-columns: 1fr; } .legal__card { padding: 18px 20px; } }
:root[data-theme="light"] .legal-body a, :root[data-theme="light"] .legal__grid dt, :root[data-theme="light"] .legal__todo { color: var(--oak-text) !important; }
:root[data-theme="light"] .legal-body a:hover { color: var(--on-carbon); }
:root[data-theme="light"] .legal__card { background: rgba(15, 25, 40, .03); }

/* Fehlerseite 404.html (2026-10-02): Knopfzeile; Umriss-Knopf passt sich Tag/Nacht an */
.error-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn--line { background: transparent; color: var(--on-carbon); border-color: var(--oak); }
.btn--line:hover, .btn--line:focus-visible { background: rgba(74, 155, 224, .12); }

/* ==========================================================================
   20. Häufige Fragen (2026-10-15): zwei Spalten mit aufklappbaren Karten (<details>), auf dem Handy eine Spalte
   ========================================================================== */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq__col { display: grid; gap: 14px; }
.faq__item { background: #fff; color: var(--text); border: 1px solid transparent; border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, .3); transition: border-color .25s; }
.faq__item[open], .faq__item:hover { border-color: rgba(74, 155, 224, .55); }
.faq__item summary { position: relative; display: block; list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.04rem; line-height: 1.35; color: var(--anthracite); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: rgba(74, 155, 224, .12) no-repeat center / 12px 12px;
  background-image: linear-gradient(var(--oak-text), var(--oak-text)), linear-gradient(var(--oak-text), var(--oak-text)); background-size: 12px 2px, 2px 12px; transition: transform .3s var(--ease), background-color .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: rgba(74, 155, 224, .22); }
.faq__item summary:focus-visible { outline: 3px solid var(--oak); outline-offset: 2px; border-radius: 16px; }
.faq__body { padding: 0 22px 20px; color: var(--muted); font-size: .97rem; line-height: 1.6; }
.faq__body a { color: var(--oak-text); font-weight: 600; }
:root[data-theme="light"] .faq__item { box-shadow: 0 12px 32px rgba(15, 25, 40, .12); border-color: var(--line); }
@media (max-width: 899px) { .faq { grid-template-columns: 1fr; } }
