/* Runde 2 (Hallmark): Dachprofil als markante Dachform auf der Claim-Kante, Banner an allen Kanten weich ausgeblendet, Hero-Parallax entfernt, Kundenstimmen ausgeblendet bis echte Stimmen vorliegen. */
/* Runde 1 (design-taste): Palette rein neutral aus dem Logo abgeleitet (geprägtes Metall, kein Farbstich), Dachlinie als Leitmotiv, ein Abschnitt pro Bildschirm. Fonts: System, keine externen. */
/* critique: Leistungen als nummerierter Index mit zwei dunklen Leitzeilen statt acht Karten; FAQ und Kontakt nutzen die volle Rasterbreite; keine Eyebrows, keine Versalien-Labels, keine erfundenen Bewertungen (Sterne entfernt). */
:root {
  color-scheme: light;
  /* Farben aus dem Kundenlogo: rein neutrale Graustufen (Logo gemessen R=G=B), Metall über Verläufe und Kanten */
  --ink-950: #0d0d0d; /* Schwarz der Konturen: Hero, Footer, Eingabefelder */
  --ink-900: #1a1a1a; /* Tiefgraphit: dunkle Flächen */
  --ink-800: #242424; /* Text auf Hell, Hover auf Dunkel */
  --ink-700: #3a3a3a; /* Graphit: Linien auf Dunkel */
  --ink-500: #5c5c5c; /* Sekundärtext auf Hell (>= 5:1 auf Papier) */
  --silver-400: #8f8f8f; /* Mittelgrau: Sekundärtext auf Dunkel (>= 5:1) */
  --silver-300: #c0c0c0; /* Silber */
  --silver-100: #eeeeee; /* Platin */
  --paper: #e6e6e6;
  --white: #ffffff;
  --line: #c2c2c2;
  --line-soft: #d4d4d4;
  --edge: #767676; /* Kontur für Bedienelemente auf Dunkel, >= 3:1 */
  /* Metall: Verläufe und Kanten statt Farbe */
  --metal: linear-gradient(180deg, #f6f6f6 0%, #d8d8d8 52%, #bdbdbd 100%);
  --metal-hover: linear-gradient(180deg, #ffffff 0%, #e6e6e6 52%, #cdcdcd 100%);
  --metal-line: linear-gradient(90deg, transparent, rgba(255, 255, 255, .34) 50%, transparent);
  --bevel: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(0, 0, 0, .12);
  /* Zustände und Hinweise */
  --ok: #9fe0b0;
  --ok-bg: #bfe9c9;
  --err: #ffb4a8;
  --note-bg: #fff6d6;
  --note-line: #e8d48a;
  --mark-bg: #fff0a8;
  --mark-ink: #4a3b00;
  /* Transparenzen */
  --veil: rgba(13, 13, 13, .74);
  --veil-strong: rgba(13, 13, 13, .94);
  --veil-back: rgba(13, 13, 13, .76);
  --hair-light: rgba(255, 255, 255, .08);
  --glow-1: rgba(255, 255, 255, .07);
  --glow-2: rgba(255, 255, 255, .04);
  --focus-glow: rgba(255, 255, 255, .16);
  --shadow: 0 10px 40px rgba(0, 0, 0, .12);
  --shadow-lg: 0 40px 120px rgba(0, 0, 0, .55);
  /* Form und Schrift */
  --radius: 14px;
  --radius-sm: 8px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1240px;
  --gutter: 16px;
  --sec: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; -webkit-text-size-adjust: 100%; }
input::selection, textarea::selection { background: var(--silver-300); color: var(--ink-950); }
body { margin: 0; font-family: var(--font); color: var(--ink-800); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { overflow-wrap: break-word; min-width: 0; }
.wrap { width: calc(100% - var(--gutter) * 2); max-width: var(--maxw); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink-900); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--silver-300); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible, .header :focus-visible, footer :focus-visible { outline-color: var(--silver-100); }
section:not(.dark):not(.hero) :focus-visible { outline-color: var(--ink-700); }
[tabindex="-1"]:focus { outline: none; }
a, button, summary, label { -webkit-tap-highlight-color: transparent; }
.btn, button, summary { touch-action: manipulation; }

/* Header */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--veil); backdrop-filter: blur(14px); border-bottom: 1px solid var(--hair-light); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--silver-100); }
.brand img { width: auto; height: 30px; }
.brand b { display: block; font-size: 1.05rem; letter-spacing: .28em; line-height: 1; }
.brand small { display: block; font-size: .72rem; color: var(--silver-400); margin-top: 4px; line-height: 1; }
.nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--ink-950); flex-direction: column; align-items: flex-start; padding: 12px 20px 24px; display: none; border-bottom: 1px solid var(--ink-700); max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px); overflow-y: auto; }
.nav.open { display: flex; }
.nav a { text-decoration: none; color: var(--silver-300); font-size: 1.05rem; width: 100%; padding: 15px 0; border-bottom: 1px solid var(--ink-700); }
.nav a::after { display: none; }
.nav a:hover { color: var(--white); }
.lang { display: flex; border: 1px solid var(--edge); border-radius: 99px; overflow: hidden; margin-top: 18px; }
.lang button { background: none; border: 0; color: var(--silver-400); padding: 10px 18px; font: inherit; font-size: .85rem; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--silver-100); color: var(--ink-900); }
.burger { background: none; border: 1px solid var(--edge); color: var(--silver-100); border-radius: 8px; width: 46px; height: 46px; cursor: pointer; display: grid; place-items: center; padding: 0; }
.burger svg { width: 24px; height: 24px; }
.burger path { transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease, ease), opacity .2s; }
.burger[aria-expanded="true"] .b1 { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .b2 { opacity: 0; }
.burger[aria-expanded="true"] .b3 { transform: translateY(-5px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 28px; border-radius: 99px; font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s, background-color .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--metal); color: var(--ink-950); box-shadow: var(--bevel); }
.btn-light:hover { background: var(--metal-hover); }
.btn-ghost { border-color: var(--edge); color: var(--silver-100); background: transparent; }
.btn-ghost:hover { border-color: var(--silver-300); }
.btn-dark { background: var(--ink-900); color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn-dark:hover { background: var(--ink-700); }
.cta { display: flex; flex-direction: column; gap: 12px; }

/* Hero: Logo (freigestellt, scharf) und Text bilden eine Einheit; Handy gestapelt, ab 981 px zweispaltig */
.hero { position: relative; background: var(--ink-950); color: var(--silver-100); padding: 68px 0 28px; overflow: hidden; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 340px at 50% 24%, rgba(255, 255, 255, .085), transparent 72%), radial-gradient(900px 500px at 85% 20%, var(--glow-1), transparent 60%), radial-gradient(700px 400px at 0% 100%, var(--glow-2), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55)); }
.hero-grid { display: grid; gap: 14px; justify-items: center; align-items: center; text-align: center; }
.hero-mark { order: -1; width: min(58vw, 250px); }
.hero-mark img { width: 100%; height: auto; aspect-ratio: 1200 / 901; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); }
.hero-copy { position: relative; min-width: 0; }
.hero h1 { font-size: 2.3rem; line-height: 1.06; margin: 0 0 12px; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.hero p.lead { font-size: 1.05rem; color: var(--silver-100); opacity: .86; max-width: 46ch; margin: 0 auto 22px; text-align: center; }
.hero .cta { align-items: stretch; }

/* Leitsatz unter dem Hero */
.claim { background: var(--ink-900); color: var(--silver-100); padding: 40px 0 0; position: relative; }
.claim::before, .about::before, #kontakt::before, footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--metal-line); }
.claim p { margin: 0; font-size: 1.7rem; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; max-width: 14ch; text-wrap: balance; }
.claim .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.claim img { display: block; width: 64px; height: auto; opacity: .5; flex: none; }
.roofline { display: block; flex: 0 0 100%; width: 100%; height: auto; color: var(--silver-400); stroke-width: 6; margin-top: 4px; }

/* Sektionen */
section { padding: var(--sec) 0; }
h2 { font-size: clamp(2.1rem, 8.5vw, 3.9rem); line-height: 1.04; margin: 0 0 20px; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
.lede { color: var(--ink-500); margin: 0; font-size: 1.05rem; max-width: 40ch; }
.dark { position: relative; background: var(--ink-900); color: var(--silver-100); }
.dark .lede { color: var(--silver-300); }

/* Leistungen: Index */
.svc-wrap { display: grid; gap: 40px; }
.svc-head .btn { margin-top: 28px; }
.svc-list { border-bottom: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) 40px; grid-template-areas: "h ic" "p ic"; gap: 4px 12px; padding: 24px 0; border-top: 1px solid var(--line); align-items: start; transition: background-color .3s; }
.svc h3 { hyphens: auto; grid-area: h; margin: 0; font-size: 1.3rem; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.svc p { grid-area: p; margin: 4px 0 0; color: var(--ink-500); font-size: .98rem; max-width: 44ch; }
.svc .ic { grid-area: ic; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink-700); }
.svc .ic svg { width: 26px; height: 26px; }
/* Zwei Leitleistungen: dunkel, größer */
.svc.lead { background: var(--ink-900); color: var(--silver-100); padding: 26px 14px; grid-template-columns: minmax(0, 1fr) 40px; margin-bottom: 0; border-top-color: var(--ink-900); }
.svc.lead + .svc.lead { border-top-color: var(--ink-700); }
.svc.lead + .svc:not(.lead) { border-top-color: var(--ink-900); }
.svc.lead p { color: var(--silver-400); }
.svc.lead .ic { color: var(--silver-100); border: 1px solid var(--ink-700); border-radius: 50%; width: 40px; height: 40px; }
.svc.lead h3 { font-size: 1.35rem; }
.svc.lead:hover { background: var(--ink-800); }

/* Über uns */
.about { position: relative; overflow: clip; background: var(--ink-950); }
.about .wrap { position: relative; display: grid; gap: 44px; }
.about h2 { max-width: 14ch; }
.about p { color: var(--silver-300); max-width: 46ch; margin: 0 0 16px; }
.about .btn { margin-top: 14px; }
.values { list-style: none; padding: 0; margin: 0; counter-reset: v; border-bottom: 1px solid var(--ink-700); align-self: end; }
.values li { counter-increment: v; display: grid; grid-template-columns: 1.6rem 1fr; gap: 2px 12px; padding: 18px 0; border-top: 1px solid var(--ink-700); transition: transform .4s, background-color .3s; }
.values li::before { content: ""; grid-row: 1; width: 1.1rem; height: 1.1rem; margin-top: .45em; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0c0c0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.values b { font-size: 1.15rem; line-height: 1.3; font-weight: 600; color: var(--white); letter-spacing: -.01em; }
.values span { font-size: .95rem; color: var(--silver-400); }
.roof { position: absolute; right: -90px; top: -30px; width: 420px; height: auto; opacity: .05; pointer-events: none; z-index: 0; }
.about .wrap > * { position: relative; z-index: 1; }

/* Kundenstimmen (Platzhalter) */
.testis { display: grid; gap: 0; margin-top: 44px; }
.testi { border-top: 1px dashed var(--ink-500); padding: 26px 0 30px; }
.testi p { margin: 0 0 14px; font-size: 1.2rem; line-height: 1.4; color: var(--ink-500); max-width: 30ch; }
.testi small { font-size: .9rem; color: var(--ink-500); }
.testi::before { content: "\201E"; display: block; font-size: 3.2rem; line-height: .8; color: var(--silver-400); height: 28px; }

/* FAQ */
.faq-sec { background: var(--silver-100); }
.faq-sec .wrap { display: grid; gap: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 1.12rem; line-height: 1.35; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--ink-500); transition: transform .2s; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
summary::-webkit-details-marker { display: none; }
details p { margin: 0 0 22px; color: var(--ink-500); max-width: 58ch; }

/* Kontakt */
.contact { display: grid; gap: 44px; align-items: start; }
.contact h2 { max-width: 12ch; }
.facts { margin: 36px 0 0; display: grid; gap: 0; border-bottom: 1px solid var(--ink-700); }
.facts div { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--ink-700); }
.facts dt { font-size: .9rem; color: var(--silver-400); }
.facts dd { margin: 0; font-size: 1.1rem; color: var(--white); }
.facts a { text-decoration-color: var(--ink-500); text-underline-offset: 4px; display: inline-block; padding: 4px 0; }
.facts a:hover { text-decoration-color: var(--white); }
form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr; gap: 18px; }
label { font-size: .92rem; color: var(--silver-300); display: grid; gap: 7px; }
input, select, textarea { font: inherit; font-size: 16px; background: var(--ink-950); border: 1px solid var(--edge); color: var(--white); padding: 15px 14px; border-radius: var(--radius-sm); width: 100%; transition: border-color .3s, box-shadow .3s; }
input:focus, select:focus, textarea:focus { border-color: var(--silver-300); outline: none; box-shadow: 0 0 0 3px var(--focus-glow); }
textarea { min-height: 140px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
.req::after { content: " *"; color: var(--silver-400); }
.req-note { margin: -6px 0 0; font-size: .85rem; color: var(--silver-400); }
input, textarea { caret-color: var(--white); }
input[type="checkbox"] { accent-color: var(--silver-100); }
input[type="checkbox"]:focus-visible { outline: 2px solid var(--silver-100); outline-offset: 3px; box-shadow: none; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.consent a { display: inline-block; padding: 6px 0; }
.status { min-height: 1.4em; font-size: .95rem; }
.status:empty { min-height: 0; }
.status.ok { color: var(--ok); } .status.err { color: var(--err); }
form .btn { width: 100%; }
#kontakt form { color-scheme: dark; padding: 28px; border: 1px solid var(--ink-700); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, 0) 60%); }
@media (max-width: 639px) { #kontakt form { padding: 20px 16px; } }

/* Footer */
footer { position: relative; background: var(--ink-950); color: var(--silver-400); padding: 44px 0 36px; font-size: .92rem; }
footer .wrap { display: grid; gap: 28px; }
footer .foot-brand { display: flex; align-items: center; gap: 14px; color: var(--silver-100); }
footer .foot-brand img { width: auto; height: 34px; }
footer .foot-brand b { display: block; font-size: 1.4rem; letter-spacing: .28em; line-height: 1; }
footer .foot-brand small { display: block; font-size: .8rem; color: var(--silver-400); margin-top: 6px; line-height: 1; }
footer .foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
footer a { text-decoration: none; padding: 12px 0; display: inline-block; }
footer a:hover { color: var(--white); }
footer .foot-meta { display: grid; gap: 4px; border-top: 1px solid var(--ink-700); padding-top: 18px; }

/* Rechtstexte (Overlay) */
.legal { padding: 130px 0 80px; max-width: 760px; }
.legal .lh { font-size: 2rem; margin-top: 0; font-weight: 700; letter-spacing: normal; text-wrap: wrap; } .legal h2 { font-size: 1.15rem; margin: 28px 0 8px; letter-spacing: 0; line-height: 1.3; max-width: none; } .legal p, .legal li { color: var(--ink-800); font-size: .95rem; max-width: none; }
.legal .note { background: var(--note-bg); border: 1px solid var(--note-line); padding: 14px 18px; border-radius: 8px; }
mark.ph { background: var(--mark-bg); color: var(--mark-ink); padding: 0 4px; border-radius: 3px; }

/* Cookie-Hinweis */
.cookie { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); max-width: 640px; margin-inline: auto; background: var(--ink-900); color: var(--silver-100); border: 1px solid var(--ink-700); border-radius: 14px; padding: 12px 14px; z-index: 60; color-scheme: dark; box-shadow: var(--shadow-lg); max-height: 80vh; overflow-y: auto; }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: .95rem; margin: 0 0 4px; line-height: 1.3; letter-spacing: 0; }
.cookie p { font-size: .8rem; line-height: 1.45; color: var(--silver-300); margin: 0 0 6px; max-width: none; }
.cookie p a { color: var(--white); display: inline-block; padding: 2px 0; }
.ck-opts { display: flex; flex-wrap: wrap; gap: 0 18px; }
.ck-opt { display: flex; align-items: center; gap: 8px; font-size: .82rem; margin: 0 0 4px; padding: 4px 0; color: var(--silver-100); }
.ck-opt input { width: auto; }
.ck-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.ck-btns .btn { padding: 11px 14px; min-height: 44px; font-size: .88rem; }
.ck-btns #ckSave { grid-column: 1 / -1; order: 3; min-height: 40px; padding: 8px 14px; }

/* Animationen (dezent) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Texte nicht markierbar (nur eine Hürde); Formularfelder bleiben voll bedienbar */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, select, [contenteditable], [contenteditable] * { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
dialog, dialog * { -webkit-user-select: none; user-select: none; }
img { -webkit-user-drag: none; user-drag: none; }

@media (max-width: 639px) and (min-height: 760px) { .hero-mark { width: min(66vw, 280px); } }

/* ===== ab 640 px ===== */
@media (min-width: 640px) {
  :root { --gutter: 28px; --sec: 96px; }
  .cta { flex-direction: row; justify-content: center; }
  .row { grid-template-columns: 1fr 1fr; }
  .ck-btns { grid-template-columns: repeat(3, 1fr); }
  .ck-btns #ckSave { grid-column: auto; order: 0; min-height: 44px; padding: 11px 14px; }
  .hero { padding: 96px 0 56px; }
  .hero-grid { gap: 32px; }
  .hero-mark { width: min(64vw, 500px); }
  .hero h1 { font-size: 2.9rem; }
  .hero p.lead { font-size: 1.12rem; }
  .claim p { font-size: 2.4rem; }
  .testis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 36px; }
}

/* ===== ab 981 px: Desktop ===== */
@media (min-width: 981px) {
  :root { --gutter: 40px; --sec: 136px; }
  .header .wrap { height: 68px; }
  .brand img { width: auto; height: 34px; }
  .burger { display: none; }
  .nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; border: 0; max-height: none; overflow: visible; }
  .nav a { width: auto; padding: 4px 0; border: 0; font-size: .92rem; }
  .nav a::after { display: block; }
  .lang { margin-top: 0; }
  .lang button { padding: 5px 11px; font-size: .78rem; }

  .hero { padding: 108px 0 64px; }
  .hero::before { background: radial-gradient(560px 460px at 76% 50%, rgba(255, 255, 255, .09), transparent 72%), radial-gradient(900px 500px at 85% 20%, var(--glow-1), transparent 60%), radial-gradient(700px 400px at 0% 100%, var(--glow-2), transparent 60%); }
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; text-align: left; justify-items: stretch; }
  .hero-mark { order: 0; width: min(100%, 580px, calc((100vh - 230px) * 1.33)); width: min(100%, 580px, calc((100svh - 230px) * 1.33)); justify-self: end; }
  .hero h1 { font-size: clamp(2.8rem, 4.6vw, 4.4rem); margin: 0 0 20px; }
  .hero p.lead { margin: 0 0 32px; font-size: 1.15rem; max-width: 46ch; text-align: left; }
  .hero .cta { justify-content: flex-start; }

  .claim { padding: 72px 0 0; }
  .claim p { font-size: clamp(2.8rem, 5vw, 4.4rem); max-width: 16ch; }
  .claim img { width: 190px; opacity: .55; }
  .roofline { stroke-width: 1.8; margin-top: 24px; }

  h2 { margin-bottom: 26px; }
  .svc-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .svc-head { position: sticky; top: 112px; }
  .svc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 48px; grid-template-areas: "h p ic"; gap: 0 28px; padding: 30px 0; align-items: center; }
  .svc h3 { font-size: 1.4rem; }
  .svc p { margin: 0; }
    .svc.lead { padding: 44px 28px; grid-template-columns: minmax(0, 1fr) 56px; grid-template-areas: "h ic" "p ic"; gap: 10px 28px; align-items: start; }
  .svc.lead p { margin-top: 6px; font-size: 1.05rem; }
  .svc.lead h3 { font-size: 2rem; }
  .svc.lead .ic { width: 56px; height: 56px; }
  .svc.lead .ic svg { width: 28px; height: 28px; }
  .svc:not(.lead):hover { background: var(--silver-100); }

  .about .wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 96px; align-items: end; }
  .roof { width: 760px; height: auto; right: -120px; top: -60px; }
  .values li { padding: 26px 0; }
  .values b { font-size: 1.3rem; }

  .testis { margin-top: 64px; gap: 0 56px; }
  .testi p { font-size: 1.35rem; }

  /* je ein Bildschirm: Inhalt mittig in der Fensterhöhe */
  .about, #kundenstimmen, #kontakt { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
  .faq-sec { padding: 120px 0; }
  .faq-sec .wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
  .faq-sec .sec-head { position: sticky; top: 112px; }
  summary { font-size: 1.25rem; padding: 28px 0; }

  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 112px; }
  footer .wrap { grid-template-columns: 1fr auto; align-items: center; gap: 28px 40px; }
  footer .foot-meta { grid-column: 1 / -1; grid-template-columns: 1fr auto; }
}

