/* AURA DESIGN LAB, Coming-Soon-Seite
   Gleiche Welt wie der Relaunch (siehe aura-relaunch/ART-DIRECTION.md):
   Instrument Sans + Serif-Akzent, Cream + Ink + Espresso, Hero-Video als Bühne.
   Linksbündig: Logo oben, „Coming soon." im Himmel, Rechtszeile unten. Kein Claim, nichts vom Relaunch verraten.
   Schriften lokal (DSGVO), keine externen Quellen. */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }

:root {
  --grund: #f7f3ee;          /* Cream */
  --text: #14110f;           /* Ink */
  --dunkel: #3d2e22;         /* Espresso */
  --platzhalter: #e8dfd2;    /* Tiefes Cream */
  --leise: #686868;          /* Text gedämpft */
  --linie: rgba(20, 17, 15, 0.1);
  --schrift: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --akzent: "Instrument Serif", Georgia, serif;
  --rand: clamp(1.25rem, 3.2vw, 3.5rem);
}

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

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }

/* ── Bühne: genau ein Bildschirm ───────── */
.buehne {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  padding:
    calc(env(safe-area-inset-top, 0px) + clamp(1.5rem, 3.2vw, 2.25rem))
    var(--rand)
    calc(env(safe-area-inset-bottom, 0px) + clamp(1.25rem, 2.6vw, 2rem));
  overflow: hidden;
}

.medien {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--platzhalter);
}

.bild,
.video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}

.video { opacity: 0; transition: opacity 1.2s ease; }
.video.laeuft { opacity: 1; }

/* Weicher Cream-Schleier: oben für Logo und Schriftzug, unten hauchfein für die Rechtszeile */
.medien::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(247, 243, 238, 0.62) 0, rgba(247, 243, 238, 0.3) 5.5rem, rgba(247, 243, 238, 0) 10rem),
    linear-gradient(180deg, rgba(247, 243, 238, 0.8) 0%, rgba(247, 243, 238, 0.56) 42%, rgba(247, 243, 238, 0) 72%);
}

.kopf,
.inhalt,
.fuss { position: relative; z-index: 1; }

/* ── Logo ──────────────────────────────── */
.marke { display: inline-flex; }
.marke img { width: auto; height: 1.375rem; }

/* ── Schriftzug ────────────────────────── */
.inhalt { align-self: start; padding-top: clamp(4.5rem, 13vh, 9.5rem); }

