/* ═══ SELF-HOSTED FONTS (DSGVO: no Google Fonts CDN) ═══ */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ═══ RESET ═══ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ═══ BRAND TOKENS ═══ */
:root {
  --anthrazit: #1C1C1E;
  --signalgelb: #FFD600;
  --rohweiss: #F5F0EB;
  --mittelgrau: #8A8A8E;
  --glow: rgba(255, 214, 0, 0.6);
  --glow-soft: rgba(255, 214, 0, 0.15);
  --font-headline: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--anthrazit);
  color: var(--rohweiss);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ═══ DOT GRID SUBSTRATE ═══ */
.dot-grid {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 214, 0, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ═══ CIRCUIT TRACES ═══ */
.circuit-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.circuit-bg svg {
  width: 100%;
  height: 100%;
}

.trace {
  stroke: var(--signalgelb);
  stroke-width: 1;
  fill: none;
  opacity: 0.08;
}

.trace-node {
  fill: none;
  stroke: var(--signalgelb);
  stroke-width: 1;
  opacity: 0.12;
}

.trace-pad {
  fill: var(--signalgelb);
  opacity: 0.2;
}

.trace-pad-glow {
  fill: var(--signalgelb);
  opacity: 0.5;
  filter: url(#pad-blur);
}

@keyframes pad-pulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.6; }
}

.trace-pad-pulse {
  fill: var(--signalgelb);
  animation: pad-pulse 3s ease-in-out infinite;
}

.trace-pad-pulse.delay {
  animation-delay: 1.5s;
}

/* ═══ SCANLINES ═══ */
.scanlines {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.03) 3px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 3;
}

/* ═══ DRAHT RAIL ═══ */
.draht-rail {
  position: fixed;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 10;
  pointer-events: none;
}

.draht-rail svg {
  width: 40px;
  height: 100%;
}

.rail-base {
  stroke: var(--signalgelb);
  stroke-width: 2;
  fill: none;
  opacity: 0.08;
}

.rail-lit {
  stroke: var(--signalgelb);
  stroke-width: 2;
  fill: none;
  opacity: 0.6;
  filter: url(#wire-glow);
  stroke-dasharray: 0 99999;
}

@keyframes energy-down {
  0% { stroke-dashoffset: 600; }
  100% { stroke-dashoffset: 0; }
}

.rail-energy {
  stroke: var(--signalgelb);
  stroke-width: 2.5;
  fill: none;
  opacity: 0.8;
  stroke-dasharray: 20 580;
  animation: energy-down 5s linear infinite;
  filter: url(#wire-glow);
}

/* Nodes — default dim state */
.rail-node {
  fill: none;
  stroke: var(--signalgelb);
  stroke-width: 2;
  opacity: 0.15;
  transition: opacity 0.4s ease;
}

.rail-node-fill {
  fill: var(--signalgelb);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rail-node-glow {
  fill: var(--signalgelb);
  opacity: 0;
  filter: url(#pad-blur);
  transition: opacity 0.4s ease;
}

/* Nodes — lit state (toggled by JS) */
.rail-node.is-active {
  opacity: 1;
}

.rail-node-fill.is-active {
  opacity: 1;
  filter: url(#wire-glow);
}

.rail-node-glow.is-active {
  opacity: 0.3;
}

/* ═══ CONTENT AREA ═══ */
.content {
  position: relative;
  z-index: 5;
  margin-left: 88px;
  max-width: 1200px;
}

/* ═══ SECTION DIVIDER ═══ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--signalgelb) 0%, var(--signalgelb) 60%, transparent 100%);
  opacity: 0.15;
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 0;
  right: 20%;
  height: 13px;
  background: linear-gradient(90deg, rgba(255, 214, 0, 0.06), transparent);
  filter: blur(6px);
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  background: var(--signalgelb);
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--glow), 0 0 24px rgba(255, 214, 0, 0.3);
  z-index: 1;
}

/* ═══ SHARED SECTION STYLES ═══ */
.section-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--signalgelb);
  margin-bottom: 36px;
  text-shadow: 0 0 16px rgba(255, 214, 0, 0.4);
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 48px;
  position: relative;
  background:
    radial-gradient(ellipse 500px 350px at 20% 55%, rgba(255, 214, 0, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 200px 200px at 75% 25%, rgba(255, 214, 0, 0.03) 0%, transparent 60%);
}

.hero-logo {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--signalgelb);
  margin-bottom: 32px;
  text-shadow: 0 0 16px rgba(255, 214, 0, 0.4);
  position: relative;
  display: inline-block;
  padding-left: 20px;
}

.hero-logo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--signalgelb);
  box-shadow: 0 0 8px var(--glow);
}

.hero h1 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(48px, 8vw, 76px);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 16px 0;
  color: var(--rohweiss);
  letter-spacing: -1px;
  max-width: 600px;
}

