/* Platzhalter augen-bernhardt.de bis zur Eröffnung im Januar 2027.
   Werte aus Design-System/01_Tokens/design-tokens.css (Augen-Teil, Stand 23.10.2026). */

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/AtkinsonHyperlegibleNext-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --off-white: #faf8f5;
  --warm-grey: #192228;
  --cool-blue: #4c6e7d;
  --blau-tief: #3a5662;
  --sand: #e6dcc8;
  --magenta: #c94373;
  --magenta-hell: #de8ca8;
  --schrift-text: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --schrift-titel: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --rand: clamp(1.25rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--warm-grey);
  font-family: var(--schrift-text);
  font-size: 1.25rem;
  line-height: 1.5;
}
p { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cool-blue); outline-offset: 3px; border-radius: 2px; }

/* ---------- Marke ---------- */
.marke { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.marke__bild { height: 2.6rem; width: auto; color: var(--magenta-hell); flex: none; }
.marke__wort { height: 2.6rem; width: auto; color: var(--off-white); flex: none; }

/* ---------- Startseite ---------- */
.buehne {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "tafel" "bild" "fuss";
}

.tafel {
  grid-area: tafel;
  background: var(--blau-tief);
  color: var(--off-white);
  padding: var(--rand);
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 7vh, 5rem);
}
.tafel a:focus-visible { outline-color: var(--magenta-hell); }

.dachzeile {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: .01em;
  margin-bottom: clamp(1rem, 2.5vh, 1.75rem);
}
.strich {
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--magenta-hell);
  margin-bottom: 1.1rem;
}

h1 {
  font-family: var(--schrift-titel);
  font-weight: 400;
  margin: 0;
  line-height: .95;
  letter-spacing: -.01em;
}
.titel__klein {
  display: block;
  font-size: clamp(2.75rem, 6vw, 5rem);
}
.titel__gross {
  display: block;
  font-size: clamp(4rem, 34vw, 17rem);
  line-height: .82;
  letter-spacing: -.035em;
  font-variant-numeric: lining-nums;
  margin-left: -.05em;
}

.einleitung {
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  max-width: 24em;
  font-size: clamp(1.25rem, 1.6vw, 1.4rem);
}

.angaben {
  font-style: normal;
  font-size: 1.0625rem;
  line-height: 1.45;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--off-white) 35%, transparent);
  display: grid;
  gap: 1rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), max-content));
}
.angaben__name { font-weight: 600; }
.angaben__kontakt { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-block: -.6rem; }
.angaben__kontakt a { display: inline-block; padding-block: .6rem; }

.bild { grid-area: bild; display: block; height: 30vw; }

/* Bildmarke als Prägung über der Kante zwischen Tafel und heller Fläche.
   Zwei gleich gesetzte Kopien: eine in der Tafel (von ihr beschnitten, Blau hell),
   eine hinter der Tafel (Sand, sichtbar nur außerhalb). Lage in vw und svh,
   damit beide Kopien deckungsgleich sind. */
.buehne { position: relative; isolation: isolate; overflow: hidden; }
.tafel { position: relative; background: var(--blau-tief); overflow: hidden; min-height: 88svh; }
.tafel > :not(.praegung) { position: relative; z-index: 1; }
.fusszeile { position: relative; z-index: 1; }
.praegung { position: absolute; inset: 0; pointer-events: none; }
.praegung--sand { z-index: -2; color: var(--sand); }
.praegung--blau { z-index: 0; color: color-mix(in srgb, var(--blau-tief) 86%, var(--off-white)); }
.praegung__marke {
  position: absolute;
  width: 190vw;
  height: auto;
  left: -48vw;
  top: calc(88svh - 66vw);
}

.fusszeile {
  grid-area: fuss;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  justify-content: flex-end;
  padding: .5rem var(--rand) 1.25rem;
  font-size: 1rem;
}
.fusszeile a { display: inline-block; padding-block: .7rem; min-width: 44px; text-align: center; }

@media (min-width: 60rem) {
  .buehne {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    grid-template-rows: 1fr auto;
    grid-template-areas: "tafel bild" "tafel fuss";
  }
  .tafel { padding-block: clamp(2.5rem, 6vh, 4.5rem); }
  .bild { height: auto; }
  .tafel { min-height: 100vh; min-height: 100svh; }
  .praegung__marke { width: min(82vw, 150vh); left: 55vw; top: 50vh; top: 50svh; transform: translate(-40%, -46%); }
  .titel__gross { font-size: clamp(8rem, 19vw, 17rem); }
  .marke__bild, .marke__wort { height: 3rem; }
}

@media (min-width: 60rem) and (max-height: 46rem) {
  .titel__gross { font-size: clamp(6rem, 26vh, 12rem); }
}

/* ---------- Impressum, Datenschutz ---------- */
.recht__kopf {
  background: var(--blau-tief);
  padding: 1.5rem var(--rand);
}
.recht__marke { display: inline-block; text-decoration: none; }
.recht__marke:focus-visible { outline-color: var(--magenta-hell); }
.recht__marke .marke__bild, .recht__marke .marke__wort { height: 2.4rem; }

.recht__text {
  max-width: calc(33em + 2 * var(--rand));
  padding: clamp(2rem, 6vw, 4rem) var(--rand) 2rem;
  overflow-wrap: break-word;
  hyphens: auto;
}
.recht__text h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1.1; margin-bottom: 1.5rem; }
.recht__text h2 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin: 2rem 0 .5rem; }
.recht__text p + p { margin-top: .75rem; }
.hinweis {
  background: var(--sand);
  padding: .75rem 1rem;
  border-left: 4px solid var(--magenta);
  font-size: 1.0625rem;
}
.recht__fuss { border-top: 1px solid #ddddde; }
.recht__fuss .fusszeile { justify-content: flex-start; }

@media print {
  .tafel, .recht__kopf { background: none; color: var(--warm-grey); }
  .marke__wort { color: var(--warm-grey); }
}
