/* ═══════════════════════════════════════════════════════
   JuMa Steinkuhl — Urban Playground Design
   ═══════════════════════════════════════════════════════ */

:root {
	/* JuMa Logo-Farben */
	--color-red: #CC1B1B;
	--color-red-light: #E84444;
	--color-green: #1B8C1B;
	--color-green-light: #3AB83A;
	--color-green-pale: #E8F5E8;
	--color-blue: #1B3FCC;
	--color-blue-light: #4466E8;
	--color-blue-dark: #142E99;
	--color-yellow: #D4A800;
	--color-yellow-light: #FFD633;
	--color-yellow-pale: #FFF8DC;

	--color-navy: #1E2A3A;
	--color-navy-light: #2E3F5A;
	--color-cream: #FAFAF6;
	--color-white: #FFFFFF;
	--color-gray-100: #F5F4F0;
	--color-gray-200: #E8E6E0;
	--color-gray-400: #A09888;
	--color-gray-600: #6B6358;
	--color-gray-800: #3A352E;

	--font-display: 'Fredoka', sans-serif;
	--font-body: 'Nunito', sans-serif;

	--radius-sm: 8px;
	--radius-md: 16px;
	--radius-lg: 24px;
	--radius-xl: 40px;
	--radius-pill: 100px;

	--shadow-soft: 0 4px 20px rgba(26, 39, 68, 0.08);
	--shadow-medium: 0 8px 32px rgba(26, 39, 68, 0.12);
	--shadow-strong: 0 16px 48px rgba(26, 39, 68, 0.18);
	--shadow-glow-green: 0 0 30px rgba(27, 140, 27, 0.2);
	--shadow-glow-red: 0 0 30px rgba(204, 27, 27, 0.2);
}

/* ── Reset ── */
*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
}

body {
	font-family: var(--font-body);
	color: var(--color-navy);
	background: var(--color-cream);
	line-height: 1.7;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-blue-light); }
ul, ol { list-style-position: inside; }
table { border-collapse: collapse; }

/* ── Layout ── */
.wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Typography ── */
.headline {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	color: var(--color-navy);
	margin-bottom: 1em;
	position: relative;
	display: inline-block;
}

.headline::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 60px;
	height: 5px;
	background: var(--color-green);
	border-radius: 3px;
}

.subline {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.2rem, 2.5vw, 1.6rem);
	color: var(--color-navy);
	margin-bottom: 0.5em;
}

.paragraph p,
.text-content p {
	margin-bottom: 1em;
	color: var(--color-gray-600);
	font-size: 1.05rem;
}

.text-content h2 {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.5rem;
	margin: 2em 0 0.6em;
	color: var(--color-navy);
}

.text-content h3 {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 1.15rem;
	margin: 1.5em 0 0.4em;
	color: var(--color-navy-light);
}

.hint { color: var(--color-gray-400); font-size: 0.9rem; margin-top: 0.5em; }
.empty-hint { color: var(--color-gray-400); font-style: italic; text-align: center; padding: 2em; }

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--color-navy);
	padding: 0;
	box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.logo-wrap {
	display: flex;
	align-items: baseline;
	gap: 8px;
	text-decoration: none;
	color: var(--color-white);
}

.site-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2rem;
	letter-spacing: -0.02em;
}

/* JuMa Logo-Farben per Buchstabe */
.site-title .c-j { color: var(--color-red); }
.site-title .c-u { color: var(--color-green); }
.site-title .c-m { color: var(--color-blue); }
.site-title .c-a { color: var(--color-yellow-light); }

.site-subtitle {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1rem;
	color: var(--color-white);
	opacity: 0.7;
}

.mainmenu {
	display: flex;
	gap: 8px;
}

.mM-item {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--color-white);
	padding: 8px 18px;
	border-radius: var(--radius-pill);
	transition: all 0.25s ease;
	text-decoration: none;
}

.mM-item:hover {
	background: var(--color-yellow-light);
	color: var(--color-navy);
}

.burger {
	display: none;
	cursor: pointer;
	width: 36px;
	height: 36px;
	position: relative;
}

