/* ============================================================
   FEMOtech · Haupt-Stylesheet
   Struktur: Base → Layout → Komponenten (Playbook-Patterns) → Utilities
   Mobile-first. Pattern-Namen folgen .claude/section-playbook.md
   ============================================================ */

/* ---------- Fonts (lokal, Anhang A) ---------- */
@font-face {
  font-family: "Saira";
  src: url("../fonts/saira-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Saira";
  src: url("../fonts/saira-var-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ---------- Outline-Akzentwort (gross, Konturschrift statt Handschrift) ---------- */
.outline-word {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(2.8rem, 7.5vw, 6.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .015em;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--c-red);
  margin-top: .25em;
  user-select: none;
}
/* Über Bildern/Video: dickere Kontur + mehrschichtiger dunkler Schein zur Trennung */
.outline-word--glow {
  -webkit-text-stroke: 3px var(--c-red);
  filter: drop-shadow(0 0 2px rgba(0,0,0,.9)) drop-shadow(0 4px 20px rgba(0,0,0,.8));
}
@supports not (-webkit-text-stroke: 2px red) {
  .outline-word { color: var(--c-red); }
}

/* ---------- Icon-System (partials/icons.php) ---------- */
.ico {
  width: 1em; height: 1em;
  flex: none;
  display: inline-block;
  vertical-align: -0.12em;
}
.ico--lg { width: 28px; height: 28px; }
.ico--xl { width: 40px; height: 40px; }
.ico--red { color: var(--c-red); }
.ico-chip {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border: var(--hairline); border-radius: var(--r-1);
  color: var(--c-red); background: var(--surface-2);
}
.sect--ink .ico-chip, .on-dark .ico-chip { background: var(--c-ink-soft); border-color: rgba(255,255,255,.16); color: var(--c-red); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1.1em; max-width: 72ch; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
a { color: inherit; text-decoration-color: var(--c-red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--c-red); }
img, video, svg { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
:focus-visible { outline: 3px solid rgba(195,21,40,.55); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--c-red); color: #fff; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-ink); color: #fff; padding: .8em 1.2em; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Typo-Werkzeuge */
.t-display { font-size: var(--fs-display); font-weight: 800; font-stretch: 118%; line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.t-huge { font-size: var(--fs-huge-num); font-weight: 800; font-stretch: 122%; line-height: .9; font-variant-numeric: tabular-nums; }
.t-outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.t-label {
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-label);
  letter-spacing: .09em; text-transform: uppercase; color: var(--text-soft);
}
.on-dark .t-label, .t-label.on-dark { color: rgba(255,255,255,.6); }
.t-label--red { color: var(--c-red); }
.t-lead { font-size: calc(var(--fs-body) * 1.16); line-height: 1.55; }
.t-mono { font-family: var(--font-mono); }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap-max)); margin-inline: auto; }
.wrap--wide { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); }
.sect { padding-block: var(--sect-y); position: relative; }
.sect--tight { padding-block: calc(var(--sect-y) * .55); }
.sect--ink { background: var(--c-ink); color: var(--c-paper); border-block: var(--hairline); }
.sect--ink p { color: rgba(246,245,242,.85); }
.sect--red { background: var(--c-red); color: #fff; }
.sect--red p { color: rgba(255,255,255,.92); }
.sect--white { background: var(--surface); }
.sect--steel { background: var(--surface-2); }

/* Haarlinien-Raster (Bemaßungs-Anmutung) */
.grid-lines { position: relative; }
.grid-lines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.sect--ink.grid-lines::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
}

/* Maß-Linie als Deko-Element */
.dim-line {
  display: flex; align-items: center; gap: .8em;
  font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-soft);
  letter-spacing: .06em;
}
.dim-line::before, .dim-line::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.dim-line::before { max-width: 48px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 100;
  background: transparent;
}
/* Erste Sektion läuft hinter die Overlay-Navi; ihr Inhalt startet darunter */
main > :first-child { padding-top: var(--header-h); }
main > .hero--bleed:first-child .hero__content { padding-top: calc(var(--header-h) + var(--sp-6)); }
.site-header__bar {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: var(--header-h);
}
.site-header__logo img { width: clamp(150px, 16vw, 196px); height: auto; }
.site-nav { display: none; }
.site-header__cta { margin-left: auto; display: flex; align-items: center; gap: var(--sp-4); }
.site-header__tel { display: none; font-family: var(--font-mono); font-size: var(--fs-small); text-decoration: none; white-space: nowrap; }
.site-header__tel:hover { color: var(--c-red); }
.lang-switch { display: flex; gap: .35em; font-family: var(--font-mono); font-size: var(--fs-label); }
.lang-switch a, .lang-switch span { text-decoration: none; padding: .2em .1em; }
.lang-switch [aria-current] { font-weight: 700; border-bottom: 2px solid var(--c-red); }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: var(--hairline); border-radius: var(--r-1); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-1); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Panel */
.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
  background: var(--bg); overflow-y: auto; padding: var(--sp-6) var(--gutter) var(--sp-9);
}
.nav-open .site-nav { display: block; }
.site-nav ul { list-style: none; padding: 0; margin: 0; }
.site-nav a { text-decoration: none; }
.site-nav > ul > li { border-bottom: var(--hairline); }
.site-nav > ul > li > a, .site-nav > ul > li > button {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  font-size: 1.35rem; font-weight: 700; padding: .8em 0; background: none; border: 0; cursor: pointer; font-family: inherit; color: inherit; text-align: left;
}
.site-nav .sub { padding: 0 0 var(--sp-4); display: none; }
.site-nav li.open .sub { display: block; }
.site-nav .sub a { display: block; padding: .45em 0 .45em var(--sp-4); color: var(--text-soft); font-size: 1.05rem; }
.site-nav .sub a:hover { color: var(--c-red); }
.site-nav .caret { transition: transform var(--dur-2); }
.site-nav li.open .caret { transform: rotate(180deg); }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-header__tel { display: inline-block; }
  .site-nav {
    display: block; position: static; inset: auto; background: none; overflow: visible; padding: 0;
  }
  .site-nav > ul { display: flex; gap: clamp(.6rem, 1.6vw, 1.6rem); align-items: center; }
  .site-nav > ul > li { border: 0; position: relative; }
  .site-nav > ul > li > a, .site-nav > ul > li > button {
    font-size: var(--fs-small); font-weight: 600; padding: .6em .2em; gap: .35em; width: auto;
  }
  .site-nav > ul > li > a[aria-current="page"] { color: var(--c-red); }
  .site-nav .sub {
    display: block; position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
    min-width: 300px; background: var(--surface); border: var(--hairline); border-radius: var(--r-1);
    box-shadow: var(--shadow-2); padding: var(--sp-3);
    opacity: 0; visibility: hidden; transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  }
  .site-nav li:hover > .sub, .site-nav li:focus-within > .sub {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
  }
  .site-nav .sub a { padding: .55em .7em; border-radius: var(--r-1); }
  .site-nav .sub a:hover { background: var(--surface-2); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.5em;
  font: 600 var(--fs-small)/1.2 var(--font-sans);
  border-radius: var(--r-1); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background var(--dur-1), color var(--dur-1), border-color var(--dur-1);
}
.btn--primary { background: var(--c-red); color: #fff; }
.btn--primary:hover { background: var(--c-red-deep); color: #fff; }
.btn--outline { border-color: var(--text); color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--c-paper); color: var(--c-ink); }
.on-dark .btn--outline, .btn--outline.on-dark { border-color: var(--c-paper); color: var(--c-paper); }
.on-dark .btn--outline:hover { background: var(--c-paper); color: var(--c-ink); }
.btn--ghost { padding-inline: .4em; font-weight: 600; color: inherit; }
.btn--ghost::after { content: "→"; transition: transform var(--dur-1); }
.btn--ghost:hover::after { transform: translateX(4px); }
.btn--ghost:hover { color: var(--c-red); }

/* ---------- A1/A2: Heros ---------- */
.hero { position: relative; overflow: clip; }
.hero--bleed { min-height: min(78svh, 720px); display: grid; align-items: end; background: var(--c-ink); color: var(--c-paper); }
.hero--bleed .hero__media, .hero--bleed .hero__media video, .hero--bleed .hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero--bleed .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(21,21,20,.55), transparent 170px), var(--scrim); }
.hero__content { position: relative; z-index: 2; padding-block: var(--sp-8) var(--sp-9); }
/* Individuelle Verstärkung (FTTH): belebtes Bildmotiv braucht kräftigeren Text-Schutz links */
.hero--scrim-strong .hero__media::after {
  background:
    linear-gradient(to right, rgba(21,21,20,.94) 0%, rgba(21,21,20,.78) 42%, rgba(21,21,20,.3) 72%, rgba(21,21,20,.15) 100%),
    linear-gradient(to bottom, rgba(21,21,20,.5), transparent 170px);
}
.hero__kicker { margin-bottom: var(--sp-4); }
.hero__claim { font-family: var(--font-mono); font-size: clamp(.95rem, 1.6vw, 1.2rem); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-top: var(--sp-5); }