/* Touchgeräte: Hover-Effekte nicht „kleben“ lassen */
@media (hover: none) {
  body .svc:hover, body .values li:hover, body .btn:hover { transform: none; box-shadow: none; }
  body .svc:not(.lead):hover { background: none; }
  body .svc.lead:hover { background: var(--ink-900); }
}

/* Hero: Vorteile */
.ticks { list-style: none; margin: 22px auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 8px 22px; text-align: left; font-size: .92rem; color: var(--silver-100); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg { width: 18px; height: 18px; flex: none; color: var(--silver-300); }

/* Vorher / Nachher */
.ba-sec .sec-head { margin-bottom: 36px; }
.ba-grid { display: grid; gap: 28px; }
.ba { margin: 0; }
.ba-box { --p: 50%; position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--radius); background: var(--ink-900); box-shadow: var(--shadow); touch-action: pan-y; isolation: isolate; }
.ba-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.ba-a { clip-path: inset(0 0 0 var(--p)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: var(--white); box-shadow: 0 0 12px rgba(0, 0, 0, .5); pointer-events: none; z-index: 2; }
.ba-line b { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--metal); color: var(--ink-950); box-shadow: var(--bevel), 0 4px 16px rgba(0, 0, 0, .45); display: grid; place-items: center; transition: transform .2s; }
.ba-line svg { width: 22px; height: 22px; }
.ba-box:hover .ba-line b, .ba-r:active ~ .ba-line b { transform: scale(1.08); }
.ba-r { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; appearance: none; -webkit-appearance: none; }
.ba-box:has(.ba-r:focus-visible) .ba-line b { outline: 3px solid var(--ink-950); outline-offset: 3px; }
.ba-tag { position: absolute; top: 12px; z-index: 1; padding: 5px 11px; border-radius: 99px; background: var(--veil); color: var(--silver-100); font-size: .78rem; font-weight: 600; letter-spacing: .04em; pointer-events: none; backdrop-filter: blur(6px); }
.ba-tb { left: 12px; } .ba-ta { right: 12px; }
.ba figcaption { display: grid; gap: 2px; padding: 14px 2px 0; }
.ba figcaption b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.ba figcaption span { color: var(--ink-500); font-size: .95rem; }
@media (min-width: 768px) { .ba-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }

