/* Landingpage sticky.mignuti.com – baut auf site.css auf (Farben, Schrift). z-Index-Skala: 10 Effekte, 20 Inhalt, 30 Nav, 40 Overlay, 50 Dialog */
:root { --z-fx: 10; --z-content: 20; --z-nav: 30; --z-overlay: 40; --z-dialog: 50; --nav-h: 64px; }
html { scroll-padding-top: calc(var(--nav-h) + 20px); }
body { overflow-x: hidden; }

/* Skip-Link: erst bei Fokus sichtbar */
.skip { position: absolute; left: 16px; top: -60px; z-index: var(--z-dialog); padding: 10px 14px; border-radius: 10px; background: var(--accent); color: #062033; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* --------------------------------------------------------------- Navigation (schwebend, Glas) */
.nav { position: fixed; top: 12px; left: 12px; right: 12px; z-index: var(--z-nav); display: flex; align-items: center; gap: 10px; height: var(--nav-h); padding: 0 14px 0 16px; border-radius: 18px; background: rgba(10,16,32,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.nav .brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font: 600 19px/1 var(--display); color: var(--text); text-decoration: none; }
.nav .brand .mark { width: 34px; height: 34px; }
.nav .links { margin-left: auto; display: flex; gap: 2px; }
.nav .links a { color: var(--muted); text-decoration: none; font: 700 14px var(--body); padding: 10px 12px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; transition: background .2s, color .2s; }
.nav .links a:hover, .nav .links a[aria-current="true"] { background: rgba(0,229,255,.12); color: var(--accent); }
.nav .cta-nav { margin-left: 8px; }
.nav .links a.btn.primary { color: #062033; background: var(--accent); }
.nav .links a.btn.primary:hover { color: #062033; background: var(--accent); filter: brightness(1.08); }
.nav .burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--text); cursor: pointer; place-items: center; }
.nav .burger svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav .burger .x { display: none; }
.nav .burger[aria-expanded="true"] .x { display: block; }
.nav .burger[aria-expanded="true"] .lines { display: none; }
@media (max-width: 860px) {
  .nav .links { position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; padding: 8px; border-radius: 16px; background: rgba(10,16,32,.94); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.45); display: none; }
  .nav .links[data-open="true"] { display: flex; }
  .nav .links a { min-height: 48px; font-size: 16px; }
  .nav .cta-nav { margin: 4px 0 0; }
  .nav .burger { display: grid; }
}

/* --------------------------------------------------------------- Buttons */
.btn { position: relative; isolation: isolate; transition: filter .2s, box-shadow .2s, background .2s; min-height: 48px; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-right: 8px; }
.btn.primary { box-shadow: 0 8px 26px rgba(0,229,255,.25); }
.btn.primary:hover { box-shadow: 0 10px 34px rgba(0,229,255,.45); }
.btn.hit { animation: hit .35s ease-out; }
@keyframes hit { 0% { box-shadow: 0 0 0 0 rgba(0,229,255,.7); } 100% { box-shadow: 0 0 0 18px rgba(0,229,255,0); } }
.btn.small { min-height: 44px; padding: 0 16px; font-size: 15px; }

/* --------------------------------------------------------------- Hero mit Effekt-Leinwand */
/* Hero ueber die volle Seitenbreite (bricht aus der 1080er Spalte aus), Inhalt bleibt in der Spalte */
.hero-wrap { position: relative; width: 100vw; margin-left: calc(50% - 50vw); padding: calc(var(--nav-h) + 40px) 20px 0; min-height: 92vh; display: grid; align-items: center; overflow: hidden; }
.hero-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: var(--z-fx); pointer-events: none; }
.hero { position: relative; z-index: var(--z-content); grid-template-columns: 1.05fr 1fr; gap: 36px; margin: 0 auto; width: 100%; max-width: 1040px; }
.hero .copy { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); background: rgba(0,229,255,.1); border: 1px solid rgba(0,229,255,.25); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.platforms a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--muted); font: 700 14px var(--body); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.platforms a:hover { color: var(--text); border-color: rgba(0,229,255,.5); background: rgba(0,229,255,.08); }
.platforms svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { position: relative; border-radius: 22px; }
.hero-visual img { border-radius: 22px; }
.hero-visual .frame-tag { position: absolute; left: 14px; top: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(10,16,32,.8); border: 1px solid var(--line); color: var(--muted); font: 700 12px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.stats div { padding: 14px 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.stats b { display: block; font: 700 28px/1 var(--display); color: var(--text); }
.stats small { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; }
.scroll-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: var(--z-content); color: var(--dim); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 26px; margin: 6px auto 0; background: linear-gradient(var(--accent), transparent); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); } .hero-wrap { min-height: 0; padding-bottom: 40px; } .scroll-hint { display: none; } }

