/* Noonmark Solar, Demo-Website von TEAM Gold LLC. Erste Fassung (Oktober 2026).
   US-Betrieb: Englisch steht im HTML, Deutsch kommt über ?lang=de aus de.js.

   Gestaltungsidee: Ein Tag in der Sonne, von Sonnenaufgang bis nach Sonnenuntergang.
   Jeder Abschnitt trägt eine Uhrzeit, die Seite läuft vom hellen Sand des Morgens bis
   in das Petrol der Nacht, wo die Batterie übernimmt. Petrol für Schrift und Linien,
   Koralle und Morgengold nur dort, wo Sonne oder Energie im Spiel ist. Sora für
   Überschriften und Text, DM Mono für alles, was gemessen wird.

   Bewegung: ruhig wie die Sonnenbahn. Bögen zeichnen sich einmal, Inhalte steigen
   einmal auf, die Sonne bewegt sich nur, wenn Sie den Regler bewegen. Kein Leuchten,
   keine Endlosschleifen; prefers-reduced-motion zeigt alles sofort. */

:root {
  --sand: #f6efe3;
  --sand-2: #eee3d0;
  --sand-3: #e3d4bb;
  --petrol: #0d3b3a;
  --petrol-2: #155250;
  --petrol-soft: #4f6f6c;
  --night: #0b2f2e;
  --coral: #f2785c;
  --coral-deep: #d95c40;
  --gold: #f2c46b;
  --ink-dim: #5a6f6c;
  --line: rgba(13, 59, 58, 0.16);
  --line-strong: rgba(13, 59, 58, 0.34);
  --sand-dim: rgba(246, 239, 227, 0.72);
  --sand-line: rgba(246, 239, 227, 0.2);

  --sans: "Sora", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --arc: cubic-bezier(0.45, 0, 0.15, 1);
  --rise: cubic-bezier(0.2, 0, 0, 1);

  --gutter: clamp(18px, 4vw, 56px);
  --max: 1240px;
  --hdr-h: 72px;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 200ms var(--rise) both vt-out; }
::view-transition-new(root) { animation: 360ms var(--rise) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
.hdr { view-transition-name: site-header; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sand); color: var(--petrol); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
b, strong { font-weight: 600; }
::selection { background: var(--gold); color: var(--petrol); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--petrol); color: var(--sand); padding: 10px 16px; }
.skip:focus { left: 8px; }
.mono { font-family: var(--mono); font-weight: 400; font-variant-numeric: tabular-nums; }

/* Schrift --------------------------------------------------------------- */
.t-xxl, .t-xl, .t-l, .t-m, .t-s { font-family: var(--sans); font-weight: 600; letter-spacing: -0.025em; }
.t-xxl { font-size: clamp(2.7rem, 6.6vw, 6rem); line-height: 1; }
.t-xl { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.04; }
.t-l { font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.08; }
.t-m { font-size: clamp(1.3rem, 1.9vw, 1.65rem); line-height: 1.2; letter-spacing: -0.015em; }
.t-s { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; }
.t-xxl em, .t-xl em, .t-l em { font-style: normal; font-weight: 300; }
.tag { display: inline-flex; align-items: center; gap: 12px; font-size: 0.86rem; font-weight: 500; color: var(--ink-dim); margin: 0 0 18px; letter-spacing: 0.01em; }
.tag .clock { font-family: var(--mono); font-weight: 500; color: var(--petrol); display: inline-flex; align-items: center; gap: 8px; }
.tag .clock::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.tag-night, .sec-night .tag { color: var(--sand-dim); }
.sec-night .tag .clock { color: var(--sand); }
.sec-night .tag .clock::before { background: var(--sand); box-shadow: inset -3px 0 0 var(--night); }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.18rem); color: var(--ink-dim); max-width: 50ch; }
.dim { color: var(--ink-dim); }
.small { font-size: 0.88rem; }
.fine { font-size: 0.82rem; color: var(--ink-dim); max-width: 72ch; margin-top: 22px; }
.lbl { display: block; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 10px; }