.hero--split { background: var(--surface); border-bottom: var(--hairline); }
.hero--split .hero__grid { display: grid; gap: var(--sp-6); padding-block: var(--sp-8) 0; }
.hero--split .hero__text { padding-bottom: var(--sp-7); }
.hero--split .hero__visual { position: relative; }
.hero--split .hero__visual img { margin-inline: auto; filter: drop-shadow(0 24px 48px rgba(0,0,0,.55)); }
@media (min-width: 900px) {
  .hero--split .hero__grid { grid-template-columns: 7fr 5fr; align-items: center; }
  .hero--split .hero__visual img { transform: translateY(14%); max-width: 560px; }
  .hero--split { margin-bottom: clamp(2rem, 6vw, 5rem); border-bottom: 0; }
}

/* ---------- A3: Bildband ---------- */
.band { position: relative; min-height: 52vh; display: grid; align-items: end; overflow: clip; }
.band__bg { position: absolute; inset: -8% 0; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,24,.72), rgba(26,26,24,.08) 55%); }
.band__caption { position: relative; z-index: 2; color: var(--c-paper); padding-block: var(--sp-6); }

/* ---------- A4: Video-Sektion ---------- */
.video-frame { border: var(--hairline); background: var(--surface); border-radius: var(--r-2); overflow: clip; }
.video-frame figcaption {
  display: flex; justify-content: space-between; gap: var(--sp-4); align-items: baseline;
  padding: var(--sp-4) var(--sp-5); border-top: var(--hairline);
}