/* Leistungen als Bildkacheln */
#leistungen .sec-head { margin-bottom: 36px; max-width: 62ch; }
#leistungen .sec-head .lede { max-width: none; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.tile h3 { margin: 14px 0 6px; font-size: 1.05rem; line-height: 1.2; font-weight: 650; letter-spacing: -.01em; hyphens: auto; }
.tile ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.tile li { position: relative; padding-left: 14px; color: var(--ink-500); font-size: .9rem; line-height: 1.4; }
.tile li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 1px; background: var(--ink-500); }
.tile-img { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: radial-gradient(120% 100% at 30% 20%, var(--ink-700), var(--ink-950)); display: grid; place-items: center; color: var(--silver-400); box-shadow: var(--shadow); }
.tile-img svg { width: 38%; height: auto; opacity: .55; }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 28px; } .tile h3 { font-size: 1.3rem; } .tile li { font-size: .98rem; } }

/* Willkommen / Warum wir / Abschluss */
.about .w-lead { color: var(--silver-100); font-size: 1.15rem; max-width: 46ch; }
.about h2 { max-width: 16ch; }
.why-h { margin: 0 0 14px; font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; color: var(--silver-400); }
.cta-band { background: var(--paper); border-bottom: 1px solid var(--line); text-align: center; }
.cta-band .wrap { max-width: 820px; }
.cta-band h2 { margin-inline: auto; font-size: clamp(1.9rem, 6.5vw, 3rem); }
.cta-band p { margin: 0 auto 14px; max-width: 56ch; color: var(--ink-500); }
.cta-band .cb-strong { color: var(--ink-900); font-weight: 600; margin-bottom: 26px; }

