/* BALANDURB – Landingpage. Schrift Archivo liegt lokal (keine Verbindung zu Google). */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 500 800; font-stretch: 100% 125%; font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 500 800; font-stretch: 100% 125%; font-display: swap;
  src: url(fonts/archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Immer der Grünton (dunkle Logo-Variante), unabhängig von der Hell/Dunkel-Einstellung des Geräts */
:root {
  color-scheme: dark;
  --bg: #1E3B33;
  --ink: #F2EEE6;
  --ink-soft: #D8D3C8;
  --muted: #C9C3B6;
  --accent: #E07A52;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px 24px;
}

/* Logo und Schriftzug nebeneinander */
.brand {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  font-weight: inherit;
}
.seal { width: clamp(120px, 18vw, 220px); height: auto; flex: none; color: var(--ink); }
.seal .ring-text { font-family: 'Archivo', sans-serif; }
.seal .accent-stroke { stroke: var(--accent); }
.seal .cut { stroke: var(--bg); }

.wordmark { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(10px, 1.4vw, 18px); }
.name {
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(11px, 1.5vw, 19px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.bar { width: clamp(22px, 3vw, 36px); height: clamp(6px, 0.75vw, 9px); background: var(--accent); flex: none; }

/* Text */
.flavour {
  max-width: 34em;
  margin: clamp(40px, 7vh, 72px) auto 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  font-weight: 500;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.flavour em { font-style: normal; color: var(--ink); font-weight: 700; }
.soon {
  margin: 20px 0 0;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.legal {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 20px 16px 28px;
  font-size: 13px;
}
.legal a { color: var(--muted); text-decoration: none; padding: 12px 4px; }
.legal a:hover, .legal a:focus-visible { color: var(--ink); text-decoration: underline; }

/* Schmale Bildschirme: Logo über dem Schriftzug */
@media (max-width: 640px) {
  .brand { flex-direction: column; }
  .wordmark { align-items: center; }
  .name { font-size: clamp(34px, 11vw, 56px); }
  .tagline { font-size: 11px; letter-spacing: 0.12em; gap: 8px; }
}

/* Unterseiten (Impressum, Datenschutz) */
.page { max-width: 42em; margin: 0 auto; padding: 48px 16px; text-align: left; line-height: 1.6; }
.page h1 { font-size: 28px; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.02em; }
.page h2 { font-size: 18px; margin-top: 32px; }
.page a { color: var(--ink); }
.page .back { font-size: 14px; }
.ph { background: color-mix(in srgb, var(--accent) 18%, transparent); padding: 0 4px; border-radius: 3px; }

/* ---------- Animation des Siegels: entsteht wie ein Bausatz ----------
   Ringe zeichnen sich → Umschrift dreht sich ein → B aus Stamm und Bögen → Laserschnitt →
   Schriftzug und Text. Danach dreht sich die Umschrift sehr langsam weiter.
   Bei „Bewegung reduzieren“ im Gerät bleibt alles ruhig. */
@media (prefers-reduced-motion: no-preference) {
  .seal .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw var(--d, .9s) cubic-bezier(.65, 0, .35, 1) var(--t, 0s) forwards; }
  .seal .ring-outer  { --t: .1s;  --d: 1.1s; }
  .seal .ring-inner  { --t: .35s; --d: 1s; }
  .seal .bowl-top    { --t: 1.35s; --d: .55s; }
  .seal .bowl-bottom { --t: 1.7s;  --d: .65s; }
  .seal .cut         { --t: 2.4s;  --d: .35s; stroke-linecap: square; }

  .seal .ring-in { transform-box: view-box; transform-origin: 60px 60px; opacity: 0; animation: ring-in 1.2s cubic-bezier(.2, .7, .2, 1) .7s forwards; }
  .seal .ring-spin { transform-box: view-box; transform-origin: 60px 60px; animation: spin 120s linear 2s infinite; }

  .seal .stem { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); animation: grow .5s cubic-bezier(.3, 1.4, .5, 1) 1s forwards; }

  .name, .tagline, .flavour, .soon, .legal { opacity: 0; animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
  .name    { animation-delay: 2.5s; }
  .tagline { animation-delay: 2.7s; }
  .bar     { transform-origin: left center; transform: scaleX(0); animation: bar .5s ease-out 2.9s forwards; }
  .flavour { animation-delay: 3.0s; }
  .soon    { animation-delay: 3.3s; }
  .legal   { animation-delay: 3.5s; }
}
@keyframes draw    { to { stroke-dashoffset: 0; } }
@keyframes ring-in { from { opacity: 0; transform: rotate(-120deg); } to { opacity: 1; transform: rotate(0); } }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes grow    { to { transform: scaleY(1); } }
@keyframes rise    { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bar     { to { transform: scaleX(1); } }