.titel {
  font-size: clamp(3rem, 1rem + 6.4vw, 8.25rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.akzent {
  font-family: var(--akzent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: 0;
}

/* ── Rechtszeile ───────────────────────── */
/* Alles an der linken Kante wie Logo und Schriftzug: rechts liegen die dunklen Spiegelungen der Architektur */
.fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 2.5rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: rgba(20, 17, 15, 0.82);
}

.recht { display: flex; flex-wrap: wrap; gap: 0 1.75rem; }
.recht a {
  display: inline-block;
  padding-block: 0.5rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.recht a:hover { opacity: 0.6; }

/* Handy: Rechtslinks oben, Copyright als leise letzte Zeile */
@media (max-width: 599px) {
  .fuss { flex-direction: column-reverse; align-items: flex-start; gap: 0.25rem; }
}

/* Handy quer: alles bleibt auf einem Bildschirm */
@media (max-height: 520px) and (orientation: landscape) {
  .inhalt { padding-top: 1.75rem; }
  .titel { font-size: 3.5rem; }
}

/* ── Breit: Querformat-Video, Schleier von links ── */
@media (min-width: 1024px) {
  .bild,
  .video { object-position: 72% 50%; }

  .medien::after {
    background:
      linear-gradient(180deg, rgba(247, 243, 238, 0.6) 0, rgba(247, 243, 238, 0.3) 90px, rgba(247, 243, 238, 0) 180px),
      linear-gradient(0deg, rgba(247, 243, 238, 0.55) 0, rgba(247, 243, 238, 0.25) 4.5rem, rgba(247, 243, 238, 0) 8rem),
      linear-gradient(90deg, rgba(247, 243, 238, 0.7) 0%, rgba(247, 243, 238, 0.42) 38%, rgba(247, 243, 238, 0) 64%);
  }

  .marke img { height: 1.625rem; }
}

/* ── Rechtsseiten: Impressum, Datenschutz, AGB ── */
/* Ruhiges Editorial-Dokument: gleiche Kopfzeile und Rechtszeile wie die Startseite,
   schmale Lesespalte, Typografie und Weißraum statt Karten, Linien oder Bilder. */
.seite {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: minmax(0, 1fr);  /* lange Wörter dürfen die Spalte nie breiter als den Bildschirm drücken */
  min-height: 100vh;
  min-height: 100svh;
  padding:
    calc(env(safe-area-inset-top, 0px) + clamp(1.5rem, 3.2vw, 2.25rem))
    var(--rand)
    calc(env(safe-area-inset-bottom, 0px) + clamp(1.25rem, 2.6vw, 2rem));
}

.dokument {
  width: 100%;
  max-width: 44rem;
  margin-inline: auto;
  padding-top: clamp(5rem, 14vh, 10rem);
}

.dokument-label {
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  color: var(--leise);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.4;
}

/* Lange Titelwörter („Datenschutzerklärung", „Geschäftsbedingungen", rund 10,2 Schriftbreiten) sollen nie
   getrennt werden: Auf breiten Schirmen darf der Titel rechts über die Lesespalte hinausragen, auf schmalen
   wird die Schrift so klein, dass das längste Wort in eine Zeile passt. Silbentrennung bleibt nur Notnagel. */
.dokument-titel {
  margin-right: min(0px, calc((44rem - 100vw) / 2 + var(--rand)));
  font-size: min(clamp(2.125rem, 1rem + 4.9vw, 5.5rem), calc((100vw - 2 * var(--rand)) / 10.4));
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}

.dokument-meta {
  margin-top: clamp(1.25rem, 2.4vw, 1.75rem);
  color: var(--leise);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.dokument-text {
  margin-top: clamp(4rem, 9vw, 7rem);
  color: var(--leise);
  font-size: clamp(1rem, 0.96rem + 0.15vw, 1.0625rem);
  line-height: 1.72;
  overflow-wrap: break-word;
}

.dokument-text h2 {
  margin: clamp(3.25rem, 6vw, 4.75rem) 0 1.25rem;
  color: var(--text);
  font-size: clamp(1.625rem, 1.2rem + 1vw, 2.125rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  hyphens: auto;  /* „Verbraucherstreitbeilegung" ist auf kleinen Handys breiter als die Spalte */
}
.dokument-text h2:first-child { margin-top: 0; }

.dokument-text h3 {
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
  font-size: clamp(1.1875rem, 1.05rem + 0.4vw, 1.4375rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.dokument-text h2 + h3 { margin-top: 1.75rem; }

.dokument-text p,
.dokument-text address,
.dokument-text ul { margin: 0 0 1.15em; }
.dokument-text > :last-child { margin-bottom: 0; }

.dokument-text address { font-style: normal; }
.dokument-text strong { color: var(--text); font-weight: 500; }

.dokument-text ul { list-style: disc; padding-left: 1.25em; }
.dokument-text li { margin-bottom: 0.5em; padding-left: 0.25em; }
.dokument-text li::marker { color: var(--leise); }

.dokument-text a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(20, 17, 15, 0.35);
  text-underline-offset: 0.22em;
  transition: text-decoration-color 0.2s ease;
}
.dokument-text a:hover { text-decoration-color: currentColor; }

/* Rechtszeile schließt das Dokument mit viel Luft und einer feinen Linie ab */
.rechtsseite .fuss {
  margin-top: clamp(6rem, 13vw, 10rem);
  padding-top: clamp(0.75rem, 1.6vw, 1.25rem);
  border-top: 1px solid var(--linie);
}
.recht a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35em;
}

/* ── Auftritt: ruhig nacheinander, ohne Unschärfe ── */
@keyframes auftauchen {
  from { opacity: 0; transform: translateY(0.875rem); }
  to   { opacity: 1; transform: none; }
}

/* Nur auf der Startseite. Die Rechtsseiten stehen sofort ruhig da. */
.buehne .kopf  { animation: auftauchen 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
.buehne .titel { animation: auftauchen 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.35s both; }
.buehne .fuss  { animation: auftauchen 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s both; }

@media (prefers-reduced-motion: reduce) {
  .video { display: none; }
  .kopf, .titel, .fuss { animation: none; }
}