.about .ticks { margin: 26px 0 0; justify-content: start; gap: 10px 26px; font-size: 1rem; }
.about .ticks svg { width: 20px; height: 20px; }

/* ===== Veredelung (Hallmark, Runde 1 im Zweierteam): Material, Kanten, Tiefe, Hierarchie. Nur Gestaltung, keine Textänderung. ===== */
:root {
  --paper-hi: #efefef;
  --shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 10px 24px -8px rgba(0, 0, 0, .16), 0 28px 56px -28px rgba(0, 0, 0, .22);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, .1), 0 24px 48px -12px rgba(0, 0, 0, .34), 0 44px 80px -32px rgba(0, 0, 0, .3);
  --metal-dark: linear-gradient(180deg, #2e2e2e 0%, #1c1c1c 55%, #121212 100%);
  --metal-dark-hover: linear-gradient(180deg, #3a3a3a 0%, #262626 55%, #1a1a1a 100%);
  --metal-text: linear-gradient(180deg, #ffffff 0%, #e6e6e6 42%, #adadad 100%);
  --rim: inset 0 0 0 1px rgba(255, 255, 255, .12);
  --field: linear-gradient(180deg, #090909, #131313);
  --field-edge: inset 0 2px 4px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 255, 255, .05);
  /* feines Korn (weißes Rauschen, Alpha eingebaut) für dunkle Flächen: Material statt Flachfarbe */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c0c0c0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0d0d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
p { text-wrap: pretty; }

/* Kopfzeile: Glasfläche mit feiner Oberkante */
.header { background: linear-gradient(180deg, rgba(30, 30, 30, .8), var(--veil)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

/* Dunkle Flächen: Korn, Hero zusätzlich Lichtkegel und Vignette */
.hero::after { background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .6)), var(--grain); }
.hero::before { inset: -14%; }
.claim::after, .dark::after, footer::after { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; z-index: 0; }
.claim > .wrap, .dark > .wrap, footer > .wrap { position: relative; z-index: 1; }
.about .wrap > * { z-index: 1; }

/* Metall-Schrift: Verlauf von Platin nach Silber auf dunklem Grund */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1, .claim p, .dark h2 { background-image: var(--metal-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.hero h1 { letter-spacing: -.028em; }
.hero p.lead { opacity: .8; }

/* Weiche Abschnittsübergänge: Hell nach Dunkel und zurück ohne harte Kante */
.claim { background: linear-gradient(180deg, var(--ink-950) 0, var(--ink-900) 150px); }
.ba-sec { background: linear-gradient(180deg, var(--paper-hi) 0, var(--paper) 180px, var(--paper) calc(100% - 160px), #d9d9d9 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
#leistungen { background: linear-gradient(180deg, var(--paper) 0, var(--paper-hi) 100%); }
.cta-band { background: linear-gradient(180deg, #d6d6d6 0, var(--paper) 200px, var(--paper-hi) 100%); border-bottom: 0; }
.faq-sec { background: linear-gradient(180deg, var(--paper-hi) 0, var(--silver-100) 160px, var(--silver-100) calc(100% - 140px), #dcdcdc 100%); }

/* Überschriften: kurze Metallkante über jedem Abschnittstitel, Lede etwas größer */
.sec-head h2::before, .about h2::before, .cta-band h2::before, .contact h2::before { content: ""; display: block; width: 56px; height: 2px; margin-bottom: 22px; background: linear-gradient(90deg, currentColor, transparent); opacity: .55; transform-origin: 0 50%; -webkit-text-fill-color: initial; }
.cta-band h2::before { margin-inline: auto; background: linear-gradient(90deg, transparent, currentColor, transparent); }
.lede { font-size: 1.1rem; line-height: 1.6; }
.w-lead { line-height: 1.55; }

/* Leistungen: ruhige Bildkacheln mit Kante, Verlauf und Hover-Tiefe */
.tile { position: relative; isolation: isolate; }
.tile::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: 18px; box-shadow: var(--shadow-hover); opacity: 0; z-index: -1; pointer-events: none; }
.tile-img { overflow: hidden; }
.tile-img img { transform: translate3d(0, var(--py, 0px), 0) scale(var(--zs, 1.1)); will-change: transform; }
.tile-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 2; pointer-events: none; box-shadow: var(--rim); background: linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 22%), linear-gradient(0deg, rgba(13, 13, 13, .38), transparent 46%); }
.tile h3 { margin: 18px 0 10px; font-weight: 650; }
.tile h3::after { content: ""; display: block; width: 44px; height: 1px; margin-top: 10px; background: var(--ink-900); transform: scaleX(.4); transform-origin: 0 50%; opacity: .6; }
@media (min-width: 981px) { .tiles { gap: 60px 36px; } }

/* Vorher/Nachher: feine Kante, Griff mit Metallglanz */
.ba-box::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: var(--rim); pointer-events: none; z-index: 2; }
.ba-line { background: linear-gradient(180deg, rgba(255, 255, 255, .55), var(--white) 30%, rgba(255, 255, 255, .55)); }
.ba-line b::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); opacity: 0; pointer-events: none; }
.ba-tag { box-shadow: var(--rim); }
.ba figcaption b { font-size: 1.2rem; }

/* Über uns: Werte mit Ring-Haken */
.values li { position: relative; border-top: 0; grid-template-columns: 1.9rem 1fr; gap: 2px 14px; align-items: center; }
.values li::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--ink-700), var(--ink-700) 60%, transparent); }
.values li::before { width: 1.9rem; height: 1.9rem; margin-top: 0; border: 1px solid var(--ink-700); border-radius: 50%; background-size: 56%; background-color: rgba(255, 255, 255, .03); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: border-color .4s, background-color .4s; }
.values li:hover::before { border-color: var(--silver-300); background-color: rgba(255, 255, 255, .08); }
.ticks svg { color: var(--silver-100); }

/* FAQ: Plus im Ring */
summary::after { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; padding-bottom: 3px; color: var(--ink-800); transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s; }
details[open] summary::after { background: var(--ink-900); color: var(--white); border-color: var(--ink-900); }
summary:hover::after { border-color: var(--ink-700); }

/* Kontakt: Fakten mit gezeichneten Linien, Formular mit Tiefe */
.facts div { position: relative; border-top: 0; }
.facts div::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--ink-700), var(--ink-700) 60%, transparent); }
#kontakt form { box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 55%), var(--ink-900); }
input, select, textarea { background-color: var(--ink-950); background-image: var(--field); box-shadow: var(--field-edge); }
input:focus, select:focus, textarea:focus { box-shadow: var(--field-edge), 0 0 0 3px var(--focus-glow); }
select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: var(--chev), var(--field); background-repeat: no-repeat, no-repeat; background-position: right 14px center, 0 0; background-size: 16px 16px, auto; }
select option { background: var(--ink-950); color: var(--white); }
input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; border: 1px solid var(--edge); border-radius: 6px; background: var(--field); box-shadow: var(--field-edge); display: inline-grid; place-content: center; cursor: pointer; padding: 0; transition: background-color .25s, border-color .25s; }
input[type="checkbox"]:checked { background: var(--metal); border-color: var(--silver-100); box-shadow: var(--bevel); }
input[type="checkbox"]:checked::after { content: ""; width: 14px; height: 14px; background: var(--tick) center / contain no-repeat; }
input[type="checkbox"]:disabled { cursor: default; opacity: .7; }
.ck-opt input { width: 20px; height: 20px; }