.burger span {
	font-size: 0;
	display: block;
	width: 28px;
	height: 3px;
	background: var(--color-white);
	border-radius: 2px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.burger span::before,
.burger span::after {
	content: '';
	display: block;
	width: 28px;
	height: 3px;
	background: var(--color-white);
	border-radius: 2px;
	position: absolute;
}

.burger span::before { top: -9px; }
.burger span::after { top: 9px; }

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
	background: var(--color-navy);
	background-size: cover;
	background-position: center;
	padding: clamp(60px, 12vw, 140px) 0 clamp(60px, 10vw, 120px);
	position: relative;
	overflow: hidden;
}

.hero::before,
.hero::after {
	/* Glows bleiben, aber dunkleres Overlay über dem Bild */
}

.hero > .wrap {
	position: relative;
	z-index: 2;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(30, 42, 58, 0.88) 0%, rgba(30, 42, 58, 0.65) 100%);
	z-index: 1;
}

.hero::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -15%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, var(--color-green) 0%, transparent 70%);
	opacity: 0.12;
	pointer-events: none;
}

.hero::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, var(--color-red) 0%, transparent 70%);
	opacity: 0.08;
	pointer-events: none;
}

.hero-headline {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.5rem, 7vw, 5rem);
	color: var(--color-white);
	line-height: 1.1;
	margin-bottom: 0.3em;
	position: relative;
}

.hero-headline::after {
	content: '✦';
	position: absolute;
	top: -0.2em;
	right: -0.4em;
	font-size: 0.4em;
	color: var(--color-yellow-light);
	animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
	0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
	50% { opacity: 0.5; transform: scale(0.8) rotate(15deg); }
}

.hero-sub {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: clamp(1.1rem, 2.5vw, 1.5rem);
	color: var(--color-green-light);
	margin-bottom: 1.2em;
}

.hero-cta {
	font-size: 1.05rem;
	color: rgba(255,255,255,0.75);
	line-height: 1.8;
}

