/* Schriften lokal eingebunden (SIL Open Font License, siehe fonts/OFL-*.txt).
   Bewusst nicht von Google geladen, damit keine Daten an Dritte gehen. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-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: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-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;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-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: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/outfit-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;
}

/* Lauschnest – Website
   Farben und Schriften wie in der App. */

:root {
  --bg: #0A0708;
  --surface: #161012;
  --surface-2: #1F161A;
  --burgundy: #5A1424;
  --gold: #D8B27A;
  --gold-ink: #1A0F0A;
  --text: #F3ECE4;
  --dim: #A89C97;
  --line: rgba(243, 236, 228, 0.10);
  --success: #8FD6B0;
  --radius: 20px;
  --max: 1120px;
  --gutter: 20px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #E8C899; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.light { font-weight: 300; }
.gold { color: var(--gold); }
.dim { color: var(--dim); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--gold-ink);
  padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 7, 8, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
}
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) {
  color: var(--dim); text-decoration: none; font-size: 0.95rem; font-weight: 600;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:not(.btn):hover { color: var(--text); background: rgba(243, 236, 228, 0.05); }
.nav .nav-link { display: none; }
@media (min-width: 820px) { .nav .nav-link { display: inline-block; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary {
  background: var(--gold); color: var(--gold-ink);
  box-shadow: 0 10px 30px -10px rgba(216, 178, 122, 0.55);
}
.btn-primary:hover { color: var(--gold-ink); background: #E3C08C; transform: translateY(-1px); }
.btn-secondary {
  background: rgba(243, 236, 228, 0.04); color: var(--text); border-color: rgba(243, 236, 228, 0.18);
}
.btn-secondary:hover { color: var(--text); border-color: rgba(216, 178, 122, 0.6); background: rgba(216, 178, 122, 0.08); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

/* ---------- Hero ---------- */
.glow { position: relative; isolation: isolate; overflow-x: hidden; overflow-x: clip; }
.glow::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -10% -20% auto -20%; height: 120%;
  background:
    radial-gradient(50% 45% at 70% 35%, rgba(90, 20, 36, 0.55), transparent 70%),
    radial-gradient(35% 35% at 15% 20%, rgba(90, 20, 36, 0.28), transparent 70%);
}
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.15rem; color: var(--dim); max-width: 34em; margin-bottom: 28px; }
.hero .fine { margin-top: 16px; font-size: 0.9rem; color: var(--dim); }
.hero-art { position: relative; max-width: 520px; width: 100%; margin: 0 auto; order: -1; }
.hero-art video, .hero-art img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
  mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 71%);
}
@media (min-width: 900px) {
  .hero { padding: 64px 0 96px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .hero-art { order: 0; }
}
@media (max-width: 899px) { .hero-art { max-width: 340px; margin-bottom: -10px; } }

/* ---------- Sektionen ---------- */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--dim); font-size: 1.1rem; }
.section-head .eyebrow { color: var(--gold); font-size: 0.82rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--gold-ink);
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  margin-bottom: 18px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--dim); margin: 0; }

/* Funktionen */
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .features { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.feature { transition: border-color .25s ease, transform .25s ease, background-color .25s ease; }
.feature:hover { border-color: rgba(216, 178, 122, 0.35); background: var(--surface-2); }
.feature .icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(145deg, rgba(90, 20, 36, 0.9), rgba(90, 20, 36, 0.35));
  border: 1px solid rgba(216, 178, 122, 0.22);
  color: var(--gold);
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--dim); margin: 0; font-size: 0.98rem; }
.feature.highlight {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(90, 20, 36, 0.55), transparent 60%),
    var(--surface);
}
@media (min-width: 980px) { .feature.wide { grid-column: span 2; } }

/* Split-Bereiche */
.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse > :first-child { order: 2; } }
.split-art img { width: 100%; max-width: 460px; margin: 0 auto; border-radius: 28px; }
.split-art.round img {
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%);
  mask-image: radial-gradient(circle, #000 55%, transparent 71%);
}
.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 3px; }
.checklist strong { display: block; color: var(--text); }
.checklist span { color: var(--dim); }

