/*
Theme Name:         Kokodil v2
Theme URI:          http://manuelstrasser.com
Description:        Kokodil
Version:            1.0.0
Author:             Manuel Strasser
Author URI:         http://manuelstrasser.com
*/

html {
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.kok-front *,
	.kok-front *::before,
	.kok-front *::after {
		animation: none !important;
		transition: none !important;
	}
}

/* Startseite: Tagline im Header ausblenden (der Hero sagt es prominenter) */
.page-template-front .site-header .description {
	display: none;
}

/* ============================================================
   Startseite (page-templates/front.php)
   Farbwelt: Hellblau #54b0ed - Wasserblau #2199e8 - Tiefblau #0c4d78
   Gelb #ffce3a - Papier #fbf5e9 - Text #1a2a33
   ============================================================ */

.kok-front {
	color: #1a2a33;
	line-height: 1.65;
}
.kok-front :where(h1, h2, h3, p, ul) {
	margin: 0;
	padding: 0;
}
.kok-front h2,
.kok-front h3 {
	font-family: "Crete Round", serif;
	font-weight: 400;
	line-height: 1.2;
}
.kok-wrap {
	max-width: 1060px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
}
.kok-center {
	text-align: center;
}
.kok-pad {
	padding: 64px 0 72px;
}
.kok-front section {
	position: relative;
}
.kok-sec-title {
	font-size: 2.2rem;
	color: #0c4d78;
	margin-bottom: 18px;
	position: relative;
	display: inline-block;
}
.kok-underline {
	display: block;
	margin-top: 4px;
}

/* ---------- Buttons ---------- */
.kok-btn {
	display: inline-block;
	background: #0c4d78;
	color: #fbf5e9;
	font-family: Rubik, sans-serif;
	font-weight: 600;
	text-decoration: none;
	padding: 13px 30px;
	border-radius: 999px;
	transition: transform 0.2s ease, background 0.2s ease;
}
.kok-btn:hover,
.kok-btn:focus {
	background: #093a5c;
	color: #fbf5e9;
	transform: translateY(-2px);
}
.kok-btn.kok-ghost {
	background: transparent;
	color: #0c4d78;
	border: 2px solid #0c4d78;
}
.kok-btn.kok-ghost:hover,
.kok-btn.kok-ghost:focus {
	background: rgba(12, 77, 120, 0.08);
	color: #0c4d78;
}

/* ---------- Hero ---------- */
.kok-hero {
	position: relative;
	background: #fbf5e9;
	padding: 56px 0 0;
	overflow: hidden;
}
.kok-hero-inner {
	position: relative;
	z-index: 5;
	text-align: center;
	max-width: 760px;
	margin: 0 auto;
	padding: 0 24px;
}
.kok-kicker {
	color: #2199e8;
	font-weight: 600;
	font-size: 1.05rem;
	letter-spacing: 0.04em;
	margin-bottom: 14px;
}
.kok-kicker span {
	text-transform: uppercase;
	letter-spacing: 0.14em;
}
.kok-wordmark {
	margin: 0 auto;
	line-height: 0;
}
.kok-wordmark svg {
	width: min(420px, 76vw);
	height: auto;
	color: #111;
	display: inline-block;
}
.kok-since {
	color: #2199e8;
	font-weight: 500;
	font-size: 1.3rem;
	margin-top: 10px;
}
.kok-sub {
	font-size: 1.3rem;
	color: #1a2a33;
	margin-top: 18px;
}
.kok-sub strong {
	color: #0c4d78;
}
.kok-teaser {
	margin: 24px auto 0;
	max-width: 560px;
	font-size: 1.02rem;
	color: #3f5a6b;
}
.kok-cta-row {
	margin: 28px 0 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 16px;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-align: center;
	align-items: center;
}

/* weiche Hintergrund-Blobs im Hero */
.kok-hero-blob {
	position: absolute;
	border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
	z-index: 1;
	pointer-events: none;
}
.kok-hero-blob.kok-b1 {
	width: 420px;
	height: 380px;
	background: rgba(84, 176, 237, 0.28);
	top: -140px;
	left: -150px;
	animation: kok-morph 14s ease-in-out infinite;
}
.kok-hero-blob.kok-b2 {
	width: 360px;
	height: 330px;
	background: rgba(33, 153, 232, 0.16);
	top: -90px;
	right: -140px;
	animation: kok-morph 16s ease-in-out infinite reverse;
}
@keyframes kok-morph {
	0%, 100% { border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%; }
	50% { border-radius: 42% 58% 37% 63% / 48% 60% 40% 52%; }
}