.hero-cta strong {
	display: inline-block;
	margin-top: 0.5em;
	background: var(--color-yellow-light);
	color: var(--color-navy);
	padding: 6px 20px;
	border-radius: var(--radius-pill);
	font-weight: 700;
	font-family: var(--font-display);
	font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════ */
.section {
	padding: clamp(50px, 8vw, 100px) 0;
}

.section-highlight {
	background: var(--color-navy);
	color: var(--color-white);
	position: relative;
}

.section-highlight .headline {
	color: var(--color-white);
}

.section-highlight .headline::after {
	background: var(--color-red);
}

.section-highlight p,
.section-highlight td {
	color: rgba(255,255,255,0.8);
}

.section-highlight a {
	color: var(--color-yellow-light);
}

.section-highlight a:hover {
	color: var(--color-yellow);
}

/* ═══════════════════════════════════════════════════════
   CONTENT BLOCKS (Scroller)
   ═══════════════════════════════════════════════════════ */
.content-block {
	display: grid;
	gap: 40px;
	align-items: center;
	margin-bottom: 60px;
	padding: 32px;
	background: var(--color-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-block:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-medium);
}

.content-block:last-child { margin-bottom: 0; }

.content-block.left {
	grid-template-columns: 1fr 1.2fr;
}

.content-block.right {
	grid-template-columns: 1.2fr 1fr;
}

.content-block.right .content-img-wrap {
	order: 2;
}

.content-block.right .content-text {
	order: 1;
}

.content-block.center {
	grid-template-columns: 1fr;
	text-align: center;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.content-block.fullwidth {
	grid-template-columns: 1fr;
}

.content-img-wrap {
	border-radius: var(--radius-md);
	overflow: hidden;
	aspect-ratio: 4/3;
	background: linear-gradient(135deg, var(--color-yellow-pale) 0%, var(--color-green-pale) 100%);
}

.content-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content-text .subline {
	position: relative;
	padding-left: 16px;
}

.content-text .subline::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 5px;
	height: 1.2em;
	background: var(--color-green);
	border-radius: 3px;
}

.content-text .paragraph {
	color: var(--color-gray-600);
}

/* ═══════════════════════════════════════════════════════
   ÖFFNUNGSZEITEN
   ═══════════════════════════════════════════════════════ */
.opening-hours {
	max-width: 500px;
}

.opening-hours table {
	width: 100%;
	margin-bottom: 1em;
}

.opening-hours td {
	padding: 12px 0;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	font-size: 1.05rem;
}

.opening-hours td:first-child {
	font-weight: 600;
	font-family: var(--font-display);
	padding-right: 24px;
}

.opening-hours strong {
	color: var(--color-yellow-light);
}

/* ═══════════════════════════════════════════════════════
   KALENDER
   ═══════════════════════════════════════════════════════ */
.kalender-grid {
	display: grid;
	gap: 20px;
}

.kalender-card {
	display: flex;
	gap: 24px;
	padding: 24px;
	background: var(--color-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	border-left: 5px solid var(--color-green);
	transition: all 0.3s ease;
}

.kalender-card:hover {
	transform: translateX(6px);
	box-shadow: var(--shadow-medium);
	border-left-color: var(--color-blue);
}

.kalender-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 80px;
	padding: 12px;
	background: var(--color-navy);
	border-radius: var(--radius-md);
	text-align: center;
	flex-shrink: 0;
}

.kalender-day {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 2rem;
	color: var(--color-yellow-light);
	line-height: 1;
}

.kalender-month {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.85rem;
	color: rgba(255,255,255,0.7);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.kalender-year {
	font-size: 0.75rem;
	color: rgba(255,255,255,0.5);
}

.kalender-info { flex: 1; }

.kalender-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.2rem;
	color: var(--color-navy);
	margin-bottom: 4px;
}

.kalender-meta {
	font-size: 0.9rem;
	color: var(--color-gray-400);
	margin-bottom: 8px;
}

.kalender-time { font-weight: 600; color: var(--color-red); }

.kalender-descr {
	color: var(--color-gray-600);
	font-size: 0.95rem;
}

.kalender-descr p { margin: 0; }

.ical-download {
	display: inline-block;
	margin-top: 10px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-blue);
	padding: 4px 12px;
	border: 1px solid var(--color-blue-light);
	border-radius: var(--radius-pill);
	transition: all 0.2s;
}

.ical-download:hover {
	background: var(--color-blue);
	color: var(--color-white);
}

.kalender-abo {
	margin-top: 40px;
	padding: 24px 32px;
	background: var(--color-white);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-soft);
	text-align: center;
}

.kalender-abo p {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--color-navy);
	margin-bottom: 12px;
}

.btn-abo {
	display: inline-block;
	padding: 10px 28px;
	background: var(--color-green);
	color: var(--color-white) !important;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	border-radius: var(--radius-pill);
	transition: all 0.25s;
}

.btn-abo:hover {
	background: var(--color-green-light);
	transform: translateY(-2px);
	box-shadow: var(--shadow-medium);
}

.abo-hint {
	display: block;
	margin-top: 8px;
	font-size: 0.8rem;
	color: var(--color-gray-400);
}

/* ═══════════════════════════════════════════════════════
   KONTAKT
   ═══════════════════════════════════════════════════════ */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 48px;
	align-items: start;
}

.contact-info p {
	margin-bottom: 1.2em;
	line-height: 1.8;
}

.contact-info a {
	color: var(--color-yellow-light);
	font-weight: 600;
}

.contact-map {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-medium);
}

.contact-map iframe {
	display: block;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
	background: var(--color-gray-800);
	color: rgba(255,255,255,0.7);
	padding: 48px 0 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
	font-size: 0.9rem;
	line-height: 1.9;
}

.footer-col strong {
	color: var(--color-white);
	font-family: var(--font-display);
}

.footer-col a {
	color: rgba(255,255,255,0.7);
	transition: color 0.2s;
}

.footer-col a:hover {
	color: var(--color-yellow-light);
}