/* Knöpfe ---------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 24px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; background: var(--petrol); color: var(--sand); font-weight: 500; font-size: 0.98rem; transition: background-color 200ms linear, color 200ms linear; }
.btn:hover { background: var(--petrol-2); }
.btn .arr { transition: transform 300ms var(--arc); }
.btn:hover .arr { transform: translateX(5px); }
.btn-ghost { background: transparent; color: var(--petrol); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { background: var(--sand-2); }
.btn-sun { background: var(--gold); color: var(--petrol); }
.btn-sun:hover { background: #f5d38f; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.link { color: var(--petrol); font-weight: 500; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-underline-offset 200ms var(--arc); }
.link:hover { text-underline-offset: 8px; }

/* Kopfzeile ------------------------------------------------------------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); display: flex; align-items: center; background: rgba(246, 239, 227, 0.94); border-bottom: 1px solid var(--line); }
.hdr .wrap { width: 100%; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand .mark { width: 36px; height: 36px; color: var(--petrol); flex: none; }
.brand b { display: block; font-weight: 600; font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand small { display: block; font-size: 0.72rem; color: var(--ink-dim); margin-top: 2px; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-size: 0.92rem; font-weight: 400; color: var(--ink-dim); padding: 6px 0; position: relative; transition: color 150ms linear; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--coral); transform: scale(0); transition: transform 250ms var(--arc); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--petrol); }
.nav a[aria-current="page"]::after { transform: scale(1); }
.status { font-size: 0.82rem; color: var(--ink-dim); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.status .lamp { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.status.is-open .lamp { background: var(--coral); }
.status strong { color: var(--petrol); font-weight: 600; }
.lang { background: none; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 4px 11px; font-family: var(--mono); font-size: 0.8rem; cursor: pointer; }
.lang:hover { border-color: var(--petrol); }
.menu-btn { display: none; width: 44px; height: 44px; background: var(--sand-2); border: 0; border-radius: 50%; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--petrol); transition: transform 300ms var(--arc); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 45; background: var(--sand); padding: calc(var(--hdr-h) + 20px) var(--gutter) 28px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity 300ms linear, transform 400ms var(--arc), visibility 0s 400ms; }
.menu-open .sheet { opacity: 1; visibility: visible; transform: none; transition: opacity 300ms linear, transform 400ms var(--arc); }
.sheet nav { display: grid; }
.sheet nav a { font-size: clamp(1.7rem, 7.5vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; text-decoration: none; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sheet nav a[aria-current="page"] { color: var(--coral-deep); }
.sheet-foot { display: grid; gap: 4px; color: var(--ink-dim); font-size: 0.9rem; }
.menu-open { overflow: hidden; }
@media (max-width: 1180px) { .nav { display: none; } .menu-btn { display: block; } }
@media (max-width: 640px) { .hdr .status, .hdr .btn { display: none; } .brand small { display: none; } }

/* Einblendungen --------------------------------------------------------- */
.js [data-rv] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--rise), transform 1000ms var(--rise); transition-delay: var(--d, 0ms); }
.js [data-rv].is-in { opacity: 1; transform: none; }
.js .hero-in { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--rise), transform 1000ms var(--rise); transition-delay: var(--d, 0ms); }
.js .hero.is-up .hero-in { opacity: 1; transform: none; }
/* Linien zeichnen sich einmal. Klassenbasiert, nicht über [pathLength]: Chrome rechnet den
   Attribut-Selektor beim Klassenwechsel am Elternelement nicht neu. */