/* ---------- Komm-vorbei-Karte ---------- */
.kok-visit {
	background: #fff;
	border: 2px solid rgba(12, 77, 120, 0.18);
	border-radius: 34px 40px 36px 42px/40px 34px 42px 36px;
	padding: 30px 34px;
	box-shadow: 0 12px 30px rgba(12, 77, 120, 0.10);
	max-width: 620px;
	margin: 34px auto 0;
	text-align: center;
}
.kok-visit-kicker {
	display: inline-block;
	background: #ffce3a;
	color: #1a2a33;
	font-weight: 600;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 5px 16px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.kok-visit-date {
	font-family: "Crete Round", serif;
	font-size: 1.7rem;
	line-height: 1.25;
	color: #0c4d78;
}
.kok-visit-addr {
	margin-top: 10px;
	font-size: 1.05rem;
}
.kok-visit-any {
	margin-top: 14px;
	display: inline-block;
	background: rgba(84, 176, 237, 0.25);
	padding: 7px 16px;
	border-radius: 999px;
	font-weight: 500;
	font-size: 0.95rem;
}

/* ---------- Sonnen-Badge: Plaetze frei! ---------- */
.kok-badge-float {
	position: absolute;
	right: 5%;
	top: 120px;
	z-index: 6;
	animation: kok-bob 7s ease-in-out infinite;
}
@keyframes kok-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
.kok-sun {
	position: relative;
	width: 180px;
	height: 180px;
	margin: 0 auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-orient: vertical;
	-ms-flex-direction: column;
	flex-direction: column;
	text-align: center;
	text-decoration: none;
	z-index: 6;
}
.kok-sun svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	animation: kok-sunspin 60s linear infinite;
}
@keyframes kok-sunspin {
	to { transform: rotate(360deg); }
}
.kok-sun-text {
	position: relative;
	font-family: "Crete Round", serif;
	font-size: 1.02rem;
	color: #1a2a33;
	transform: rotate(-5deg);
	line-height: 1.15;
}
.kok-sun-text small {
	display: block;
	font-family: Rubik, sans-serif;
	font-size: 0.62rem;
	font-weight: 500;
	line-height: 1.3;
	max-width: 92px;
	margin: 4px auto 0;
}


/* ---------- Wellen & Wasserkante ---------- */
.kok-hills {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 4;
	margin-bottom: -1px;
}
.kok-waves-zone {
	position: relative;
	margin-top: 40px;
	height: clamp(200px, 20.833vw, 300px);
	overflow: hidden;
}
.kok-croc {
	position: absolute;
	z-index: 5;
	width: clamp(180px, 32vw, 460px);
	max-width: none;
	left: 65%;
	bottom: 8%;
	pointer-events: none;
	will-change: transform;
}
.kok-croc img {
	width: 100%;
	animation: kok-croc-sway 6s ease-in-out infinite;
}
@keyframes kok-croc-sway {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-5px) rotate(-1.2deg); }
}
.kok-duck {
	position: absolute;
	z-index: 5;
	width: clamp(72px, 9vw, 130px);
	max-width: none;
	left: 6%;
	bottom: 43%;
	pointer-events: none;
	will-change: transform;
}
.kok-duck img {
	width: 100%;
	animation: kok-duck-bob 4.5s ease-in-out infinite;
}
@keyframes kok-duck-bob {
	0%, 100% { transform: translateY(0) rotate(-2deg); }
	50% { transform: translateY(-6px) rotate(2deg); }
}
.kok-hero-waves {
	height: 100%;
}
.kok-hero-waves g {
	will-change: transform;
}