.hero h1 .yellow {
  color: var(--signalgelb);
  text-shadow:
    0 0 40px rgba(255, 214, 0, 0.4),
    0 0 80px rgba(255, 214, 0, 0.15),
    0 0 120px rgba(255, 214, 0, 0.05);
}

.hero-sub {
  font-size: 17px;
  color: var(--mittelgrau);
  margin: 0 0 20px 0;
  max-width: 460px;
  line-height: 1.6;
}

.hero-intro {
  font-size: 14px;
  color: var(--mittelgrau);
  margin: 0 0 40px 0;
  max-width: 560px;
  line-height: 1.7;
  border-left: 2px solid rgba(255, 214, 0, 0.3);
  padding-left: 16px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

/* ═══ BUTTONS ═══ */
@keyframes btn-flicker {
  0%, 95%, 100% { box-shadow: 0 0 28px rgba(255, 214, 0, 0.3), 0 0 60px rgba(255, 214, 0, 0.12); }
  96% { box-shadow: 0 0 40px rgba(255, 214, 0, 0.5), 0 0 80px rgba(255, 214, 0, 0.25); }
  98% { box-shadow: 0 0 44px rgba(255, 214, 0, 0.55), 0 0 90px rgba(255, 214, 0, 0.3); }
}

.btn-primary {
  display: inline-block;
  background: var(--signalgelb);
  color: var(--anthrazit);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  animation: btn-flicker 6s ease-in-out infinite;
}

.btn-secondary {
  color: var(--signalgelb);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 214, 0, 0.4);
  padding-bottom: 2px;
}

/* ═══ PROBLEM / SOLUTION ═══ */
.section-problem {
  padding: 64px 48px 64px 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.problem-col h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  color: var(--mittelgrau);
}

.problem-col.solution h3 {
  color: var(--signalgelb);
  text-shadow: 0 0 20px rgba(255, 214, 0, 0.3);
}

.problem-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.problem-col li {
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--mittelgrau);
}

.problem-col.old li {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 100, 100, 0.3);
}

.problem-col.solution li {
  color: var(--rohweiss);
  padding-left: 16px;
  position: relative;
}

.problem-col.solution li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--signalgelb);
  box-shadow: 0 0 8px var(--glow);
  transform: translateY(-50%);
}

/* ═══ PROCESS ═══ */
.section-process {
  padding: 64px 48px 64px 0;
}

.process-steps {
  display: flex;
  align-items: flex-start;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 24px 16px;
}

@keyframes node-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(255, 214, 0, 0.15), inset 0 0 12px rgba(255, 214, 0, 0.05); }
  50% { box-shadow: 0 0 24px rgba(255, 214, 0, 0.3), inset 0 0 16px rgba(255, 214, 0, 0.1); }
}

.step-node {
  width: 56px;
  height: 56px;
  border: 2px solid var(--signalgelb);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 20px;
  color: var(--signalgelb);
  margin-bottom: 16px;
  position: relative;
  text-shadow: 0 0 10px rgba(255, 214, 0, 0.5);
}

.step-node.a1 { animation: node-glow 4s ease-in-out 0s infinite; }
.step-node.a2 { animation: node-glow 4s ease-in-out 1.3s infinite; }
.step-node.a3 { animation: node-glow 4s ease-in-out 2.6s infinite; }

.step-node::before,
.step-node::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--signalgelb);
  box-shadow: 0 0 4px var(--glow);
}