/* --------------------------------------------------------------- Abschnitte */
section.block { --sec: clamp(64px, 7vw, 96px); padding: var(--sec) 0 16px; }
.kicker { font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
h2 { margin-top: 0; }
.sub { color: var(--muted); font-size: 18px; max-width: 700px; margin: 0 0 28px; }
section.block > h2 + :not(.sub) { margin-top: 28px; }

/* Plattform-Karten */
.plat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plat .card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.plat .card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); opacity: .7; }
.plat .card.wall::before { background: var(--pink); } .plat .card.web::before { background: var(--accent); } .plat .card.app::before { background: var(--green); }
.plat .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,229,255,.1); border: 1px solid rgba(0,229,255,.25); color: var(--accent); }
.plat .icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plat ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; }
.plat .foot { margin-top: auto; padding-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.plat img { border-radius: 12px; border: 1px solid var(--line); width: 100%; height: auto; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font: 700 12px var(--body); letter-spacing: .04em; background: rgba(255,255,255,.08); color: var(--muted); }
.badge.soon { color: var(--green); background: rgba(124,255,58,.12); }
@media (max-width: 900px) { .plat { grid-template-columns: 1fr; } }

/* Ablauf mit Verbindungslinie */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; counter-reset: step; }
.steps .card { position: relative; }
.steps .num { position: relative; }
.steps .card::after { content: ""; position: absolute; top: 34px; right: -16px; width: 16px; height: 2px; background: linear-gradient(90deg, var(--primary), transparent); opacity: .7; }
.steps .card:last-child::after { display: none; }
.steps svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; float: right; margin-top: -4px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .steps .card::after { display: none; } }

/* Spiele */
.games { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.games .card { display: grid; gap: 12px; }
.games img { border-radius: 12px; border: 1px solid var(--line); width: 100%; height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text); font: 700 13px var(--body); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
/* Modi-Uebersicht unter den Spielkarten */
.modes-h { margin: 36px 0 14px; }
.modelist { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 16px; }
.modelist > div { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.modelist h4 { margin: 0 0 10px; font: 700 20px var(--display); }
.modelist h4 small { font: 600 13px var(--body); color: var(--muted); margin-left: 8px; }
.modelist ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.5; display: grid; gap: 6px; }
.modelist li b { color: var(--text); }
@media (max-width: 900px) { .modelist { grid-template-columns: 1fr; } }
/* dritte Karte (Ruhe) ueber die volle Breite, Bild links, Text rechts */
.games .card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 0 24px; align-items: center; }
.games .card.wide img { grid-row: 1 / span 3; margin: 0; }
.games .card.wide h3 { align-self: end; }
@media (max-width: 900px) { .games { grid-template-columns: 1fr; } .games .card.wide { display: block; } }

/* Feature-Raster (Veranstalter) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features .card { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 16px; }
.features .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(47,180,255,.12); color: var(--accent); }
.features .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-size: 18px; margin-bottom: 4px; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* Galerie + Lightbox */
.gallery { display: grid; grid-template-columns: 1fr; gap: 16px; }
/* 8 Bilder: 4 + 4 (Desktop), 2 je Reihe (Tablet) */
@media (min-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery figcaption { font-size: 13px; } }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 16px; text-align: left; color: inherit; font: inherit; }
.gallery button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(0,0,0,.35); display: block; transition: box-shadow .25s, border-color .25s; }
.gallery button:hover img { border-color: rgba(0,229,255,.55); box-shadow: 0 18px 50px rgba(0,229,255,.18); }
.gallery figcaption { font-size: 14px; color: var(--dim); margin-top: 8px; }
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); width: auto; }
dialog.lightbox::backdrop { background: rgba(4,8,18,.88); backdrop-filter: blur(6px); }
dialog.lightbox img { max-width: 96vw; max-height: 84vh; border-radius: 14px; border: 1px solid var(--line); display: block; }
dialog.lightbox .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); padding: 10px 4px 0; }
dialog.lightbox .close { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: var(--text); font: 700 15px var(--body); cursor: pointer; padding: 0 14px; }

