/* Studio Spoettl: the toy look of GymShot (data/art_styles/toy.tres): sky blue ground, blue
   panels with a navy edge and a hard shadow, sunny buttons, our own GymShot Round face. */
@font-face { font-family: "GymShot Round"; src: url("media/gymshot_round_regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "GymShot Round"; src: url("media/gymshot_round_bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
	--sky: #3d8bff;
	--panel: #214da3;
	--edge: #0f1f4a;
	--ink: #2b1e2e;
	--cream: #fff5e0;
	--sun: #ffc93c;
	--coral: #ff4d4d;
	--mint: #4cd964;
	--grape: #a66cff;
	--radius: 20px;
	--border: 5px;
	--shadow: 6px 6px 0 var(--edge);
	--logo-edge: #2b2450;
}

* { box-sizing: border-box; }
/* Long German words (Verbraucherstreitbeilegung) must break on phones instead of running off the panel. */
body { overflow-wrap: break-word; hyphens: auto; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--sky);
	color: var(--cream);
	font: 400 18px/1.55 "GymShot Round", system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--sun); }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin: 0 auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--panel); border-bottom: var(--border) solid var(--edge); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.brand svg { width: 190px; height: auto; display: block; --logo-ink: var(--cream); --logo-edge-light: #2b2450; --logo-edge: var(--cream); }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { color: var(--cream); text-decoration: none; font-weight: 700; padding: 6px 12px; border-radius: 12px; }
.top nav a:hover, .top nav a[aria-current] { background: var(--edge); }

/* Buttons */
.button {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 24px; border: var(--border) solid var(--edge); border-radius: 16px;
	background: var(--sun); color: var(--ink); box-shadow: var(--shadow);
	font: 700 20px/1 "GymShot Round", sans-serif; text-decoration: none;
	transition: transform 0.12s, box-shadow 0.12s;
}
.button:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 8px 8px 0 var(--edge); }
.button:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--edge); }
.button.blue { background: var(--cream); }
.button svg { width: 22px; height: 22px; }

/* Hero */
.hero {
	position: relative; min-height: min(78vh, 760px); display: grid; place-items: center;
	background: var(--edge) url("media/hero.webp") center / cover no-repeat;
	border-bottom: var(--border) solid var(--edge); text-align: center; overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 31, 74, 0) 40%, rgba(15, 31, 74, 0.55)); }
.hero > div { position: relative; z-index: 1; padding: 48px 16px; }
.hero img { width: min(620px, 90vw); margin: 0 auto 12px; filter: drop-shadow(0 10px 18px rgba(15, 31, 74, 0.45)); }
.hero .tag { font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; text-shadow: 0 3px 0 var(--edge); margin-bottom: 24px; }
.actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Panels */
section { padding: 64px 0; }
.panel {
	background: var(--panel); border: var(--border) solid var(--edge); border-radius: var(--radius);
	box-shadow: var(--shadow); padding: 28px;
}
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border: 3px solid var(--edge); border-radius: 12px; font-weight: 700; color: var(--ink); }
.chips li:nth-child(4n+1) { background: var(--sun); }
.chips li:nth-child(4n+2) { background: var(--mint); }
.chips li:nth-child(4n+3) { background: var(--coral); color: var(--cream); }
.chips li:nth-child(4n+4) { background: var(--cream); }

.video { border: var(--border) solid var(--edge); border-radius: var(--radius); overflow: hidden; background: var(--edge); aspect-ratio: 16 / 9; }
.video video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--panel); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.cards .panel { padding: 22px; }
.cards .panel:nth-child(3n+1) { transform: rotate(-0.6deg); }
.cards .panel:nth-child(3n+3) { transform: rotate(0.6deg); }
.cards h3 { color: var(--sun); }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.shots button { padding: 0; border: 4px solid var(--edge); border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--edge); box-shadow: 4px 4px 0 var(--edge); transition: transform 0.12s; }
.shots button:hover { transform: translate(-2px, -2px) scale(1.02); }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
dialog { padding: 0; border: var(--border) solid var(--edge); border-radius: var(--radius); background: var(--edge); max-width: min(1600px, 96vw); }
dialog::backdrop { background: rgba(15, 31, 74, 0.85); }
dialog img { width: 100%; height: auto; cursor: zoom-out; }

.studio { text-align: center; }
.studio svg { width: min(560px, 100%); height: auto; margin: 0 auto 20px; display: block; --logo-ink: var(--cream); --logo-edge-light: #2b2450; --logo-edge: var(--cream); }
.studio p { max-width: 640px; margin: 0 auto 1em; }

/* Text pages */
.page { padding: 48px 0 72px; }
.page .panel { max-width: 860px; margin: 0 auto; }
.page h1 { font-size: clamp(32px, 5vw, 48px); }
.page h2 { font-size: 26px; margin-top: 1.4em; color: var(--sun); }
.page dt { font-weight: 700; color: var(--sun); margin-top: 1em; }
.page dd { margin: 0.2em 0 0; }
.mail { font-size: 22px; font-weight: 700; overflow-wrap: anywhere; }
.hint { opacity: 0.8; font-size: 16px; }

/* Footer */
footer { background: var(--edge); padding: 28px 0; font-size: 16px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--cream); }

@media (max-width: 820px) {
	.split, .cards { grid-template-columns: 1fr; }
	.top .wrap { flex-direction: column; gap: 4px; padding: 8px 0 6px; }
	.brand svg { width: 140px; }
	.top nav { justify-content: center; gap: 2px; }
	.top nav a { padding: 4px 10px; font-size: 16px; }
	.panel { padding: 20px; }
	.mail { font-size: 18px; }
	.cards .panel { transform: none !important; }
	section { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