.draw { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .draw { stroke-dashoffset: 1; transition: stroke-dashoffset 1800ms var(--arc) 200ms; }
.js .is-in .draw, .js .is-in.draw { stroke-dashoffset: 0; }

/* Abschnitte ------------------------------------------------------------ */
.sec { padding: clamp(80px, 10vw, 140px) 0; }
.sec-2 { background: var(--sand-2); }
.sec-night { background: var(--night); color: var(--sand); }
.sec-night .lede, .sec-night .fine, .sec-night .lbl, .sec-night .dim { color: var(--sand-dim); }
.sec-cta { background: var(--sand-3); }
.head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 780px; }
.head .t-l + .lede { margin-top: 18px; }
.head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Hero ------------------------------------------------------------------ */
.hero { padding: calc(var(--hdr-h) + clamp(40px, 6vw, 84px)) 0 clamp(60px, 8vw, 100px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-status { margin: 28px 0 0; }
.hero-pic { margin: 0; position: relative; }
.hero-pic img { border-radius: 300px 300px 6px 6px; aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; }
.hero-pic figcaption { position: absolute; right: 14px; bottom: 12px; background: var(--sand); padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-pic { max-width: 480px; } .hero-pic img { aspect-ratio: 4 / 3.4; } }

/* Seitenkopf ------------------------------------------------------------ */
.phead { position: relative; padding: calc(var(--hdr-h) + clamp(50px, 8vw, 110px)) 0 clamp(70px, 9vw, 120px); }
.phead .t-xl { max-width: 18ch; margin-bottom: 24px; }
.crumbs { font-size: 0.84rem; color: var(--ink-dim); margin-bottom: 22px; }
.crumbs a { color: var(--ink-dim); }
.phead-arc { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; }
.phead-arc .draw { stroke-dasharray: 1; vector-effect: non-scaling-stroke; }

/* Sonnenbahn ------------------------------------------------------------ */
.sunpath { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.sp-art svg { display: block; width: 100%; height: auto; }
.sp-art .arc { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 3 7; }
.sp-art .sun circle { fill: var(--coral); }
.sp-art .sun { transition: transform 260ms var(--rise); }
.sp-art .roof-line, .sp-art .wall, .sp-art .door, .sp-art .ground { fill: none; stroke: var(--petrol); stroke-width: 2; stroke-linejoin: round; }
.sp-art .win { fill: var(--sand-2); stroke: var(--petrol); stroke-width: 2; transition: fill 300ms linear; }
.sp-art.dark .win { fill: var(--gold); }
.sp-art .panels path { fill: var(--petrol); stroke: var(--sand); stroke-width: 0.8; }
.sp-art .panels { transition: opacity 260ms linear; }
.sp-art .hr { font-family: var(--mono); font-size: 13px; fill: var(--ink-dim); text-anchor: middle; }
.sp-curve { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.sp-curve svg { display: block; width: 100%; height: 90px; }
.sp-curve .prod { fill: var(--gold); opacity: 0.7; }
.sp-curve .use { fill: none; stroke: var(--petrol); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sp-curve .cursor { stroke: var(--coral-deep); stroke-width: 2; vector-effect: non-scaling-stroke; }
.sp-time { display: block; margin-bottom: 26px; }
.big { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; display: block; margin-bottom: 14px; color: var(--petrol); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--line-strong); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line-strong); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--coral); border: 3px solid var(--sand); box-shadow: 0 0 0 1.5px var(--coral-deep); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--coral); border: 3px solid var(--sand); box-shadow: 0 0 0 1.5px var(--coral-deep); }
.meters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.meters > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.meters > div:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--line); }
.meters > div:nth-child(even) { padding-left: 16px; }
.meters dt { font-size: 0.8rem; color: var(--ink-dim); }
.meters dd { margin: 4px 0 0; font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.meters .m-sun dd { color: var(--coral-deep); }
.batbar { flex: 1; max-width: 70px; height: 12px; border: 1.5px solid var(--petrol); border-radius: 3px; padding: 1.5px; position: relative; }
.batbar::after { content: ""; position: absolute; right: -5px; top: 3px; width: 3px; height: 5px; background: var(--petrol); }
.batbar i { display: block; height: 100%; background: var(--gold); width: 0; transition: width 260ms var(--rise); }
.sp-note { margin: 16px 0 0; min-height: 3em; color: var(--petrol); }
@media (max-width: 960px) { .sunpath { grid-template-columns: minmax(0, 1fr); } }

/* Anlagen-Schätzer ------------------------------------------------------ */
.est { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.est .field { display: block; border: 0; padding: 0; margin: 0 0 30px; }
.range-row { display: flex; align-items: center; gap: 18px; }
.range-row .big { margin: 0; min-width: 4.2ch; text-align: right; }
.unit-row { display: inline-flex; align-items: center; gap: 8px; background: var(--sand); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 6px 14px; margin-bottom: 6px; }
.unit-row input { width: 5.5ch; border: 0; background: transparent; font-size: 1.25rem; padding: 4px 0; }
.unit-row input:focus { outline: none; }
.unit-row:focus-within { border-color: var(--petrol); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pill > span { display: inline-flex; gap: 8px; align-items: baseline; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-size: 0.92rem; transition: background-color 150ms linear, color 150ms linear, border-color 150ms linear; }
.pill input:checked + span { background: var(--petrol); color: var(--sand); border-color: var(--petrol); }
.pill input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.sec-night .pill > span { border-color: var(--sand-line); }
.sec-night .pill input:checked + span { background: var(--gold); color: var(--petrol); border-color: var(--gold); }
.est-out { background: var(--sand); border: 1.5px solid var(--petrol); border-radius: 16px; padding: clamp(22px, 3vw, 34px); }
.kw { margin: 0 0 16px; line-height: 1; }
.kw .mono { font-size: clamp(3rem, 6vw, 4.6rem); }
.kw .u, .hrs .u { font-size: 1.2rem; font-weight: 500; }
.est-dl { margin: 0 0 18px; display: grid; gap: 0; }
.est-dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line-strong); }
.est-dl dt { font-size: 0.9rem; color: var(--ink-dim); }
.est-dl dd { margin: 0; text-align: right; }
.panel-grid { display: grid; grid-template-columns: repeat(auto-fill, 16px); gap: 4px; margin: 6px 0 4px; min-height: 20px; }
.panel-grid i { width: 16px; height: 22px; background: var(--petrol); border-radius: 2px; box-shadow: inset 0 0 0 1px var(--petrol), inset 0 0 0 2px var(--gold); }
.js .panel-grid i.new { animation: pop 380ms var(--rise) both; animation-delay: var(--d, 0ms); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px); } }
.est-out .btn { margin-top: 10px; }
@media (max-width: 880px) { .est { grid-template-columns: minmax(0, 1fr); } }