/* ---------- Wer wir sind ---------- */
.kok-who {
	background: #54b0ed;
}
.kok-who-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 48px;
	align-items: center;
}
.kok-who p {
	max-width: 56ch;
	font-size: 1.05rem;
}
.kok-who p + p {
	margin-top: 14px;
}
.kok-foto-stack {
	position: relative;
}
.kok-foto-blob {
	background: #2199e8;
	color: #fbf5e9;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	font-family: "Crete Round", serif;
	font-size: 1.1rem;
	aspect-ratio: 5/4;
	border-radius: 58% 42% 50% 50% / 52% 55% 45% 48%;
	box-shadow: inset 0 0 0 6px rgba(251, 245, 233, 0.55);
	position: relative;
	overflow: hidden;
}
.kok-foto-blob img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	border-radius: inherit;
}
.kok-foto-blob.kok-small {
	width: 56%;
	aspect-ratio: 1/1;
	background: #ffce3a;
	color: #093a5c;
	margin: -46px 0 0 auto;
	border-radius: 44% 56% 58% 42% / 50% 44% 56% 50%;
}

/* ---------- Warum kokodil? ---------- */
.kok-why {
	background: #fbf5e9;
}
.kok-lead {
	max-width: 52ch;
	margin: 0 auto 8px;
}
.kok-why-list {
	max-width: 760px;
	margin: 30px auto 0;
	text-align: left;
	list-style: none;
}
.kok-why-list li {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 24px;
	align-items: start;
	padding: 22px 0;
	border-bottom: 2px dotted rgba(12, 77, 120, 0.30);
	margin: 0;
}
.kok-why-list li:last-child {
	border-bottom: none;
}
.kok-why-list li:before {
	content: none !important;
}
.kok-icon {
	display: block;
	width: 88px;
	height: 88px;
	object-fit: contain;
	margin-top: 0;
}
.kok-why-list h3 {
	font-size: 1.18rem;
	color: #093a5c;
}
.kok-why-list p {
	font-size: 1rem;
	margin-top: 3px;
}

/* ---------- Elternverwaltet ---------- */
.kok-parents {
	background: #0c4d78;
	color: #fbf5e9;
}
.kok-parents .kok-sec-title {
	color: #ffce3a;
}
.kok-parents .kok-wrap {
	max-width: 820px;
}
.kok-parents p {
	font-size: 1.08rem;
	max-width: 60ch;
	margin: 0 auto;
}
.kok-parent-icon {
	display: block;
	width: 160px;
	height: 150px;
	object-fit: contain;
	margin: 2px auto 22px;
}

/* ---------- Kosten & Plaetze ---------- */
.kok-costs {
	background: #54b0ed;
}
.kok-cost-row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 30px;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-align: center;
	align-items: center;
	margin-top: 34px;
}
.kok-cost-circle {
	width: 216px;
	aspect-ratio: 1/1;
	background: #fbf5e9;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	box-shadow: 0 10px 24px rgba(9, 58, 92, 0.16);
	transition: transform 0.25s ease;
}
/* jede Preis-Blase hat ihre eigene organische Form */
.kok-cost-circle:nth-child(1) {
	border-radius: 58% 42% 48% 52% / 47% 56% 44% 53%;
}
.kok-cost-circle.kok-mid {
	border-radius: 46% 54% 56% 44% / 53% 46% 54% 47%;
	background: #ffce3a;
	width: 236px;
}
.kok-cost-circle:nth-child(3) {
	border-radius: 52% 48% 43% 57% / 58% 45% 55% 42%;
}
.kok-cost-circle:hover {
	transform: translateY(-6px);
}
.kok-days {
	font-weight: 600;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #0c4d78;
}
.kok-mid .kok-days {
	color: #093a5c;
}
.kok-price {
	font-family: "Crete Round", serif;
	font-size: 2.2rem;
	color: #093a5c;
	margin-top: 4px;
}
.kok-per {
	font-size: 0.85rem;
	color: #4d5c66;
}
.kok-cost-note {
	margin-top: 30px;
	font-size: 1.05rem;
	color: #1a2a33;
}
.kok-frei {
	display: inline-block;
	background: #ffce3a;
	color: #093a5c;
	font-family: "Crete Round", serif;
	font-weight: 400;
	font-size: 1.3rem;
	padding: 8px 22px;
	border-radius: 46% 54% 52% 48% / 58% 48% 52% 42%;
	box-shadow: 0 6px 16px rgba(9, 58, 92, 0.18);
	margin-right: 10px;
}

