@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Exo2"; src: url("fonts/Exo2.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
	--bg: #060914;
	--panel: #0c1226;
	--card: #121a36;
	--line: rgba(120, 170, 255, 0.18);
	--text: #eef1fc;
	--dim: #9ea8c6;
	--gold: #f7cd6e;
	--gold2: #ffb347;
	--accent: #6fe0ff;
	--violet: #b58cff;
	--green: #6be39a;
	--radius: 18px;
	--title: "Cinzel", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 "Exo2", "Segoe UI", system-ui, -apple-system, sans-serif; overflow-x: hidden; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

/* Kopfzeile */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 40px);
	background: rgba(6, 9, 20, 0.72); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font: 800 22px var(--title); letter-spacing: 0.08em; text-transform: uppercase; }
.brand img { width: 36px; height: 36px; filter: drop-shadow(0 0 10px rgba(247, 205, 110, 0.5)); }
.nav nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav nav a { color: var(--dim); text-decoration: none; font-size: 15px; font-weight: 600; transition: color 0.2s; }
.nav nav a:hover { color: var(--text); }

/* Knöpfe */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 14px; border: 0; cursor: pointer;
	background: linear-gradient(180deg, #ffe08f 0%, var(--gold) 45%, var(--gold2) 100%); color: #2a1803 !important; font: 800 17px "Exo2", sans-serif;
	text-decoration: none; letter-spacing: 0.02em; box-shadow: 0 8px 0 #b9762a, 0 14px 34px rgba(255, 179, 71, 0.35); transition: transform 0.15s, box-shadow 0.15s; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
	transform: skewX(-20deg); animation: shine 3.6s infinite; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 11px 0 #b9762a, 0 20px 40px rgba(255, 179, 71, 0.45); }
.btn:active { transform: translateY(4px); box-shadow: 0 4px 0 #b9762a, 0 8px 20px rgba(255, 179, 71, 0.3); }
.btn svg { width: 22px; height: 22px; }
.btn-ghost { background: rgba(111, 224, 255, 0.08); color: var(--accent) !important; box-shadow: inset 0 0 0 2px var(--accent), 0 10px 30px rgba(111, 224, 255, 0.15); }
.btn-ghost::after { display: none; }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--accent), 0 14px 36px rgba(111, 224, 255, 0.3); }
.btn-small { padding: 9px 18px; font-size: 14px; box-shadow: 0 5px 0 #b9762a, 0 8px 20px rgba(255, 179, 71, 0.3); }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* Startbereich */
.hero { position: relative; min-height: clamp(620px, 94vh, 940px); display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -4%; z-index: -2; background: url("bilder/stadt.jpg") center / cover no-repeat; animation: drift 28s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
	background: radial-gradient(ellipse at 75% 40%, transparent 0%, rgba(6,9,20,0.35) 55%, rgba(6,9,20,0.9) 100%),
		linear-gradient(90deg, rgba(6,9,20,0.96) 0%, rgba(6,9,20,0.7) 42%, rgba(6,9,20,0.15) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
@keyframes drift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1%); } }
.runes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.runes span { position: absolute; bottom: -40px; color: var(--accent); opacity: 0; font: 700 22px var(--title); text-shadow: 0 0 12px var(--accent); animation: rise 11s linear infinite; }
.runes span:nth-child(2n) { color: var(--gold); text-shadow: 0 0 12px var(--gold); }
.runes span:nth-child(3n) { color: var(--violet); text-shadow: 0 0 12px var(--violet); }
@keyframes rise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: 0.8; } 100% { transform: translateY(-110vh) rotate(200deg); opacity: 0; } }
.hero-content { position: relative; max-width: 760px; padding: 60px 24px 80px clamp(20px, 7vw, 110px); }
.eyebrow { display: inline-block; color: var(--accent); text-transform: uppercase; letter-spacing: 0.18em; font-size: 13px; font-weight: 700; margin: 0;
	padding: 6px 14px; border: 1px solid rgba(111,224,255,0.35); border-radius: 99px; background: rgba(111,224,255,0.08); }
