/*
Theme Name: Himmelsleiter
Theme URI: https://fv-kita-himmelsleiter.de
Description: Design des Fördervereins Kita Himmelsleiter (Waldgrün, Mint, Gold). Child-Theme von Twenty Twenty-Five mit fertigen Vorlagen. Schriften lokal eingebunden (keine Google Fonts).
Author: Förderverein Kita Himmelsleiter
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Text Domain: himmelsleiter
License: GNU General Public License v2 or later
*/

:root {
	--fvh-forest: #1b4332;
	--fvh-mint: #e5efe9;
	--fvh-ink-soft: #5a6b62;
	--fvh-accent: #2cb67d;
	--fvh-accent-dark: #229463;
	--fvh-gold: #ffc93c;
	--fvh-blue: #4ea8de;
	--fvh-shadow: 0 10px 30px -18px rgba(27, 67, 50, .35);
	/* die farbigen Kreise aus dem Mitgliedsantrag */
	--fvh-blobs:
		radial-gradient(circle at -40px -60px, rgba(44, 182, 125, .38) 0 150px, transparent 151px),
		radial-gradient(circle at calc(100% + 60px) -80px, rgba(78, 168, 222, .30) 0 170px, transparent 171px),
		radial-gradient(circle at 82% calc(100% + 70px), rgba(176, 128, 80, .32) 0 110px, transparent 111px),
		radial-gradient(circle at 14% calc(100% + 40px), rgba(255, 201, 60, .22) 0 70px, transparent 71px);
}

/* ================= Kopfzeile ================= */
.fvh-kopf {
	background: var(--fvh-blobs), var(--fvh-forest);
	color: #fff;
	padding-top: 18px !important;
	padding-bottom: 18px !important;
}
.fvh-kopf-inner { gap: 16px 24px; }
.fvh-marke { gap: 14px; align-items: center; }
.fvh-logo-klein { margin: 0 !important; }
.fvh-logo-klein img {
	width: 68px; height: 68px; object-fit: contain; display: block;
	background: #fff; border-radius: 16px; padding: 3px;
	box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5);
}
.fvh-marke-text { gap: 0 !important; }
.fvh-marke-text p { margin: 0 !important; }
.fvh-kicker { font-size: 13px !important; color: #cfe0d6; font-weight: 600; font-style: italic; }
.fvh-kopf .wp-block-site-title { margin: 0; font-family: var(--wp--preset--font-family--lora); font-weight: 700; font-size: 23px; line-height: 1.2; }
.fvh-kopf .wp-block-site-title a { color: #fff; text-decoration: none; }

/* Menü */
.fvh-kopf .wp-block-navigation { color: #fff; font-weight: 600; font-size: 15px; gap: 4px; }
.fvh-kopf .wp-block-navigation .wp-block-navigation-item__content {
	padding: 8px 14px; border-radius: 99px; text-decoration: none; transition: background .15s;
}
.fvh-kopf .wp-block-navigation .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .14); }
.fvh-kopf .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.fvh-kopf .wp-block-navigation [aria-current="page"] {
	background: var(--fvh-gold); color: var(--fvh-forest);
}
.fvh-kopf .wp-block-navigation__submenu-container {
	background: #fff !important; color: var(--wp--preset--color--contrast) !important;
	border: none !important; border-radius: 12px; padding: 6px; box-shadow: 0 14px 30px -14px rgba(27, 67, 50, .45);
}
/* Handy-Menü (Overlay) */
.fvh-kopf .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--fvh-forest) !important; color: #fff !important;
}
.fvh-kopf .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 20px; }

