/*
JuPP - Junge Plattform Pulheim e.V.
Domain-specific stylesheet - reconstructed from Wayback Machine archive
*/

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

@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@300;400;500;700&family=Poppins:wght@400;600&display=swap');

:root {
	--jupp-primary: #1b3b69;
	--jupp-accent: #b5246f;
	--jupp-bg: #f8e6d0;
	--jupp-surface: #FCFCFC;
	--jupp-text: #1a1f23;
	--jupp-text-muted: #5a6470;
	--jupp-border: #e8d8c0;
	--jupp-font-headline: "League Spartan", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	--jupp-font-menu: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	--jupp-font-body: "League Spartan", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	--container: 1240px;
	--transition: 0.25s ease;
}

html { scroll-behavior: smooth; background-color: var(--jupp-bg); }
body {
	font-family: var(--jupp-font-body);
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
	color: var(--jupp-text);
	background-color: var(--jupp-surface);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jupp-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--jupp-accent); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--jupp-font-headline);
	color: var(--jupp-text);
}
h1 { font-size: 48px; line-height: 50px; font-weight: 400; }
h2 { font-size: 45px; line-height: 50px; font-weight: 700; }
h3 { font-size: 25px; line-height: 29px; font-weight: 300; }
h4 { font-size: 21px; line-height: 25px; font-weight: 500; }
h5 { font-size: 16px; line-height: 28px; font-weight: 700; }
h6 { font-size: 14px; line-height: 26px; font-weight: 600; }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* ============================================
   HEADER (Betheme-style, white, simple, sticky)
   ============================================ */
.jupp-header {
	background: #FFFFFF;
	padding: 0;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	border-bottom: 1px solid var(--jupp-border);
}
.jupp-header__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 1rem 1.25rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
}
.jupp-brand {
	display: inline-flex;
	align-items: center;
	height: 70px;
}
.jupp-brand img {
	max-height: 70px;
	width: auto;
}
.jupp-nav {
	display: flex;
	gap: 1.75rem;
	flex-wrap: wrap;
	font-family: var(--jupp-font-menu);
}
.jupp-nav a {
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.02em;
	color: var(--jupp-text);
	padding: 1rem 0;
	position: relative;
	text-transform: none;
}
.jupp-nav a::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0.5rem;
	width: 0; height: 2px;
	background: var(--jupp-accent);
	transition: width var(--transition);
}
.jupp-nav a:hover { color: var(--jupp-accent); }
.jupp-nav a:hover::after { width: 100%; }

/* ============================================
   SUBHEADER (background image banner like original)
   ============================================ */
.jupp-subheader {
	position: relative;
	min-height: 350px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}
.jupp-subheader__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(248, 230, 208, 0) 60%, var(--jupp-surface));
}

/* ============================================
   INTRO: Hey du! + Luca portrait
   ============================================ */
.jupp-intro {
	background: var(--jupp-surface);
	padding: 4rem 0 5rem;
}
.jupp-intro__grid {
	display: grid;
	grid-template-columns: 3fr 1fr;
	gap: 3rem;
	align-items: start;
}
.jupp-intro__title {
	font-size: 45px;
	line-height: 50px;
	font-weight: 700;
	color: var(--jupp-text);
	margin-bottom: 1.5rem;
}
.jupp-intro__copy p {
	margin-bottom: 1rem;
	font-size: 16px;
	line-height: 28px;
}
.jupp-intro__copy a {
	color: var(--jupp-accent);
	font-weight: 600;
	border-bottom: 1px solid transparent;
	transition: border-color var(--transition);
}
.jupp-intro__copy a:hover {
	border-color: var(--jupp-accent);
}
.jupp-intro__signature {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 2px solid var(--jupp-accent);
	font-size: 17px;
	color: var(--jupp-primary);
}
.jupp-intro__visual {
	display: flex;
	justify-content: center;
	padding-top: 1rem;
}
.jupp-intro__circle {
	width: 100%;
	max-width: 240px;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	background: var(--jupp-bg);
	box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.3);
}
.jupp-intro__circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
}

/* ============================================
   6-COLUMN ICON BOX GRID (mfn-icon-box-2 replica)
   ============================================ */
.jupp-icon-boxes {
	background: var(--jupp-surface);
	padding: 4rem 0 6rem;
}
.jupp-icon-boxes__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem 2rem;
}
.jupp-icon-box {
	text-align: center;
	transition: transform var(--transition);
}
.jupp-icon-box:hover {
	transform: translateY(-4px);
}
.jupp-icon-box__icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	margin: 0 auto 1.5rem;
	box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.08);
	transition: transform var(--transition);
}
.jupp-icon-box:hover .jupp-icon-box__icon {
	transform: scale(1.08);
}
.jupp-icon-box__icon svg {
	width: 36px;
	height: 36px;
}
.jupp-icon-box__title {
	font-family: var(--jupp-font-headline);
	font-size: 25px;
	line-height: 29px;
	font-weight: 700;
	color: var(--jupp-text);
	margin-bottom: 0.75rem;
}
.jupp-icon-box__desc {
	font-size: 16px;
	line-height: 26px;
	color: var(--jupp-text-muted);
	max-width: 32ch;
	margin: 0 auto;
}

/* ============================================
   PAGE TEMPLATE (for Impressum, Datenschutz, etc.)
   ============================================ */