/* ---------- B8: Zahlenband ---------- */
.stats { display: grid; gap: var(--sp-7); }
.stat { border-left: 2px solid var(--c-red); padding-left: var(--sp-5); min-width: 0; }
.stats--4 .t-huge { font-size: clamp(2.8rem, 5.2vw, 5.6rem); }
.stats--3 .t-huge { font-size: clamp(2.6rem, 5.5vw, 5rem); }
.stat__num.t-huge { overflow-wrap: anywhere; }
.stat__num { display: block; }
.stat__ctx { display: block; margin-top: var(--sp-2); max-width: 30ch; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } .stats--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- C6: Bento ---------- */
.bento { display: grid; gap: var(--sp-4); }
.bento a { text-decoration: none; }
.bento__tile {
  position: relative; display: grid; align-items: end; min-height: 240px;
  border-radius: var(--r-2); overflow: clip; background: var(--c-ink); color: var(--c-paper);
}
.bento__tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .68; transition: transform var(--dur-3) var(--ease-out), opacity var(--dur-2); }
.bento__tile:hover > img { transform: scale(1.04); opacity: .8; }
.bento__tile--contain > img { object-fit: contain; padding: 12%; opacity: 1; background: var(--c-white); }
.bento__tile--contain { background: var(--c-white); color: var(--c-ink); border: var(--hairline); }
.bento__tile--contain::after { display: none; }
.bento__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,24,.78), transparent 55%); }
.bento__label { position: relative; z-index: 2; padding: var(--sp-5); }
.bento__label h3 { margin: 0; }
.bento__label .t-label { display: block; margin-bottom: var(--sp-2); }
.bento__tile--contain .bento__label { background: var(--c-white); border-top: var(--hairline); }
@media (min-width: 860px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; }
  .bento__tile--a { grid-column: span 4; grid-row: span 2; }
  .bento__tile--b { grid-column: span 2; grid-row: span 2; }
  .bento__tile--c { grid-column: span 2; grid-row: span 2; }
  .bento__tile--d { grid-column: span 2; grid-row: span 2; }
  .bento__tile--e { grid-column: span 2; grid-row: span 2; }
}

