/* Aussehen von jetvolta.com (D-1083d: zweite Gestaltungsrunde nach Befund Nutzer und Fable 6.10.).
 *
 * Eine einzelne Datei, **keine Schrift von einem fremden Server, kein Skript**. Das ist nicht Sparsamkeit, sondern
 * Notwendigkeit: Eine Seite, die eine Datenschutzerklärung trägt und dabei selbst Schriften nachlädt, gibt die
 * IP-Adresse des Lesers an einen fremden Server weiter – und widerlegt damit, was auf ihr steht. Aus demselben Grund
 * braucht diese Seite kein Einwilligungsbanner: Sie setzt nichts.
 *
 * Startseite: kein Text auf dem Hero-Bild; keine Kartenraster außer den Städten, keine farbigen Randstreifen, keine
 * „Kleinzeile über Großzeile“. Kursive Versalien (Exo 2, selbst gehostet, OFL) nur für die Hero-Zeile, die
 * Abschnittstitel und den Store-Knopf; Fließtext in der Systemschrift. Hell und dunkel, Handy zuerst.
 * Rechtsseiten: Grundstil und der Block „Rechtsseiten“ unten; ihr Text bleibt unverändert. */

@font-face {
	font-family: "Exo 2 Jetvolta";
	src: url("schrift/Exo2-SemiBoldItalic-Jetvolta.woff2") format("woff2");
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

:root {
	color-scheme: light dark;
	--grund: #f3f6fa;
	--flaeche: #e7edf5;
	--schrift: #0a1a30;
	--leise: #4a5d75;
	--linie: #d3dfec;
	--akzent: #0f72c9;
	--volt: #ffd23a;
	--volt-tief: #ff9f0a;
	--nacht: #0a1a30;
	--nacht-hell: #16294a;
	--karte: var(--flaeche);
	--gedaempft: var(--leise);
	--titel: "Exo 2 Jetvolta", "Avenir Next Condensed", "Arial Narrow", -apple-system, sans-serif;
	--rand: clamp(1rem, 4vw, 2.5rem);
	--breite: 76rem;
}

@media (prefers-color-scheme: dark) {
	:root {
		--grund: #0a1a30;
		--flaeche: #102541;
		--schrift: #ffffff;
		--leise: #b5c4d6;
		--linie: #213a60;
		--akzent: #5fd0ff;
	}
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--grund);
	color: var(--schrift);
	font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent); }

.bahn { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

.titel {
	font-family: var(--titel);
	font-weight: 600;
	font-style: italic;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	line-height: 1;
	margin: 0;
}

h2.titel { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: 0.6rem; }

.einleitung { color: var(--leise); font-size: 1.1rem; max-width: 46ch; margin: 0 0 2rem; }

section { padding: clamp(3rem, 8vw, 6rem) 0; }

/* ---------- Hero: nur Bild, Logo und Sprache ---------- */

.hero { position: relative; background: var(--nacht); }

/* Das Bild in seinem eigenen Format über die volle Breite: Jet, Oper und Bogen sind nie verdeckt, nie vergrößert. */
.hero img { width: 100%; aspect-ratio: 1600 / 736; object-fit: cover; }

.hero::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 34%;
	background: linear-gradient(180deg, rgba(10, 26, 48, 0.6), rgba(10, 26, 48, 0));
	pointer-events: none;
}

.kopf {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: var(--breite);
	margin: 0 auto;
	padding: max(0.8rem, env(safe-area-inset-top)) var(--rand) 0;
}

.kopf .logo { width: clamp(110px, 22vw, 200px); }

