/* THIS. Website 1.0 – monochrom, futuristisch, ohne externe Abhängigkeiten */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0a0a0a; --bg-2: #111; --bg-3: #181818;
  --fg: #f4f4f4; --fg-2: #a8a8a8; --fg-3: #6e6e6e;
  --line: rgba(255,255,255,.12); --line-2: rgba(255,255,255,.24);
  --inv-bg: #f4f4f4; --inv-fg: #0a0a0a;
  --radius: 2px;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 140px);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-d: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #fafafa; --bg-2: #f0f0f0; --bg-3: #e8e8e8;
  --fg: #0a0a0a; --fg-2: #4a4a4a; --fg-3: #7a7a7a;
  --line: rgba(0,0,0,.12); --line-2: rgba(0,0,0,.26);
  --inv-bg: #0a0a0a; --inv-fg: #fafafa;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; transition: background .3s, color .3s; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 7vw, 88px); }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: 21px; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--inv-bg); color: var(--inv-fg); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.kicker { font: 500 12px/1.4 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--fg-2); max-width: 760px; }

/* Testbanner */
.testbar { background: var(--inv-bg); color: var(--inv-fg); font: 500 12px/1.4 var(--font); letter-spacing: .04em; text-align: center; padding: 8px var(--pad); }

/* Kopfzeile */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo-word { font: 600 28px/1 var(--font-d); letter-spacing: .02em; }
.logo-sub { white-space: nowrap; font: 500 8.5px/1 var(--font); letter-spacing: .24em; color: var(--fg-2); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.nav-list a { white-space: nowrap; }
.nav-list a { font-size: 14.5px; text-decoration: none; color: var(--fg-2); transition: color .2s; position: relative; }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--fg); }
.nav-list a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--fg); }
.lang { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.lang a { font: 500 12px/1 var(--font); letter-spacing: .08em; text-decoration: none; color: var(--fg-3); padding: 6px 7px; border-radius: var(--radius); }
.lang a[aria-current], .lang a:hover { color: var(--fg); background: var(--bg-3); }
.head-tools { display: flex; align-items: center; gap: 10px; }
.head-cta { white-space: nowrap; flex: none; }
.icon-btn { flex: none; width: 40px; height: 40px; display: inline-grid; place-items: center; background: none; border: 1px solid var(--line); color: var(--fg); border-radius: 50%; cursor: pointer; font-size: 17px; transition: border-color .2s; }
.icon-btn:hover { border-color: var(--line-2); }
.menu-btn { display: none; position: relative; }
.menu-btn span { position: absolute; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn span:first-child { transform: translateY(-3px); }
.menu-btn span:last-child { transform: translateY(3px); }
.menu-open .menu-btn span:first-child { transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: rotate(-45deg); }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; font: 500 15px/1.2 var(--font); text-decoration: none; border-radius: 999px; border: 1px solid var(--fg); cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s; text-align: center; }
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); opacity: .5; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; position: relative; }
.hero--big .hero-grid, .hero-grid:has(.hero-media) { grid-template-columns: 1.15fr .85fr; align-items: center; }
.hero--big h1 { font-size: clamp(48px, 8.4vw, 116px); letter-spacing: -.035em; }
.hero h1 { max-width: 15ch; }
.hero-text { font-size: clamp(18px, 1.7vw, 22px); color: var(--fg-2); max-width: 640px; }

/* Bild- und Videoflächen */
.media { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); aspect-ratio: 4 / 5; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.split-media .media { aspect-ratio: 4 / 3; }
.card .media { aspect-ratio: 16 / 9; margin: -28px -28px 24px; }
.media--ph { border: 1px dashed var(--line-2); display: flex; align-items: flex-end; }
.ph-grid { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 14px, var(--line) 14px 15px); opacity: .6; }
.media--ph::after { content: "THIS."; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font: 600 clamp(40px, 6vw, 72px)/1 var(--font-d); color: var(--line-2); letter-spacing: .02em; }
.media--ph figcaption { position: relative; padding: 16px 18px; font-size: 12px; color: var(--fg-2); display: flex; flex-direction: column; gap: 4px; z-index: 1; }
.media--ph code { font: 11px/1 ui-monospace, Menlo, Consolas, monospace; color: var(--fg-3); }

