@font-face {
  font-family: "Inter";
  src: url("/assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --petrol: #0c3b45;
  --petrol-deep: #082b33;
  --mist: #edf0f2;
  --ink: #14212b;
  --ink-soft: #465663;
  --brass: #d1993a;
  --line: #c9d1d7;
  --on-petrol: #e9f0f2;
  --on-petrol-soft: #a9c0c6;
  --gutter: clamp(20px, 5vw, 64px);
  --measure: 62ch;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 400;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: var(--gutter); top: -4rem;
  background: var(--brass); color: var(--petrol-deep);
  padding: .6rem 1rem; font-weight: 600; z-index: 10;
}
.skip:focus { top: .75rem; }

.wrap { padding-inline: var(--gutter); max-width: 1240px; margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  background: var(--petrol);
  color: var(--on-petrol);
  padding-bottom: clamp(48px, 9vw, 112px);
}

.bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: 1.5rem;
}
.logo { font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; text-decoration: none; }
.logo span { color: var(--brass); }
.bar nav { display: flex; gap: clamp(1rem, 3vw, 2.25rem); font-size: 1rem; }
.bar nav a { text-decoration: none; color: var(--on-petrol-soft); }
.bar nav a:hover { color: var(--on-petrol); text-decoration: underline; }

.hero-body { padding-top: clamp(40px, 9vw, 112px); }

h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2.6rem, 9.5vw, 8rem);
  line-height: 1;
  letter-spacing: -0.04em;
  max-width: 11ch;
}
.lead {
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  font-weight: 300;
  max-width: 34ch;
  color: var(--on-petrol);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; margin-top: clamp(1.75rem, 3vw, 2.75rem); }

.btn {
  display: inline-block;
  background: var(--brass);
  color: var(--petrol-deep);
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color .15s ease;
}
.btn:hover { background: #e0aa4b; }
.btn-dark { background: var(--ink); color: var(--mist); }
.btn-dark:hover { background: #24384a; }
.text-link { color: var(--on-petrol); }

/* Schlüssel: die eine bewusste Bewegung der Seite */
.key {
  margin-top: clamp(40px, 8vw, 96px);
  width: 100%;
  height: auto;
  overflow: visible;
}
.key .brass { fill: var(--brass); }
.key .hole { fill: var(--petrol); }
.key-reveal { animation: reveal 1.4s cubic-bezier(.2,.7,.2,1) .15s both; }
@keyframes reveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* ---------- Abschnitte ---------- */
section { padding-block: clamp(56px, 9vw, 112px); }
section + section { border-top: 1px solid var(--line); }

.split { display: grid; gap: clamp(1.5rem, 4vw, 4rem); grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split > h2 { position: sticky; top: 2rem; align-self: start; }
}

h2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
h3 { margin: 0 0 .4rem; font-size: 1.3rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; max-width: var(--measure); }
.soft { color: var(--ink-soft); }

.facts { margin: 0; padding: 0; list-style: none; }
.facts li { padding-block: 1.6rem; border-top: 1px solid var(--line); }
.facts li:first-child { border-top: 0; padding-top: 0; }
.facts p { margin: 0; color: var(--ink-soft); }

.uses { margin: 0; padding: 0; list-style: none; columns: 1; }
@media (min-width: 700px) { .uses { columns: 2; column-gap: 3rem; } }
.uses li { break-inside: avoid; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.uses p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

.explain { background: #e3e8eb; }

/* FAQ */
details { border-top: 1px solid var(--line); padding-block: 1.25rem; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1.2rem; line-height: 1.3;
  display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 300; font-size: 1.75rem; line-height: 1; color: var(--petrol); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details > *:not(summary) { margin-top: .9rem; color: var(--ink-soft); }
details ol { padding-left: 1.3rem; max-width: var(--measure); margin-bottom: 0; }
details ol li { margin-bottom: .4rem; padding-left: .25rem; }

/* Kontakt */
.contact { background: var(--petrol); color: var(--on-petrol); border-top: 0; }
.contact h2 { max-width: 14ch; }
.contact p { color: var(--on-petrol); }
.contact .mail { display: block; margin-top: 1.5rem; font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; letter-spacing: -0.01em; }

/* Footer */
footer { background: var(--petrol-deep); color: var(--on-petrol-soft); padding-block: 2rem 2.5rem; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
footer p { margin: 0; max-width: 60ch; }
footer nav { display: flex; gap: 1.5rem; }
footer a:hover { color: var(--on-petrol); }

/* Rechtstexte */
.legal { padding-block: clamp(40px, 7vw, 88px); }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); max-width: none; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 .5rem; max-width: none; letter-spacing: -0.01em; }
.legal-head { background: var(--petrol); color: var(--on-petrol); }
.legal-head .bar { padding-block: 1.5rem; }
.legal address { font-style: normal; margin-bottom: 1.1em; }

@media (max-width: 560px) {
  .bar nav a:nth-child(-n+2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .key-reveal { animation: none; }
  summary::after { transition: none; }
}
