/* bosmarkt.de – Coming-Soon + Rechtliches */
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("../fonts/barlow-semi-condensed-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #092444;
  --navy-deep: #051629;
  --blue: #126ee5;
  --blue-light: #53a2f2;
  --red: #d03e2d;
  --rose: #f4c4bd;
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, .82);
  --muted: rgba(255, 255, 255, .58);
  --line: rgba(255, 255, 255, .14);
  --r: 3px;
}

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

html, body {
  margin: 0;
  min-height: 100dvh;
  background: var(--navy);
  color: var(--text);
  font-family: "Barlow Semi Condensed", "Arial Narrow", 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(--blue-light); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: var(--r); }

/* ---------- Hintergrund ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* Vignette: Mitte etwas heller, Ränder tiefer */
.bg-vignette {
  background: radial-gradient(ellipse 85% 75% at 50% 42%, #0d2f57 0%, var(--navy) 45%, var(--navy-deep) 100%);
}

/* Kreisender Lichtkegel wie bei einer Rundumkennleuchte */
.bg-beam {
  --x: 50%; --y: 40%;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at var(--x) var(--y), #000 0%, rgba(0,0,0,.55) 35%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 70% at var(--x) var(--y), #000 0%, rgba(0,0,0,.55) 35%, transparent 72%);
}
.bg-beam::before {
  content: "";
  position: absolute;
  left: var(--x); top: var(--y);
  width: 260vmax; height: 260vmax;
  margin: -130vmax 0 0 -130vmax;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(83, 162, 242, 0) 280deg,
    rgba(83, 162, 242, .08) 318deg,
    rgba(83, 162, 242, .24) 342deg,
    rgba(140, 195, 255, .30) 350deg,
    rgba(83, 162, 242, .12) 356deg,
    transparent 360deg);
  animation: beam 6s linear infinite;
}
@keyframes beam { to { transform: rotate(360deg); } }

/* Großes Blaulicht als Ghost-Form */
.bg-ghost svg {
  position: absolute;
  right: -9vmax; bottom: -13vmax;
  width: 40vmax; height: auto;
  opacity: .025;
}
@media (max-width: 600px) {
  .bg-ghost svg { width: 92vw; right: -34vw; bottom: -10vw; opacity: .025; }
}

/* 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: 820px;
  margin: 0 auto;
  padding: 56px 16px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo {
  position: relative;
  width: clamp(250px, 72vw, 520px);
  margin: 0 0 44px;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hero-logo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }

.launch {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.9vw, 24px);
  font-weight: 500;
  color: var(--blue-light);
  animation: rise .9s .12s cubic-bezier(.2, .7, .2, 1) both;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(31px, 6vw, 54px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
  animation: rise .9s .2s cubic-bezier(.2, .7, .2, 1) both;
}
.hero h1 em { font-style: normal; color: var(--blue-light); }

.lead {
  margin: 0 0 28px;
  max-width: 54ch;
  font-size: clamp(17px, 2.4vw, 20px);
  font-weight: 500;
  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 40px;
  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 {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
}

.contact {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  animation: rise .9s .44s cubic-bezier(.2, .7, .2, 1) both;
}
.contact a {
  display: table;           /* E-Mail in eigener Zeile, zentriert */
  margin: 12px auto 0;
  color: var(--text);
  font-weight: 400;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.contact a:hover { color: var(--blue-light); border-bottom-color: var(--blue-light); }