/* Abschnitte */
.sec { padding: var(--sec) 0; border-top: 1px solid var(--line); }
.sec--alt { background: var(--bg-2); }
.sec--tight { padding: 0 0 24px; border-top: 0; }
.hero + .sec--tight { margin-top: -24px; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { max-width: 20ch; }
.sec-more { margin-top: 40px; }
.prose p { font-size: clamp(17px, 1.4vw, 20px); color: var(--fg-2); }
.prose p:first-child { color: var(--fg); }
.note { margin-top: 28px; font-size: 14px; color: var(--fg-3); max-width: 760px; }
.notice { border: 1px solid var(--line-2); border-left: 3px solid var(--fg); padding: 18px 22px; font-size: 15.5px; color: var(--fg-2); }

/* Karten */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg); padding: 28px; display: flex; flex-direction: column; transition: background .3s; overflow: hidden; }
.sec--alt .card { background: var(--bg-2); }
.card:hover { background: var(--bg-3); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 22px; margin-bottom: 18px; }
.card-top:empty { display: none; }
.num { font: 500 12px/1 var(--font); letter-spacing: .14em; color: var(--fg-3); }
.badge { font: 500 10.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 10px; color: var(--fg-2); margin-left: auto; }
.card p { color: var(--fg-2); font-size: 15.5px; }
.card ul { list-style: none; margin: 8px 0 0; padding: 0; }
.card li { font-size: 15px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--fg-2); }
.card-link { margin-top: auto; padding-top: 18px; font-size: 14.5px; font-weight: 500; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { border-top: 1px solid var(--fg); padding-top: 20px; }
.step-n { display: block; font: 300 44px/1 var(--font-d); color: var(--fg-3); margin-bottom: 18px; }
.steps p { color: var(--fg-2); font-size: 15.5px; }

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-size: 15px; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }

/* CTA */
.cta { background: var(--inv-bg); color: var(--inv-fg); padding: var(--sec) 0; }
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta h2 { max-width: 18ch; }
.cta p { font-size: clamp(17px, 1.5vw, 20px); max-width: 640px; opacity: .72; }
.cta .btn--primary { background: var(--inv-fg); color: var(--inv-bg); border-color: var(--inv-fg); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 500 18px/1.4 var(--font); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 300; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--fg-2); padding-bottom: 12px; }

/* Formulare */
.form-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-layout--single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.form { display: grid; gap: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 13.5px; font-weight: 500; color: var(--fg-2); padding: 0; margin-bottom: 8px; }
.field label { margin-bottom: 0; }
.req { color: var(--fg); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--fg); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 16px; width: 100%; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--fg); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #e5484d; }
textarea { resize: vertical; min-height: 140px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--fg-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--fg); padding: 0; }
.consent { font-size: 14px; }
.form-msg { border: 1px solid var(--line-2); padding: 14px 16px; font-size: 15px; margin: 0; }
.form-msg.is-error { border-color: #e5484d; }
.form-hint { font-size: 13px; color: var(--fg-3); margin: 0; }
.form .btns { margin-top: 4px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-aside { border-left: 1px solid var(--line); padding-left: 32px; display: grid; gap: 32px; }
.aside-item h3 { font-size: 17px; }
.aside-item p { color: var(--fg-2); font-size: 15.5px; }
.aside-item a { color: var(--fg); }

/* Rechtstexte */
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p { color: var(--fg-2); }

/* Fußzeile */
.site-foot { border-top: 1px solid var(--line); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--fg-2); font-size: 15px; max-width: 360px; margin-top: 20px; }
.foot-brand .claim { color: var(--fg); font: 600 14px/1.6 var(--font-d); letter-spacing: .08em; }
.foot-brand .claim span { color: var(--fg-3); font-weight: 400; }
.f-title { font: 500 12px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 18px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 10px; }
.site-foot li a { color: var(--fg-2); text-decoration: none; font-size: 14.5px; }
.site-foot li a:hover { color: var(--fg); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.foot-bottom p { margin: 0; }
.foot-bottom .lang li { margin: 0; }

/* Sprachwahl-Startseite / 404 */
.gate { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.gate-inner .logo-word { font-size: 64px; margin-bottom: 16px; }
.gate-inner .kicker { justify-content: center; }
.gate-langs { list-style: none; padding: 0; display: flex; gap: 12px; justify-content: center; }
.gate-langs a { border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; text-decoration: none; }

/* Animationen – nur mit JavaScript und ohne reduzierte Bewegung */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* Responsiv */
@media (max-width: 1360px) { .head-cta { display: none; } }
@media (max-width: 1120px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .menu-btn { display: inline-grid; }
  .nav { position: fixed; inset: 76px 0 auto 0; height: calc(100dvh - 76px); background: var(--bg); flex-direction: column; align-items: stretch; gap: 32px; padding: 32px var(--pad); margin: 0; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; gap: 0 !important; }
  .nav-list a { display: block; font: 600 28px/1.2 var(--font-d); color: var(--fg); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current]::after { display: none; }
  .nav .lang a { font-size: 15px; padding: 10px 14px; }
  .head-tools { margin-left: auto; }
  .testbar + .site-head .nav { inset: 76px 0 auto 0; }
  .hero--big .hero-grid, .hero-grid:has(.hero-media), .split, .form-layout { grid-template-columns: 1fr; }
  .hero-media .media { aspect-ratio: 16 / 10; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .form-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .head-inner { height: 64px; }
  .nav { inset: 64px 0 auto 0; height: calc(100dvh - 64px); }
  .testbar + .site-head .nav { inset: 64px 0 auto 0; }
  .logo-word { font-size: 24px; }
  .logo-sub { font-size: 7px; letter-spacing: .2em; }
  .grid--2, .grid--3, .grid--4, .steps, .row, .checks { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .card .media { margin: -24px -24px 20px; }
  .btns .btn { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media print {
  .site-head, .testbar, .cta, .form, .site-foot .lang { display: none; }
  body { background: #fff; color: #000; }
}