/* ---------- Abschluss-CTA ---------- */
.kok-final {
	background: #fbf5e9;
}
.kok-final .kok-wrap {
	max-width: 640px;
}
.kok-final h2 {
	font-size: 2.1rem;
	color: #0c4d78;
}
.kok-final p {
	margin-top: 12px;
	font-size: 1.05rem;
}
.kok-final .kok-btn {
	margin-top: 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.kok-croc {
		left: auto;
		right: 3%;
	}
	.kok-badge-float {
		position: static;
		margin: 28px auto 0;
		animation: none;
	}
	.kok-sec-title {
		font-size: 1.8rem;
	}
}
@media (max-width: 640px) {
	.kok-hero {
		padding-top: 40px;
	}
	.kok-visit {
		padding: 26px 20px;
	}
	.kok-visit-date {
		font-size: 1.4rem;
	}
	.kok-who-grid {
		grid-template-columns: 1fr;
		gap: 34px;
	}
	.kok-foto-blob.kok-small {
		margin-top: -30px;
	}
	.kok-why .kok-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}
	.kok-why-list {
		margin-top: 18px;
	}
	.kok-why-list li {
		grid-template-columns: 70px 1fr;
		gap: 16px;
		padding: 18px 0;
	}
	.kok-icon {
		width: 64px;
		height: 64px;
	}
	.kok-parent-icon {
		width: 136px;
		height: 128px;
		margin-bottom: 18px;
	}
	.kok-why-list h3 {
		font-size: 1.06rem;
	}
	.kok-cost-circle {
		width: 180px;
	}
	.kok-cost-circle.kok-mid {
		width: 196px;
	}
	.kok-pad {
		padding: 52px 0 58px;
	}
	.kok-sub {
		font-size: 1.12rem;
	}
	.kok-since {
		font-size: 1.1rem;
	}
	.kok-duck {
		display: block;
		width: 72px;
		max-width: none;
		left: 4%;
		bottom: 45%;
	}
}

/* ---------- Homepage shell ---------- */
.page-template-front #masthead {
	position: relative;
	z-index: 1000;
	height: 0;
	min-height: 0;
	margin: 0;
}
.page-template-front #masthead > .row {
	display: none;
}
.page-template-front #masthead .navcont {
	top: 24px;
}
.admin-bar.page-template-front #masthead .navcont {
	top: 56px;
}

/* ---------- Footer ---------- */
#footer {
	background: #0c4d78;
	padding: 64px 0 72px;
}
#footer footer.row {
	display: grid;
	max-width: 1180px;
	padding: 0 24px;
	grid-template-columns: minmax(280px, 0.8fr) minmax(480px, 1.2fr);
	gap: 56px;
	align-items: center;
}
#footer footer.row > .columns {
	float: none;
	width: auto;
	padding-right: 15px;
	padding-left: 15px;
	min-width: 0;
}
#footer .kok-footer-art {
	display: flex;
	min-height: 0;
	gap: 32px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	color: #fbf5e9;
}
#footer .kok-footer-art > .row {
	width: 100%;
	margin: 0;
	flex: 0 0 auto;
}
#footer .kok-footer-art .widget {
	float: none;
	width: 100%;
	padding: 0;
	color: #fbf5e9;
}
#footer .kok-footer-art h3 {
	margin: 0 0 20px;
	color: #ffce3a;
	font-family: "Crete Round", serif;
	font-size: 2.4rem;
	font-weight: 400;
	line-height: 1.1;
}
#footer .kok-footer-art .textwidget {
	color: #fbf5e9;
	font-size: 1.12rem;
	line-height: 1.65;
}
#footer .kok-footer-art > .row:empty {
	display: none;
}
#footer #fisch {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	width: 280px;
	margin: 0;
	flex: 0 0 auto;
	align-self: center;
	background-color: transparent;
	background-image: url("assets/images/fisch-light.png");
	background-position: center;
	background-size: 280px;
	border-radius: 0;
	box-shadow: none;
	animation: none;
	transform: none;
}
#footer #fisch::after {
	display: none;
}
#footer #kontaktformular {
	z-index: 1;
	box-sizing: border-box;
	width: 100%;
	max-width: 680px;
	padding: 36px;
	justify-self: end;
	background: #fbf5e9;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 18px 48px rgba(4, 37, 58, 0.24);
	color: #1a2a33;
}
#footer #kontaktformular form {
	display: grid;
	margin: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}