.hero h1 { margin: 18px 0 0; font: 900 clamp(36px, 7.2vw, 104px)/1 var(--title); letter-spacing: 0.02em; overflow-wrap: anywhere;
	background: linear-gradient(180deg, #fff3cf 0%, var(--gold) 45%, #c4842e 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 6px 30px rgba(0,0,0,0.7)); }
.tagline { margin: 10px 0 20px; font: 600 clamp(20px, 3vw, 30px) var(--title); color: #dfe7ff; letter-spacing: 0.12em; }
.lead { font-size: clamp(17px, 2vw, 20px); color: #d6def7; }
.cta { display: flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 16px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.badges span { padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); font-size: 13px; color: #cdd6f2; }
.small { font-size: 13px; color: var(--dim); }
.center { text-align: center; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--dim); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
	animation: bob 2s ease-in-out infinite; text-decoration: none; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* Zahlenleiste */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; max-width: 1120px; margin: -50px auto 0; padding: 0 24px; position: relative; z-index: 2; }
.stat { text-align: center; padding: 20px 12px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(25,36,74,0.95), rgba(13,19,42,0.95));
	border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.stat b { display: block; font: 900 34px var(--title); color: var(--gold); }
.stat span { color: var(--dim); font-size: 14px; }

/* Abschnitte */
.section { max-width: 1160px; margin: 0 auto; padding: 96px 24px; }
.section h2 { font: 800 clamp(30px, 4.5vw, 46px) var(--title); margin: 0 0 12px; text-align: center;
	background: linear-gradient(180deg, #fff1c8, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section .sub { text-align: center; color: var(--dim); max-width: 680px; margin: 0 auto 44px; font-size: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { position: relative; background: linear-gradient(180deg, var(--card), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
	transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; overflow: hidden; }
.card:hover { transform: translateY(-6px); border-color: rgba(247,205,110,0.45); box-shadow: 0 22px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(247,205,110,0.15); }
.card h3 { margin: 0 0 8px; color: var(--text); font-size: 20px; }
.card p { margin: 0 0 14px; color: var(--dim); }
.feature .icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px;
	background: linear-gradient(135deg, var(--c1, #2b3f86), var(--c2, #1a2556)); box-shadow: 0 10px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.2); }
.feature .icon svg { width: 30px; height: 30px; color: #fff; }
.feature:nth-child(1) { --c1: #f7a83d; --c2: #b65b1c; }
.feature:nth-child(2) { --c1: #b58cff; --c2: #5b34b8; }
.feature:nth-child(3) { --c1: #4fd88f; --c2: #1d7a4c; }
.feature:nth-child(4) { --c1: #ff6d72; --c2: #a42638; }
.feature:nth-child(5) { --c1: #6fe0ff; --c2: #1d6b9e; }
.feature:nth-child(6) { --c1: #ffd86e; --c2: #b9862a; }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 24px; border-radius: var(--radius); background: rgba(255,255,255,0.03); border: 1px dashed var(--line); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -20px; left: 22px; width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center; font: 900 20px var(--title); color: #2a1803; background: linear-gradient(180deg, #ffe08f, var(--gold2)); box-shadow: 0 6px 18px rgba(255,179,71,0.4); }
.step h3 { margin: 6px 0 6px; }
.step p { margin: 0; color: var(--dim); }

/* Bilder */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); cursor: zoom-in; position: relative; }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform 0.4s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-weight: 700;
	background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent); }
.lightbox { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(3,5,12,0.92); cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.7); }

/* Download */
.download { position: relative; }
.download .card { text-align: left; }
.platform { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.platform svg { width: 44px; height: 44px; color: var(--accent); }

.news { display: grid; gap: 14px; max-width: 780px; margin: 0 auto; }
details { max-width: 780px; margin: 0 auto 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; transition: border-color 0.2s; }
details[open] { border-color: rgba(247,205,110,0.4); }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--dim); margin: 10px 0 0; }
details ul { color: #cfd7f0; margin: 12px 0 0; padding-left: 22px; }
details li { margin: 4px 0; }

/* Schlussaufruf */
.final { text-align: center; padding: 90px 24px; background: radial-gradient(ellipse at center, rgba(181,140,255,0.18), transparent 65%); }
.final h2 { margin-bottom: 18px; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 30px clamp(16px, 4vw, 40px); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--dim); }

/* Handy: Download-Leiste unten */
.mobile-bar { display: none; }

/* Sanftes Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s, transform 0.7s; }
.reveal.show { opacity: 1; transform: none; }

/* Rechtstexte */
.legal { max-width: 820px; margin: 0 auto; padding: 48px 24px 72px; }
.legal h1 { font: 800 34px var(--title); color: var(--gold); }
.legal h2 { font-size: 19px; margin: 28px 0 6px; color: var(--text); }
.legal p { color: #c7cfe6; margin: 0 0 10px; white-space: pre-line; }

@media (max-width: 680px) {
	.nav { padding: 10px 16px; }
	.nav nav a:not(.btn) { display: none; }
	.hero { min-height: 92vh; }
	.hero-content { padding: 40px 16px 110px; }
	.section { padding: 70px 16px; }
	.stats { margin-top: -40px; padding: 0 16px; }
	.btn { width: 100%; justify-content: center; }
	.mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(6,9,20,0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
	.mobile-bar .btn { padding: 12px; font-size: 15px; }
	.footer { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
}
