/*
Theme Name: DKSB Am Sägebach
Template: dksb-basis
Author: Christian (ehrenamtlich für den DKSB VS)
Description: Design „Wellen und Papierboot“ für das Kinderstüble Am Sägebach.
Version: 0.2.3
Text Domain: dksb
License: GPL-2.0-or-later
*/

@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/baloo-2-500.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/baloo-2-700.woff2") format("woff2"); }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/baloo-2-800.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/mulish-400.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/mulish-600.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/mulish-700.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/mulish-800.woff2") format("woff2"); }

:root {
	--teal: #0E5C68; --aqua: #8FDCDD; --aqua2: #C9F0EE; --coral: #FF7A66; --coral-text: #B33A28; --navy: #0A3A45;
	--c-text: #12313A; --c-grau: #3B5F69; --c-akzent: var(--teal); --c-dunkel: var(--navy);
	--c-flaeche: #DFF6F5; --c-fokus: var(--teal); --c-linie: var(--aqua2);
	--f-text: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-titel: "Baloo 2", "Mulish", system-ui, sans-serif;
}
body { font-size: 18px; line-height: 1.6; }

/* Kopf: auf der Startseite über dem Wasser, sonst auf hellem Aqua */
.site-header { background: #DFF6F5; }
.home .site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; z-index: 30; }
.bar { min-height: 84px; }
.word { font-family: var(--f-titel); font-weight: 800; font-size: 26px; color: var(--navy); text-decoration: none; line-height: .95; display: flex; align-items: center; gap: 10px; }
.word span span { display: block; font: 700 13px/1.3 var(--f-text); color: var(--teal); letter-spacing: .01em; margin-top: 2px; }
.word .logo-bild { max-height: 52px; }
.hauptnav { color: var(--navy); }
@media (min-width: 861px) {
	.hauptnav .menu { gap: 4px; background: rgba(255,255,255,.75); border-radius: 999px; padding: 6px; }
	.hauptnav a { display: block; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
	.hauptnav a:hover, .hauptnav a[aria-current] { background: var(--teal); color: #FFFFFF; }
}

/* Start */
.hero { background: linear-gradient(#DFF6F5, #C3EEEC); padding: 140px 0 0; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: end; position: relative; z-index: 2; }
.hero h1 { font-family: var(--f-titel); font-weight: 800; font-size: clamp(42px, 6.2vw, 78px); line-height: .95; color: var(--navy); margin: 0 0 18px; }
.hero p { font-size: 21px; color: #23505A; max-width: 30ch; margin: 0 0 26px; }
.wbtn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 26px; border-radius: 18px 18px 18px 4px; background: var(--coral); color: var(--navy); font-weight: 800; text-decoration: none; box-shadow: 0 6px 0 #D9543F; }
.wbtn:hover { background: #FF8E7D; }
.boat { display: block; width: 100%; max-width: 380px; justify-self: center; margin-bottom: -6px; }
.waves { display: block; width: 100%; height: 170px; margin-top: 40px; }
.facts { background: var(--teal); color: #FFFFFF; padding: 0 0 54px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.facts li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; }
.facts svg { width: 52px; height: 52px; }
.facts b { display: block; font-family: var(--f-titel); font-weight: 700; font-size: 26px; line-height: 1.05; }
.facts span { color: #BFE8E9; font-size: 16px; }
.about { padding: 64px 0; }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about h2, .news h2, .contact h2 { font-family: var(--f-titel); font-weight: 800; color: var(--navy); font-size: clamp(30px, 3.6vw, 44px); line-height: 1; margin: 0 0 18px; }
.about p { margin: 0 0 14px; color: #2F5560; }
.bubble { background: var(--aqua2); border-radius: 40px 40px 40px 10px; padding: 28px; }
.bubble h3 { font-family: var(--f-titel); font-weight: 700; font-size: 24px; margin: 0 0 8px; color: var(--teal); }
.bubble ul { margin: 0; padding-left: 20px; }
.bubble li { margin: 4px 0; }
.news { background: #F3FBFB; padding: 64px 0; }
.nlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.nlist article { background: #FFFFFF; border-radius: 26px; padding: 24px; border: 2px solid var(--aqua2); }
.nlist time { color: var(--coral-text); font-weight: 800; font-size: 15px; }
.nlist h3 { font-family: var(--f-titel); font-weight: 700; font-size: 23px; margin: 4px 0 6px; color: var(--navy); line-height: 1.15; }
.nlist h3 a { text-decoration: none; }
.nlist h3 a:hover { text-decoration: underline; }
.nlist p { margin: 0; font-size: 16px; color: #3B5F69; }
.contact { padding: 64px 0; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.contact p { color: #2F5560; }
.card { background: var(--navy); color: #FFFFFF; border-radius: 30px; padding: 30px; }
.card a { color: #FFFFFF; }
.card a.tel { font-family: var(--f-titel); font-weight: 700; font-size: 34px; color: var(--aqua); text-decoration: none; display: block; }
.card p { margin: 6px 0; color: #CBE9EA; }
.card :focus-visible, .facts :focus-visible, .site-footer :focus-visible { outline-color: var(--aqua); }

/* Fuß */
.site-footer { background: var(--navy); color: #9FC9CC; padding: 22px 0; }

@media (max-width: 860px) {
	.hero .wrap, .about .wrap, .nlist, .contact .wrap { grid-template-columns: 1fr; }
	.hero { padding-top: 110px; }
	.boat { max-width: 260px; }
}
@media (prefers-reduced-motion: no-preference) {
	.boat .bob { animation: bob 4s ease-in-out infinite; transform-origin: 50% 80%; transform-box: fill-box; }
	@keyframes bob { 50% { transform: translateY(-6px) rotate(-2deg); } }
}