.step-node::before {
  top: -4px;
  left: -4px;
  box-shadow: calc(56px + 2px) 0 0 0 var(--signalgelb), 0 0 4px var(--glow);
}

.step-node::after {
  bottom: -4px;
  left: -4px;
  box-shadow: calc(56px + 2px) 0 0 0 var(--signalgelb), 0 0 4px var(--glow);
}

.process-step h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--rohweiss);
  margin: 0 0 8px 0;
}

.process-step p {
  font-size: 13px;
  color: var(--mittelgrau);
  margin: 0;
  line-height: 1.5;
}

.step-connector {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
}

.connector-wire {
  width: 60px;
  height: 2px;
  background: var(--signalgelb);
  box-shadow: 0 0 10px rgba(255, 214, 0, 0.5), 0 0 20px rgba(255, 214, 0, 0.2);
  position: relative;
}

.connector-wire::before,
.connector-wire::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--signalgelb);
  border-radius: 50%;
  top: -3px;
  box-shadow: 0 0 10px var(--glow), 0 0 20px rgba(255, 214, 0, 0.3);
}

.connector-wire::before { left: -4px; }
.connector-wire::after { right: -4px; }

/* ═══ TRUST ═══ */
.section-trust {
  padding: 64px 48px 64px 0;
  text-align: center;
}

.trust-headline {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 38px);
  text-transform: uppercase;
  color: var(--rohweiss);
  margin: 0 0 8px 0;
}

.trust-sub {
  color: var(--mittelgrau);
  font-size: 14px;
  margin: 0 0 40px 0;
}

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@keyframes card-border-glow {
  0%, 100% { border-color: rgba(255, 214, 0, 0.1); }
  50% { border-color: rgba(255, 214, 0, 0.22); }
}

.trust-card {
  background: rgba(255, 214, 0, 0.02);
  border: 1px solid rgba(255, 214, 0, 0.1);
  padding: 32px 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
  animation: card-border-glow 5s ease-in-out infinite;
}

.trust-card:nth-child(2) { animation-delay: 1.7s; }
.trust-card:nth-child(3) { animation-delay: 3.4s; }

.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 16px; height: 16px;
  border-top: 2px solid var(--signalgelb);
  border-left: 2px solid var(--signalgelb);
  opacity: 0.5;
}

.trust-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 16px; height: 16px;
  border-bottom: 2px solid var(--signalgelb);
  border-right: 2px solid var(--signalgelb);
  opacity: 0.5;
}

@keyframes sweep {
  0%, 100% { transform: translateX(-50%); }
  50% { transform: translateX(50%); }
}

.card-glow {
  position: absolute;
  top: 0; left: -100%; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 214, 0, 0.04), transparent);
  width: 200%;
  animation: sweep 8s ease-in-out infinite;
}

.trust-card:nth-child(2) .card-glow { animation-delay: 2.5s; }
.trust-card:nth-child(3) .card-glow { animation-delay: 5s; }

.trust-card .stat {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 36px;
  color: var(--signalgelb);
  margin-bottom: 4px;
  text-shadow: 0 0 24px rgba(255, 214, 0, 0.4), 0 0 48px rgba(255, 214, 0, 0.15);
  position: relative;
  z-index: 1;
}

.trust-card .stat-label {
  font-size: 13px;
  color: var(--mittelgrau);
  position: relative;
  z-index: 1;
  line-height: 1.5;
}

.trust-card .stat-source {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(138, 138, 142, 0.7);
}

/* ═══ FAQ ═══ */
.section-faq {
  padding: 64px 48px 64px 0;
}

.faq-list {
  border-top: 1px solid rgba(255, 214, 0, 0.12);
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 214, 0, 0.12);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 40px 20px 24px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--rohweiss);
  list-style: none;
  position: relative;
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  text-align: center;
  color: var(--signalgelb);
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 20px;
  transition: opacity 0.2s;
}

.faq-item[open] summary::before { content: '−'; }

.faq-item summary:hover { color: var(--signalgelb); }

.faq-item[open] summary {
  color: var(--signalgelb);
  text-shadow: 0 0 12px rgba(255, 214, 0, 0.25);
}