/* ---------- C7: Marquee ---------- */
.marquee { overflow: clip; border-block: var(--hairline); padding-block: var(--sp-4); position: relative; }
.marquee__track { display: flex; gap: 3.5em; width: max-content; animation: marquee 36s linear infinite; font-family: var(--font-mono); font-size: 1.05rem; letter-spacing: .06em; white-space: nowrap; }
.marquee:hover .marquee__track, .marquee.paused .marquee__track { animation-play-state: paused; }
.marquee__item::after { content: "·"; margin-left: 3.5em; color: var(--c-red); }
.marquee__pause { position: absolute; right: var(--sp-3); top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: var(--hairline); background: var(--surface-2); color: var(--text); border-radius: 50%; cursor: pointer; font-size: .7rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; white-space: normal; }
  .marquee__pause { display: none; }
}

/* ---------- C8: Datenblatt-/Produktkarten ---------- */
.prodcard { background: var(--surface); border: var(--hairline); border-radius: var(--r-2); overflow: clip; position: relative; }
.prodcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--c-red); transition: width var(--dur-2) var(--ease-out); }
.prodcard:hover::before, .prodcard:focus-within::before { width: 3px; }
.prodcard__media { background: linear-gradient(160deg, var(--c-steel-150), var(--c-white) 70%); padding: var(--sp-6); display: grid; place-items: center; min-height: 220px; }
.prodcard__media img { max-height: 200px; width: auto; }
.prodcard__body { padding: var(--sp-5) var(--sp-5) var(--sp-6); }
.prodcard__body h3, .prodcard__body h4 { margin-bottom: .3em; }
.prodcard__variants { color: var(--text-soft); font-size: var(--fs-small); margin-bottom: var(--sp-4); }
.prodcard__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* PDF-Link */
.pdf-link {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .04em;
  text-decoration: none; border: var(--hairline); border-radius: var(--r-1);
  padding: .65em .9em; transition: border-color var(--dur-1), color var(--dur-1);
}
.pdf-link:hover { border-color: var(--c-red); color: var(--c-red); }
.pdf-link svg { flex: none; }

/* Spec-Details (Expand) */
.spec-details { border-top: var(--hairline); margin-top: var(--sp-4); }
.spec-details summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-4) 0; font-weight: 600; font-size: var(--fs-small);
}
.spec-details summary::-webkit-details-marker { display: none; }
.spec-details summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2em; color: var(--c-red); }
.spec-details[open] summary::after { content: "–"; }

/* ---------- D3: Spec-Tabellen ---------- */
.spec-table-wrap { overflow-x: auto; border: var(--hairline); border-radius: var(--r-1); background: var(--surface); }
table.spec { border-collapse: collapse; width: 100%; font-size: var(--fs-small); }
table.spec caption { text-align: left; padding: var(--sp-4) var(--sp-4) 0; font-weight: 700; }
table.spec th, table.spec td { padding: .7em .9em; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec thead th { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); border-bottom: 2px solid var(--line); position: sticky; top: 0; background: var(--surface); }
table.spec tbody tr:nth-child(even) { background: rgba(255,255,255,.035); }
table.spec td:first-child, table.spec th.rowhead { color: var(--text-soft); font-family: var(--font-mono); font-size: var(--fs-label); }
table.spec td { font-variant-numeric: tabular-nums; }
.sect--ink table.spec, .sect--ink .spec-table-wrap { background: var(--c-ink-soft); border-color: rgba(255,255,255,.16); color: var(--c-paper); }
.sect--ink table.spec thead th { background: var(--c-ink-soft); color: rgba(255,255,255,.6); }
.sect--ink table.spec th, .sect--ink table.spec td { border-color: rgba(255,255,255,.1); }
.sect--ink table.spec tbody tr:nth-child(even) { background: rgba(255,255,255,.04); }