div.contact p { margin: 0; }
.contact a.cta {
  display: table; margin: 16px auto 0; padding: 14px 26px;
  background: var(--red); color: #fff; font-weight: 600; font-size: 17px;
  border: 0; border-radius: 3px; text-decoration: none;
  transition: background-color .15s;
}
.contact a.cta:hover { background: #B5301F; color: #fff; }
.contact .contact-mail { margin-top: 18px; font-size: 15px; }
.contact .contact-mail a { display: inline; margin: 0; }
.contact.contact-small { margin-top: 22px; font-size: 15px; }
.contact.contact-small a { display: inline; margin: 0; }

/* ---------- Start-Benachrichtigung ---------- */
.notify {
  width: 100%;
  max-width: 520px;
  animation: rise .9s .44s cubic-bezier(.2, .7, .2, 1) both;
}
.notify h2 { margin: 0 0 14px; font-size: 20px; font-weight: 600; color: var(--text); }
.notify-row { display: flex; gap: 8px; }
.notify-row input {
  flex: 1; min-width: 0; height: 50px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--r);
  background: rgba(5, 22, 41, .55); color: var(--text);
  font: inherit; font-size: 17px; font-weight: 500;
}
.notify-row input::placeholder { color: var(--muted); }
.notify-row input:focus { outline: none; border-color: var(--blue-light); box-shadow: 0 0 0 1px var(--blue-light); }
.notify-row button {
  height: 50px; padding: 0 22px; border: 0; border-radius: var(--r);
  background: var(--red); color: #fff; font: inherit; font-size: 17px; font-weight: 600;
  cursor: pointer; transition: background-color .15s;
}
.notify-row button:hover { background: #b5301f; }
.notify-typ {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  margin: 14px 0 0; padding: 0; border: 0;
  font-size: 16px; font-weight: 500; color: var(--text-soft);
}
.notify-typ legend { float: left; margin-right: 2px; padding: 0; color: var(--muted); }
.notify-typ legend span { font-size: 14px; }
.notify-typ label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.notify-typ input { width: 17px; height: 17px; margin: 0; accent-color: var(--red); cursor: pointer; }
.notify-hint { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.notify-hint a { color: var(--text-soft); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.notify-hint a:hover { color: var(--text); }
.notify-msg { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--r); font-size: 16px; line-height: 1.5; text-align: left; }
.notify-ok { background: rgba(83, 162, 242, .14); border-left: 3px solid var(--blue-light); color: var(--text); }
.notify-fehler { background: rgba(208, 62, 45, .16); border-left: 3px solid var(--red); color: var(--text); }
.notify-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.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; }
@media (max-width: 480px) {
  .notify-row { flex-direction: column; }
  .notify-row input { flex: none; width: 100%; }
  .notify-row button { width: 100%; }
  .notify-typ legend { float: none; width: 100%; margin: 0 0 4px; }
}



@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: 210px; height: auto; display: block; }
.legal .eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-light); }
.legal h1 { margin: 0 0 32px; font-size: clamp(34px, 6.6vw, 50px); font-weight: 600; 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: 700; color: var(--text); }
.legal h3 { margin: 22px 0 8px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { margin: 0 0 12px; font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--text-soft); }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal a { text-decoration: none; border-bottom: 1px solid rgba(83, 162, 242, .45); }
.legal a:hover { border-bottom-color: var(--blue-light); }
.legal .stand { margin-top: 32px; font-size: 14px; color: var(--muted); }

/* ---------- Fehlerseite 404 ---------- */
a.hero-logo { display: block; }
.notfound-code {
  margin: 0 0 4px;
  font-size: clamp(88px, 20vw, 168px);
  font-weight: 600;
  line-height: 1;
  color: var(--blue-light);
  animation: rise .9s .12s cubic-bezier(.2, .7, .2, 1) both;
}
.notfound h1 { margin-bottom: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--r);
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s;
  animation: rise .9s .36s cubic-bezier(.2, .7, .2, 1) both;
}
.btn:hover { background: #b5301f; }

/* ---------- 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: var(--blue-light); }
@media (max-width: 600px) {
  .to-top { right: 14px; bottom: 14px; }
  /* Footer der Rechtsseiten nicht unter dem Knopf verstecken */
  .legal + .site-footer { padding-bottom: 76px; }
}

/* ---------- Ruhige Variante ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bg-beam::before { transform: rotate(320deg); }
}
