/* Modellbau-Atlas | Coming-Soon + Rechtliches (Aufbau wie bosmarkt.de) */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/Manrope-Regular.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; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/Manrope-LatinExt.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #14284b;
  --navy-deep: #0a1730;
  --navy-light: #1d3a6a;
  --red: #e63946;
  --pin: #e22b2b;
  --yellow: #ffc21a;
  --blue: #2b6cb0;
  --green: #2a9d8f;
  --violet: #7b4fa0;
  --sky: #9cc0ec;
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, .84);
  --muted: rgba(255, 255, 255, .58);
  --line: rgba(255, 255, 255, .16);
  --r: 3px;
  --leiste: linear-gradient(90deg, var(--red) 0 20%, var(--yellow) 20% 40%, var(--blue) 40% 60%, var(--green) 60% 80%, var(--violet) 80% 100%);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100dvh;
  background: var(--navy);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body { display: flex; flex-direction: column; overflow-x: hidden; }

a { color: var(--sky); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: var(--r); }

/* ---------- Hintergrund ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.bg-vignette {
  background: radial-gradient(ellipse 85% 75% at 50% 42%, var(--navy-light) 0%, var(--navy) 48%, var(--navy-deep) 100%);
}

/* Höhenlinien, die langsam wandern, Mitte ausgeblendet für die Lesbarkeit */
.bg-topo {
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, rgba(0,0,0,.18) 0%, rgba(0,0,0,.55) 55%, #000 100%);
          mask-image: radial-gradient(ellipse 62% 58% at 50% 46%, rgba(0,0,0,.18) 0%, rgba(0,0,0,.55) 55%, #000 100%);
}
.bg-topo::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: url("../img/hoehenlinien.svg") center / cover no-repeat;
  opacity: .11;
  animation: drift 90s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1.02); }
  to   { transform: translate3d(1.5%, 1%, 0) scale(1.06); }
}

/* Pins, die auf der Karte landen (per JS) */
.bg-pins { z-index: 0; }
.map-pin {
  position: absolute;
  width: 26px; height: 35px;
  margin: -35px 0 0 -13px;           /* Spitze = Koordinate */
  opacity: 0;
  animation: pin-life var(--dauer, 8s) ease-out forwards;
}
.map-pin svg { display: block; width: 100%; height: 100%; }
.map-pin::after {                     /* Schatten am Boden */
  content: "";
  position: absolute;
  left: 50%; bottom: -3px;
  width: 12px; height: 4px;
  margin-left: -6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  filter: blur(1.5px);
}
@keyframes pin-life {
  0%   { opacity: 0; transform: translateY(-26px); }
  9%   { opacity: var(--deckkraft, .7); transform: translateY(2px); }
  13%  { transform: translateY(0); }
  82%  { opacity: var(--deckkraft, .7); transform: translateY(0); }
  100% { opacity: 0; transform: translateY(0); }
}

/* Kartenrand: Nordpfeil, Maßstab, Koordinaten */
.map-legend {
  position: fixed;
  z-index: 1;
  left: 24px; bottom: 22px;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  pointer-events: none;
}
.north { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.north svg { width: 18px; height: 26px; }
.scale { display: flex; flex-direction: column; gap: 5px; }
.scale-bar {
  width: 150px; height: 6px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0 25%, transparent 25% 50%);
}
.scale-num { display: flex; justify-content: space-between; width: 158px; margin-left: -4px; }
@media (max-width: 760px) {
  .map-legend { display: none; }
}

/* Filmkorn */
.bg-grain {
  opacity: .1;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Coming Soon ---------- */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo {
  width: clamp(240px, 64vw, 440px);
  margin: 0 0 46px;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-logo img { display: block; width: 100%; height: auto; }

.launch {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.9vw, 24px);
  font-weight: 500;
  color: var(--yellow);
  animation: rise .9s .12s cubic-bezier(.2, .7, .2, 1) both;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 5.4vw, 50px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
  animation: rise .9s .2s cubic-bezier(.2, .7, .2, 1) both;
}
/* Schlüsselwörter mit der Maßstabsleiste aus dem Logo unterstrichen */
.hero h1 em {
  font-style: normal;
  white-space: nowrap;
  background: var(--leiste) left bottom / 100% .13em no-repeat;
  padding-bottom: .06em;
}

.lead {
  margin: 0 0 30px;
  max-width: 56ch;
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-soft);
  text-wrap: pretty;
  animation: rise .9s .28s cubic-bezier(.2, .7, .2, 1) both;
}

.tags {
  list-style: none;
  margin: 0 0 42px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  animation: rise .9s .36s cubic-bezier(.2, .7, .2, 1) both;
}
.tags li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 12px 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(10, 23, 48, .35);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}
.tags li::before {
  content: "";
  width: 4px; height: 16px;
  border-radius: 1px;
  background: var(--c);
}

.contact {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  color: var(--muted);
  animation: rise .9s .44s cubic-bezier(.2, .7, .2, 1) both;
}
.contact a {
  display: table;
  margin: 12px auto 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
  background: var(--leiste) left bottom / 100% 3px no-repeat;
  transition: color .15s;
}
.contact a:hover { color: var(--yellow); }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  padding: 20px 16px 26px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Rechtliche Seiten ---------- */
.legal {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}
.legal .page-logo { display: inline-block; margin: 0 0 40px; border: 0; }
.legal .page-logo img { width: 190px; height: auto; display: block; }
.legal .eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.legal h1 { margin: 0 0 32px; font-size: clamp(32px, 6vw, 46px); font-weight: 400; line-height: 1.1; letter-spacing: 0; }
.legal h2 { margin: 36px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 600; color: var(--text); }
.legal h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 600; }
.legal p, .legal li { margin: 0 0 12px; font-size: 16px; line-height: 1.65; font-weight: 400; color: var(--text-soft); }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal a { text-decoration: none; border-bottom: 1px solid rgba(156, 192, 236, .45); }
.legal a:hover { border-bottom-color: var(--sky); }
.legal .stand { margin-top: 32px; font-size: 14px; color: var(--muted); }

/* ---------- Nach-oben-Knopf (Rechtsseiten) ---------- */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 10;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--r);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s, background-color .15s;
}
.to-top.sichtbar { opacity: 1; visibility: visible; }
.to-top:hover { background: #3a7fc6; }
@media (max-width: 600px) {
  .to-top { right: 14px; bottom: 14px; }
  .legal + .site-footer { padding-bottom: 76px; }
}

/* ---------- Ruhige Variante ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .map-pin { opacity: var(--deckkraft, .7); }
}