/* ---------- C1: Tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: var(--sp-2); border-bottom: var(--hairline); margin-bottom: var(--sp-5); padding: 0; list-style: none; }
.tabs__tab {
  font: 600 var(--fs-small) var(--font-sans); padding: .7em 1.2em; background: none; border: 0; cursor: pointer;
  border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--text-soft);
}
.tabs__tab[aria-selected="true"] { color: var(--text); border-color: var(--c-red); }
.on-dark .tabs__tab[aria-selected="true"], .sect--ink .tabs__tab[aria-selected="true"] { color: var(--c-paper); }

/* ---------- C2: FAQ / Akkordeon ---------- */
.faq { border-top: var(--hairline); }
.faq details { border-bottom: var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--sp-4); align-items: baseline;
  padding: var(--sp-5) 0; font-weight: 700; font-size: calc(var(--fs-body) * 1.05);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--c-red); font-size: 1.3em; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .faq__a { padding: 0 0 var(--sp-5); max-width: 68ch; }

/* ---------- C3: Hotspots ---------- */
.hotspot { position: relative; }
.hotspot__pin {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center; background: transparent;
}
.hotspot__pin::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-red); border: 3px solid #fff; box-shadow: 0 0 0 1px rgba(26,26,24,.3);
  transition: transform var(--dur-1);
}
.hotspot__pin:hover::before, .hotspot__pin[aria-expanded="true"]::before { transform: scale(1.35); }
.hotspot__panel {
  position: absolute; z-index: 5; min-width: 220px; max-width: 300px;
  background: var(--c-ink); color: var(--c-paper); border-radius: var(--r-1); padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-small); box-shadow: var(--shadow-2);
}
.hotspot__panel h4 { margin-bottom: .2em; font-size: 1em; }
.hotspot__panel p { margin: 0; color: rgba(246,245,242,.8); }
.hotspot__list { margin-top: var(--sp-5); }
.js .hotspot__list { position: absolute; left: -9999px; }