/* Buttons: geprägte Kante, Tiefe, dunkler Metallton */
.btn { overflow: hidden; }
.btn-light { box-shadow: var(--bevel), 0 1px 2px rgba(0, 0, 0, .3), 0 10px 22px -10px rgba(0, 0, 0, .55); }
.btn-dark { background: var(--metal-dark); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 -1px 0 rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .3), 0 10px 22px -10px rgba(0, 0, 0, .6); }
.btn-dark:hover { background: var(--metal-dark-hover); }
.btn-ghost { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }

/* Footer, Cookie */
footer { background: linear-gradient(180deg, var(--ink-950), #080808); }
.cookie { box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 60%), var(--ink-900); }

/* Hover-Tiefe nur mit echter Maus */
@media (hover: hover) {
  .tile:hover::before { opacity: 1; }
  .tile:hover .tile-img { transform: translateY(-5px); }
  .tile:hover .tile-img img { --zs: 1.17; }
  .tile:hover h3::after { transform: scaleX(1); opacity: 1; }
}
/* Unterlängen bei Metall-Schrift nicht anschneiden */
@supports ((-webkit-background-clip: text) or (background-clip: text)) { .hero h1, .claim p, .dark h2 { padding-bottom: .12em; } }

/* ===== Rechtliche Overlays (Impressum / Datenschutz): Metallkante, Korn, Tiefe, ruhige Typografie ===== */
dialog { border: 0; padding: 0; width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92vh; max-height: 92dvh; border-radius: 22px 22px 0 0; color: var(--silver-300); color-scheme: dark; overscroll-behavior: contain; overflow-y: auto; overflow-x: clip; scrollbar-width: thin; scrollbar-color: var(--ink-700) transparent;
  background: var(--grain), radial-gradient(120% 60% at 50% 0, #262626 0, transparent 70%), linear-gradient(180deg, #1d1d1d, var(--ink-950));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 2px 4px rgba(0, 0, 0, .4), 0 24px 48px -12px rgba(0, 0, 0, .6), 0 60px 120px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .2); }
dialog::backdrop { background: radial-gradient(90% 70% at 50% 35%, rgba(34, 34, 34, .45), rgba(4, 4, 4, .72)); backdrop-filter: blur(10px) saturate(.85); -webkit-backdrop-filter: blur(10px) saturate(.85); }

.dlg-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 0 0 20px; border-radius: inherit; user-select: none; touch-action: none;
  background: linear-gradient(180deg, rgba(44, 44, 44, .95), rgba(26, 26, 26, .94)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); transition: box-shadow .35s; }
.dlg-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55) 50%, transparent); pointer-events: none; }
.dlg-head::after { content: ""; position: absolute; left: 50%; top: 7px; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: rgba(255, 255, 255, .18); pointer-events: none; }
.dlg-head.scrolled { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .09), 0 16px 28px -14px rgba(0, 0, 0, .75); }
.dlg-logo { display: block; width: 30px; height: auto; opacity: .92; -webkit-user-drag: none; flex: none; }
.dlg-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--silver-100); }
.dlg-ctl { display: flex; align-self: stretch; margin-left: auto; }
.dlg-max, .dlg-close { position: relative; width: 52px; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; background: transparent; color: var(--silver-300); transition: background .2s, color .2s; }
.dlg-max { display: none; }
.dlg-close { border-top-right-radius: inherit; width: 56px; }
.dlg-max:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.dlg-close:hover { background: #b3261e; color: #fff; }
.dlg-max:active, .dlg-close:active { filter: brightness(.85); }
.dlg-max:focus-visible, .dlg-close:focus-visible { outline: 2px solid var(--silver-100); outline-offset: -4px; }

.dlg-body { padding: 26px 22px calc(40px + env(safe-area-inset-bottom)); outline: none; }
.dlg-fade { position: sticky; bottom: 0; height: 44px; margin-top: -44px; pointer-events: none; z-index: 2; background: linear-gradient(180deg, transparent, rgba(13, 13, 13, .92)); }

.dlg-body .legal { padding: 0; max-width: 660px; margin-inline: auto; }
.dlg-body .legal .lh { margin: 0 0 22px; padding: 0 0 .1em; font-size: clamp(1.7rem, 7.4vw, 2.3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; overflow-wrap: normal; hyphens: auto; color: var(--silver-100); text-wrap: balance; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .dlg-body .legal .lh { background-image: var(--metal-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.dlg-body .legal h2 { position: relative; margin: 34px 0 10px; padding-top: 26px; border: 0; font-size: 1.12rem; font-weight: 600; letter-spacing: .005em; line-height: 1.3; color: var(--silver-100); text-wrap: balance; }
.dlg-body .legal h2:not(.lh)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .08) 55%, transparent); }
.dlg-body .legal h2:not(.lh)::after { content: ""; position: absolute; left: 0; top: -1px; width: 34px; height: 3px; border-radius: 3px; background: var(--metal-text); opacity: .75; }
.dlg-body .legal .lh + h2, .dlg-body .legal .note + h2 { margin-top: 30px; }
.dlg-body .legal p, .dlg-body .legal li { margin: 0 0 6px; max-width: 64ch; font-size: 1rem; line-height: 1.75; color: var(--silver-300); }
.dlg-body .legal strong { color: var(--silver-100); font-weight: 600; }

.dlg-body .legal .note { position: relative; margin: 0 0 6px; max-width: none; padding: 16px 20px 16px 24px; border: 0; border-radius: 12px; overflow: hidden; color: var(--silver-300); font-size: .95rem; line-height: 1.7;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 28px -16px rgba(0, 0, 0, .7); }
.dlg-body .legal .note::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #fff, var(--silver-400)); }

.dlg-body .legal mark.ph { display: inline; padding: 1px 7px; border: 1px dashed var(--silver-400); border-radius: 6px; color: var(--silver-100); font-size: .94em; line-height: 1.9; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .05)); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.dlg-body .legal a { color: var(--silver-100); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .28); text-underline-offset: 4px; text-decoration-thickness: 1px; background: linear-gradient(var(--white), var(--white)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease), color .3s; padding-bottom: 2px; }
.dlg-body .legal a:hover { color: var(--white); background-size: 100% 1px; }
.dlg-body .legal a:focus-visible { outline: 2px solid var(--silver-100); outline-offset: 3px; border-radius: 3px; }

@media (min-width: 640px) {
  /* Desktop: frei bewegliches, skalierbares Fenster */
  dialog { position: fixed; inset: auto; left: 0; top: 0; margin: 0; width: min(820px, 94vw); height: min(78vh, 780px); min-width: 360px; min-height: 260px; max-width: 100vw; max-height: 100vh; border-radius: 14px; resize: both; overflow: auto;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -14px rgba(0, 0, 0, .75), 0 70px 140px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .22); }
  dialog.win-max { left: 1.5vw !important; top: 1.5vh !important; width: 97vw !important; height: 97vh !important; resize: none; }
  .dlg-head { height: 48px; cursor: grab; padding-left: 16px; }
  dialog.dragging .dlg-head { cursor: grabbing; }
  dialog.dragging { transition: none !important; }
  .dlg-head::after { display: none; }
  .dlg-max { display: grid; }
  .dlg-body { padding: 36px 40px 56px; }
  .dlg-fade { height: 56px; margin-top: -56px; }
}
