/* sturmhorn.de – keine externen Schriften, keine Skripte, keine Cookies */
:root {
  --bg: #060606;
  --gold: #e2b04a;
  --gold-hi: #f6d98a;
  --text: #ece2cb;
  --muted: #b8ab92;
  --line: rgba(226, 176, 74, 0.45);
  --panel: rgba(9, 7, 5, 0.74);
  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
}

/* ---------- Hintergrund: fest stehende Ebene (funktioniert auch auf iOS, anders als background-attachment: fixed) */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--bg);
  background-image: url("../img/bg-1920.webp");
  background-size: cover;
  background-position: 58% 75%;
  background-repeat: no-repeat;
}
@media (min-width: 1921px), (min-width: 1400px) and (min-resolution: 1.5dppx) {
  .bg { background-image: url("../img/bg-2560.webp"); }
}
@media (orientation: portrait) and (max-width: 1100px) {
  .bg {
    background-image: url("../img/bg-mobil-1080.webp");
    background-position: 50% 100%;
  }
}
@media (orientation: portrait) and (max-width: 480px) and (max-resolution: 1.5dppx) {
  .bg { background-image: url("../img/bg-mobil-720.webp"); }
}
/* Lesbarkeit: Mitte und Ränder etwas dunkler */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(4, 3, 2, 0.45), rgba(4, 3, 2, 0) 70%),
    linear-gradient(to bottom, rgba(6, 6, 6, 0.15), rgba(6, 6, 6, 0) 30%, rgba(6, 6, 6, 0) 70%, rgba(6, 6, 6, 0.6));
}

/* ---------- Aufsteigende Funken (nur CSS, aus bei reduzierter Bewegung) */
.embers { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.embers span {
  position: absolute;
  bottom: -2vh;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffc46b;
  box-shadow: 0 0 6px 2px rgba(255, 140, 40, 0.75);
  opacity: 0;
  animation: rise 11s linear infinite;
}
.embers span:nth-child(1)  { left: 8%;  animation-duration: 12s; animation-delay: -1s; }
.embers span:nth-child(2)  { left: 17%; animation-duration: 15s; animation-delay: -7s; width: 3px; height: 3px; }
.embers span:nth-child(3)  { left: 26%; animation-duration: 10s; animation-delay: -4s; }
.embers span:nth-child(4)  { left: 34%; animation-duration: 14s; animation-delay: -11s; width: 2px; height: 2px; }
.embers span:nth-child(5)  { left: 43%; animation-duration: 11s; animation-delay: -2s; width: 3px; height: 3px; }
.embers span:nth-child(6)  { left: 51%; animation-duration: 16s; animation-delay: -9s; }
.embers span:nth-child(7)  { left: 58%; animation-duration: 12s; animation-delay: -5s; width: 2px; height: 2px; }
.embers span:nth-child(8)  { left: 64%; animation-duration: 9s;  animation-delay: -3s; width: 5px; height: 5px; }
.embers span:nth-child(9)  { left: 71%; animation-duration: 13s; animation-delay: -12s; width: 3px; height: 3px; }
.embers span:nth-child(10) { left: 78%; animation-duration: 10s; animation-delay: -6s; }
.embers span:nth-child(11) { left: 86%; animation-duration: 15s; animation-delay: -10s; width: 2px; height: 2px; }
.embers span:nth-child(12) { left: 93%; animation-duration: 12s; animation-delay: -8s; width: 3px; height: 3px; }
@keyframes rise {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 0.95; }
  50%  { transform: translate(3vw, -45vh); opacity: 0.7; }
  100% { transform: translate(-2vw, -95vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .embers { display: none; }
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- Inhalt */
.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(28px, 7vh, 88px) 16px 32px;
  text-align: center;
}

.hero .logo {
  display: block;
  width: clamp(150px, 30vmin, 250px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(255, 140, 40, 0.32));
}
.hero h1 { margin: clamp(14px, 3vh, 26px) 0 0; line-height: 0; }
.hero h1 img { width: min(100%, 600px); height: auto; }

.rule {
  position: relative;
  width: min(78%, 420px);
  height: 2px;
  margin: 18px auto 16px;
  background: linear-gradient(90deg, rgba(226, 176, 74, 0), var(--gold) 20%, var(--gold-hi) 50%, var(--gold) 80%, rgba(226, 176, 74, 0));
}
.rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--gold-hi);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 170, 60, 0.6);
}