/* ================= Fußzeile ================= */
.fvh-footer {
	background: var(--fvh-forest);
	color: #cfe0d6;
	text-align: center;
	font-size: 15px;
}
.fvh-footer p { margin: 0 0 4px; }
.fvh-footer a { color: #fff; }
.fvh-footer .fvh-footer-name { font-family: var(--wp--preset--font-family--lora); color: #fff; font-weight: 700; font-size: 19px; }

/* ================= Abschnitte ================= */
.fvh-section { padding-top: 56px !important; padding-bottom: 56px !important; }
.fvh-mint { background: var(--fvh-mint); }
.fvh-weiss { background: #fff; }
.fvh-center { text-align: center; }
.fvh-center .wp-block-buttons { justify-content: center; }
.fvh-eyebrow {
	font-size: 13px !important; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
	color: var(--fvh-accent-dark); margin-bottom: 4px !important;
}
.fvh-section h2.wp-block-heading { margin-top: 0; }
.fvh-lead { font-size: 18px; color: var(--fvh-ink-soft); max-width: 620px; margin-left: auto !important; margin-right: auto !important; }

/* ================= Hero ================= */
.fvh-hero {
	background: var(--fvh-blobs), var(--fvh-forest);
	color: #fff;
	text-align: center;
	padding-top: 56px !important;
	padding-bottom: 72px !important;
}
.fvh-hero .fvh-logo-gross { margin: 0 auto 18px !important; }
.fvh-hero .fvh-logo-gross img {
	width: 170px; height: 170px; object-fit: contain; background: #fff;
	border-radius: 30px; padding: 6px; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .5);
}
.fvh-hero .fvh-kicker { font-size: 16px !important; margin-bottom: 0 !important; }
.fvh-hero h1.wp-block-heading { color: #fff; margin-top: 4px; margin-bottom: 0; }
.fvh-slogan { color: var(--fvh-gold); font-style: italic; font-size: 19px; margin: 12px auto 26px !important; max-width: 36ch; }
.fvh-hero .wp-block-buttons { justify-content: center; }

/* ================= Buttons ================= */
.wp-block-button .wp-block-button__link { box-shadow: 0 10px 22px -12px rgba(34, 148, 99, .8); transition: transform .15s, background .15s; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button.fvh-gold .wp-block-button__link { background: var(--fvh-gold); color: var(--fvh-forest); box-shadow: 0 10px 22px -12px rgba(200, 150, 0, .8); }
.wp-block-button.fvh-gold .wp-block-button__link:hover { background: #f5bb1f; color: var(--fvh-forest); }
.wp-block-button.fvh-hell .wp-block-button__link { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .6); box-shadow: none; padding-top: 12px; padding-bottom: 12px; }
.wp-block-button.fvh-hell .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); }

/* ================= Karten ================= */
.fvh-karten { gap: 18px !important; }
.fvh-card {
	background: #fff; border-radius: 16px; padding: 24px 22px !important;
	box-shadow: var(--fvh-shadow);
}
.fvh-card > :last-child { margin-bottom: 0; }
.fvh-card h3.wp-block-heading { margin-top: 0; margin-bottom: 8px; }
.fvh-card.fvh-gruen-oben { border-top: 4px solid var(--fvh-accent); }
.fvh-card.fvh-gold-oben { border-top: 4px solid var(--fvh-gold); }
.fvh-card.fvh-blau-oben { border-top: 4px solid var(--fvh-blue); }
.fvh-icon {
	width: 46px; height: 46px; border-radius: 50%; background: var(--fvh-mint);
	display: grid; place-items: center; font-size: 22px; line-height: 1; margin: 0 0 12px !important;
}
.fvh-center .fvh-icon, .fvh-person .fvh-icon { margin-left: auto !important; margin-right: auto !important; }

/* Preise */
.fvh-preis { font-family: var(--wp--preset--font-family--lora); font-size: 42px; font-weight: 700; color: var(--fvh-forest); line-height: 1; margin: 8px 0 6px !important; }
.fvh-preis-zusatz { color: var(--fvh-ink-soft); font-size: 15px; margin-top: 0 !important; }
.fvh-tag {
	display: inline-block; font-size: 12px !important; font-weight: 600; padding: 3px 10px; border-radius: 99px;
	background: var(--fvh-gold); color: var(--fvh-forest); margin: 0 0 8px !important;
}

/* Häkchen-Liste */
ul.fvh-check { list-style: none; padding-left: 0; }
ul.fvh-check li { position: relative; padding-left: 28px; margin-bottom: 6px; }
ul.fvh-check li::before { content: "✓"; position: absolute; left: 4px; color: var(--fvh-accent-dark); font-weight: 700; }

/* Hinweis-Box */
.fvh-box { background: var(--fvh-mint); border-radius: 12px; padding: 14px 16px !important; font-size: 15px; }
.fvh-weiss .fvh-box, .fvh-box.fvh-box-blau { background: #eef6fc; }

/* Schritte */
.fvh-schritt { display: flex; gap: 14px; align-items: flex-start; }
.fvh-nummer {
	flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--fvh-mint); color: var(--fvh-forest);
	display: grid; place-items: center; font-weight: 700; font-size: 15px; margin: 0 !important;
}
.fvh-schritte { gap: 12px !important; max-width: 640px; margin-left: auto !important; margin-right: auto !important; }
.fvh-schritte .fvh-card { padding: 16px 18px !important; }
.fvh-schritte .fvh-card p { margin: 0; }
.fvh-schritte .fvh-card strong { color: var(--fvh-forest); }

/* Spenden-Band */
.fvh-band {
	background: var(--fvh-blobs), var(--fvh-forest); color: #fff; border-radius: 22px;
	padding: 44px 26px !important; text-align: center;
}
.fvh-band h2.wp-block-heading { color: #fff; }
.fvh-band > p { color: #d7e6dd; }
.fvh-band .fvh-card { color: var(--wp--preset--color--contrast); text-align: left; max-width: 440px; margin-left: auto !important; margin-right: auto !important; }
.fvh-bank p { margin: 0 0 6px; }
.fvh-bank strong { display: inline-block; min-width: 95px; color: var(--fvh-ink-soft); font-weight: 500; font-size: 14px; }

/* Vorstand */
.fvh-person { text-align: center; }
.fvh-avatar {
	width: 84px; height: 84px; border-radius: 50%; background: var(--fvh-mint); color: var(--fvh-forest);
	display: grid; place-items: center; font-family: var(--wp--preset--font-family--lora); font-size: 26px; font-weight: 700;
	margin: 0 auto 12px !important;
}
.fvh-person .fvh-rolle { color: var(--fvh-ink-soft); font-size: 14px; margin: 0; }
.fvh-person h3.wp-block-heading { font-size: 18px; margin-bottom: 2px; }

/* Bilder in Inhalten */
.wp-block-image img { border-radius: 14px; }
.fvh-logo-klein img, .fvh-logo-gross img { border-radius: 16px; }

/* Handy */
@media (max-width: 600px) {
	.fvh-section { padding-top: 40px !important; padding-bottom: 40px !important; }
	.fvh-hero { padding-top: 40px !important; padding-bottom: 52px !important; }
	.fvh-hero .fvh-logo-gross img { width: 130px; height: 130px; }
	.fvh-logo-klein img { width: 54px; height: 54px; }
	.fvh-kopf .wp-block-site-title { font-size: 19px; }
	.fvh-kicker { font-size: 12px !important; }
	.fvh-hero .wp-block-button { width: 100%; }
	.fvh-hero .wp-block-button__link { width: 100%; }
}

/* Abschnitte ohne Lücken aneinander setzen */
.wp-site-blocks > header + *,
.wp-site-blocks > footer,
.wp-site-blocks > .wp-block-template-part,
.entry-content > .fvh-section,
.entry-content > .fvh-hero,
.wp-block-post-content > .fvh-section,
.wp-block-post-content > .fvh-hero,
.fvh-section + .fvh-section { margin-block-start: 0 !important; }
.wp-site-blocks > main:has(.wp-block-post-content > .fvh-hero:first-child) { margin-top: 0 !important; padding-top: 0 !important; }
.wp-site-blocks > main:has(.wp-block-post-content > .fvh-hero:first-child) > .wp-block-group,
.wp-site-blocks > main:has(.wp-block-post-content > .fvh-hero:first-child) .wp-block-post-content { margin-top: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.wp-site-blocks > main:has(.fvh-section:last-child) { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.wp-site-blocks > main:has(.fvh-section:last-child) .wp-block-group { padding-bottom: 0; }