.sprache {
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.92rem;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	padding: 0 0.95rem;
	border-radius: 999px;
	background: rgba(10, 26, 48, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ---------- Unter dem Hero: Aussage auf Nachtblau ---------- */

.auftakt { background: var(--nacht); color: #ffffff; padding: clamp(1.6rem, 5vw, 3.4rem) 0 clamp(2.4rem, 6vw, 4rem); }

.auftakt .bahn { display: grid; gap: 1.4rem; align-items: end; }

.auftakt h1 { font-size: clamp(2.6rem, 9vw, 5.4rem); max-width: 12ch; }

.auftakt p { color: #d6e1ec; font-size: 1.12rem; margin: 0 0 1.4rem; max-width: 40ch; }

.preis { color: #b5c4d6; font-size: 0.95rem; margin: 0.9rem 0 0; }

@media (min-width: 56rem) {
	.auftakt .bahn { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
}

/* Store-Knopf: gelb wie der Hauptknopf im Spiel. Bis zur Store-Adresse ein Hinweis (`span`), kein Verweis ins Leere. */
.laden {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	min-height: 56px;
	padding: 0.55rem 1.3rem 0.55rem 0.6rem;
	border-radius: 14px;
	background: linear-gradient(180deg, var(--volt), var(--volt-tief));
	color: var(--nacht);
	text-decoration: none;
	box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
	transform: skewX(-8deg);
}

.laden > * { transform: skewX(8deg); }

.laden img { width: 42px; height: 42px; border-radius: 10px; }
/* Die Aufschrift in der Kit-Versalie wie der Hauptknopf im Spiel (Fable: „ein gutes Element“). */
.laden b {
	display: block;
	font-family: var(--titel);
	font-style: italic;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 1.15rem;
	line-height: 1.1;
}
.laden small { display: block; font-size: 0.85rem; font-weight: 600; opacity: 0.75; }

/* ---------- Städte ---------- */

.flugschule {
	display: grid;
	grid-template-columns: minmax(7rem, 11rem) 1fr;
	gap: 1rem 1.2rem;
	align-items: center;
	margin: 0 0 1.6rem;
	padding-bottom: 1.6rem;
	border-bottom: 1px solid var(--linie);
}

.flugschule img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; }
.flugschule b { display: block; font-size: 1.2rem; }
.flugschule p { margin: 0.2rem 0 0; color: var(--leise); }

/* Handy: ein Filmstreifen mit Einrasten; die nächste Stadt schaut an der Kante herein, damit man sieht, dass es weitergeht. */
.mosaik {
	display: flex;
	gap: 0.8rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0 var(--rand) 0.6rem;
	margin: 0 calc(-1 * var(--rand));
	list-style: none;
	scrollbar-width: none;
}

.mosaik::-webkit-scrollbar { display: none; }

.stadt {
	position: relative;
	flex: 0 0 80%;
	scroll-snap-align: start;
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	background: var(--nacht);
	aspect-ratio: 4 / 3;
}

.stadt img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 60%; }

.stadt div {
	position: absolute;
	inset: auto 0 0 0;
	padding: 3rem 1rem 0.9rem;
	background: linear-gradient(0deg, rgba(10, 26, 48, 0.9), rgba(10, 26, 48, 0));
	color: #ffffff;
}

.stadt b { display: block; font-size: 1.5rem; font-weight: 750; line-height: 1.1; }
.stadt span { display: block; color: #d6e1ec; font-size: 0.95rem; }

/* Breit: Mosaik mit Rangfolge – Sydney und New York groß, die übrigen sieben kleiner. */
@media (min-width: 48rem) {
	.mosaik {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		grid-auto-rows: 11.5rem;
		overflow: visible;
		padding: 0;
		margin: 0;
	}
	.stadt { aspect-ratio: auto; }
	.stadt.vorn { grid-column: span 2; grid-row: span 2; }
	.stadt.vorn b { font-size: 2.1rem; }
	.stadt.breit { grid-column: span 2; }
}

.quelle { color: var(--leise); font-size: 0.88rem; margin: 1rem 0 0; }

/* ---------- Spielarten: Bild und Text im Wechsel ---------- */

.art {
	display: grid;
	gap: 1.2rem 3rem;
	align-items: center;
	margin: 0 0 clamp(2.4rem, 6vw, 4rem);
}

.art:last-child { margin-bottom: 0; }
.art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.art h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.15; margin: 0 0 0.5rem; }
.art p { margin: 0; color: var(--leise); font-size: 1.08rem; max-width: 42ch; }

@media (min-width: 52rem) {
	.art { grid-template-columns: 1.2fr 1fr; }
	.art.gedreht img { order: 2; }
}

/* ---------- Bildschirmfotos im Handyrahmen ---------- */

.screens {
	display: flex;
	gap: 1.2rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 0.4rem var(--rand) 1rem;
	margin: 0 calc(-1 * var(--rand));
	list-style: none;
	scrollbar-width: none;
}

.screens::-webkit-scrollbar { display: none; }

.screens li { flex: 0 0 min(86%, 36rem); scroll-snap-align: center; margin: 0; }

/* Ein iPhone quer: dunkler Rahmen, runde Ecken, Kamerainsel links. */
.handy {
	position: relative;
	border-radius: 34px;
	padding: 10px;
	background: #05080d;
	box-shadow: 0 0 0 1.5px #2a3445 inset, 0 18px 40px rgba(10, 26, 48, 0.28);
}

.handy img { border-radius: 25px; width: 100%; aspect-ratio: 2868 / 1320; object-fit: cover; }

.handy::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 50%;
	width: 10px;
	height: 58px;
	margin-top: -29px;
	border-radius: 6px;
	background: #05080d;
	z-index: 1;
}

.screens figcaption { margin-top: 0.7rem; color: var(--leise); font-size: 0.95rem; text-align: center; }

/* Breit: das Flugdeck groß, darunter die übrigen vier in zwei Reihen – kein Seitwärtsrollen ohne Wischgeste. */
@media (min-width: 64rem) {
	.screens {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 2rem 2.4rem;
		overflow: visible;
		padding: 0.4rem 0 0;
		margin: 0;
	}
	.screens li:first-child { grid-column: span 2; max-width: 52rem; justify-self: center; width: 100%; }
}

/* ---------- Und dazu: zweispaltige Liste ohne Kästen ---------- */

.liste { display: grid; gap: 1.4rem 3rem; margin: 0; padding: 0; list-style: none; }
.liste li { margin: 0; }
.liste b { display: block; font-size: 1.1rem; }
.liste span { color: var(--leise); }

@media (min-width: 48rem) { .liste { grid-template-columns: 1fr 1fr; } }

h2.klein { font-size: 1.5rem; margin: 0 0 1.4rem; }

/* ---------- Versprechen ---------- */

.versprechen { background: var(--nacht); color: #ffffff; }
.versprechen .titel { font-size: clamp(2.2rem, 7vw, 4.4rem); max-width: 16ch; margin-bottom: 1.6rem; }
.versprechen ul { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 0.5rem; }
.versprechen li { color: #d6e1ec; font-size: 1.12rem; }
.versprechen a { color: var(--volt); }
.versprechen p { color: #b5c4d6; margin: 0; }

/* ---------- Sprachen und Fuß ---------- */

.sprachen { color: var(--leise); margin: 0; font-size: 1.05rem; }
.sprachen b { color: var(--schrift); }

footer { border-top: 1px solid var(--linie); padding: 1.6rem 0 max(2rem, env(safe-area-inset-bottom)); color: var(--leise); font-size: 0.9rem; }
footer .bahn { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; align-items: center; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 0 1.2rem; }
footer a { color: inherit; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- Rechtsseiten ---------- */

.seitenkopf {
	border-bottom: 1px solid var(--linie);
	margin-bottom: 2.5rem;
	padding: 2.5rem 0 1.5rem;
}

.marke, main.seite h1 {
	font-family: var(--titel);
	font-style: italic;
	font-weight: 600;
	text-transform: uppercase;
}

.marke {
	display: inline-block;
	font-size: 1.15rem;
	letter-spacing: 0.06em;
	color: var(--akzent);
	text-decoration: none;
	margin-bottom: 0.7rem;
}

main.seite h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); line-height: 1.1; margin: 0 0 0.4rem; }
/* Rechtstexte lesen sich in gemischter Schreibung besser: Zwischentitel ohne Versalien und Kursive. */
main.seite h2 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-style: normal;
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	font-size: clamp(1.2rem, 3.4vw, 1.45rem);
	line-height: 1.25;
	margin: 2.2rem 0 0.6rem;
}
main.seite h2 + p { color: inherit; margin: 0 0 1rem; max-width: none; }
h3 { font-size: 1.02rem; margin: 1.6rem 0 0.4rem; }
.stand { color: var(--gedaempft); font-size: 0.92rem; margin: 0; }

.kasten {
	background: var(--karte);
	border: 1px solid var(--linie);
	border-radius: 12px;
	padding: 1.1rem 1.3rem;
	margin: 1.5rem 0;
}

.kasten p:first-child { margin-top: 0; }
.kasten p:last-child { margin-bottom: 0; }

ul { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }

table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: 0.96rem; }
th, td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { color: var(--gedaempft); font-weight: 600; white-space: nowrap; }

code {
	background: var(--karte);
	border: 1px solid var(--linie);
	border-radius: 5px;
	padding: 0.08em 0.35em;
	font-size: 0.92em;
}

/* Quellenseite (D-1057): Dateinamen, Prüfsummen und Lizenztext umbrechen statt die Seite zu verbreitern. */
.tabelle { overflow-x: auto; }
.tabelle table { margin: 0; }
.tabelle { margin: 1.2rem 0; }
td code, td a, p code { overflow-wrap: anywhere; }
code.pruefsumme { font-size: 0.78em; }
td.zahl, th.zahl { text-align: right; white-space: nowrap; }
blockquote { margin: 1rem 0; padding: 0 0 0 1rem; border-left: 3px solid var(--linie); color: var(--gedaempft); }
pre {
	background: var(--karte);
	border: 1px solid var(--linie);
	border-radius: 8px;
	padding: 0.9rem 1rem;
	white-space: pre-wrap;
	font-size: 0.82rem;
}
pre code { background: none; border: 0; padding: 0; }

/* Rechtsseiten setzen ihren Inhalt in eine schmale Bahn. */
main.seite { max-width: 44rem; margin: 0 auto; padding: 0 1rem 4rem; }
main.seite footer { margin-top: 3rem; }
