/*
Theme Name: Seebad Schachtsee – Neve Child
Theme URI: https://seebad-schachtsee.de/
Description: Child Theme für das kostenfreie WordPress-Theme Neve. Website des Campingplatzes und Seebads Schachtsee in Wolmirsleben. Inhalte werden mit Gutenberg, Menüs und dem Customizer gepflegt.
Author: Mitteldeutsche Camping- und Gastro GmbH
Template: neve
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: seebad-schachtsee
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--see-blue: #0b6ea8;
	--see-deep: #0a3d5c;
	--see-night: #062839;
	--see-sun: #f2b705;
	--see-sand: #f3ead8;
	--see-cream: #fbfaf7;
	--see-ink: #16242e;
	--see-muted: #5c6f7b;
	--see-white: #fff;
	--see-border: #dbe4ea;
	--see-shadow: 0 18px 45px rgba(6, 40, 57, 0.13);
	--see-radius: 18px;
	--see-content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	background: var(--see-cream);
	color: var(--see-ink);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	margin: 0;
}

body.menu-open { overflow: hidden; }

a { color: var(--see-blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover, a:focus { color: var(--see-deep); }
img { height: auto; max-width: 100%; }
button, input, textarea, select { font: inherit; }

h1, h2, h3, h4 {
	font-family: Georgia, "Times New Roman", serif;
	color: var(--see-deep);
	line-height: 1.15;
	letter-spacing: -.02em;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px; overflow: hidden;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--see-white); clip: auto !important; clip-path: none;
	color: var(--see-deep); display: block; font-size: .95rem; font-weight: 700;
	height: auto; left: 1rem; padding: .75rem 1rem; top: 1rem; width: auto; z-index: 100000;
}

.see-wrap {
	margin-left: auto; margin-right: auto;
	max-width: var(--see-content);
	padding-left: 24px; padding-right: 24px; width: 100%;
}

/* ---------- Kopfzeile ---------- */