.footer-copy {
	font-size: 0.8rem;
	color: rgba(255,255,255,0.4);
	text-align: center;
}

/* ═══════════════════════════════════════════════════════
   COOKIE CONSENT
   ═══════════════════════════════════════════════════════ */
.cookie-popup {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	justify-content: center;
	align-items: flex-end;
	z-index: 9999;
	padding: 24px;
}

.cookie-popup.is-active {
	display: flex;
}

.cookie-popup-box {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	max-width: 600px;
	width: 100%;
	box-shadow: var(--shadow-strong);
	overflow: hidden;
}

.cookie-popup-header {
	padding: 20px 24px 0;
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.cookie-popup-content {
	padding: 12px 24px;
	font-size: 0.9rem;
	color: var(--color-gray-600);
}

.cookie-popup-content p { margin: 0; }
.cookie-popup-content a { text-decoration: underline; }

.cookie-popup-footer {
	padding: 12px 24px 20px;
	text-align: right;
}

.btn-cookie-accept {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 10px 28px;
	background: var(--color-green);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: background 0.2s;
}

.btn-cookie-accept:hover {
	background: var(--color-green-light);
}

/* ═══════════════════════════════════════════════════════
   GOOGLE MAPS DSGVO
   ═══════════════════════════════════════════════════════ */
.maps-consent {
	background: var(--color-gray-200);
	border-radius: var(--radius-lg);
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 32px;
}

.maps-consent.is-hidden { display: none; }

.maps-consent-text p {
	color: var(--color-gray-600);
	margin-bottom: 8px;
	font-size: 0.95rem;
}

.btn-maps-accept {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 10px 24px;
	background: var(--color-blue);
	color: var(--color-white);
	border: none;
	border-radius: var(--radius-pill);
	cursor: pointer;
	margin: 12px 0 8px;
	transition: background 0.2s;
}

.btn-maps-accept:hover {
	background: var(--color-blue-light);
}

.maps-external-link {
	display: block;
	font-size: 0.8rem;
	color: var(--color-gray-400);
}

.maps-iframe {
	display: none !important;
	border-radius: var(--radius-lg);
}

.maps-iframe.is-active {
	display: block !important;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════ */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}

.hero-headline { animation: fadeInUp 0.8s ease-out; }
.hero-sub { animation: fadeInUp 0.8s ease-out 0.15s both; }
.hero-cta { animation: fadeInUp 0.8s ease-out 0.3s both; }

.content-block { animation: fadeInUp 0.6s ease-out both; }
.content-block:nth-child(2) { animation-delay: 0.1s; }
.content-block:nth-child(3) { animation-delay: 0.2s; }

.kalender-card { animation: fadeInUp 0.5s ease-out both; }
.kalender-card:nth-child(1) { animation-delay: 0s; }
.kalender-card:nth-child(2) { animation-delay: 0.06s; }
.kalender-card:nth-child(3) { animation-delay: 0.12s; }
.kalender-card:nth-child(4) { animation-delay: 0.18s; }
.kalender-card:nth-child(5) { animation-delay: 0.24s; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
	.mainmenu {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: var(--color-navy);
		flex-direction: column;
		padding: 16px 24px 24px;
		border-top: 2px solid var(--color-green);
		box-shadow: var(--shadow-strong);
	}

	.mainmenu.is-open { display: flex; }

	.burger { display: block; }

	.content-block.left,
	.content-block.right {
		grid-template-columns: 1fr;
	}

	.content-block.right .content-img-wrap,
	.content-block.right .content-text {
		order: unset;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.kalender-card {
		flex-direction: column;
		gap: 16px;
	}

	.kalender-date {
		flex-direction: row;
		gap: 8px;
		min-width: unset;
		padding: 10px 20px;
		border-radius: var(--radius-pill);
		align-self: flex-start;
	}

	.kalender-day { font-size: 1.4rem; }
}

@media (max-width: 480px) {
	.hero-headline { font-size: 2.2rem; }
	.header .wrap { padding: 0 16px; }
	.wrap { padding: 0 16px; }
}
