/* WP15D temporary public teaser for tinabuettner.de — self-contained, local-only.
   No external fonts/CDN/JS. Same CI + typography as the Tina public site:
   Barlow Condensed (Display) + Archivo (Body), self-hosted WOFF2 (same-origin /fonts/*).
   The WOFF2 files are copied on the server from the existing Tina Stage build output
   (next/font/google, latin subset) — see teaser/README.md. Runtime = HTML + CSS +
   local SVG + local WOFF2 only; no external request. */

/* --- Self-hosted Tina webfonts (same-origin) --- */
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("/fonts/barlow-condensed-800.woff2") format("woff2");
}
/* Archivo is served as one variable WOFF2 (all weights) by the Stage build. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/archivo.woff2") format("woff2");
}

:root {
  --race-black: #0a0a0d;
  --deep-plum: #201a2b;
  --editorial-white: #f5f3f0;
  --magenta: #c5147b;
  --magenta-hover: #d63a97;
  --muted: #b3b0ba;
  --hairline: #2b2933;
  --focus: #ff4fb0;
  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--race-black);
  color: var(--editorial-white);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  background: var(--magenta); color: #fff; padding: 12px 16px; font-family: var(--font-body);
}
.skip-link:focus { left: 16px; top: 16px; }

.wrap {
  max-width: 1180px;
  margin-inline: auto;
  min-height: 100svh;
  min-height: 100vh;
  padding: clamp(1.1rem, 4vw, 2.25rem) clamp(1.1rem, 5vw, 3rem) clamp(1.25rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
}

/* --- Brand bar (small logo left, quiet meta right) --- */
.brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: clamp(1.5rem, 6vw, 3rem);
}
.brandbar__logo-link { display: inline-flex; border-radius: 2px; }
.brandbar__logo { width: clamp(112px, 34vw, 150px); height: auto; display: block; }
.brandbar__meta {
  font-family: var(--font-body); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

/* --- Hero (editorial, left-aligned, asymmetric) --- */
.hero {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.9rem, 2.4vw, 1.4rem);
  padding-block: clamp(0.5rem, 3vw, 2rem);
  overflow: hidden; /* clips the oversized ghost year → no horizontal scroll */
}

.hero__kicker {
  margin: 0;
  font-family: var(--font-body); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--magenta);
  font-size: clamp(0.75rem, 0.62rem + 0.9vw, 1rem);
}

.hero__headline {
  position: relative; z-index: 1;
  margin: 0;
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.005em;
  line-height: 0.92;
  font-size: clamp(3.4rem, 16vw, 5.2rem);
}

.hero__ghost {
  display: none; /* desktop-only decorative year */
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; pointer-events: none; user-select: none;
}

.hero__lead {
  position: relative; z-index: 1;
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 0.95rem + 0.7vw, 1.28rem);
  color: var(--editorial-white);
}

.hero__rule {
  border: 0; height: 2px; width: clamp(56px, 12vw, 96px);
  background: var(--magenta); margin: clamp(0.4rem, 1.5vw, 0.9rem) 0;
}

.hero__status {
  position: relative; z-index: 1;
  margin: 0; max-width: 34rem; color: var(--muted);
  font-size: clamp(0.98rem, 0.92rem + 0.5vw, 1.15rem);
}

.hero__note {
  margin: 0.2rem 0 0;
  font-family: var(--font-body); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--editorial-white);
  font-size: clamp(0.74rem, 0.66rem + 0.5vw, 0.9rem);
}

.hero__cta {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px; margin-top: 0.4rem;
  font-family: var(--font-body); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--magenta); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.hero__cta:hover { color: var(--magenta-hover); border-bottom-color: var(--magenta-hover); }

/* --- Footer (quiet editorial row) --- */
.foot {
  flex-shrink: 0;
  border-top: 1px solid var(--hairline);
  padding-top: clamp(1rem, 3vw, 1.4rem);
  margin-top: clamp(1.5rem, 5vw, 2.5rem);
  display: flex; flex-direction: column; gap: 0.6rem;
  color: var(--muted); font-size: 0.8rem;
}
.foot__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; align-items: baseline; }
.foot__links a { color: var(--muted); text-decoration: none; }
.foot__links a:hover { color: var(--editorial-white); }
.foot__sig { margin: 0; font-size: 0.72rem; color: var(--muted); }

/* --- Desktop composition --- */
@media (min-width: 900px) {
  .hero { align-items: flex-start; }
  .hero__headline { font-size: clamp(4.5rem, 9vw, 8rem); }
  .hero__lead, .hero__status { max-width: 40rem; }
  .hero__ghost {
    display: block; position: absolute; z-index: 0;
    right: -0.06em; bottom: -0.12em;
    font-size: clamp(12rem, 26vw, 24rem); line-height: 0.8;
    color: rgba(245, 243, 240, 0.045);
  }
  .foot {
    flex-direction: row; align-items: baseline; justify-content: space-between; flex-wrap: wrap;
  }
  .foot__sig { text-align: right; }
}

/* --- Mobile finish (≤767px only; desktop base + ≥900px composition untouched) --- */
@media (max-width: 767px) {
  /* A. Hide the top-right meta on phones (competes with logo/kicker; year is already in the kicker). */
  .brandbar__meta { display: none; }
  /* B. Reduce the top whitespace between the brand bar and the kicker (still generous):
     top-align the hero (drop the vertical-centering offset) with a calm top padding. */
  .brandbar { padding-bottom: 0.85rem; }
  .hero { justify-content: flex-start; padding-block: 1.1rem 0; }
  /* C. Deliberate footer: © on its own line, then Instagram · Impressum · Datenschutz, then signature. */
  .foot__links { column-gap: 0.5rem; row-gap: 0.2rem; }
  .foot__links > span { flex-basis: 100%; }
  .foot__links a:not(:first-of-type)::before { content: "·"; color: var(--muted); margin-inline-end: 0.5rem; }
}

/* Visible keyboard focus everywhere. */
a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- Legal content pages (Impressum / Datenschutz): readability > drama --- */
.legal__top { padding: clamp(1rem, 4vw, 1.6rem) clamp(1.1rem, 5vw, 3rem) 0; }
.legal__top a { display: inline-block; }
.legal__logo { width: clamp(112px, 30vw, 148px); height: auto; display: block; }

.legal {
  flex: 1 0 auto; width: 100%; max-width: 44rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.1rem, 5vw, 1.5rem) clamp(2rem, 5vw, 3.5rem);
}
.legal__back { display: inline-block; margin-bottom: 1.5rem; color: var(--magenta); text-decoration: none; font-weight: 600; }
.legal__back:hover { color: var(--magenta-hover); }

.legal h1 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em;
  font-size: clamp(2rem, 1.3rem + 3vw, 3rem); line-height: 1; margin: 0 0 1.5rem;
}
.legal h2 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem); margin: 2rem 0 0.6rem; color: var(--editorial-white);
}
.legal h2:first-of-type { margin-top: 1rem; }
.legal p { margin: 0 0 1rem; color: #e6e4ea; }
.legal address { font-style: normal; margin: 0 0 1rem; color: #e6e4ea; line-height: 1.6; }
.legal ul { margin: 0 0 1rem; padding-left: 1.4rem; color: #e6e4ea; }
.legal li { margin-bottom: 0.3rem; }
.legal a { color: var(--magenta); }
.legal a:hover { color: var(--magenta-hover); }
.legal .legal__note { color: var(--muted); font-size: 0.9rem; }
