/* Asap lokal eingebunden: Regular für h1, Bold für Unterüberschriften. */
@font-face {
  font-family: "Asap";
  src: url("assets/fonts/Asap-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Asap";
  src: url("assets/fonts/Asap-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
h1, h2, h3, h4, h5, h6 { font-family: "Asap", Arial, sans-serif; }

/* Variante 2: lokale Schriften, keine externen Abhängigkeiten. */
:root {
  color-scheme: light;
  --color-text: #303234;
  --color-muted: #65676a;
  --color-brand: #0089b0;
  --color-panel: #f3f4f4;
  --color-border: #e5e5e5;
  --content-gutter: clamp(2.5rem, 7vw, 6.875rem);
}

* { box-sizing: border-box; }
html { font-family: Arial, Helvetica, sans-serif; color: var(--color-text); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fff;
  font-size: 1rem;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 5px; }
.skip-link {
  position: absolute;
  top: .75rem;
  left: .75rem;
  z-index: 1;
  padding: .5rem 1rem;
  background: #fff;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

/* Der Footer bleibt bei kurzen Inhalten unten, ohne Inhalte zu überdecken. */
.coming-soon {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
}
.brand-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 4.7vw, 3.75rem);
  background: var(--color-panel);
}
.brand-logo { display: block; width: 24.375rem; max-width: 100%; height: auto; }
.content-panel {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 4.375rem var(--content-gutter);
  border-left: 4px solid var(--color-brand);
}
.content-inner { width: 100%; max-width: 32rem; }
h1 {
  margin: 0 0 2.25rem;
  max-width: 27.5rem;
  font-size: clamp(2rem, 3.125vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}
p { margin: 0 0 1.25rem; }
.intro { margin-bottom: 1rem; color: var(--color-muted); }
.contact { font-style: normal; }
.contact strong { font-weight: 600; }
.contact p:last-child { margin-bottom: 0; }
.contact a { overflow-wrap: anywhere; }
.site-footer {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 4rem;
  padding: .5rem var(--content-gutter);
  border-top: 1px solid var(--color-border);
  font-size: .875rem;
  color: #5b5d60;
}
.site-footer nav { display: flex; align-items: center; gap: .8125rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer span { color: #777; }

/* Rechtstexte verwenden dasselbe Stylesheet. */
.legal-content {
  flex: 1;
  width: min(100%, 52rem);
  margin-inline: auto;
  padding: 3rem 1.5rem;
  overflow-wrap: anywhere;
}
.home-link { display: inline-block; margin-bottom: 2rem; text-decoration: underline; }
.legal-content h1 { max-width: none; }

/* Tablet und Mobil: Logo über Text, blaue Trennlinie horizontal. */
@media (max-width: 56.25rem) {
  .coming-soon { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .brand-panel { padding: 1.875rem 1.5rem; }
  .brand-logo { width: 14.375rem; }
  .content-panel {
    align-items: flex-start;
    justify-content: center;
    padding: 2.25rem clamp(1.25rem, 5vw, 3rem);
    border-left: 0;
    border-top: 3px solid var(--color-brand);
  }
  h1 { font-size: 1.875rem; margin-bottom: 1.5625rem; }
  .site-footer { justify-content: center; padding-inline: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Lesbare Gliederung und erkennbare Links in den gelieferten Rechtstexten. */
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  line-height: 1.35;
  hyphens: auto;
  overflow-wrap: anywhere;
}
.legal-content h2 { margin: 2.5rem 0 1rem; font-size: 1.5rem; }
.legal-content h3 { margin: 2rem 0 .75rem; font-size: 1.25rem; }
.legal-content h4 { margin: 1.5rem 0 .75rem; font-size: 1rem; }
.legal-content p,
.legal-content li { hyphens: auto; }
.legal-content ul { padding-left: 1.5rem; margin: 0 0 1.25rem; }
.legal-content li + li { margin-top: .75rem; }
.legal-content a { text-decoration: underline; text-underline-offset: .2em; }

/* Rechtstexte im gleichen Zweispaltenraster wie die Startseite. */
.brand-home { display: block; width: 24.375rem; max-width: 100%; }
.legal-layout .brand-panel { align-items: flex-start; }
.legal-layout .brand-home {
  position: sticky;
  top: max(3.75rem, calc(50vh - 8.875rem));
}
.legal-layout .legal-content {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 4.375rem var(--content-gutter);
  border-left: 4px solid var(--color-brand);
}
@media (max-width: 56.25rem) {
  .brand-home { width: 14.375rem; }
  .legal-layout .brand-home { position: static; }
  .legal-layout .legal-content {
    padding: 2.25rem clamp(1.25rem, 5vw, 3rem);
    border-left: 0;
    border-top: 3px solid var(--color-brand);
  }
}