/* ---------- C5: Galerie + Lightbox ---------- */
.gallery { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery__item--wide { grid-column: span 2; } }
.gallery__item { border-radius: var(--r-1); overflow: clip; position: relative; padding: 0; border: 0; cursor: zoom-in; background: var(--surface-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; transition: transform var(--dur-3) var(--ease-out); }
.gallery__item--wide img { aspect-ratio: 2 / 1; }
.gallery__item:hover img { transform: scale(1.045); }
.lightbox { border: 0; padding: 0; background: rgba(26,26,24,.94); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(26,26,24,.8); }
.lightbox figure { display: grid; place-items: center; height: 100%; padding: var(--sp-6); }
.lightbox img { max-height: 82vh; width: auto; max-width: 92vw; }
.lightbox figcaption { color: rgba(255,255,255,.75); font-family: var(--font-mono); font-size: var(--fs-label); margin-top: var(--sp-4); text-align: center; }
.lightbox__close, .lightbox__nav { position: fixed; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.lightbox__close { top: var(--sp-5); right: var(--sp-5); }
.lightbox__nav--prev { left: var(--sp-5); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: var(--sp-5); top: 50%; transform: translateY(-50%); }

/* ---------- C10: Scrollspy-Subnav ---------- */
.subnav { position: sticky; top: 0; z-index: 50; background: rgba(21,21,20,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: var(--hairline); }
.subnav ul { display: flex; gap: var(--sp-2); list-style: none; margin: 0; padding: var(--sp-2) 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-block; white-space: nowrap; text-decoration: none;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .04em;
  padding: .5em .9em; border: var(--hairline); border-radius: 99px; color: var(--text-soft);
}
.subnav a.active, .subnav a:hover { color: var(--c-red); border-color: var(--c-red); }

/* ---------- B5: Stack-Karten ---------- */
.stack { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) {
  .js .stack--scroll { gap: 0; }
  .js .stack--scroll .stack__card { position: sticky; top: 5rem; margin-bottom: var(--sp-7); }
}
.stack__card {
  background: var(--surface); border: var(--hairline); border-radius: var(--r-2);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.stack__card--ink { background: var(--c-ink); color: var(--c-paper); border-left: 3px solid var(--c-red); }
.stack__card--ink p { color: rgba(246,245,242,.82); }

/* ---------- B6: Sticky-Split ---------- */
.sticky-split { display: grid; gap: var(--sp-7); }
@media (min-width: 980px) {
  .sticky-split { grid-template-columns: 5fr 7fr; align-items: start; }
  .sticky-split__aside { position: sticky; top: 3rem; }
}

/* ---------- B1: Scrollytelling (FTTH-Netzebenen) ---------- */
.story { counter-reset: step; }
.story__stage { display: none; }
@media (min-width: 1024px) {
  .js .story { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .js .story__stage { display: block; position: sticky; top: 4rem; align-self: start; }
  .js .story__steps { display: flex; flex-direction: column; gap: 38vh; padding-block: 12vh; }
}
.story__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-7); }
.story__step { border-left: 2px solid var(--line); padding-left: var(--sp-5); transition: border-color var(--dur-2); }
.story__step.active { border-color: var(--c-red); }
.story__step figure { margin-top: var(--sp-4); }
@media (min-width: 1024px) { .js .story__step > figure { display: none; } }
.netz-svg .ne { opacity: .28; transition: opacity var(--dur-2); }
.netz-svg .ne.lit { opacity: 1; }

/* ---------- D1: Zertifikats-/Badge-Band ---------- */
.badges { display: grid; gap: var(--sp-5); }
@media (min-width: 760px) { .badges { grid-template-columns: repeat(2, 1fr); } }
.badge-card {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: center;
  border: var(--hairline); border-radius: var(--r-2); background: var(--surface); padding: var(--sp-5);
}
.badge-card img { max-width: 110px; }
.badge-card p { margin: .3em 0 0; font-size: var(--fs-small); color: var(--text-soft); }

/* ---------- D2: Ansprechpartner ---------- */
.people { display: grid; gap: var(--sp-4); }
@media (min-width: 700px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .people { grid-template-columns: repeat(3, 1fr); } }
.person { background: var(--surface); border: var(--hairline); border-radius: var(--r-2); padding: var(--sp-5); }
.person .t-label { display: block; margin-bottom: var(--sp-3); }
.person h3 { font-size: 1.2rem; margin-bottom: var(--sp-3); }
.person a { display: block; text-decoration: none; font-family: var(--font-mono); font-size: var(--fs-small); padding: .18em 0; }
.person a:hover { color: var(--c-red); }

/* ---------- D6: Kontakt-Flanke ---------- */
.contact-flank { background: var(--c-ink); color: var(--c-paper); border-top: var(--hairline); }
.contact-flank .inner { display: grid; gap: var(--sp-6); padding-block: var(--sect-y); }
@media (min-width: 900px) { .contact-flank .inner { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.contact-flank h2 { margin-bottom: .3em; }
.contact-flank .who { border-left: 2px solid var(--c-red); padding-left: var(--sp-5); }
.contact-flank .who strong { display: block; }
.contact-flank .who span { color: rgba(246,245,242,.65); font-size: var(--fs-small); }
.contact-flank .actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: var(--sp-5); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--sp-4); }
.form legend { font-weight: 700; font-size: var(--fs-h3); margin-bottom: var(--sp-3); padding: 0; }
.form label { font-weight: 600; font-size: var(--fs-small); display: block; margin-bottom: .35em; }
.form .hint { font-size: var(--fs-label); color: var(--text-soft); margin-top: .3em; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"],
.form select, .form textarea, .form input[type="file"] {
  width: 100%; min-height: 52px; padding: .8em 1em;
  font: 400 1rem/1.4 var(--font-sans); color: var(--text);
  background: var(--surface-2); border: 1.5px solid var(--line); border-radius: var(--r-1);
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-paper); outline: 3px solid rgba(195,21,40,.45); outline-offset: 1px; }
.form .field--error input, .form .field--error textarea { border-color: var(--c-red); }
.form .error-msg { color: var(--c-red); font-size: var(--fs-small); font-weight: 600; margin-top: .3em; }
.form .grid-2 { display: grid; gap: var(--sp-4); }
@media (min-width: 700px) { .form .grid-2 { grid-template-columns: 1fr 1fr; } }
.form .consent { display: flex; gap: .7em; align-items: flex-start; font-size: var(--fs-small); }
.form .consent input { width: 20px; height: 20px; margin-top: .2em; flex: none; }
.form .hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.mode-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
@media (min-width: 760px) { .mode-picker { grid-template-columns: repeat(3, 1fr); } }
.mode-picker label {
  display: grid; gap: .2em; padding: var(--sp-4); border: 1.5px solid var(--line); border-radius: var(--r-1);
  cursor: pointer; font-weight: 600; font-size: var(--fs-small); margin: 0; min-height: 64px; align-content: center;
}
.mode-picker input { position: absolute; opacity: 0; }
.mode-picker input:checked + span { color: var(--c-red); }
.mode-picker label:has(input:checked) { border-color: var(--c-red); background: rgba(195,21,40,.1); }
.mode-picker input:focus-visible ~ span { outline: 2px solid var(--c-red); outline-offset: 6px; }
.form-status { padding: var(--sp-4) var(--sp-5); border-radius: var(--r-1); font-weight: 600; }
.form-status--ok { background: #1C2B1C; color: #A9D8A9; border: 1px solid #335133; }
.form-status--err { background: #33181C; color: #F0A3AD; border: 1px solid #5A2830; }

/* ---------- Breadcrumbs (klein, reduziert, zentriert unter dem Hero) ---------- */
.breadcrumbs { padding-block: var(--sp-5) 0; }
.breadcrumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5em;
  margin: 0; padding: 0;
  font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(168,171,173,.7);
}
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .5em; opacity: .45; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-red); }
/* In Artikel-/Rechtsseiten (verschachtelt im Inhalt): linksbündig und ohne Doppel-Wrap-Versatz */
.wrap .breadcrumbs { padding-block: var(--sp-3) 0; margin-bottom: var(--sp-4); }
.wrap .breadcrumbs ol { justify-content: flex-start; }
.wrap .breadcrumbs .wrap { width: 100%; }

/* ---------- Intro (zentrierte Einleitung unterhalb des Heros) ---------- */
.intro { text-align: center; }
.intro .t-label, .intro .dim-line { justify-content: center; }
.intro .dim-line::before { max-width: none; }
.intro p, .intro .t-lead { margin-inline: auto; }
.quick-answer--center {
  max-width: 62ch; margin-inline: auto; text-align: center;
  border-left: 0; border-top: 3px solid var(--c-red);
  border-radius: 0 0 var(--r-1) var(--r-1);
}

/* ---------- Footer ---------- */
.site-footer { background: #111110; color: var(--c-paper); margin-top: 0; border-top: var(--hairline); }
.site-footer a { text-decoration: none; color: rgba(246,245,242,.82); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; gap: var(--sp-7); padding-block: var(--sp-9) var(--sp-7); }
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: var(--fs-label); font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(246,245,242,.5); margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5em; font-size: var(--fs-small); }
.site-footer address { font-style: normal; font-size: var(--fs-small); line-height: 1.8; }
.site-footer__brand img { width: 170px; margin-bottom: var(--sp-4); }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.14); padding-block: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); align-items: center; font-size: var(--fs-label); color: rgba(246,245,242,.55); }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }
.site-footer__iso { display: inline-flex; gap: .6em; align-items: center; font-family: var(--font-mono); }
.site-footer__iso::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-red); }