/* Stromausfall ---------------------------------------------------------- */
.outage { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.outage .field { border: 0; padding: 0; margin: 0 0 28px; }
.outage .lbl { color: var(--sand-dim); }
.apps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.app { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 22px; gap: 10px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--sand-line); border-radius: 12px; cursor: pointer; transition: border-color 150ms linear, background-color 150ms linear; }
.app input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.app .nm { font-size: 0.92rem; }
.app .w { font-size: 0.8rem; color: var(--sand-dim); }
.app .tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--sand-line); position: relative; }
.app input:checked ~ .tick { background: var(--gold); border-color: var(--gold); }
.app input:checked ~ .tick::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid var(--night); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.app:has(input:checked) { border-color: rgba(242, 196, 107, 0.6); background: rgba(242, 196, 107, 0.06); }
.app:has(input:focus-visible) { outline: 2px solid var(--coral); outline-offset: 2px; }
.o-out { border: 1.5px solid var(--sand-line); border-radius: 16px; padding: clamp(22px, 3vw, 32px); }
.night-house { width: 100%; max-width: 300px; height: auto; display: block; margin-bottom: 18px; }
.night-house path { fill: none; stroke: var(--sand); stroke-width: 2; stroke-linejoin: round; }
.night-house .nh-win, .night-house .nh-door { fill: var(--night); stroke: var(--sand); stroke-width: 2; transition: fill 400ms linear; }
.night-house .nh-win.on { fill: var(--gold); }
.night-house .moon { fill: var(--sand); }
.hrs { margin: 0 0 14px; line-height: 1; }
.hrs .mono { font-size: clamp(3.2rem, 6vw, 4.8rem); color: var(--gold); }
.o-bar { height: 10px; border-radius: 10px; background: var(--sand-line); overflow: hidden; margin-bottom: 12px; }
.o-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width 600ms var(--arc); }
@media (max-width: 960px) { .outage { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .apps { grid-template-columns: minmax(0, 1fr); } }

/* Ablauf ---------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--petrol); }
.steps li { padding: 22px 18px 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: -6.5px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--sand); border: 1.5px solid var(--petrol); }
.steps li:first-child::before { background: var(--coral); border-color: var(--coral); }
.steps .no { display: block; font-size: 0.82rem; color: var(--ink-dim); margin-bottom: 10px; }
.steps h3 { margin-bottom: 10px; }
.steps p { font-size: 0.94rem; color: var(--ink-dim); }
@media (max-width: 960px) { .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 1.5px solid var(--petrol); } .steps li { padding: 0 0 26px 24px; } .steps li::before { top: 4px; left: -6.5px; } }

.timeline { list-style: none; margin: 0; padding: 0; }
.tl-step { display: grid; grid-template-columns: 4rem minmax(0, 1fr) 12rem; gap: 20px; padding: 30px 0; border-top: 1px solid var(--line-strong); align-items: baseline; }
.tl-step .no { color: var(--coral-deep); font-size: 1.1rem; }
.tl-step .t-m { margin-bottom: 10px; }
.tl-step .dur { font-size: 0.85rem; text-align: right; color: var(--ink-dim); }
@media (max-width: 760px) { .tl-step { grid-template-columns: 2.6rem minmax(0, 1fr); } .tl-step .dur { grid-column: 2; text-align: left; } }
.checks, .modes, .rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checks li, .rules li { padding: 22px 0; border-top: 1px solid var(--line-strong); }
.checks h3, .modes h3 { margin-bottom: 8px; }
.checks p, .modes p, .rules p { color: var(--ink-dim); }
.side-pic { margin: 30px 0 0; }
.side-pic img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split > .side-pic { margin: 0; }
.modes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.modes li { border-top: 1.5px solid var(--petrol); padding-top: 20px; }
.modes li:nth-child(2) { border-top-color: var(--coral); }
.modes .mono { display: block; color: var(--ink-dim); font-size: 0.82rem; margin-bottom: 10px; }
@media (max-width: 860px) { .modes { grid-template-columns: minmax(0, 1fr); } }
.rules { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.rules li { border-top: 1.5px solid var(--petrol); }
.rules .t-m { margin-bottom: 10px; }
@media (max-width: 860px) { .rules { grid-template-columns: minmax(0, 1fr); } }

/* Nacht-Bild ------------------------------------------------------------ */
.night-pic { margin: 0; }
.night-pic img { border-radius: 6px 6px 300px 300px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; filter: saturate(0.7) brightness(0.85); }

/* Projekte -------------------------------------------------------------- */
.projs { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); }
.proj { text-decoration: none; display: block; }
.proj img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 500ms var(--arc); }
.proj:first-child img { aspect-ratio: 4 / 3; }
.proj:hover img { transform: translateY(-4px); }
.proj-cap { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; }
.proj-cap b { font-weight: 600; }
.proj-cap .mono { font-size: 0.84rem; color: var(--ink-dim); }
@media (max-width: 860px) { .projs { grid-template-columns: minmax(0, 1fr); } }
.pcases { display: grid; gap: clamp(50px, 7vw, 90px); }
.pcase { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.pcase:nth-child(even) figure { order: 2; }
.pcase figure { margin: 0; }
.pcase img { border-radius: 14px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.pc-size { color: var(--coral-deep); font-size: 0.9rem; margin-bottom: 10px; }
.pcase .t-m { margin-bottom: 12px; }
@media (max-width: 860px) { .pcase { grid-template-columns: minmax(0, 1fr); } .pcase:nth-child(even) figure { order: 0; } }

/* Stimmen --------------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.quote { margin: 0; padding-top: 24px; border-top: 1.5px solid var(--petrol); }
.quote blockquote { margin: 0 0 16px; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.45; font-weight: 400; letter-spacing: -0.01em; }
.quote figcaption { font-size: 0.9rem; display: flex; gap: 10px; align-items: baseline; }
.quote figcaption .mono { color: var(--ink-dim); font-size: 0.82rem; }
.quotes-4 { row-gap: 48px; }
@media (max-width: 760px) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* CTA ------------------------------------------------------------------- */
.cta-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.cta-row .t-xl { max-width: 15ch; margin-bottom: 18px; }
.cta-side { display: grid; gap: 14px; justify-items: start; }
@media (max-width: 860px) { .cta-row { grid-template-columns: minmax(0, 1fr); } }

/* Preise ---------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; min-width: 560px; }
.ptable-2 { min-width: 0; max-width: 760px; }
.ptable th, .ptable td { text-align: left; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; font-weight: 400; }
.ptable thead th { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-dim); font-weight: 500; border-bottom: 1.5px solid var(--petrol); }
.ptable tbody th { font-weight: 600; }
.ptable td:last-child { color: var(--ink-dim); }
.ptable-2 td:last-child { color: var(--petrol); text-align: right; }

/* Team ------------------------------------------------------------------ */
.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); }
.member { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: start; }
.member .ini { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--petrol); font-size: 1.05rem; position: relative; }
.member .ini::after { content: ""; position: absolute; top: 2px; right: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.member .t-s { margin: 4px 0 4px; }
.role { font-size: 0.8rem; color: var(--coral-deep); margin-bottom: 10px; }
.member p:last-child { color: var(--ink-dim); font-size: 0.95rem; }

/* Über uns -------------------------------------------------------------- */
.years { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.years li { border-top: 1.5px solid var(--petrol); padding-top: 18px; }
.years b { display: block; font-size: 1.9rem; color: var(--coral-deep); line-height: 1; margin-bottom: 14px; }
.years .t-s { margin-bottom: 8px; }
.years p { color: var(--ink-dim); font-size: 0.95rem; }
@media (max-width: 900px) { .years { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .years { grid-template-columns: minmax(0, 1fr); } }

/* Formular -------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 22px; }
.full { grid-column: 1 / -1; }
.form .field { border: 0; padding: 0; margin: 0; }
.field label, .field .lbl { display: block; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 8px; }
.field input:not([type=radio]):not([type=checkbox]), .field textarea { width: 100%; background: var(--sand); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; transition: border-color 150ms linear; font-weight: 400; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--petrol); }
.field textarea { min-height: 100px; resize: vertical; }
.field .check { text-transform: none; letter-spacing: 0; font-size: 0.95rem; color: var(--petrol); font-weight: 400; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-dim); cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--petrol); flex: none; }
.carry { background: var(--gold); color: var(--petrol); padding: 10px 14px; border-radius: 10px; margin-bottom: 22px; }
.form-hint { color: var(--coral-deep); margin: 0; min-height: 1.4em; font-weight: 500; }
.sent { display: none; margin-top: 26px; }
.sent.on { display: grid; gap: 14px; justify-items: start; padding: 22px; background: var(--sand-2); border-radius: 14px; }
.sent p { margin: 0; max-width: 46ch; }
.sunrise { width: 200px; height: auto; }
.sunrise .sr-line { stroke: var(--petrol); stroke-width: 2; }
.sunrise .sr-arc { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 3 6; }
.sunrise .sr-sun { fill: var(--coral); }
.js .sent.on .sr-sun { animation: sunup 1600ms var(--arc) both; }
@keyframes sunup { from { transform: translateY(20px); } to { transform: translateY(-44px); } }
.sent.on .sr-sun { transform: translateY(-44px); }
.side .t-s { margin-bottom: 6px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }

/* Öffnungszeiten -------------------------------------------------------- */
.hours { border-collapse: collapse; width: 100%; max-width: 340px; font-size: 0.92rem; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; color: var(--ink-dim); font-family: var(--mono); font-size: 0.84rem; }
.hours tr.today td { font-weight: 600; }
.hours tr.today td:first-child::after { content: attr(data-today); margin-left: 8px; font-family: var(--mono); font-size: 0.68rem; background: var(--coral); color: var(--petrol); padding: 1px 7px; border-radius: 999px; font-weight: 500; }

/* Rechtliches ----------------------------------------------------------- */
.legal { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); }
.legal aside { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; display: grid; gap: 8px; }
.legal aside a { color: var(--ink-dim); text-decoration: none; font-weight: 500; }
.legal aside a:hover { color: var(--petrol); }
.legal section { margin-bottom: 56px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.legal .t-l { margin-bottom: 18px; }
.legal h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.legal p { color: var(--ink-dim); max-width: 64ch; }
@media (max-width: 860px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal aside { position: static; grid-auto-flow: column; justify-content: start; gap: 22px; } }

/* Fußzeile -------------------------------------------------------------- */
.foot { background: var(--night); color: var(--sand); padding: clamp(60px, 8vw, 100px) 0 28px; }
.foot .brand .mark { color: var(--sand); }
.foot .brand small { color: var(--sand-dim); display: block; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); }
.foot .brand { margin-bottom: 18px; }
.foot p { color: var(--sand-dim); font-size: 0.92rem; max-width: 36ch; }
.foot h4 { font-family: var(--mono); font-weight: 500; font-size: 0.78rem; color: var(--gold); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; color: var(--sand-dim); }
.foot ul a { text-decoration: none; }
.foot ul a:hover { color: var(--sand); }
.foot .hours td { border-color: var(--sand-line); }
.foot .hours td:last-child { color: var(--sand-dim); }
.foot .hours { margin-bottom: 10px; }
.foot .small.dim { color: var(--sand-dim); }
.foot-demo { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--sand-line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.8rem; color: var(--sand-dim); }
.foot-demo strong { color: var(--sand); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* Weniger Bewegung ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-rv], .js .hero-in { opacity: 1 !important; transform: none !important; }
  .js .draw { stroke-dashoffset: 0 !important; }
}

/* Nachträge nach Sichtprüfung ------------------------------------------- */
.nav a, .hdr .btn, .brand b { white-space: nowrap; }
.hdr .wrap { gap: 18px; }
.nav { gap: 18px; }
@media (max-width: 1440px) { .hdr .brand small { display: none; } }
.field .pill { text-transform: none; letter-spacing: 0; font-size: inherit; color: inherit; font-weight: 400; margin: 0; display: inline-block; }
.unit-row, .unit-row span { white-space: nowrap; }
.hours td:last-child { white-space: nowrap; padding-left: 10px; }
.hours td:first-child { white-space: nowrap; }
.t-xxl, .t-xl, .t-l { overflow-wrap: break-word; hyphens: auto; }
/* Die Formular-Feldregel gilt nicht für Regler, Einheitenfeld und Gerätekacheln */
.field input[type=range] { border: 0 !important; background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
.field .unit-row input { width: 5.5ch !important; border: 0 !important; background: transparent !important; padding: 4px 0 !important; }
.field .app { display: grid; text-transform: none; letter-spacing: 0; font-size: inherit; color: inherit; font-weight: 400; margin: 0; }
@media (min-width: 861px) { .pcase:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