.jupp-page-banner {
	min-height: 280px;
	background-image: url('https://jugend.sbmoll.com/wp-content/uploads/sites/4/2024/03/Homepage-Hintergrund-1.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.jupp-page-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(248, 230, 208, 0.4));
}
.jupp-page-banner h1 {
	position: relative;
	color: var(--jupp-primary);
	font-size: 80px;
	line-height: 80px;
	font-weight: 700;
	font-family: var(--jupp-font-headline);
	text-shadow: 0 2px 8px rgba(255, 255, 255, 0.6);
	text-align: center;
}
.jupp-content-page {
	background: var(--jupp-surface);
	padding: 4rem 0 5rem;
}
.jupp-content-page article {
	max-width: 880px;
	margin: 0 auto;
}
.jupp-content-page article p {
	margin-bottom: 1rem;
}
.jupp-content-page article h2,
.jupp-content-page article h3 {
	margin: 2rem 0 1rem;
}
.jupp-content-page article a {
	color: var(--jupp-accent);
	border-bottom: 1px solid var(--jupp-border);
}
.jupp-content-page article ul,
.jupp-content-page article ol {
	margin: 0 0 1.5rem 1.5rem;
}

/* Generic content wrapper kept for non-front pages */
.jupp-content {
	background: var(--jupp-surface);
	padding: 4rem 0;
}
.jupp-content article {
	max-width: 880px;
	margin: 0 auto;
}

/* ============================================
   POSTS LIST (for archive views)
   ============================================ */
.jupp-posts {
	padding: 4rem 0 6rem;
	background: var(--jupp-bg);
}
.jupp-posts h1, .jupp-posts h2 {
	font-family: var(--jupp-font-headline);
	font-weight: 700;
	color: var(--jupp-text);
	margin-bottom: 0.5rem;
}
.jupp-posts__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	margin-top: 2rem;
}
.jupp-post-card {
	background: #FFFFFF;
	border-radius: 4px;
	overflow: hidden;
	transition: all var(--transition);
	box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.15);
}
.jupp-post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px -16px rgba(0, 0, 0, 0.25);
}
.jupp-post-card__image {
	display: block;
	aspect-ratio: 16/9;
	overflow: hidden;
}
.jupp-post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.jupp-post-card:hover .jupp-post-card__image img {
	transform: scale(1.05);
}
.jupp-post-card__body {
	padding: 1.5rem;
}
.jupp-post-card h3 {
	margin-bottom: 0.6rem;
	font-size: 21px;
	line-height: 25px;
	font-weight: 500;
}
.jupp-post-card h3 a { color: var(--jupp-text); }
.jupp-post-card h3 a:hover { color: var(--jupp-accent); }
.jupp-post-meta {
	font-family: var(--jupp-font-menu);
	font-size: 12px;
	color: var(--jupp-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 0.5rem;
}
.jupp-post-excerpt {
	font-size: 15px;
	line-height: 24px;
	color: var(--jupp-text-muted);
}
.jupp-post-card__more {
	display: inline-block;
	margin-top: 0.75rem;
	font-weight: 600;
	color: var(--jupp-accent);
	font-family: var(--jupp-font-menu);
	font-size: 14px;
}
.jupp-post-card__more:hover { color: var(--jupp-primary); }

/* ============================================
   FOOTER (minimal like original)
   ============================================ */
.jupp-footer {
	background: #FFFFFF;
	color: var(--jupp-text-muted);
	padding: 2rem 0;
	font-size: 14px;
	border-top: 1px solid var(--jupp-border);
}
.jupp-footer__inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 1.25rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.jupp-footer a {
	color: var(--jupp-text);
	font-family: var(--jupp-font-menu);
	font-weight: 600;
	font-size: 13px;
}
.jupp-footer a:hover { color: var(--jupp-accent); }
.jupp-footer__links { display: flex; gap: 1.5rem; }
.jupp-footer__social { display: flex; gap: 0.75rem; }
.jupp-footer__social a {
	width: 36px; height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--jupp-bg);
	border-radius: 50%;
	transition: background var(--transition);
}
.jupp-footer__social a:hover { background: var(--jupp-accent); color: #FFFFFF; }
.jupp-footer__social svg { width: 18px; height: 18px; }

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 960px) {
	h1 { font-size: 41px; line-height: 43px; }
	h2 { font-size: 38px; line-height: 43px; }
	h3 { font-size: 21px; line-height: 25px; }
	.jupp-intro__title { font-size: 38px; line-height: 43px; }
	.jupp-intro__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.jupp-intro__visual { order: -1; }
	.jupp-intro__circle { max-width: 200px; }
	.jupp-icon-boxes__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2.5rem 1.5rem;
	}
	.jupp-nav { display: none; }
	.jupp-page-banner h1 { font-size: 60px; line-height: 60px; }
	.jupp-footer__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
	h1 { font-size: 36px; line-height: 38px; }
	h2 { font-size: 34px; line-height: 38px; }
	.jupp-intro__title { font-size: 34px; line-height: 38px; }
	.jupp-icon-boxes__grid {
		grid-template-columns: 1fr;
	}
	.jupp-page-banner h1 { font-size: 44px; line-height: 48px; }
	.jupp-subheader { min-height: 220px; }
}