/* ---------- Reveal-Animationen (JS-Enhancement) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.js .revealed[data-reveal], .no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); } .mt-8 { margin-top: var(--sp-8); }
.mb-5 { margin-bottom: var(--sp-5); } .mb-6 { margin-bottom: var(--sp-6); } .mb-7 { margin-bottom: var(--sp-7); }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.overlap-up { margin-top: calc(var(--sect-y) * -.55); position: relative; z-index: 3; }
.updated-note { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-soft); }

/* Artikel-Layout (Wissen) */
.article-body h2 { margin-top: var(--sp-8); }
.article-body h3 { margin-top: var(--sp-6); }
.article-body { max-width: 76ch; }
.article-body .spec-table-wrap { margin-block: var(--sp-6); }
.quick-answer {
  border-left: 3px solid var(--c-red); background: var(--surface-2);
  padding: var(--sp-5) var(--sp-6); border-radius: 0 var(--r-1) var(--r-1) 0; margin-block: var(--sp-6);
  font-size: calc(var(--fs-body) * 1.06);
}
.sect--ink .quick-answer, .sect--white .quick-answer { background: var(--c-ink-soft); }

/* Print: schlicht */
@media print {
  .site-header, .site-footer, .contact-flank, .nav-toggle, .subnav { display: none; }
  body { background: #fff !important; color: #000 !important; }
}
