/* Rock&pixel. – gemeinsames Stylesheet für alle Seiten */

@font-face { font-family: 'Sora'; src: url('/fonts/sora-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('/fonts/sora-latin-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('/fonts/sora-latin-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --ink: #0B0A10;
  --muted: #55535F;
  --surface: #F3F2F6;
  --neon: #B026FF;
  --neon-text: #8A16D6;
  --lav: #E2B8FF;
  --dark: #0B0A10;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B9B6C4;

  --m: clamp(16px, 2.6vw, 40px);
  --section: clamp(120px, 13vw, 200px);

  /* die fünf Schriftgrößen der Seite */
  --t-display: clamp(52px, 8.4vw, 136px);
  --t-h2: clamp(36px, 4.6vw, 72px);
  --t-statement: clamp(22px, 2.25vw, 32px);
  --t-body: 18px;
  --t-small: 15px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Sora', system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }
::selection { background: var(--neon); color: #fff; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: var(--m); top: -60px; z-index: 50; background: var(--neon); color: #fff; padding: 12px 18px; font-weight: 600; text-decoration: none; }
.sprung:focus { top: 12px; }

/* ---------- Knöpfe und Links ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  background: var(--neon); color: #fff;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms;
}
.knopf::after { content: ''; width: 8px; height: 8px; background: currentColor; transition: transform 200ms var(--ease-out); }
.knopf:hover { background: #9A12E8; }
.knopf:hover::after { transform: translateX(4px); }
.knopf:active { transform: scale(0.97); }
.knopf--hell { background: #fff; color: var(--ink); }
.knopf--hell:hover { background: var(--lav); }
.knopf--dunkel { background: var(--ink); color: #fff; }
.knopf--dunkel:hover { background: #2A2833; }
.textlink {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: color 160ms, text-underline-offset 200ms var(--ease-out);
}
.textlink:hover { color: var(--neon-text); text-underline-offset: 9px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--m);
}
.kopf__logo { display: block; width: 168px; }
.kopf__logo img { width: 100%; height: auto; }
.kopf__nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.kopf__nav a:not(.knopf) {
  font-size: var(--t-small); font-weight: 600; text-decoration: none;
  padding: 12px 0; position: relative;
}
.kopf__nav a:not(.knopf)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--neon);
  transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-out);
}
.kopf__nav a:not(.knopf):hover::after, .kopf__nav a[aria-current="page"]::after { transform: scaleX(1); }
.kopf__nav .knopf { min-height: 44px; padding: 0 18px; font-size: var(--t-small); }
.kopf--dunkel { color: var(--on-dark); }
.kopf--hell { position: relative; background: var(--bg); }
.menue-knopf { display: none; }

@media (max-width: 960px) {
  .kopf__logo { width: 140px; }
  .menue-knopf {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px;
    background: none; border: 0; font-size: var(--t-small); font-weight: 600; cursor: pointer;
  }
  .menue-knopf::before { content: ''; width: 10px; height: 10px; background: var(--neon); }
  .kopf__nav {
    position: fixed; inset: 0; z-index: 30; background: var(--bg); color: var(--ink);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: 90px var(--m) 40px;
    transform: translateY(-100%); transition: transform 380ms var(--ease-in-out); visibility: hidden;
  }
  .kopf__nav.offen { transform: none; visibility: visible; }
  .kopf__nav a:not(.knopf) { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; padding: 6px 0; }
  .kopf__nav .knopf { margin-top: 20px; min-height: 52px; font-size: 16px; }
  .menue-zu { position: absolute; top: 18px; right: var(--m); }
}

/* ---------- Startseite: Kopfbereich mit 3D-Logo ---------- */
.hero {
  position: relative; min-height: 100svh;
  background: var(--bg); color: var(--ink);
  display: grid; grid-template-rows: 1fr auto;
  padding: 88px var(--m) clamp(28px, 4vw, 56px);
  overflow: hidden;
}
.hero__buehne {
  position: relative; margin: 0 calc(var(--m) * -1);
  min-height: 46svh; cursor: grab; touch-action: pan-y;
}
.hero__buehne.zieht { cursor: grabbing; }
.hero__buehne canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__buehne .hero__funken { z-index: 2; pointer-events: none; }
.hero__ersatz {
  position: absolute; inset: 0; margin: auto; width: min(74%, 980px); height: auto;
  filter: drop-shadow(0 0 30px rgba(176, 38, 255, 0.35)); /* taste-skill-ignore: Neon-Leuchten ist Kundenwunsch, nur Ersatzbild ohne WebGL */
}
.hero__buehne.ist-3d .hero__ersatz { display: none; }
.hero__hinweis {
  position: absolute; right: var(--m); bottom: 8px; font-size: 13px; color: var(--muted);
}
.hero__unten {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: end;
}
.hero h1 { grid-column: 1 / span 8; font-size: var(--t-display); }
.zusammen { white-space: nowrap; }
.hero__text { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 24px; padding-bottom: 10px; }
.hero__text p { font-size: var(--t-body); line-height: 1.55; max-width: 38ch; }
.hero__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }

/* Der Pixel-Punkt als Fenster: darin läuft eine echte Webseite */
.punkt {
  display: inline-block; position: relative; overflow: hidden;
  width: 0.62em; height: 0.62em; margin-left: 0.06em;
  vertical-align: baseline; background: var(--neon);
}
.punkt img {
  position: absolute; left: 0; top: 0; width: 100%; height: auto;
  animation: punkt-scroll 26s linear infinite alternate;
}
@keyframes punkt-scroll { to { transform: translateY(calc(-100% + 0.62em)); } }

@media (max-width: 960px) {
  .hero { padding-top: 80px; }
  .hero__buehne { min-height: 40svh; }
  .hero h1, .hero__text { grid-column: 1 / -1; }
  .hero__hinweis { display: none; }
}

/* ---------- Abschnitte allgemein ---------- */
.abschnitt { padding: var(--section) var(--m) 0; }
.raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.ueberschrift { font-size: var(--t-h2); }
.fliesstext { font-size: var(--t-body); line-height: 1.6; max-width: 36em; }
.fliesstext + .fliesstext { margin-top: 1em; }
.aussage { font-size: var(--t-statement); line-height: 1.3; letter-spacing: -0.02em; font-weight: 400; }
.klein { font-size: var(--t-small); color: var(--muted); }

/* ---------- Projekt MEK (großes Bild, kleine Spalte) ---------- */
.projekt { overflow: hidden; }
.projekt__bild { grid-column: 1 / span 7; position: relative; margin-left: calc(var(--m) * -1); }
.projekt__bild .shutter, .projekt__bild .bildrahmen { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dark); }
.projekt__bild .shutter img, .projekt__bild .bildrahmen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.handy {
  position: absolute; right: -6%; bottom: -12%; width: clamp(130px, 15vw, 220px);
  aspect-ratio: 390 / 844; padding: 8px; background: var(--dark); border-radius: 30px; overflow: hidden;
}
.handy__fenster { width: 100%; height: 100%; border-radius: 22px; overflow: hidden; background: #111; }
.handy__fenster img { width: 100%; height: auto; animation: handy-scroll 34s linear infinite alternate; }
@keyframes handy-scroll { to { transform: translateY(calc(-100% + 100cqh)); } }
.handy__fenster { container-type: size; }
.projekt__text { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 22px; align-self: center; }
.werte { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.werte li { background: var(--surface); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; font-size: var(--t-small); font-weight: 600; }
.werte__zahl { font-size: var(--t-h2); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.projekt__links { display: flex; flex-wrap: wrap; gap: 6px 26px; }

@media (max-width: 960px) {
  .projekt__bild { grid-column: 1 / -1; margin: 0 calc(var(--m) * -1) 0; }
  .handy { right: var(--m); bottom: -18%; width: 120px; padding: 6px; border-radius: 22px; }
  .handy__fenster { border-radius: 16px; }
  .projekt__text { grid-column: 1 / -1; margin-top: 90px; }
}

/* ---------- Leistungen: Sätze mit Schaltern ---------- */
.leistungen__kopf { padding: 0 0 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.leistungen__kopf h2 { grid-column: 1 / span 7; }
.leistungen__kopf p { grid-column: 9 / span 4; }
.baender { margin: 0 calc(var(--m) * -1); }
.band {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  min-height: 20vh; padding: 28px var(--m);
  transition: background-color 360ms var(--ease-out), color 360ms;
}
.band:nth-child(even) { background: var(--surface); }
.band__bild { grid-column: 1 / span 2; grid-row: 1 / span 2; width: 100%; height: auto; max-width: 168px; aspect-ratio: 1; object-fit: cover; align-self: center; }
.band__satz { grid-column: 3 / span 8; font-size: var(--t-statement); line-height: 1.25; letter-spacing: -0.02em; color: var(--muted); transition: color 300ms; }
.band__folge {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-out);
  grid-column: 3 / span 8;
}
.band__folge > div { overflow: hidden; }
.band__folge p { font-size: var(--t-body); padding-top: 12px; max-width: 34em; }
.band__folge a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; font-size: 16px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.schalter {
  grid-column: 11 / span 2; grid-row: 1 / span 2; justify-self: end;
  position: relative; width: 2.3em; height: 1.2em; font-size: var(--t-statement);
  background: #CFCCD8; border: 0; border-radius: 1em; cursor: pointer; padding: 0;
  transition: background-color 300ms;
}
.schalter::after {
  content: ''; position: absolute; top: 0.14em; left: 0.14em; width: 0.92em; height: 0.92em;
  border-radius: 50%; background: #fff; transition: transform 300ms var(--ease-out);
}
.schalter:active::after { width: 1.05em; }
.schalter[aria-checked="true"]::after { transform: translateX(1.1em); }
.band.an .band__satz { color: inherit; }
.band.an .band__folge { grid-template-rows: 1fr; }
.band.an .schalter { background: var(--ink); }
.band--neon.an { background: var(--neon); color: #fff; }
.band--neon.an .band__folge a, .band--dunkel.an .band__folge a { color: #fff; }
.band--neon.an .schalter { background: var(--ink); }
.band--lav.an { background: var(--lav); color: var(--ink); }
.band--dunkel.an { background: var(--dark); color: #fff; }
.band--dunkel.an .schalter { background: var(--neon); }
.band--hell.an { background: var(--surface); color: var(--ink); }
.band--hell.an .schalter { background: var(--neon); }

@media (max-width: 760px) {
  .leistungen__kopf h2, .leistungen__kopf p { grid-column: 1 / -1; }
  .leistungen__kopf p { margin-top: 18px; }
  .band { min-height: 132px; }
  .band__bild { grid-column: 1 / span 3; max-width: 72px; align-self: start; }
  .band__satz, .band__folge { grid-column: 4 / span 6; }
  .band__satz { font-size: 21px; }
  .schalter { grid-column: 10 / span 3; font-size: 22px; min-width: 44px; }
  .band__folge p { font-size: 15px; }
}

/* ---------- Ablauf: durch die Bauabschnitte ziehen ---------- */
.ablauf { padding-top: var(--section); }
.ablauf__felder { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; }
.ablauf__links {
  background: var(--neon); color: #fff;
  padding: clamp(36px, 5vw, 72px) var(--m);
  display: flex; flex-direction: column; gap: 26px;
}
.ablauf__links h2 { font-size: var(--t-h2); max-width: 14ch; min-height: 2em; transition: opacity 200ms; }
.ablauf__links p { max-width: 44ch; font-size: var(--t-body); transition: opacity 200ms; }
.ablauf__links.wechselt h2, .ablauf__links.wechselt p { opacity: 0; }
.feld-name { display: flex; flex-direction: column; gap: 8px; margin-top: auto; max-width: 420px; }
.feld-name label { font-size: var(--t-small); font-weight: 600; }
.feld-name input {
  min-height: 54px; padding: 0 16px; background: #fff; color: var(--ink); border: 0; border-radius: 0; font-size: 18px; font-weight: 600;
}
.feld-name input:focus-visible { outline: 3px solid var(--ink); outline-offset: 0; }
.ablauf__anfrage { color: #fff; }
.ablauf__anfrage:hover { color: var(--ink); }
.ablauf__rechts {
  background: var(--surface); display: flex; align-items: center; justify-content: center;
  padding: clamp(36px, 5vw, 72px) var(--m); overflow: hidden;
}
.ablauf__regler {
  grid-column: 1 / -1; position: relative; padding: 28px var(--m) 0; color: var(--ink);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ablauf__regler input[type=range] { grid-column: 1 / -1; width: 100%; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.ablauf__regler input[type=range]::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(90deg, var(--ink) var(--fill, 0%), #DCD9E3 var(--fill, 0%)); } /* taste-skill-ignore: harte Kante als Füllstand des Reglers, kein Verlauf */
.ablauf__regler input[type=range]::-moz-range-track { height: 8px; background: #DCD9E3; }
.ablauf__regler input[type=range]::-moz-range-progress { height: 8px; background: var(--ink); }
.ablauf__regler input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--neon); border: 0; border-radius: 0; transition: transform 160ms var(--ease-out); }
.ablauf__regler input[type=range]::-moz-range-thumb { width: 32px; height: 32px; background: var(--neon); border: 0; border-radius: 0; }
.ablauf__regler input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.ablauf__regler input[type=range]:focus-visible { outline-color: var(--neon); }
.ablauf__stufen { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; padding: 0; margin-top: 8px; }
.ablauf__stufen li { font-size: 16px; font-weight: 600; color: var(--muted); transition: color 200ms; }
.ablauf__stufen li:nth-child(2) { text-align: center; padding-right: 12%; }
.ablauf__stufen li:nth-child(3) { text-align: center; padding-left: 12%; }
.ablauf__stufen li:last-child { text-align: right; }
.ablauf__stufen li.aktiv { color: var(--ink); }

/* Die Mini-Webseite, die in den Abschnitten entsteht */
.mini { width: min(460px, 100%); background: #fff; color: var(--ink); font-size: 13px; line-height: 1.4; }
.mini__leiste { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #E9E7EF; }
.mini__leiste i { width: 9px; height: 9px; border-radius: 50%; background: #C4C0CF; }
.mini__adresse { margin-left: 10px; flex: 1; background: #fff; padding: 3px 10px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.mini__live { display: none; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #0D6633; }
.mini__live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #1DB45A; }
.mini__seite { position: relative; min-height: 300px; }
.mini__stufe { position: absolute; inset: 0; padding: 18px; opacity: 0; transition: opacity 220ms; }
.mini[data-stufe="1"] .mini__stufe--1, .mini[data-stufe="2"] .mini__stufe--2, .mini[data-stufe="3"] .mini__stufe--3, .mini[data-stufe="4"] .mini__stufe--3 { opacity: 1; }
.mini[data-stufe="4"] .mini__live { display: inline-flex; }
.mini__notiz { background: #FFF6C7; padding: 16px 18px; height: 100%; font-size: 14px; }
.mini__notiz strong { display: block; font-size: 16px; margin-bottom: 8px; }
.mini__notiz ul { padding-left: 18px; display: grid; gap: 4px; }
.wf { display: grid; gap: 10px; }
.wf__kopf { display: flex; justify-content: space-between; align-items: center; color: #5F5C6B; font-weight: 600; }
.wf__kopf span { display: flex; gap: 8px; }
.wf__kopf span i { width: 34px; height: 8px; background: #E1DFE7; }
.wf__hero { height: 104px; background: #EDEBF2; display: grid; place-items: center; color: #5F5C6B; font-weight: 600; }
.wf__reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wf__reihe i { height: 64px; background: #EDEBF2; }
.wf__linie { height: 8px; background: #E1DFE7; width: 70%; }
.ds { display: grid; gap: 12px; }
.ds__kopf { display: flex; justify-content: space-between; align-items: center; }
.ds__name { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.ds__name::after { content: ''; display: inline-block; width: 6px; height: 6px; background: var(--neon); margin-left: 2px; }
.ds__nav { display: flex; gap: 10px; font-size: 11px; color: var(--muted); }
.ds__hero { background: var(--dark); color: #fff; padding: 20px; display: grid; gap: 10px; }
.ds__hero b { font-size: 21px; letter-spacing: -0.03em; line-height: 1.05; }
.ds__hero span { justify-self: start; background: var(--neon); color: #fff; font-size: 11px; font-weight: 600; padding: 6px 10px; }
.ds__reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ds__reihe div { background: var(--surface); padding: 10px; font-size: 11px; font-weight: 600; }
.ds__reihe div::before { content: ''; display: block; width: 10px; height: 10px; background: var(--neon); margin-bottom: 8px; }

@media (max-width: 860px) {
  .ablauf__felder { grid-template-columns: 1fr; }
  .ablauf__rechts { order: -1; min-height: 46svh; padding: 28px var(--m); }
  .ablauf__links { padding: 40px var(--m) 48px; }
  .ablauf__links h2 { font-size: 9vw; }
  .ablauf__regler { padding: 20px var(--m) 24px; }
  .ablauf__regler input[type=range]::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }
  .ablauf__stufen li { font-size: 13px; }
  .feld-name { margin-top: 12px; }
}

/* ---------- Über uns: Bild als Initial ---------- */
.ueber { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.ueber__fakten { grid-column: 1 / span 2; display: grid; align-content: start; gap: 18px; padding-top: 6px; }
.ueber__fakten div { font-size: var(--t-small); line-height: 1.4; }
.ueber__fakten b { display: block; font-weight: 600; }
.ueber__text { grid-column: 3 / span 10; }
.ueber__text h2 { margin-bottom: 40px; }
.ueber__text .aussage { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.28; }
.ueber__mehr { margin-top: 1.4em; clear: both; max-width: 36em; }
.initial { float: left; width: 3.85em; height: 3.85em; margin: 0.18em 0.55em 0.1em 0; overflow: hidden; background: var(--dark); }
.initial video, .initial img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .ueber__fakten { grid-column: 1 / -1; order: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; gap: 12px; }
  .ueber__fakten div { font-size: 13px; }
  .ueber__text { grid-column: 1 / -1; }
  .ueber__text .aussage { font-size: 22px; line-height: 1.3; }
  .initial { float: none; display: block; width: 132px; height: 132px; margin: 0 0 18px; }
}

/* ---------- Häufige Fragen ---------- */
.fragen h2 { font-size: var(--t-h2); max-width: 14ch; }
.fragen__liste { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; margin-top: 80px; }
.fragen__liste > div { grid-column: 5 / span 8; display: grid; gap: 14px; }
.fragen details { padding: 16px 24px; margin: 0 -24px; transition: background-color 240ms; }
.fragen details[open] { background: var(--surface); }
.fragen summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  font-size: 23px; letter-spacing: -0.02em; min-height: 44px;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: ''; flex: none; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 260ms var(--ease-out);
}
.fragen details[open] summary::after { transform: rotate(225deg); }
.fragen summary:hover { color: var(--neon-text); }
.fragen details p { font-size: var(--t-body); max-width: 34em; padding: 10px 0 8px; }
@media (max-width: 860px) {
  .fragen h2 { font-size: 10vw; }
  .fragen__liste { margin-top: 48px; }
  .fragen__liste > div { grid-column: 1 / -1; }
  .fragen details { margin: 0 calc(var(--m) * -1); padding: 14px var(--m); }
  .fragen summary { font-size: 19px; }
  .fragen details p { font-size: 16px; }
}

/* ---------- Fuß: Kontakt als Überschrift ---------- */
.fuss {
  margin-top: var(--section); min-height: 90svh; background: var(--neon); color: #fff;
  padding: 40px var(--m) 28px; display: flex; flex-direction: column;
}
.fuss__oben { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; font-size: var(--t-small); }
.fuss__logo { grid-column: 1 / span 3; width: 150px; }
.fuss__notiz { grid-column: 4 / span 4; line-height: 1.5; }
.fuss__hoch { grid-column: 11 / span 2; justify-self: end; color: #fff; }
.fuss__hoch:hover { color: var(--ink); }
.fuss__mitte { margin-top: auto; padding-top: 80px; display: flex; flex-direction: column; gap: 28px; }
.fuss__frage { font-size: var(--t-statement); letter-spacing: -0.02em; line-height: 1.25; max-width: 30ch; }
.fuss__mail {
  display: block; font-size: clamp(40px, 8.6vw, 148px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.95;
  text-decoration: none; overflow-wrap: anywhere;
  transition: color 200ms;
}
.fuss__mail:hover { color: var(--ink); }
.fuss__mail span { display: inline-block; }
.fuss__aktion { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.fuss__tel { color: #fff; }
.fuss__tel:hover { color: var(--ink); }
.fuss__unten { margin-top: 48px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px 24px; font-size: 14px; }
.fuss__unten nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fuss__unten a { display: inline-flex; min-height: 44px; align-items: center; color: #fff; }
.fuss__unten a:hover { color: var(--ink); }
.fuss__unten > p:nth-child(2) { align-self: center; }
.fuss__unten > p:last-child { justify-self: end; align-self: center; }
@media (max-width: 860px) {
  .fuss { min-height: 86svh; }
  .fuss__oben { row-gap: 14px; }
  .fuss__logo, .fuss__notiz { grid-column: 1 / span 9; }
  .fuss__hoch { grid-column: 10 / span 3; grid-row: 1; }
  .fuss__mail { font-size: 9.4vw; }
  .fuss__mail span { display: block; }
  .fuss__unten { grid-template-columns: 1fr; font-size: 13px; }
  .fuss__unten > p:last-child { justify-self: start; }
}

/* ---------- Unterseiten ---------- */
.seitenkopf { padding: clamp(40px, 6vw, 96px) var(--m) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: end; }
.seitenkopf__text { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.seitenkopf h1 { font-size: clamp(40px, 6vw, 96px); }
.seitenkopf__text > p { font-size: var(--t-statement); line-height: 1.3; letter-spacing: -0.02em; max-width: 26ch; }
.seitenkopf__bild { grid-column: 8 / span 5; margin-right: calc(var(--m) * -1); background: var(--dark); }
.seitenkopf__bild img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) {
  .seitenkopf__text, .seitenkopf__bild { grid-column: 1 / -1; }
  .seitenkopf__bild { margin: 0 calc(var(--m) * -1); }
  .seitenkopf__bild img { aspect-ratio: 4 / 3; }
  .seitenkopf__text > p { font-size: 21px; }
}

.liste-gross { grid-column: 6 / span 7; list-style: none; padding: 0; display: grid; }
.liste-gross li { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; padding: 26px 0; }
.liste-gross li + li { border-top: 0; }
.liste-gross li:nth-child(odd) { background: transparent; }
.liste-gross h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.03em; line-height: 1.1; }
.liste-gross p { font-size: 17px; }
.liste-gross li::before { content: none; }
.block-links { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 860px) {
  .block-links, .liste-gross { grid-column: 1 / -1; }
  .liste-gross { margin-top: 24px; }
  .liste-gross li { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
}

.feld-dunkel { background: var(--dark); color: var(--on-dark); margin: var(--section) 0 0; padding: var(--section) var(--m); }
.feld-dunkel .klein { color: var(--on-dark-muted); }
.feld-dunkel .textlink:hover { color: var(--lav); }
.feld-hell { background: var(--surface); margin: calc(var(--section) * 0.7) 0 0; padding: calc(var(--section) * 0.7) var(--m); }
.einblicke { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.einblicke img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.einblicke figcaption { font-size: var(--t-small); margin-top: 10px; }
@media (max-width: 760px) { .einblicke { grid-template-columns: 1fr; } }

.schritte { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.schritte li { display: flex; flex-direction: column; gap: 12px; padding-top: 22px; position: relative; }
.schritte li::before { content: ''; position: absolute; top: 0; left: 0; width: 14px; height: 14px; background: var(--neon); }
.schritte h3 { font-size: 24px; letter-spacing: -0.03em; line-height: 1.1; }
.schritte p { font-size: 16px; }
@media (max-width: 860px) { .schritte { grid-template-columns: 1fr 1fr; row-gap: 40px; } }
@media (max-width: 520px) { .schritte { grid-template-columns: 1fr; } }

/* Tabelle (Projektseite) */
.tabelle { width: 100%; border-collapse: collapse; font-size: 17px; }
.tabelle th, .tabelle td { text-align: left; padding: 16px 12px; border-bottom: 1px solid #DEDCE5; }
.tabelle th { font-weight: 600; }
.tabelle td:not(:first-child), .tabelle th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.tabelle td strong { color: var(--neon-text); }

/* Formular */
.formular { display: grid; gap: 22px; grid-column: 6 / span 7; }
.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.feld { display: flex; flex-direction: column; gap: 8px; }
.feld label, .feld legend { font-size: var(--t-small); font-weight: 600; }
.feld input, .feld textarea {
  min-height: 54px; padding: 14px 16px; background: var(--surface); border: 2px solid transparent; border-radius: 0; font-size: 17px;
  transition: border-color 160ms, background-color 160ms;
}
.feld textarea { min-height: 160px; resize: vertical; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 0; border-color: var(--neon); background: #fff; }
fieldset.feld { border: 0; padding: 0; margin: 0; }
.wahl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.wahl label { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; inset: 0; }
.wahl span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; background: var(--surface); font-weight: 600; font-size: 16px; transition: background-color 160ms, color 160ms; }
.wahl span::before { content: ''; width: 12px; height: 12px; background: #CFCCD8; transition: background-color 160ms; }
.wahl input:checked + span { background: var(--ink); color: #fff; }
.wahl input:checked + span::before { background: var(--neon); }
.wahl input:focus-visible + span { outline: 3px solid var(--neon); outline-offset: 2px; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; max-width: 40em; }
.wahl--bilder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wahl--bilder label { display: flex; flex-direction: column; background: var(--surface); transition: transform 200ms var(--ease-out); }
.wahl--bilder label:hover { transform: translateY(-3px); }
.wahl--bilder label:active { transform: scale(0.98); }
.wahl--bilder img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.wahl--bilder span { width: 100%; }
.wahl--bilder input:checked ~ img { outline: 3px solid var(--neon); outline-offset: -3px; }
@media (max-width: 560px) { .wahl--bilder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zustimmung input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--neon); flex: none; }
.honig { display: none; }
@media (max-width: 860px) { .formular { grid-column: 1 / -1; margin-top: 40px; } .formular__reihe { grid-template-columns: 1fr; } }

/* Rechtstexte */
.recht { max-width: 760px; }
.recht h1 { font-size: clamp(44px, 6vw, 88px); margin-bottom: 40px; }
.recht h2 { font-size: 26px; letter-spacing: -0.03em; margin: 44px 0 14px; line-height: 1.15; }
.recht h3 { font-size: 20px; letter-spacing: -0.02em; margin: 28px 0 10px; line-height: 1.2; }
.recht p, .recht li { font-size: 17px; line-height: 1.65; }
.recht p + p { margin-top: 0.8em; }
.recht ul { padding-left: 20px; margin: 10px 0; }
.recht a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.recht a:hover { color: var(--neon-text); }

/* ---------- Bewegung ---------- */
.js .auftritt > * { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); }
.js .auftritt.sichtbar > * { opacity: 1; transform: none; }
.js .auftritt.sichtbar > *:nth-child(2) { transition-delay: 80ms; }
.js .auftritt.sichtbar > *:nth-child(3) { transition-delay: 160ms; }
.js .auftritt.sichtbar > *:nth-child(4) { transition-delay: 240ms; }
.js .auftritt.sichtbar > *:nth-child(5) { transition-delay: 320ms; }
.js .shutter { clip-path: inset(0 100% 0 0); transition: clip-path 1100ms var(--ease-in-out); }
.js .shutter img { transform: scale(1.12); transition: transform 1400ms var(--ease-out); }
.js .shutter.offen { clip-path: inset(0 0 0 0); }
.js .shutter.offen img { transform: none; }
.js .hero__unten > * { transform: translateY(30px); animation: hoch 900ms var(--ease-out) forwards; }
.js .hero__unten > *:nth-child(2) { animation-delay: 140ms; }
@keyframes hoch { to { transform: none; } }
.zoom-bild { overflow: hidden; }
.zoom-bild img { transition: transform 900ms var(--ease-out); }
.zoom-bild:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .js .auftritt > *, .js .hero__unten > * { opacity: 1; transform: none; }
  .js .shutter { clip-path: none; }
  .js .shutter img { transform: none; }
  .punkt img, .handy__fenster img { animation: none; }
}

/* ---------- Bausteine der Unterseiten ---------- */
.logo-beweis { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.logo-beweis__gross { grid-column: 1 / -1; }
.logo-beweis img { width: 100%; height: auto; }
.tabelle-rahmen { grid-column: 6 / span 7; align-self: start; }
.seitenkopf__bild--breit { grid-column: 7 / span 6; }
.seitenkopf__bild--breit img { aspect-ratio: 16 / 10; object-position: top; }
.projekt-handy__geraete { grid-column: 6 / span 7; display: flex; gap: clamp(20px, 4vw, 64px); justify-content: center; }
.handy--frei { position: relative; right: auto; bottom: auto; width: clamp(160px, 19vw, 270px); background: #2A2833; }
.handy__fenster--steht img { animation: none; }
.kontakt__titel { font-size: clamp(48px, 6.6vw, 112px); }
.kontakt .block-links { grid-column: 1 / span 5; }
.kontakt__ablauf { list-style: none; padding: 0; display: grid; gap: 12px; }
.kontakt__ablauf li { display: flex; gap: 14px; align-items: baseline; font-size: var(--t-body); }
.kontakt .aussage { max-width: 22em; }
.kontakt__ablauf li::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--neon); transform: translateY(-1px); }
.punkt-klein { display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.04em; background: var(--neon); }
@media (max-width: 860px) {
  .logo-beweis, .tabelle-rahmen, .projekt-handy__geraete, .seitenkopf__bild--breit, .kontakt .block-links { grid-column: 1 / -1; }
  .logo-beweis, .tabelle-rahmen, .projekt-handy__geraete { margin-top: 36px; }
  .handy--frei { width: 42vw; }
}

/* Weitere Leistungen (interne Verlinkung auf den Leistungsseiten) */
.weitere { list-style: none; padding: 0; margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.weitere a { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; padding: 14px; background: var(--surface); text-decoration: none; transition: background-color 200ms, transform 200ms var(--ease-out); }
.weitere a:hover { background: var(--lav); transform: translateY(-3px); }
.weitere a:active { transform: scale(0.98); }
.weitere img { width: 96px; height: 96px; object-fit: cover; }
.weitere span { display: flex; flex-direction: column; gap: 4px; font-size: var(--t-small); }
.weitere b { font-size: 21px; letter-spacing: -0.02em; }
@media (max-width: 860px) { .weitere { grid-template-columns: 1fr; } }
