/*
Theme Name: DKSB Am Steppach
Template: dksb-basis
Author: Christian (ehrenamtlich für den DKSB VS)
Description: Design „Scherenschnitt-Hügel“ für die Kinderkrippe Am Steppach.
Version: 0.2.3
Text Domain: dksb
License: GPL-2.0-or-later
*/

@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/fredoka-500.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/fredoka-600.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/fredoka-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/nunito-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/nunito-800.woff2") format("woff2"); }

:root {
	--sun: #F6C33B; --plum: #4A2A5C; --plum2: #6E4686; --mint: #D3ECDD;
	--c-text: #2B1D33; --c-grau: #5A4864; --c-akzent: var(--plum2); --c-dunkel: var(--plum);
	--c-flaeche: #FFF6D8; --c-fokus: var(--plum2); --c-linie: #EADFEF;
	--f-text: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-titel: "Fredoka", "Nunito", system-ui, sans-serif;
	--nav-mobil-bg: var(--plum); --nav-mobil-text: #FFFFFF;
}
body { font-size: 18px; line-height: 1.6; }

/* Kopf */
.site-header { background: var(--plum); color: #FFFFFF; }
.site-header :focus-visible, .contact :focus-visible, .site-footer :focus-visible { outline-color: var(--sun); }
.bar { min-height: 76px; }
.word { font-family: var(--f-titel); font-weight: 700; font-size: 24px; line-height: 1; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.word i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: inline-block; box-shadow: 0 0 0 5px rgba(246,195,59,.25); }
.word small { display: block; font: 600 13px/1.2 var(--f-text); opacity: .85; margin-top: 3px; }
.word .logo-bild { max-height: 48px; }
@media (min-width: 861px) {
	.hauptnav .menu { gap: 6px; }
	.hauptnav a { display: block; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
	.hauptnav a:hover, .hauptnav a[aria-current] { background: rgba(255,255,255,.14); }
}

/* Start */
.hero { background: var(--sun); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 210px; }
.hero h1 { font-family: var(--f-titel); font-weight: 700; font-size: clamp(40px, 6vw, 72px); line-height: 1; margin: 0 0 16px; color: var(--plum); max-width: 12ch; }
.hero p { font-size: 21px; max-width: 34ch; margin: 0 0 24px; color: #3D2A47; }
.pill { display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--plum); color: #FFFFFF; text-decoration: none; font-weight: 800; }
.pill:hover { background: var(--plum2); }
.pill.sonne { background: var(--sun); color: #3A2049; }
.pill.sonne:hover { background: #FFD763; }
.hills { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 260px; z-index: 1; display: block; }
.facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-top: 10px; padding-bottom: 50px; }
.fact { padding: 18px 0; }
.fact b { display: block; font-family: var(--f-titel); font-weight: 600; font-size: 30px; color: var(--plum2); line-height: 1.1; margin-bottom: 4px; }
.fact span { color: #5A4864; }
.day { background: var(--mint); padding: 60px 0; }
.start h2, .day h2, .news h2, .contact h2 { font-family: var(--f-titel); font-weight: 600; font-size: clamp(30px, 3.6vw, 42px); color: var(--plum); margin: 0 0 26px; line-height: 1.1; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.steps li { background: #FFFFFF; border-radius: 22px 22px 22px 6px; padding: 18px; }
.steps .zeit { display: block; font-family: var(--f-titel); font-weight: 600; color: var(--plum2); font-size: 20px; }
.steps li p { margin: 4px 0 0; font-size: 16px; color: #4F3D59; }
.news { padding: 60px 0; }
.ncards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ncards article { padding: 22px; border-radius: 26px; background: #FFF6D8; }
.ncards article:nth-child(3n+2) { background: #EFE6F5; border-radius: 26px 6px 26px 26px; }
.ncards article:nth-child(3n) { background: #E4F3EA; border-radius: 6px 26px 26px 26px; }
.ncards time { font-weight: 700; color: var(--plum2); font-size: 15px; }
.ncards h3 { font-family: var(--f-titel); font-weight: 600; font-size: 22px; margin: 6px 0; color: var(--plum); line-height: 1.2; }
.ncards h3 a { text-decoration: none; }
.ncards h3 a:hover { text-decoration: underline; }
.ncards p { margin: 0; font-size: 16px; }
.contact { background: var(--plum); color: #FFFFFF; padding: 56px 0; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact h2 { color: var(--sun); }
.contact p { margin: 0 0 10px; color: #E9DDF0; }
.contact a { color: #FFFFFF; }
.contact a.tel { font-family: var(--f-titel); font-weight: 600; font-size: 32px; color: #FFFFFF; text-decoration: none; display: inline-block; margin-bottom: 8px; }
.contact .pill { margin-top: 8px; }

/* Fuß */
.site-footer { background: #3A2049; color: #CDB9D8; padding: 20px 0; }

@media (max-width: 860px) {
	.ncards, .contact .wrap { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.hero .wrap { padding-bottom: 170px; }
	.hills { height: 190px; }
}
