:root {
  --bg:        #0D0D0D;
  --bg-card:   #1A1A1A;
  --bg-card-2: #222222;
  --bg-input:  #1A1A24;
  --border:    #2A2A2A;
  --border-h:  #3A3A55;
  --accent:    #F5C800;
  --accent-dim:rgba(245,200,0,0.12);
  --accent-gl: rgba(245,200,0,0.28);
  --text:      #ededf5;
  --logo-drive: #FAFAFA; /* LOCKED LogoBeschreibung.md - DRIVE im Dark-Theme byte-genau #FAFAFA */
  --text-2:    #aaaacc;
  --text-3:    #7878a8;
  --green:     #4ade80;
  --yellow:    #F5C800;
  --r: 14px; --rs: 8px;
  --font: 'Barlow', sans-serif;
  --fc:   'Barlow Condensed', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --tr: 0.18s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 18px 80px; position: relative; z-index: 1; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  padding-top: env(safe-area-inset-top, 0px);
  margin-bottom: 36px;
  transition: padding var(--tr);
}
header.scrolled {
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg);
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--border);
  transition: border-radius 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease),
              padding 0.25s var(--ease);
}
header.scrolled .header-inner {
  border-radius: 18px;
  border-bottom-color: transparent;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 16px;
}
.logo-link {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 5px; text-decoration: none; color: inherit;
}
.logo-top { display: flex; align-items: center; gap: 14px; }
.logo-svg {
  width: 44px; height: 44px; flex-shrink: 0;
  /* LOCKED · LogoBeschreibung.md §8 - kein Schatten/Glow/Filter */
}
.logo-name { display: flex; flex-direction: column; font-family: var(--fc); line-height: 1; gap: 3px; }
.logo-name-drive { font-weight: 900; font-size: 24px; color: var(--logo-drive); font-style: normal; text-transform: uppercase; letter-spacing: -0.023em; }
.logo-name-drive::after { content: '.'; color: var(--accent); }
.logo-name-dry   { font-weight: 700; font-size: 11px; color: var(--accent); font-style: normal; text-transform: uppercase; letter-spacing: 0.368em; }
.logo-sub { font-family: var(--fc); font-size: 12px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--text-3); }
.btn-back {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-card-2); border: 1.5px solid var(--border);
  border-radius: var(--rs); padding: 13px 14px; min-height: 44px;
  color: var(--text-2); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all var(--tr);
}
.btn-back:hover { border-color: var(--accent); color: var(--accent); }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 10px 0 40px;
}
.hero-badge {
  display: inline-block;
  font-family: var(--fc); font-weight: 700; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent);
  background: var(--accent-dim); border: 1px solid var(--accent-gl);
  border-radius: 20px; padding: 4px 14px; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--fc); font-weight: 900; font-size: clamp(28px, 6vw, 42px);
  line-height: 1.1; margin-bottom: 0; color: var(--text);
}

/* ── SECTION ── */
section { margin-bottom: 36px; }
h2 {
  font-family: var(--fc); font-weight: 900; font-size: 22px;
  color: var(--text); margin-bottom: 14px; line-height: 1.2;
}
h2 span { color: var(--accent); }
h3 {
  font-family: var(--fc); font-weight: 700; font-size: 17px;
  color: var(--text-2); margin-bottom: 10px; line-height: 1.3;
}
h3:not(:first-child) { margin-top: 20px; }
p { color: var(--text-2); font-size: 15px; line-height: 1.7; margin-bottom: 10px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── DIVIDER ── */
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* ── IMPRESSUM SPEZIFISCH ── */
.imprint-block {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 22px 24px; margin-bottom: 12px;
}
.imprint-label {
  font-family: var(--fc); font-weight: 700; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 10px;
}
.contact-row {
  display: flex; align-items: baseline; gap: 10px;
  padding: 7px 0; border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-key {
  color: var(--text-3); font-size: 13px; font-weight: 500;
  min-width: 72px; flex-shrink: 0;
}
.contact-val { color: var(--text); }
.contact-val a { color: var(--accent); }

.address-lines { color: var(--text); font-size: 15px; line-height: 1.8; }

.legal-note {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 18px 20px; margin-bottom: 12px;
  font-size: 14px; color: var(--text-2); line-height: 1.7;
}
.legal-note strong { color: var(--text); }
.legal-note p { font-size: 14px; margin-bottom: 8px; }
.legal-note p:last-child { margin-bottom: 0; }

.transition-note {
  border: 1.5px solid rgba(245,200,0,0.25);
  background: rgba(245,200,0,0.04);
  border-radius: var(--r); padding: 14px 18px; margin-top: 14px;
  font-size: 13px; color: var(--text-3); line-height: 1.6;
}
.transition-note strong { color: var(--accent); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border); padding: 24px 0 10px;
  text-align: center; color: var(--text-3); font-size: 12px;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── LIGHT THEME ── */
html.is-light {
  --bg:        #FAFAFA;
  --bg-card:   #ffffff;
  --bg-card-2: #ebebf3;
  --bg-input:  #e2e2ec;
  --border:    #d0d0e0;
  --border-h:  #a0a0c0;
  --text:      #111118;
  --logo-drive: var(--text);
  --text-2:    #2a2a52;
  --text-3:    #5a5878;
  --accent-dim: rgba(245,200,0,0.28);
  --accent-gl:  rgba(245,200,0,0.50);
  --yellow:    #C4920C;
  --green:     #15803d;
}
html.is-light body   { background: var(--bg); }
html.is-light body::after { opacity: 0.008; }
html.is-light header { background: var(--bg); }
html.is-light header.scrolled .header-inner {
  background: rgba(250,250,250,0.92);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
html.is-light h2     { color: var(--text); }
html.is-light p      { color: var(--text-2); }
html.is-light strong { color: var(--text); }
html.is-light .divider { border-top-color: var(--border); }
html.is-light .btn-back { background: var(--bg-card-2); border-color: var(--border); color: var(--text-2); }
html.is-light .btn-back:hover { border-color: var(--accent); color: #7D5A08; }
html.is-light .imprint-block { background: var(--bg-card); border-color: var(--border); }
html.is-light .contact-row   { border-bottom-color: var(--border); }
html.is-light .address-lines { color: var(--text); }
html.is-light .legal-note    { background: var(--bg-card); border-color: var(--border); color: var(--text-2); }
html.is-light .legal-note strong { color: var(--text); }
html.is-light .legal-note p  { color: var(--text-2); }
html.is-light footer { border-top-color: var(--border); color: var(--text-3); }
html.is-light .transition-note { color: var(--text-3); }
