@font-face {
  font-family: "Mona Sans";
  src: url("fonts/MonaSansVF.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f2f5f7;
  --surface: #ffffff;
  --ink: #15202b;
  --muted: #4b5b69;
  --line: #d3dce3;
  --tide: #0e6b66;
  --tide-strong: #0a524e;
  --tide-soft: #ddeeec;
  --signal: #f0b23a;
  --on-tide: #ffffff;
  --radius: 14px;
  --font: "Mona Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e151c;
    --surface: #141e27;
    --ink: #e7eef3;
    --muted: #9aaab8;
    --line: #26333f;
    --tide: #63c7bf;
    --tide-strong: #8ad8d1;
    --tide-soft: #13312f;
    --on-tide: #06201e;
  }
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  font-variation-settings: "opsz" 16;
}

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

a { color: var(--tide); text-underline-offset: 0.18em; }
a:hover { color: var(--tide-strong); }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--surface);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { left: 0.5rem; }

.wrap {
  width: min(72rem, 100% - 2rem);
  margin-inline: auto;
}

/* Kopfzeile */
.site-header {
  padding-block: 1.25rem;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.01em;
}
.brand svg { width: 2.25rem; height: 2.25rem; }
.site-nav { display: flex; gap: 1.5rem; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 550;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  color: var(--tide);
  text-decoration: underline;
}

/* Startseite: Kopfbereich mit Sperrbildschirm */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding-block: clamp(2rem, 7vw, 5.5rem) clamp(3rem, 8vw, 6rem);
}
.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
  max-width: 13ch;
}
.lead {
  margin: 0 0 2rem;
  font-size: 1.3rem;
  color: var(--muted);
  max-width: 36ch;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 2px solid var(--tide);
  background: var(--tide);
  color: var(--on-tide);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--tide-strong); border-color: var(--tide-strong); color: var(--on-tide); }
.button.quiet { background: transparent; color: var(--tide); }
.button.quiet:hover { background: var(--tide-soft); color: var(--tide-strong); }

.phone {
  justify-self: center;
  width: min(19rem, 100%);
  aspect-ratio: 9 / 18.5;
  border-radius: 2.9rem;
  border: 0.65rem solid var(--ink);
  background: var(--tide-soft);
  position: relative;
  overflow: hidden;
  padding: 1rem 1.1rem 1.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(14, 107, 102, 0.45);
}
.phone::before {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: var(--tide);
  opacity: 0.14;
  right: -10rem;
  bottom: -7rem;
}
.status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
}
.status .bars { display: flex; gap: 3px; align-items: flex-end; }
.status .bars span { width: 4px; background: var(--ink); border-radius: 1px; }
.status .bars span:nth-child(1) { height: 5px; }
.status .bars span:nth-child(2) { height: 8px; }
.status .bars span:nth-child(3) { height: 11px; }
.clock {
  margin-top: 2.2rem;
  text-align: center;
  font-size: clamp(3.6rem, 9vw, 4.8rem);
  line-height: 1;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  position: relative;
}
.date {
  text-align: center;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
}
.notice {
  margin-top: auto;
  background: var(--surface);
  border-radius: 1.25rem;
  padding: 0.85rem 0.95rem;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.15rem 0.75rem;
  align-items: start;
  position: relative;
  font-size: 0.88rem;
  line-height: 1.4;
}
.notice .icon {
  grid-row: span 2;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  background: var(--signal);
  color: #3a2600;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  font-stretch: 112%;
}
.notice strong { font-weight: 650; }
.notice small { color: var(--muted); font-size: 0.78rem; margin-left: 0.35rem; }
.unlock {
  margin: 1.1rem auto 0;
  width: 6.5rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0.7;
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .notice { animation: arrive 700ms cubic-bezier(0.2, 0.8, 0.2, 1) 600ms both; }
  @keyframes arrive {
    from { opacity: 0; transform: translateY(1.25rem) scale(0.97); }
    to { opacity: 1; transform: none; }
  }
}

/* Abschnitte */
.section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  line-height: 1.12;
  font-weight: 750;
  font-stretch: 118%;
  letter-spacing: -0.015em;
}
.section > .wrap > p { max-width: 60ch; }

.offer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: 0;
}
.offer div { border-left: 3px solid var(--tide); padding-left: 1.1rem; }
.offer dt { font-weight: 700; font-size: 1.2rem; margin-bottom: 0.35rem; }
.offer dd { margin: 0; color: var(--muted); }

/* Rechtstexte und Formular */
.page {
  padding-block: clamp(2rem, 6vw, 4rem) clamp(3rem, 8vw, 5rem);
}
.page h1 {
  margin: 0 0 2rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 72;
}
.prose { max-width: 68ch; }
.prose h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 700;
  font-stretch: 112%;
}
.prose h3 { margin: 1.75rem 0 0.5rem; font-size: 1.15rem; font-weight: 700; }
.prose p, .prose ul, .prose address { margin: 0 0 1rem; }
.prose address { font-style: normal; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.stand { color: var(--muted); font-size: 0.95rem; margin-top: 2.5rem; }

.form { max-width: 40rem; display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 650; }
.field .hint { color: var(--muted); font-size: 0.95rem; font-weight: 400; }
.field input, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  width: 100%;
}
.field textarea { min-height: 11rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--tide); outline: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .note { color: var(--muted); font-size: 0.95rem; margin: 0; }

.message {
  max-width: 40rem;
  border-left: 4px solid var(--tide);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.message.error { border-left-color: var(--signal); }
.message p { margin: 0 0 0.75rem; }
.message p:last-child { margin: 0; }

/* Fußzeile */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--tide); }

@media (max-width: 52rem) {
  .hero { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .phone { width: min(16.5rem, 100%); }
  .offer { grid-template-columns: 1fr; }
}

/* Logo */
.logo { width: 2.25rem; height: 2.25rem; flex: none; }
.logo-bg { fill: var(--tide); }
.logo-letter { fill: var(--on-tide); font-family: var(--font); font-weight: 800; font-size: 17px; }
.logo-dot { fill: var(--signal); stroke: var(--paper); stroke-width: 2.5; }
.site-footer p { margin: 0; }
.site-footer .wrap { align-items: center; }
.page .prose + .form { margin-top: 1.5rem; }