/* Pakete + FAQ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.pricing .card { display: flex; flex-direction: column; }
.pricing .card .btn { margin-top: auto; align-self: flex-start; }
.pricing .card.hi { animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 1px rgba(0,229,255,.25), 0 10px 30px rgba(0,0,0,.25); } 50% { box-shadow: 0 0 0 1px rgba(0,229,255,.55), 0 0 40px rgba(0,229,255,.18), 0 10px 30px rgba(0,0,0,.25); } }
.pricing ul { margin: 0 0 14px; padding-left: 18px; color: var(--muted); display: grid; gap: 4px; }
.incl { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: rgba(0,229,255,.06); border: 1px dashed rgba(0,229,255,.35); color: var(--muted); font-size: 15px; }
.faq-h { margin: 32px 0 14px; }
.faq { display: grid; gap: 8px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.faq summary { cursor: pointer; padding: 14px 18px; font: 700 16px var(--body); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 22px var(--display); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 14px; }
.faq .a { padding: 0 18px 16px; color: var(--muted); }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: start; }
.contact .aside { display: grid; gap: 10px; }
.contact .aside a.line { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.contact .aside svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.field-err { color: #fda4af; font-size: 13px; font-weight: 700; min-height: 16px; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #fda4af; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Mobile-CTA (erscheint nach dem Hero) */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: var(--z-nav); display: none; }
.sticky-cta .btn { width: 100%; }
@media (max-width: 860px) { .sticky-cta[data-show="true"] { display: block; } }

/* Erscheinen beim Scrollen */
/* Erscheinen nur mit JS (Klasse .js) – ohne JS oder bei Bewegungsreduktion ist alles sofort sichtbar */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .pricing .card.hi, .btn.hit { animation: none; }
}
footer .cols { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin-top: 8px; }
footer .cols a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 999px; }
footer .cols a:hover { background: rgba(47,180,255,.1); }

/* Kennzeichen in Flex-Karten nicht auf volle Breite ziehen; Preiszusatz eigene Zeile */
.card > .tag { align-self: flex-start; }
.card .price small { display: block; margin-top: 4px; }

/* --------------------------------------------------------------- Abschnitts-Effekte */
.fx-layer { display: block; }
main h2 { transition: text-shadow .8s ease; }
main h2.glow { text-shadow: 0 0 18px rgba(0,229,255,.32); }

/* Plattformen: Haftnotiz klebt sich auf die Kartenecke, Farbkante zeichnet sich */
.plat .card { overflow: visible; }
.plat .card::before { transform: scaleX(0); transform-origin: left; transition: transform .7s ease var(--delay, .2s); }
.fx-in .plat .card::before { transform: scaleX(1); }
.plat .pin { position: absolute; right: -10px; top: -14px; width: 74px; height: 46px; border-radius: 3px; background: var(--note); box-shadow: 0 8px 20px rgba(0,0,0,.4); transform: rotate(40deg) scale(.4); opacity: 0; transition: transform .55s cubic-bezier(.2,1.4,.4,1) var(--delay), opacity .3s ease var(--delay); }
.plat .pin::after { content: ""; position: absolute; inset: 0; background-repeat: no-repeat; background-position: center; background-size: 26px 26px; }
.plat .pin.bumper::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M5 15a7 7 0 0 1 14 0'/%3E%3C/svg%3E"); }
.plat .pin.portal::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.plat .pin.turbo::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6l6 6-6 6M12 6l6 6-6 6'/%3E%3C/svg%3E"); }
.fx-in .plat .pin { transform: rotate(8deg) scale(1); opacity: 1; }
.plat .card:hover .pin { transform: rotate(-4deg) scale(1.04); }