.tagline {
  margin: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.4vw, 1.05rem);
  letter-spacing: 0.42em;
  padding-left: 0.42em;               /* optisch zentriert trotz Sperrung */
  text-transform: uppercase;
}
.lead {
  margin: 10px auto 0;
  max-width: 34em;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
}

/* ---------- Plattform-Links */
.links {
  list-style: none;
  margin: clamp(26px, 5vh, 40px) auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.links li:first-child { grid-column: 1 / -1; }
.links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.links a:hover,
.links a:focus-visible {
  border-color: var(--gold-hi);
  background: rgba(40, 24, 8, 0.78);
  box-shadow: 0 0 26px rgba(255, 140, 40, 0.28);
  transform: translateY(-1px);
}
.links a:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
.links svg { width: 24px; height: 24px; flex: none; fill: var(--gold); }
.links .name { font-weight: 700; letter-spacing: 0.04em; }
.links .handle { color: var(--muted); font-size: 0.9em; }
.links li:first-child a { min-height: 64px; font-size: 1.1rem; border-color: rgba(246, 217, 138, 0.7); }
.links li:first-child svg { width: 30px; height: 30px; }
.links .name, .links .handle { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .links li:not(:first-child) .handle { display: none; }
  .links a { gap: 10px; padding: 12px; }
}
@media (max-width: 330px) {
  .links { grid-template-columns: 1fr; }
}

/* ---------- Textblöcke */
.panel {
  margin: 18px 0 0;
  padding: 22px 24px;
  text-align: left;
  border: 1px solid rgba(226, 176, 74, 0.2);
  border-radius: 14px;
  background: var(--panel);
}
.panel:first-of-type { margin-top: clamp(28px, 5vh, 44px); }
.panel h2 {
  margin: 0 0 8px;
  font: 700 1.05rem/1.3 var(--serif);
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.panel p { margin: 0 0 12px; }
.panel p:last-child { margin-bottom: 0; }
.panel .en { color: var(--muted); font-size: 0.95em; }
.panel .note { color: var(--muted); font-size: 0.92em; }

.cta {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f2cf75, #c38a26);
  color: #1a1004;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 150, 40, 0.3);
}
.cta:hover, .cta:focus-visible { background: linear-gradient(180deg, #ffe39a, #d79a2e); }
.cta:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

a { color: var(--gold-hi); }

/* ---------- Fuß */
.foot {
  margin-top: clamp(28px, 6vh, 56px);
  color: var(--muted);
  font-size: 0.9rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
.foot p { margin: 6px 0; }
.foot a { color: var(--text); text-underline-offset: 3px; }
.foot nav a { margin: 0 8px; }

/* ---------- Unterseiten (Impressum, Datenschutz, 404) */
.page { text-align: left; }
.page .back { display: inline-block; margin-bottom: 16px; }
.page h1 {
  margin: 0 0 16px;
  font: 700 clamp(1.5rem, 4vw, 2rem)/1.2 var(--serif);
  color: var(--gold);
  letter-spacing: 0.06em;
}
.page h2 { font: 700 1.1rem/1.3 var(--serif); color: var(--gold); margin: 24px 0 6px; }
.page .hinweis {
  padding: 12px 14px;
  border-left: 3px solid #d9532b;
  background: rgba(80, 20, 8, 0.45);
}
.center { text-align: center; }
.logo-small {
  display: block;
  width: 140px;
  height: auto;
  margin: 0 auto 8px;
  filter: drop-shadow(0 0 22px rgba(255, 140, 40, 0.3));
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