.faq-item p {
  padding: 0 24px 24px 24px;
  color: var(--mittelgrau);
  font-size: 14px;
  line-height: 1.65;
  max-width: 720px;
}

/* ═══ CONTACT ═══ */
.section-contact {
  padding: 64px 48px 64px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 214, 0, 0.08);
  color: var(--rohweiss);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 214, 0, 0.5);
  box-shadow: 0 0 16px rgba(255, 214, 0, 0.15), 0 0 32px rgba(255, 214, 0, 0.05);
  background: rgba(255, 214, 0, 0.02);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .hidden {
  display: none;
}

.btn-full {
  width: 100%;
  margin-top: 4px;
}

.contact-info h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--rohweiss);
  margin: 0 0 24px 0;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--mittelgrau);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 17px;
  color: var(--signalgelb);
  font-weight: 500;
  text-shadow: 0 0 20px rgba(255, 214, 0, 0.3), 0 0 40px rgba(255, 214, 0, 0.1);
}

/* ═══ FOOTER ═══ */
.footer {
  text-align: center;
  padding: 32px 48px;
  font-size: 11px;
  color: var(--mittelgrau);
  letter-spacing: 0.5px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--mittelgrau);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--signalgelb);
}

.footer-copy {
  margin-top: 6px;
  color: rgba(138, 138, 142, 0.7);
  font-size: 10px;
}

.footer-brand {
  color: var(--signalgelb);
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 12px rgba(255, 214, 0, 0.3);
}

/* ═══ RESPONSIVE ═══ */

/* Tablet: hide rail, full-width content */
@media (max-width: 1023px) {
  .draht-rail {
    display: none;
  }

  .content {
    margin-left: 0;
    padding: 0 24px;
  }

  .hero {
    padding: 60px 24px;
  }

  .section-problem,
  .section-process,
  .section-trust,
  .section-contact,
  .section-faq {
    padding: 48px 24px;
  }

  .section-divider {
    margin-left: 0;
  }
}

/* Mobile: single column everything */
@media (max-width: 767px) {
  .hero {
    min-height: 80vh;
    padding: 48px 16px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .section-problem,
  .section-process,
  .section-trust,
  .section-contact,
  .section-faq {
    padding: 40px 16px;
  }

  .hero-intro {
    font-size: 13px;
    padding-left: 12px;
  }

  .faq-item summary {
    font-size: 15px;
    padding: 16px 30px 16px 20px;
  }

  .faq-item p {
    font-size: 13px;
    padding: 0 20px 18px 20px;
  }

  /* Problem/Solution: stack columns */
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Process: stack steps vertically */
  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    padding-top: 0;
    flex: 0 0 40px;
    transform: rotate(90deg);
  }

  .process-step {
    padding: 16px;
  }

  /* Trust: stack cards */
  .trust-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-headline {
    font-size: 28px;
  }

  /* Contact: stack form and info */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer {
    padding: 24px 16px;
  }
}

/* ---- Legal pages (Impressum, Datenschutz) ---- */

body.legal-page {
  background: var(--rohweiss, #F5F0EB);
  color: var(--anthrazit, #1C1C1E);
  font-family: inherit;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.legal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(28, 28, 30, 0.1);
}

.legal-back {
  color: var(--anthrazit, #1C1C1E);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.legal-back:hover {
  color: var(--signalgelb, #FFD600);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--signalgelb, #FFD600);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content ul {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--anthrazit, #1C1C1E);
  text-decoration: underline;
  text-decoration-color: var(--signalgelb, #FFD600);
  text-underline-offset: 3px;
}

.legal-footer {
  border-top: 1px solid rgba(28, 28, 30, 0.1);
  padding: 2rem;
  text-align: center;
  background: rgba(28, 28, 30, 0.03);
}

.legal-footer nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.legal-footer a {
  color: var(--anthrazit, #1C1C1E);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-footer a:hover {
  color: var(--signalgelb, #FFD600);
}

.legal-footer-note {
  font-size: 0.8rem;
  color: rgba(28, 28, 30, 0.6);
  margin: 0;
}

/* ---- Shared footer on index.html ---- */
.site-footer {
  border-top: 1px solid rgba(28, 28, 30, 0.1);
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