#footer #kontaktformular form > p {
	min-width: 0;
	margin: 0;
}
#footer #kontaktformular form > .recaptcha-policy-text,
#footer #kontaktformular form > p:last-of-type,
#footer #kontaktformular .wpcf7-response-output {
	grid-column: 1 / -1;
}
#footer #kontaktformular input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
#footer #kontaktformular textarea {
	box-sizing: border-box;
	width: 100%;
}
#footer #kontaktformular h3 {
	margin: 0 0 24px;
	color: #0c4d78;
	font-family: "Crete Round", serif;
	font-size: 2.4rem;
	font-weight: 400;
	line-height: 1.1;
}
#footer #kontaktformular label {
	color: #1a2a33;
}
#footer #kontaktformular .recaptcha-policy-text {
	color: #1a2a33;
	font-size: 0.78rem;
	line-height: 1.45;
}
#footer #kontaktformular a {
	color: #0c4d78;
	text-decoration: underline;
	text-decoration-color: #ffce3a;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
#footer #kontaktformular a:hover,
#footer #kontaktformular a:focus {
	color: #2199e8;
}
#footer #kontaktformular input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
#footer #kontaktformular textarea {
	min-height: 48px;
	padding: 10px 12px;
	background: #fff;
	border: 2px solid #0c4d78;
	border-radius: 5px;
	box-shadow: none;
	color: #1a2a33;
}
#footer #kontaktformular input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus,
#footer #kontaktformular textarea:focus {
	border-color: #2199e8;
	box-shadow: 0 0 0 3px rgba(33, 153, 232, 0.2);
}
#footer #kontaktformular input[type="submit"] {
	padding: 12px 24px;
	background: #ffce3a;
	border: 2px solid #0c4d78;
	border-radius: 6px;
	box-shadow: none;
	color: #0c4d78;
	font-weight: 700;
	cursor: pointer;
}
#footer #kontaktformular input[type="submit"]:hover,
#footer #kontaktformular input[type="submit"]:focus {
	background: #0c4d78;
	color: #fbf5e9;
}

.footerbottom {
	padding: 42px 0 28px;
	background-color: #0c4d78;
	background-blend-mode: multiply;
}
.footerbottom::after {
	background: #0c4d78;
	opacity: 0.35;
}
.footerbottom .footer-menu,
.footerbottom #menu-footer-navigation {
	display: flex;
	width: 100%;
	margin: 0 auto;
	padding: 0 24px;
	flex-wrap: wrap;
	gap: 12px 28px;
	align-items: center;
	justify-content: center;
	list-style: none;
}
.footerbottom .footer-menu > li {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
}
.footerbottom .footer-menu a {
	display: inline-block;
	padding: 6px 0;
	color: #fbf5e9;
	line-height: 1.4;
	text-decoration: none;
}
.footerbottom .footer-menu a:hover,
.footerbottom .footer-menu a:focus {
	color: #ffce3a;
}

@media (max-width: 900px) {
	#footer footer.row {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
	#footer #kontaktformular {
		max-width: 640px;
		justify-self: center;
	}
	#footer .kok-footer-art {
		min-height: 280px;
	}
}

@media (max-width: 782px) {
	.admin-bar.page-template-front #masthead .navcont {
		top: 70px;
	}
}

@media (max-width: 640px) {
	.page-template-front #masthead .navcont {
		top: 16px;
	}
	.admin-bar.page-template-front #masthead .navcont {
		top: 62px;
	}
	.page-template-front .kok-hero {
		padding-top: 82px;
	}
	.page-template-front .kok-kicker {
		font-size: 0.82rem;
		letter-spacing: 0.02em;
	}
	.page-template-front .kok-kicker span {
		letter-spacing: 0.1em;
	}
	#footer {
		padding: 48px 0 56px;
	}
	#footer footer.row {
		gap: 10px;
		padding-right: 0;
		padding-left: 0;
	}
	#footer .kok-footer-art {
		display: none;
	}
	#footer #kontaktformular {
		max-width: calc(100% - 30px);
		padding: 30px 20px;
		justify-self: center;
		border-radius: 10px;
	}
	#footer #kontaktformular form {
		display: block;
	}
	#footer #kontaktformular form > p {
		margin-bottom: 18px;
	}
	#footer #kontaktformular h3 {
		font-size: 2rem;
	}
	.footerbottom .footer-menu {
		flex-direction: column;
		gap: 4px;
	}
}
