/* Funkl-Go — funklgo.app. Self-hosted, no external fonts, no cookies. */
:root {
  --nacht: #0a0f21;
  --tiefer: #05080f;
  --karte: #172038;
  --karte2: #111a30;
  --bernstein: #ffb840;
  --gold: #ffd659;
  --blau: #6baeff;
  --gruen: #66d999;
  --schrift: #edf2ff;
  --leise: #9eabcc;
  --linie: rgba(158, 171, 204, .16);
  --r: 22px;
  --wrap: 1120px;
  --rund: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Segoe UI", system-ui, -apple-system, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--tiefer); color: var(--schrift);
  font: 17px/1.6 var(--text); overflow-x: hidden;
  background-image: linear-gradient(180deg, var(--nacht), var(--tiefer) 60%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, .rund { font-family: var(--rund); letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1.02; font-weight: 800; margin: 0 0 18px; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.08; font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 750; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.leise { color: var(--leise); }
.amber { color: var(--bernstein); }
.eyebrow { font: 700 .82rem/1 var(--rund); letter-spacing: .14em; text-transform: uppercase; color: var(--bernstein); margin: 0 0 14px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(5, 8, 15, .72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--linie); }
.nav { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--schrift); text-decoration: none; font: 800 1.22rem/1 var(--rund); }
.brand img { width: 34px; height: 34px; }
.brand em { font-style: normal; color: var(--bernstein); }
.nav ul { display: none; list-style: none; margin: 0 0 0 auto; padding: 0; gap: 22px; }
.nav ul a { color: var(--leise); text-decoration: none; font: 600 .95rem/1 var(--rund); }
.nav ul a:hover { color: var(--schrift); }
.nav .btn { margin-left: auto; }
@media (min-width: 900px) { .nav ul { display: flex; } .nav .btn { margin-left: 0; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: 750 1rem/1 var(--rund); padding: 14px 22px; border-radius: 99px; transition: transform .2s ease, box-shadow .3s ease, background .3s; }
.btn.primary { background: linear-gradient(180deg, var(--gold), var(--bernstein)); color: #1a1204; box-shadow: 0 6px 26px rgba(255, 184, 64, .28); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(255, 184, 64, .42); color: #1a1204; }
.btn.ghost { background: rgba(255, 255, 255, .06); color: var(--schrift); border: 1px solid var(--linie); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn.klein { padding: 10px 16px; font-size: .92rem; }

/* ---------- hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bild { position: absolute; inset: 0; z-index: -2; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 8, 15, .55) 0%, rgba(5, 8, 15, .35) 35%, rgba(5, 8, 15, .92) 88%, var(--tiefer) 100%); }
@media (min-width: 900px) { .hero::before { background:
  linear-gradient(90deg, rgba(5, 8, 15, .94) 0%, rgba(5, 8, 15, .72) 38%, rgba(5, 8, 15, .08) 70%),
  linear-gradient(180deg, transparent 70%, var(--tiefer) 100%); } }
.hero .wrap { padding-top: 90px; padding-bottom: 80px; }
@media (max-width: 899px) { .hero { align-items: flex-end; min-height: 100vh; min-height: 100svh; } .hero-bild { bottom: 30%; } .hero-bild img { object-position: 50% 20%; }
  .hero-bild::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 40%; background: linear-gradient(180deg, rgba(5,8,15,0), var(--tiefer)); }
  .hero::before { background: linear-gradient(180deg, rgba(5,8,15,.3) 0%, rgba(5,8,15,0) 25%, rgba(5,8,15,.55) 50%, var(--tiefer) 72%); } }
.hero-text { max-width: 600px; }
.hero-text p.gross { font-size: clamp(1.08rem, 2.2vw, 1.28rem); color: #d6def2; }
.hero .knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.marken { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.marken li { font: 650 .82rem/1 var(--rund); padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .07); border: 1px solid var(--linie); color: #dfe6f7; }
.marken li b { color: var(--bernstein); font-weight: 800; }

/* floating light motes (slow drift, no blinking) */
.staub { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.staub i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 12px 4px rgba(255, 200, 90, .55); opacity: .0; animation: schweben 14s ease-in-out infinite; }
@keyframes schweben {
  0% { transform: translate(0, 20px); opacity: 0; }
  20% { opacity: .85; }
  80% { opacity: .6; }
  100% { transform: translate(30px, -140px); opacity: 0; }
}

/* ---------- phone mockup (drawn with CSS, modelled on the app's finder) */
.telefon { position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19.2; margin: 0 auto; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #2a3350, #0d1222); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.telefon .schirm { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: linear-gradient(180deg, #0a0f21, #04060d); }
.telefon .insel { position: absolute; top: 10px; left: 50%; width: 32%; height: 24px; transform: translateX(-50%); background: #000; border-radius: 20px; z-index: 3; }
.sucher { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 50px 16px 18px; font-family: var(--rund); }
.sucher .ansage { width: 100%; display: flex; gap: 8px; align-items: center; background: rgba(0, 0, 0, .55); border-radius: 16px; padding: 10px 12px; font-weight: 750; font-size: .86rem; }
.sucher .ansage .balken { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin-top: 7px; overflow: hidden; }
.sucher .ansage .balken i { display: block; height: 100%; width: 62%; background: var(--gold); border-radius: 4px; animation: fuellen 9s ease-in-out infinite; }
@keyframes fuellen { 0% { width: 18%; } 70% { width: 96%; } 100% { width: 96%; } }
.sucher .ring { position: relative; width: 78%; aspect-ratio: 1; margin: 22% 0 8%; }
.sucher .ring svg { width: 100%; height: 100%; overflow: visible; }
.sucher .ring .zug { animation: zug 9s ease-in-out infinite; }
@keyframes zug { 0% { stroke-dashoffset: 250; } 70% { stroke-dashoffset: 18; } 100% { stroke-dashoffset: 18; } }
.sucher .lampe { position: absolute; left: 50%; top: 50%; width: 16%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0 30%, #ffd98a 45%, rgba(255, 184, 64, 0) 72%); box-shadow: 0 0 40px 16px rgba(255, 184, 64, .35); animation: atmen 5s ease-in-out infinite; }
@keyframes atmen { 0%, 100% { box-shadow: 0 0 34px 12px rgba(255, 184, 64, .30); } 50% { box-shadow: 0 0 50px 20px rgba(255, 184, 64, .45); } }
.sucher .zahl { font-weight: 800; font-size: 2.1rem; line-height: 1; }
.sucher .klein { color: var(--leise); font-size: .78rem; margin-top: 6px; text-align: center; }
.sucher .perlen { display: flex; gap: 10px; margin-top: 14px; }
.sucher .perlen i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.35); }
.sucher .perlen i.an { background: var(--gold); border: 0; box-shadow: 0 0 10px rgba(255,184,64,.8); }
.sucher .ort { margin-top: auto; color: var(--gruen); font-size: .72rem; font-weight: 700; }

/* ---------- sections */
section { padding: 84px 0; position: relative; }
.kopf { max-width: 720px; margin-bottom: 40px; }
.kopf p { color: var(--leise); font-size: 1.1rem; }
.kopf p.eyebrow { color: var(--bernstein); font-size: .82rem; }
.mitte { text-align: center; margin-left: auto; margin-right: auto; }

.how-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 1.25fr .75fr; } }
.schritte { display: grid; gap: 16px; counter-reset: s; }
.schritt { display: grid; grid-template-columns: 34px 1fr; column-gap: 18px; }
.schritt::before { grid-row: span 2; }
.schritt { background: linear-gradient(180deg, var(--karte), var(--karte2)); border: 1px solid var(--linie); border-radius: var(--r); padding: 26px 24px 24px; position: relative; overflow: hidden; }
.schritt::before { counter-increment: s; content: counter(s); font: 800 1.05rem/1 var(--rund); color: #1a1204; background: var(--bernstein);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 22px rgba(255, 184, 64, .45); }
.schritt p { color: var(--leise); margin: 0; }
.schritt svg { position: absolute; right: -10px; top: -10px; width: 120px; height: 120px; opacity: .14; }

/* gallery */
.galerie { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.funkl { margin: 0; background: var(--karte2); border-radius: 20px; overflow: hidden; border: 1px solid var(--linie); position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s; }
.funkl:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 0 1px var(--fam, var(--bernstein)); border-color: transparent; }
.funkl img { width: 100%; aspect-ratio: 294 / 192; object-fit: cover; }
.funkl figcaption { padding: 14px 16px 16px; }
.funkl h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 1.12rem; }
.funkl .de { color: var(--leise); font: 500 .8rem/1.2 var(--text); }
.funkl p { color: var(--leise); font-size: .92rem; line-height: 1.45; margin: 6px 0 10px; font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 700 .72rem/1 var(--rund); padding: 6px 9px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: var(--fam, var(--leise)); border: 1px solid color-mix(in srgb, var(--fam, #9eabcc) 40%, transparent); }
.chip.selten { color: var(--blau); border-color: rgba(107, 174, 255, .45); }
.chip.episch { color: var(--gold); border-color: rgba(255, 214, 89, .55); background: rgba(255, 214, 89, .08); }
.mehr { margin-top: 26px; color: var(--leise); text-align: center; }

/* serial / register */
.zweispalt { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .zweispalt { grid-template-columns: 1fr 1fr; } .zweispalt.links { grid-template-columns: .9fr 1.1fr; } }
.liste { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.liste li { position: relative; padding-left: 24px; color: #d6def2; }
.liste li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--bernstein); box-shadow: 0 0 10px rgba(255, 184, 64, .7); }
.karte { max-width: 420px; margin: 0 auto; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #1b2542, #0e1528);
  border: 1px solid rgba(255, 214, 89, .35); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 60px rgba(255, 184, 64, .12); transform: rotate(-2deg); }
.karte img { width: 100%; }
.karte .kinfo { padding: 18px 20px 20px; font-family: var(--rund); }
.karte .kname { font-weight: 800; font-size: 1.45rem; display: flex; justify-content: space-between; align-items: center; }
.karte .seriell { display: inline-block; margin-top: 12px; font: 700 1.02rem/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em;
  padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .35); color: var(--gold); border: 1px dashed rgba(255, 214, 89, .45); }
.karte .zeile { display: flex; justify-content: space-between; color: var(--leise); font-size: .85rem; margin-top: 12px; }
.karte .zeile b { color: var(--gruen); font-weight: 700; }

.mosaik { border-radius: var(--r); overflow: hidden; border: 1px solid var(--linie); position: relative; }
.mosaik img { width: 100%; filter: saturate(.9); }
.familien { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* trade */
.tausch { position: relative; height: 290px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.mini { width: 120px; height: 240px; border-radius: 28px; padding: 8px; background: linear-gradient(145deg, #2a3350, #0d1222); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.mini div { height: 100%; border-radius: 21px; background: linear-gradient(180deg, #111a33, #05080f); display: grid; place-items: center; }
.mini img { width: 100%; height: 100%; object-fit: cover; border-radius: 21px; }
.mini div { overflow: hidden; }
.mini.links { transform: rotate(-8deg); }
.mini.rechts { transform: rotate(8deg); }
.lichtband { position: absolute; left: 50%; top: 50%; width: 110px; height: 10px; transform: translate(-50%, -50%); border-radius: 10px;
  background: linear-gradient(90deg, rgba(255, 214, 89, 0), rgba(255, 238, 190, .9), rgba(255, 214, 89, 0)); filter: blur(2px);
  animation: band 6s ease-in-out infinite; }
@keyframes band { 0%, 100% { opacity: .35; } 50% { opacity: .85; } }

/* map */
.karte-bild { border-radius: var(--r); overflow: hidden; border: 1px solid var(--linie); background: #0b1224; }
.karte-bild svg { width: 100%; height: auto; display: block; }
.karte-bild .punkt { animation: atmen2 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.karte-bild .punkt:nth-of-type(2n) { animation-delay: -2s; }
.karte-bild .punkt:nth-of-type(3n) { animation-delay: -4s; }
@keyframes atmen2 { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* promise tiles */
.versprechen { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.kachel { background: rgba(255, 255, 255, .035); border: 1px solid var(--linie); border-radius: 18px; padding: 20px; }
.kachel b { display: block; font: 800 1.08rem/1.2 var(--rund); margin-bottom: 4px; }
.kachel span { color: var(--leise); font-size: .95rem; }

.hinweis { border-radius: var(--r); padding: 26px; background: linear-gradient(180deg, rgba(255, 184, 64, .09), rgba(255, 184, 64, .03)); border: 1px solid rgba(255, 184, 64, .3); }
.hinweis ul { margin: 10px 0 14px; padding-left: 20px; color: #d6def2; }
.hinweis li { margin: 4px 0; }

.laden { border-radius: 28px; padding: clamp(26px, 5vw, 54px); background:
  radial-gradient(ellipse at 85% 20%, rgba(255, 184, 64, .22), transparent 55%), linear-gradient(160deg, #19223f, #0c1328);
  border: 1px solid var(--linie); display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .laden { grid-template-columns: 1.3fr .7fr; } }
.laden .lampe-gross { width: 180px; height: 180px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 16%, #ffe2a2 26%, rgba(255, 184, 64, .5) 42%, rgba(255, 184, 64, 0) 70%); animation: atmen3 7s ease-in-out infinite; }
@keyframes atmen3 { 0%, 100% { transform: scale(.94); opacity: .85; } 50% { transform: scale(1.04); opacity: 1; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--linie); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font: 750 1.08rem/1.35 var(--rund); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--bernstein); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--leise); margin: 0 0 18px; }

/* waitlist */
.warteliste { padding-bottom: 100px; }
.formkarte { max-width: 640px; margin: 0 auto; border-radius: 28px; padding: clamp(24px, 5vw, 44px);
  background: radial-gradient(ellipse at 50% -10%, rgba(255, 184, 64, .22), transparent 60%), linear-gradient(180deg, #172038, #0d1426);
  border: 1px solid rgba(255, 184, 64, .28); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); text-align: center; }
.formkarte form { text-align: left; margin-top: 22px; }
input.email { width: 100%; font: 500 1.05rem var(--text); color: var(--schrift); background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(158, 171, 204, .35); border-radius: 99px; padding: 15px 20px; }
input.email:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 214, 89, .25); }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 4px 6px; font-size: .92rem; color: #cfd8ee; line-height: 1.5; cursor: pointer; }
.check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--bernstein); cursor: pointer; }
.senden { width: 100%; margin-top: 8px; padding: 16px 22px; font-size: 1.05rem; }
.fein { font-size: .84rem; color: var(--leise); margin: 12px 4px 0; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.meldung { margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-weight: 600; display: none; }
.meldung.ok { display: block; background: rgba(102, 217, 153, .12); border: 1px solid rgba(102, 217, 153, .45); color: #bff3d6; }
.meldung.fehler { display: block; background: rgba(255, 120, 90, .12); border: 1px solid rgba(255, 120, 90, .45); color: #ffd2c6; }
button[disabled] { opacity: .6; cursor: wait; }

/* footer */
footer { border-top: 1px solid var(--linie); padding: 36px 0 44px; color: var(--leise); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--leise); text-decoration: none; }
footer a:hover { color: var(--schrift); }

/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 0 90px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal h2 { font-size: 1.5rem; margin-top: 40px; }
.legal h3 { font-size: 1.15rem; margin-top: 26px; }
.legal p, .legal li { color: #d3dbee; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal hr { border: 0; border-top: 1px solid var(--linie); margin: 32px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .92rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--linie); }
.legal th { color: var(--bernstein); font-family: var(--rund); }
.legal code { background: rgba(255, 255, 255, .07); padding: 1px 6px; border-radius: 6px; }
.legal .platzhalter { padding: 18px; border-radius: 14px; border: 1px dashed rgba(255, 184, 64, .5); color: var(--leise); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .staub { display: none; }
}