/* iOS */
.ios-card {
  display: grid; gap: 20px; align-items: center;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(90, 20, 36, 0.6), transparent 60%),
    var(--surface);
}
@media (min-width: 760px) { .ios-card { grid-template-columns: auto 1fr; gap: 32px; padding: 40px; } }
.ios-card img { width: 112px; height: 112px; border-radius: 26px; }
.ios-card h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); }
.ios-card p { color: var(--dim); margin-bottom: 0.6em; }
.ios-card p:last-child { margin-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s ease;
}
.faq details[open] { border-color: rgba(216, 178, 122, 0.3); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; min-height: 44px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
  border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq .answer { padding: 0 22px 22px; color: var(--dim); }
.faq .answer p:last-child, .faq .answer ol:last-child { margin-bottom: 0; }
.faq .answer ol { padding-left: 1.2em; margin: 0 0 1em; }
.faq .answer strong { color: var(--text); }

/* CTA */
.cta { text-align: center; }
.cta .card { padding: 44px 24px; background: radial-gradient(80% 120% at 50% 0%, rgba(90, 20, 36, 0.7), transparent 70%), var(--surface); }
.cta img { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 20px; }
.cta p { color: var(--dim); max-width: 34em; margin: 0 auto 26px; }
.cta .btn-row { justify-content: center; }

/* ---------- Fußzeile ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--dim); font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 -10px; padding: 0; }
.site-footer nav a { color: var(--dim); text-decoration: none; padding: 10px 10px; display: inline-block; }
.site-footer nav a:hover { color: var(--text); }
.site-footer .brand { font-size: 1.05rem; }
.site-footer .brand img { width: 28px; height: 28px; border-radius: 8px; }

/* ---------- Einladung ---------- */
.join-main { padding: 36px 0 80px; }
.join-card { max-width: 560px; margin: 0 auto; text-align: center; padding: 32px 22px; }
@media (min-width: 560px) { .join-card { padding: 44px 40px; } }
.join-card .otter { width: 140px; height: 140px; margin: -4px auto 12px; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%);
  mask-image: radial-gradient(circle, #000 55%, transparent 71%); }
.join-card h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
.join-card .lead { color: var(--dim); }
.code-box {
  margin: 26px 0 10px; padding: 18px 16px 16px;
  border: 1px dashed rgba(216, 178, 122, 0.45); border-radius: 18px;
  background: rgba(216, 178, 122, 0.05);
}
.code-label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.code-value {
  display: block; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: clamp(1.5rem, 7vw, 2.2rem); font-weight: 700; letter-spacing: 0.08em; color: var(--gold);
  word-break: break-all; line-height: 1.25; -webkit-user-select: all; user-select: all;
}
.copy-btn { margin-top: 14px; }
.copy-status { min-height: 1.5em; margin: 6px 0 0; font-size: 0.9rem; color: var(--success); }
.server-line { color: var(--dim); font-size: 0.95rem; margin: 0 0 26px; word-break: break-all; }
.server-line strong { color: var(--text); font-weight: 600; }
.join-card .btn-primary { width: 100%; }
.join-sub { max-width: 560px; margin: 28px auto 0; }
.join-sub h2 { font-size: 1.4rem; text-align: center; }
.join-sub .btn-row { justify-content: center; margin-bottom: 14px; }
.join-sub .hint { text-align: center; color: var(--dim); font-size: 0.95rem; }
.manual { margin-top: 28px; text-align: left; }
.manual h3 { font-size: 1.1rem; }
.manual ol { margin: 0; padding-left: 1.3em; color: var(--dim); }
.manual li { margin-bottom: 6px; }
.manual li strong { color: var(--text); font-weight: 600; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 48px 0 88px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.12rem; margin-top: 1.6em; }
.legal p, .legal li { color: #D9D0C8; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal address { font-style: normal; }
.ph { color: var(--gold); background: rgba(216, 178, 122, 0.1); border-radius: 6px; padding: 0 5px; font-weight: 600; }
.notice {
  border: 1px solid rgba(216, 178, 122, 0.4); background: rgba(216, 178, 122, 0.07);
  border-radius: 16px; padding: 16px 18px; margin: 20px 0 28px; color: var(--text); font-size: 0.97rem;
}
.notice strong { color: var(--gold); }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 0.96rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--text); font-weight: 700; }
.legal td { color: #D9D0C8; }
.table-scroll { overflow-x: auto; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 0 80px; }
.notfound img { width: 220px; height: 220px; margin: 0 auto 8px; border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%);
  mask-image: radial-gradient(circle, #000 55%, transparent 71%); }
.notfound p { color: var(--dim); max-width: 30em; margin: 0 auto 26px; }
.notfound .eyebrow { color: var(--gold); margin-bottom: 14px; }
.notfound h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.notfound .btn-row { justify-content: center; }

/* ---------- Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.features .reveal:nth-child(3n+2) { transition-delay: .08s; }
.features .reveal:nth-child(3n+3) { transition-delay: .16s; }
.steps .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3) { transition-delay: .2s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float { animation: float 7s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Noch nicht verfügbar (Download vor dem ersten fertigen Build): ruhiger Glas-Button statt Goldfläche, mit Abzeichen */
.btn.is-soon,
.btn.is-soon:hover {
  background: rgba(243, 236, 228, 0.04);
  border: 1px solid rgba(243, 236, 228, 0.12);
  color: var(--text);
  box-shadow: none;
  transform: none;
  cursor: default;
  gap: 10px;
}
.btn.is-soon svg { opacity: 0.7; }
.soon-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--gold-ink, #1A0F0A);
  background: var(--gold, #D8B27A);
}