.see-topbar { background: var(--see-night); color: rgba(255,255,255,.9); font-size: .88rem; }
.see-topbar__inner { align-items: center; display: flex; justify-content: space-between; min-height: 42px; }
.see-topbar__contact, .see-topbar__legal { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.see-topbar a { color: inherit; text-decoration: none; }
.see-topbar a:hover, .see-topbar a:focus { color: var(--see-white); text-decoration: underline; }

.see-site-header {
	background: rgba(255,255,255,.98);
	border-bottom: 1px solid rgba(10,61,92,.1);
	position: relative; z-index: 100;
}
.see-header__inner { align-items: center; display: flex; gap: 28px; justify-content: space-between; min-height: 86px; }

.see-brand { align-items: center; display: inline-flex; flex: 0 0 auto; max-width: 230px; text-decoration: none; }
.see-brand img, .see-brand .custom-logo { display: block; max-height: 62px; width: auto; }
.see-brand__text { color: var(--see-deep); font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; line-height: 1.1; }

.see-nav { margin-left: auto; }
.see-nav ul { align-items: center; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.see-nav a {
	border-radius: 999px; color: var(--see-ink); display: block;
	font-size: .94rem; font-weight: 700; padding: 10px 14px; text-decoration: none;
}
.see-nav a:hover, .see-nav a:focus,
.see-nav .current-menu-item > a, .see-nav .current_page_item > a { background: #e8f2f8; color: var(--see-deep); }

.see-button, .see-booking-button, .wp-block-button__link {
	background: var(--see-blue); border: 2px solid var(--see-blue); border-radius: 999px;
	color: var(--see-white) !important; display: inline-flex; font-size: .95rem; font-weight: 800;
	justify-content: center; padding: 11px 22px; text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.see-button:hover, .see-booking-button:hover, .wp-block-button__link:hover,
.see-button:focus, .see-booking-button:focus, .wp-block-button__link:focus {
	background: var(--see-deep); border-color: var(--see-deep); color: var(--see-white) !important; transform: translateY(-1px);
}
.see-button--sun { background: var(--see-sun); border-color: var(--see-sun); color: var(--see-night) !important; }
.see-button--sun:hover, .see-button--sun:focus { background: #d9a303; border-color: #d9a303; color: var(--see-night) !important; }
.is-style-outline > .wp-block-button__link { background: transparent; color: var(--see-deep) !important; }
.is-style-outline > .wp-block-button__link:hover { background: var(--see-deep); color: var(--see-white) !important; }

.see-menu-toggle {
	align-items: center; background: transparent; border: 0; color: var(--see-deep);
	cursor: pointer; display: none; height: 46px; justify-content: center; padding: 8px; width: 46px;
}
.see-menu-toggle__lines,
.see-menu-toggle__lines::before,
.see-menu-toggle__lines::after {
	background: currentColor; border-radius: 2px; content: ""; display: block;
	height: 2px; position: relative; transition: transform 180ms ease, opacity 180ms ease; width: 27px;
}
.see-menu-toggle__lines::before { position: absolute; top: -8px; }
.see-menu-toggle__lines::after { position: absolute; top: 8px; }
.menu-open .see-menu-toggle__lines { background: transparent; }
.menu-open .see-menu-toggle__lines::before { top: 0; transform: rotate(45deg); }
.menu-open .see-menu-toggle__lines::after { top: 0; transform: rotate(-45deg); }

/* ---------- Inhalte ---------- */

.see-main { min-height: 55vh; }
.see-page-shell { margin: 0 auto; max-width: 920px; padding: 72px 24px 90px; }
.see-page-title { font-size: clamp(2.2rem, 5vw, 3.8rem); margin: 0 0 28px; }

.see-entry-content > * { margin-left: auto; margin-right: auto; }
.see-entry-content > .alignwide { max-width: var(--see-content); }
.see-entry-content > .alignfull { max-width: none; width: 100%; }

/* Hero (Cover-Block der Startseite) */
.see-hero { position: relative; }
.see-hero .wp-block-cover { min-height: 74vh; }

/* Zusätzlicher Verlauf, damit die Schrift auf hellen Fotos lesbar bleibt. */
.see-hero .wp-block-cover::after {
	background: linear-gradient(100deg, rgba(6, 40, 57, .82) 0%, rgba(6, 40, 57, .55) 42%, rgba(6, 40, 57, .12) 78%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.see-hero .wp-block-cover__inner-container { position: relative; z-index: 2; }
.see-hero h1 { max-width: 15ch; text-shadow: 0 2px 24px rgba(6, 40, 57, .45); }
.see-hero p { max-width: 52ch; }

/* Kennzahlen */
.see-facts { background: var(--see-night); color: rgba(255,255,255,.86); }
.see-facts__grid {
	display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.see-facts__item { border-right: 1px solid rgba(255,255,255,.12); padding: 34px 28px; }
.see-facts__item:last-child { border-right: 0; }
.see-facts__value { color: var(--see-sun); display: block; font-family: Georgia, serif; font-size: 2.4rem; line-height: 1; }
.see-facts__label { display: block; font-size: .92rem; margin-top: 8px; }

/* Preistabellen */
.see-pricetable { border-collapse: collapse; margin: 0 0 34px; width: 100%; }
.see-pricetable caption {
	caption-side: top; color: var(--see-deep); font-family: Georgia, serif;
	font-size: 1.35rem; padding-bottom: 12px; text-align: left;
}
.see-pricetable th, .see-pricetable td { border-bottom: 1px solid var(--see-border); padding: 12px 10px; text-align: left; }
.see-pricetable th[scope="row"] { font-weight: 400; }
.see-pricetable td { text-align: right; white-space: nowrap; font-weight: 700; }
.see-pricetable thead th:last-child { text-align: right; }
.see-pricetable thead th { background: #eef4f8; color: var(--see-deep); font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.see-pricetable tbody tr:nth-child(even) { background: #fafcfd; }

.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--see-border); padding: 11px 12px; }
.wp-block-table thead th { background: #eef4f8; color: var(--see-deep); }

/* Hinweisbox */
.see-note {
	background: var(--see-sand); border-left: 5px solid var(--see-sun);
	border-radius: 0 var(--see-radius) var(--see-radius) 0; padding: 20px 24px;
}

/* Karten */
.see-cards { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.see-card {
	background: var(--see-white); border: 1px solid var(--see-border);
	border-radius: var(--see-radius); box-shadow: var(--see-shadow); overflow: hidden;
}
.see-card__body { padding: 24px 26px 28px; }
.see-card h3 { margin-top: 0; }

/* ---------- Fußbereich ---------- */

.see-site-footer { background: var(--see-deep); color: rgba(255,255,255,.82); margin-top: 90px; }
.see-site-footer h2 { color: var(--see-white); font-size: 1.1rem; margin: 0 0 14px; }
.see-site-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.see-site-footer a:hover, .see-site-footer a:focus { color: var(--see-sun); text-decoration: underline; }
.see-footer__grid {
	display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding: 62px 24px 48px;
}
.see-footer__brand img { max-height: 64px; margin-bottom: 16px; width: auto; }
.see-footer__menu, .see-footer__links { list-style: none; margin: 0; padding: 0; }
.see-footer__menu li, .see-footer__links li { margin-bottom: 8px; }
.see-social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.see-footer__bottom { background: var(--see-night); font-size: .88rem; }
.see-footer__bottom-inner { align-items: center; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; min-height: 56px; }

/* ---------- Mobil ---------- */

@media (max-width: 900px) {
	.see-topbar__legal { display: none; }
	.see-menu-toggle { display: inline-flex; }
	.see-booking-button { display: none; }
	.see-nav {
		background: var(--see-white); border-top: 1px solid var(--see-border);
		display: none; left: 0; position: absolute; right: 0; top: 100%; padding: 12px 24px 22px;
		box-shadow: var(--see-shadow);
	}
	.menu-open .see-nav { display: block; }
	.see-nav ul { align-items: stretch; flex-direction: column; gap: 2px; }
	.see-nav a { padding: 13px 12px; }
	.see-facts__item { border-bottom: 1px solid rgba(255,255,255,.12); border-right: 0; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.see-page-shell { padding: 48px 20px 64px; }
	.see-pricetable th, .see-pricetable td { padding: 10px 6px; }
}

/* ---------- Medienbeiträge (TV) ---------- */

.tv-beitrag {
	align-items: center;
	background: var(--see-sand);
	color: var(--see-ink);
	display: grid;
	gap: clamp(30px, 6vw, 72px);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
	margin: 0;
	padding: clamp(48px, 7vw, 96px) clamp(24px, 5%, 80px);
}

.tv-beitrag + .tv-beitrag { border-top: 1px solid rgba(10, 61, 92, .12); }

.tv-beitrag__label {
	color: #b07d12;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .16em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.tv-beitrag h2 {
	font-size: clamp(1.9rem, 3.6vw, 3rem);
	line-height: 1.05;
	margin: 0 0 18px;
}

.tv-beitrag__text > p:not(.tv-beitrag__label) {
	color: #5a6b74;
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0;
}

.tv-beitrag__link {
	color: var(--see-deep);
	display: inline-block;
	font-weight: 800;
	margin-top: 20px;
	text-decoration: none;
}

.tv-beitrag__link:hover,
.tv-beitrag__link:focus { text-decoration: underline; }

.tv-beitrag__player {
	aspect-ratio: 16 / 9;
	background: #000 center/cover no-repeat;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.tv-beitrag__player video,
.tv-beitrag__player iframe {
	border: 0;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.tv-beitrag__player video { object-fit: contain; }

/* Klick-zum-Laden statt automatischer Einbettung */
.tv-beitrag__consent {
	align-items: center;
	background: linear-gradient(180deg, rgba(6, 40, 57, .25), rgba(6, 40, 57, .72));
	border: 0;
	color: #fff;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font: inherit;
	gap: 14px;
	height: 100%;
	inset: 0;
	justify-content: center;
	position: absolute;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

.tv-beitrag__consent:hover,
.tv-beitrag__consent:focus { background: linear-gradient(180deg, rgba(6, 40, 57, .35), rgba(6, 40, 57, .8)); }

.tv-beitrag__play {
	background: rgba(255, 255, 255, .95);
	border-radius: 50%;
	display: block;
	height: 66px;
	position: relative;
	width: 66px;
}

.tv-beitrag__play::after {
	border-color: transparent transparent transparent var(--see-deep);
	border-style: solid;
	border-width: 13px 0 13px 21px;
	content: "";
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-42%, -50%);
}

.tv-beitrag__consent-text {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	max-width: 26ch;
}

.tv-beitrag__consent-text small {
	display: block;
	font-size: .8rem;
	font-weight: 400;
	margin-top: 5px;
	opacity: .85;
}

/* Statushinweis und Kontaktkarte */
.see-statusnote {
	background: #fdecec;
	border-left: 5px solid #c0392b;
	border-radius: 0 var(--see-radius) var(--see-radius) 0;
	font-weight: 700;
	margin: 0 0 28px;
	padding: 18px 22px;
}

.see-contactcard {
	background: var(--see-white);
	border: 1px solid var(--see-border);
	border-radius: var(--see-radius);
	box-shadow: var(--see-shadow);
	padding: 22px 26px;
}

.see-contactcard p:first-child { margin-top: 0; }
.see-contactcard p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
	.tv-beitrag { grid-template-columns: 1fr; }
}

/* Rotes Statusband, solange der Betrieb ruht */
.see-topbar--closed {
	background: #b32b20;
	color: #fff;
}

.see-topbar--closed a { color: rgba(255, 255, 255, .92); }
.see-topbar--closed a:hover,
.see-topbar--closed a:focus { color: #fff; }

.see-topbar__status {
	align-items: center;
	display: inline-flex;
	font-weight: 800;
	gap: 9px;
	letter-spacing: .02em;
}

.see-topbar__status::before {
	background: #fff;
	border-radius: 50%;
	content: "";
	height: 9px;
	width: 9px;
}

@media (max-width: 900px) {
	.see-topbar--closed .see-topbar__legal { display: flex; }
	.see-topbar--closed .see-topbar__inner { flex-wrap: wrap; gap: 4px 16px; padding-bottom: 6px; padding-top: 6px; }
}