/* Ablauf: Nummern springen wie der Countdown, Linie darueber (Leinwand) */
.steps { padding-top: 14px; }
.steps .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--primary); font: 700 16px var(--display); color: var(--accent); margin-bottom: 10px; transform: scale(.4); opacity: 0; transition: transform .5s cubic-bezier(.2,1.6,.4,1), opacity .3s; }
.fx-in .steps .card:nth-child(1) .num { transition-delay: .1s; } .fx-in .steps .card:nth-child(2) .num { transition-delay: .35s; } .fx-in .steps .card:nth-child(3) .num { transition-delay: .6s; }
.fx-in .steps .num { transform: scale(1); opacity: 1; }

/* Spiele: Mini-Simulationen */
.demo { position: relative; height: 150px; border-radius: 12px; background: rgba(10,16,32,.85); border: 1px solid var(--line); overflow: hidden; background-image: radial-gradient(rgba(47,180,255,.16) 1px, transparent 1px); background-size: 22px 22px; }

/* Veranstalter: getroffene Karten leuchten */
.features .ic { transition: box-shadow .25s, background .25s; }
.features .ic.zap { box-shadow: 0 0 0 4px rgba(154,216,255,.35), 0 0 24px rgba(0,229,255,.6); background: rgba(0,229,255,.25); }

/* Eindruecke: hervorgehobenes Bild (Leucht-Ball laeuft per Leinwand um den Rahmen) */
.gallery figure { position: relative; margin: 0; }
.gallery figure.spot img, .gallery button:hover img { border-color: rgba(0,229,255,.75); box-shadow: 0 0 0 1px rgba(0,229,255,.35), 0 18px 50px rgba(0,229,255,.18); }
.gallery figure.spot figcaption { color: var(--muted); }

/* Pakete: Preis-Pop, hervorgehobene Karte */
.pricing .price { transition: transform .3s cubic-bezier(.2,1.6,.4,1); }
.fx-in .pricing .price { animation: pop .6s cubic-bezier(.2,1.6,.4,1) both; }
@keyframes pop { 0% { transform: scale(.85); } 100% { transform: none; } }

/* Kontakt: Leinwand hinter Formular */
#kontakt .fx-layer { z-index: 0; }
#kontakt .contact { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .plat .card::before, .plat .pin, .steps .num { transition: none; transform: none; opacity: 1; }
  .fx-in .pricing .price { animation: none; }
  main h2 { transition: none; }
}

/* --------------------------------------------------------------- Navigation: Haftnotiz-Schieber, Laser-Fortschritt, Hover-Ball, CTA-Ping, Schrumpfen */
.nav { transition: height .25s ease, transform .3s ease, box-shadow .25s; overflow: visible; }
.nav.compact { height: 56px; box-shadow: 0 14px 40px rgba(0,0,0,.5); }
.nav.away { transform: translateY(calc(-100% - 20px)); }
.nav .links { position: relative; }
.nav-note { position: absolute; left: 0; top: 0; width: 28px; height: 17px; border-radius: 2px; background: var(--pink); box-shadow: 0 4px 10px rgba(0,0,0,.4); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.2,1.3,.4,1), opacity .2s; will-change: transform; }
.nav-note.land { animation: land .5s ease-out; }
@keyframes land { 0% { filter: brightness(1.6); } 100% { filter: none; } }
.nav-beam { position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), #fff 60%, var(--accent)); box-shadow: 0 0 10px var(--accent), 0 0 2px #fff; transform: scaleX(0); transform-origin: left; pointer-events: none; }
.nav .links a.bounced { color: var(--text); background: rgba(0,229,255,.22); }
.nav .cta-nav .ping { position: absolute; inset: -2px; border-radius: 999px; border: 2px solid var(--accent); opacity: 0; pointer-events: none; }
.nav .cta-nav .ping.go { animation: ping 1.1s ease-out; }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.nav .brand .mark svg circle { animation: blink 3s ease-in-out infinite; }
@keyframes blink { 0%, 100% { fill: none; } 50% { fill: currentColor; } }
.nav .brand .mark svg rect { transition: transform .3s; transform-origin: 10px 11.5px; }
.nav .brand:hover .mark svg rect { transform: rotate(-16deg); }
@media (max-width: 860px) {
  .nav .links[data-open="true"] a { animation: flipin .45s cubic-bezier(.2,1.2,.4,1) both; }
  .nav .links[data-open="true"] a:nth-child(1) { animation-delay: .02s; } .nav .links[data-open="true"] a:nth-child(2) { animation-delay: .06s; } .nav .links[data-open="true"] a:nth-child(3) { animation-delay: .1s; } .nav .links[data-open="true"] a:nth-child(4) { animation-delay: .14s; } .nav .links[data-open="true"] a:nth-child(5) { animation-delay: .18s; } .nav .links[data-open="true"] a:nth-child(6) { animation-delay: .22s; } .nav .links[data-open="true"] a:nth-child(7) { animation-delay: .26s; }
  @keyframes flipin { 0% { opacity: 0; transform: translateY(-8px) rotateX(-40deg); } 100% { opacity: 1; transform: none; } }
  .nav-note { display: none; }
}

