:root {
  --bg: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --panel: #cbd5e1;
  --panel-ink: #0f172a;
  --panel-muted: #334155;
  --line: #94a3b8;
  --accent: #1e293b;
  --accent-hover: #090f1d;
  --focus: #64748b;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Sprachumschaltung */
html[lang="de"] .en, html[lang="en"] .de { display: none !important; }

.wrap { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }

/* Weißer Bereich */
.top { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.topbar { display: flex; justify-content: flex-start; padding-top: 1rem; margin-bottom: 1.5rem; }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: .375rem; overflow: hidden; }
.lang button {
  font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  background: transparent; color: var(--muted); border: 0; padding: .3rem .7rem; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--accent); color: #fff; }

.hero {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 1rem 0 2rem;
}
.logo-toggle {
  position: relative; display: block; padding: 0; border: 0;
  background: transparent; line-height: 0; cursor: pointer;
}
.hero .logo-animation { display: block; height: min(380px, 42vh); width: auto; max-width: 100%; }
.hero .logo-freeze { position: absolute; inset: 0; display: none; width: 100%; height: 100%; }
.logo-toggle.is-paused .logo-animation { visibility: hidden; }
.logo-toggle.is-paused .logo-freeze { display: block; }

.services {
  list-style: none; margin: 1.5rem auto; padding: 0; width: 39.2rem; max-width: 100%;
  display: grid; grid-template-columns: 13.2rem 14.1rem 11.9rem; align-items: center;
  font-size: 1rem; color: var(--ink); text-align: center;
}
.services li { padding: .35rem .8rem; line-height: 1.3; white-space: nowrap; }
.services li + li { border-left: 1px solid var(--line); }
@media (max-width: 859px) {
  .services { width: 100%; grid-template-columns: 1fr; row-gap: .4rem; }
  .services li { white-space: normal; }
  .services li + li { border-left: 0; }
}

.more { display: inline-block; margin: 0 0 1.5rem; text-align: center; color: var(--muted); text-decoration: none; font-size: .9rem; }
.more:hover { color: var(--ink); }
.more-wrap { text-align: center; }

/* Blau/grauer Bereich */
.panel { background: var(--panel); color: var(--panel-ink); padding: 3.5rem 0 2rem; }
.panel h2 { font-size: 1.5rem; margin: 0 0 1rem; letter-spacing: -.01em; }
.panel p { color: var(--panel-muted); }
.panel .intro { margin: 0 0 1.5rem; }

.form { display: grid; row-gap: 1.1rem; max-width: 40rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field > label { font-weight: 600; font-size: .9rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: .375rem; padding: .6rem .75rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 0; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .875rem; color: var(--panel-muted); }
.check input { margin-top: .3rem; flex-shrink: 0; }
.btn {
  font: inherit; font-weight: 600; font-size: .95rem; background: var(--accent); color: #fff;
  border: 0; border-radius: .375rem; padding: .8rem 1.8rem; cursor: pointer; transition: background-color .2s;
}
.btn:hover { background: var(--accent-hover); }
.direct { margin-top: 1.5rem; font-size: .95rem; }

/* Rechtliches */
.legal { margin-top: 3rem; border-top: 1px solid var(--line); }
.legal details { border-bottom: 1px solid var(--line); }
.legal summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary::after { content: "+"; font-weight: 400; font-size: 1.25rem; line-height: 1; }
.legal details[open] summary::after { content: "–"; }
.legal .body { padding: 0 0 1.5rem; font-size: .925rem; }
.legal h3 { font-size: 1rem; margin: 1.5rem 0 .25rem; }
.legal p, .legal li { margin: .25rem 0 .6rem; color: var(--panel-ink); }
.legal ul { padding-left: 1.25rem; }
.legal .note { color: var(--panel-muted); font-style: italic; }
.todo { background: #fef08a; padding: 0 .25rem; border-radius: .2rem; }

.foot { padding: 2rem 0 1rem; font-size: .8rem; color: var(--panel-muted); }
