/* gausepohl.legal – Übergangsseite
   Schrift: TeX Gyre Heros (GUST Font License, siehe fonts/), selbst gehostet. */

@font-face {
  font-family: 'TeX Gyre Heros';
  font-style: normal;
  font-weight: 400 599;
  font-display: swap;
  src: url('fonts/TeXGyreHeros-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'TeX Gyre Heros';
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url('fonts/TeXGyreHeros-bold.woff2') format('woff2');
}

:root {
  --blau: #0039FF;
  --schwarz: #000000;
  --weiss: #ffffff;
}

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

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

body {
  margin: 0;
  font-family: 'TeX Gyre Heros', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

img { display: block; }

/* ---------- gemeinsamer Footer ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid currentColor;
  padding-top: 20px;
  font-size: 15px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* ---------- Startseite (blau, Animation) ---------- */

.start { background: var(--blau); color: var(--weiss); }

.start .page {
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(24px, 5vw, 72px) 24px;
}

.start .logo { width: clamp(200px, 18vw, 280px); height: auto; }

.stage {
  flex: 1 1 auto;
  min-height: 0;
  container-type: size;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anim {
  position: relative;
  width: 100%;
  width: min(100cqw, 554cqh, 1700px);
  aspect-ratio: 1108 / 200;
}
.anim svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.anim text {
  font-family: 'TeX Gyre Heros', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 140.08px;
  font-kerning: none;
  text-rendering: geometricPrecision;
  fill: var(--weiss);
}
.anim .ln { fill: var(--weiss); }

/* Grundzustand (und bei reduzierter Bewegung): g——o */
.anim .weg { opacity: 0; }

/* Endlosschleife (3,25 s), harte Schnitte wie im Agentur-Video:
   1. gausepohl.legal   2. g   o   3. g——o */
@keyframes weg   { 0% { opacity: 1; } 33.33% { opacity: 0; } 100% { opacity: 0; } }
@keyframes linie { 0% { opacity: 0; } 66.67% { opacity: 1; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .anim .weg { animation: weg 3.25s step-end infinite; }
  .anim .ln  { animation: linie 3.25s step-end infinite; }
}

.info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 48px;
  justify-content: space-between;
  align-items: flex-end;
  padding: 8px 0 20px;
}
.soon {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mail { font-size: clamp(26px, 3.2vw, 46px); line-height: 1.15; text-decoration: underline; text-underline-offset: 0.12em; }

@media (max-width: 600px) {
  .start .page { padding: 24px 16px 16px; }
  .start .head { padding: 0 8px; }
  .start .logo { width: 168px; }
  .info { flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px 8px 20px; }
  .soon { font-size: 22px; }
  .mail { font-size: 26px; }
  .start .foot { display: block; padding: 4px 8px 0; font-size: 14px; }
  .start .foot nav { flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 0; white-space: nowrap; }
  .start .foot nav a { padding: 12px 0; }
  .start .foot .copy { display: block; padding-bottom: 4px; font-size: 12px; }
}

/* ---------- Unterseiten (weiß, Text) ---------- */

.legal { background: var(--weiss); color: var(--schwarz); }

.legal .page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(24px, 5vw, 72px) 24px;
}
.legal .logo { width: 200px; height: auto; }

.legal main { flex: 1 0 auto; padding: 64px 0 40px; max-width: 800px; }

.legal .back { display: inline-block; margin: 0 0 28px; padding: 8px 0; font-size: 16px; font-weight: 700; color: var(--blau); text-decoration: none; }
.legal .back.end { margin: 24px 0 0; }
.legal .back:hover, .legal .back:focus-visible { text-decoration: underline; }

.legal h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--blau);
}
.legal .meta { margin: 0 0 48px; font-size: 15px; }

.legal h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.legal h2 .nr, .legal .ab .nr { font-variant-numeric: tabular-nums; }
.legal h2 { display: grid; grid-template-columns: 3rem 1fr; gap: 0 8px; }
.legal h2 { color: var(--blau); }

.legal .ab {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 8px;
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.6;
}
.legal .ab p { margin: 0; }
.legal .ab ul { margin: 12px 0 0; padding-left: 1.2em; }
.legal .ab li { margin: 0 0 10px; }
.legal .ab li:last-child { margin-bottom: 0; }
.legal .ab.solo { display: block; padding-left: calc(3rem + 8px); }
.legal .ab.solo p { margin: 0; }

.legal main a { color: var(--blau); text-decoration: underline; }

.legal mark { background: #fff3a3; color: var(--schwarz); padding: 0 2px; }

.legal dl.fakten {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 12px 24px;
  margin: 0 0 32px;
  font-size: 17px;
  line-height: 1.5;
}
.legal dl.fakten dt { font-weight: 700; }
.legal dl.fakten dd { margin: 0; }

.legal .block { margin: 0 0 20px; font-size: 17px; line-height: 1.5; }

/* Tabelle bündig mit der Textspalte (wie die Absätze darüber) */
.legal table.angaben { border-collapse: collapse; width: calc(100% - 3rem - 8px); margin: 12px 0 0 calc(3rem + 8px); font-size: 16px; line-height: 1.5; }
.legal table.angaben th, .legal table.angaben td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-top: 1px solid var(--schwarz); }
.legal table.angaben th { width: 200px; font-weight: 700; }

@media (max-width: 600px) {
  .legal .page { padding: 24px 16px 16px; }
  .legal main { padding: 40px 0 40px; }
  .legal h2, .legal .ab { grid-template-columns: 2.6rem 1fr; }
  .legal .ab.solo { padding-left: calc(2.6rem + 8px); }
  .legal dl.fakten { grid-template-columns: 1fr; gap: 2px; }
  .legal dl.fakten dd { margin-bottom: 14px; }
  .legal table.angaben { width: calc(100% - 2.6rem - 8px); margin-left: calc(2.6rem + 8px); }
  .legal table.angaben th, .legal table.angaben td { display: block; width: auto; padding: 0; border: 0; }
  .legal table.angaben th { padding-top: 12px; border-top: 1px solid var(--schwarz); }
  .legal table.angaben td { padding-bottom: 12px; }
  .legal .foot { gap: 8px 24px; font-size: 14px; }
  .legal .foot nav { gap: 4px 24px; }
  .legal .foot nav a { padding: 10px 0; }
}