/* --------------------------------------------------------------- Footer: Spielwiese, Ticker, Nach-oben-Ball */
footer { padding-top: 0; text-align: center; }
footer .playground { position: relative; height: 260px; max-width: 1040px; margin: 0 auto; border-bottom: 1px solid var(--line); overflow: hidden; background: radial-gradient(600px 200px at 50% 0%, rgba(0,229,255,.08), transparent 70%); }
footer .playground .hint { position: absolute; left: 14px; top: 10px; margin: 0; z-index: 2; pointer-events: none; font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
footer .ticker { overflow: hidden; border-bottom: 1px solid var(--line); padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
footer .ticker .rail { display: inline-flex; gap: 40px; white-space: nowrap; animation: rail 40s linear infinite; }
footer .ticker:hover .rail { animation-play-state: paused; }
footer .ticker .tick { color: var(--muted); font-size: 14px; }
footer .ticker .tick b { color: var(--accent); font: 700 16px var(--display); letter-spacing: .08em; margin-right: 6px; }
footer .ticker .tick small { color: var(--dim); font-size: 12px; margin-left: 6px; }
@keyframes rail { to { transform: translateX(-50%); } }
footer .made { margin: 18px 0 0; }
footer .cols a { transition: transform .25s cubic-bezier(.2,1.4,.4,1), background .2s, color .2s; }
footer .cols a:hover { transform: rotate(-4deg); }
footer .cols a.lit { background: rgba(0,229,255,.22); color: var(--text); transform: rotate(4deg); box-shadow: 0 0 20px rgba(0,229,255,.45); }
.totop { position: fixed; right: 16px; bottom: 16px; z-index: var(--z-nav); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,16,32,.85); border: 1px solid rgba(0,229,255,.5); color: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .2s, box-shadow .2s; }
.totop[hidden] { display: none; }
.totop svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.totop:hover { box-shadow: 0 0 24px rgba(0,229,255,.5); transform: translateY(-2px); }
.totop:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 860px) { .totop { bottom: 78px; } footer { padding-bottom: 140px; } footer .playground .hint { top: 14px; max-width: 42%; text-align: left; line-height: 1.35; } }
canvas.rocket { position: fixed; inset: 0; width: 100%; height: 100%; z-index: var(--z-overlay); pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .nav, .nav-note, footer .cols a { transition: none; }
  .nav-note.land, .nav .cta-nav .ping.go, .nav .brand .mark svg circle, footer .ticker .rail, .nav .links[data-open="true"] a { animation: none; }
  footer .ticker { overflow-x: auto; }
}

/* Kontakt: Fokus wie ein Portal (orange Ring), FAQ: Summary laesst Platz fuer das Laser-Ziel */
#kontakt input:focus, #kontakt textarea:focus { outline: 2px solid var(--orange); outline-offset: 2px; box-shadow: 0 0 0 5px rgba(255,140,26,.18), 0 0 26px rgba(255,140,26,.28); }
.faq summary { padding-right: 70px; }
.faq summary::after { margin-right: 14px; }
.faq details[open] summary { color: var(--accent); }

.faq { overflow: visible; }
.faq > .fx-layer { left: -220px !important; width: calc(100% + 220px) !important; }
