/*
 * Ferienwohnungen Kappeln an der Schlei – Stylesheet (nach Design-Handoff v2, site.css)
 * Eigenes CSS, keine Bibliothek (kein Bootstrap/jQuery), keine externen Ressourcen.
 *
 * Schrift: Archivo (Omnibus-Type), SIL Open Font License 1.1, lokal unter ../fonts/archivo/ (OFL.txt liegt dabei).
 * Icons:   Feather Icons (feathericons.com), MIT-Lizenz, © Cole Bemis – verwendet: phone, check (als SVG in
 *          theme/private/inc/helpers.php und als Daten-URI in diesem Stylesheet).
 *          Menü-/Schließen-Symbole, Pfeil, Sonne und die Wellenform im Fuß sind einfache eigene Linienzüge.
 */

@font-face {
	font-family: "Archivo";
	font-style: normal;
	font-weight: 400 800;
	font-stretch: 100%;
	font-display: swap;
	src: url("../fonts/archivo/archivo-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--blue: #0f4a72;
	--blue-dark: #0b3a5a;
	--green: #52702f;
	--green-dark: #3a5120;
	--green-top: #5f7a24;
	--green-soft: #81a035;
	--text: #3d4d55;
	--ink: #1d3f5e;
	--panel: #e8f2fa;
	--panel-2: #d2e5f3;
	--panel-hover: #b8d3ea;
	--muted: #3d5a73;
	--warn: #8a3b12;
	--gutter: clamp(20px, 5vw, 72px);
	--maxw: 1200px;
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 16px; }
body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
}
body:has(.nav__toggle:checked) { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { background: rgba(95, 122, 36, .3); }
h1, h2, h3, h4 { font-family: var(--font); margin: 0; letter-spacing: -.015em; line-height: 1.15; }
p { margin: 0 0 12px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; color: var(--blue); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sec { padding-top: 56px; padding-bottom: 56px; }
.sec + .sec { padding-top: 0; }
.sec h2, .h2 {
	font-weight: 600;
	color: var(--blue);
	font-size: clamp(28px, 3.6vw, 42px);
	line-height: 1.1;
	letter-spacing: -.015em;
	margin: 0 0 24px;
}
.sec h3 { font-weight: 600; color: var(--blue); font-size: 22px; line-height: 1.2; margin: 0 0 12px; }
.kicker { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); font-weight: 600; margin: 0 0 14px; }

/* ---------- Richtext (aus CKEditor) ---------- */
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { max-width: 62ch; margin-bottom: 16px; }
.prose h3 { font-weight: 600; color: var(--blue); font-size: 22px; line-height: 1.2; margin: 28px 0 10px; }
.prose h4 { font-weight: 600; color: var(--blue); font-size: 19px; line-height: 1.25; margin: 22px 0 8px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 1.3em; max-width: 62ch; }
.prose li { margin: 0 0 6px; }
.prose a:not(.btn) { color: var(--blue); }
.prose--box { background: var(--panel); color: var(--ink); padding: 32px 36px; }
.prose--box p { max-width: none; }

/* Aufzählungen: Haken / Plus */
.prose--haken ul, .prose--plus ul, .pluslist { list-style: none; padding-left: 0; max-width: none; }
.prose--haken ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px 40px; }
.prose--haken li, .pluslist li, .prose--plus li { position: relative; padding-left: 36px; margin: 0; }
.prose--haken li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2381a035' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.pluslist li, .prose--plus li { padding: 6px 0 6px 28px; }
.pluslist li::before, .prose--plus li::before { content: "+"; position: absolute; left: 4px; top: 6px; font-weight: 800; color: var(--green-soft); }
.prose--plus ul { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: flex-start; gap: 8px; text-align: left;
	min-height: 44px; padding: 9px 15px; cursor: pointer; text-decoration: none;
	font-family: var(--font); font-weight: 700; font-size: 14px; line-height: 1.2;
	color: var(--blue); background: transparent; border: 2px solid transparent; border-radius: 0;
	white-space: nowrap; flex: none;
}
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-secondary { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-secondary:hover { background: var(--panel-hover); color: #0f2c45; }
.btn-ghost { padding-inline: 6px; color: var(--blue); }
.btn-ghost:hover { background: rgba(15, 74, 114, .08); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.btns:first-child { margin-top: 0; }
@media (max-width: 420px) { .btn { white-space: normal; } }

/* ---------- Kopf ---------- */
.topbar { background: var(--green-top); color: #fff; font-size: 13px; letter-spacing: .04em; }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding-top: 8px; padding-bottom: 8px; }
.topbar__txt { margin: 0 auto 0 0; display: inline-flex; align-items: center; gap: 12px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.ic { flex: none; display: block; }
.site-header { background: #fff; }
.nav { display: flex; align-items: flex-end; align-items: last baseline; gap: 12px 28px; padding-top: 20px; padding-bottom: 20px; position: relative; }
.nav__toggle { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.nav__brand { margin-right: auto; text-decoration: none; color: var(--text); font-weight: 600; font-size: 23px; }
.nav__brand:hover { color: var(--text); }
.nav__brand small { display: block; font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 2px; }
.nav__brand span { display: block; line-height: 1.2; }
.nav__links { display: flex; align-items: flex-end; align-items: last baseline; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav__item { display: block; }
.nav__links a { color: var(--text); text-decoration: none; font-size: 15px; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.nav__links a:hover { color: var(--green); }
.nav__links a[aria-current] { color: var(--green); font-weight: 700; border-bottom-color: var(--green-soft); }
.nav__burger, .nav__scrim, .nav__legal, .nav__sub { display: none; }
.nav__burger svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav__toggle:focus-visible ~ .nav__burger { outline: 2px solid var(--blue); outline-offset: 2px; }

@media (max-width: 1199.98px) {
	.nav { align-items: center; }
	.nav__burger { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 52px; height: 52px; padding: 0 4px; margin-left: auto; cursor: pointer; position: relative; z-index: 70; font-size: 20px; font-weight: 600; color: var(--green); }
	.nav__burger:hover { color: var(--green-dark); }
	.nav__burger .x, .nav__burger .ic-x { display: none; }
	.nav__toggle:checked ~ .nav__burger { color: #fff; position: fixed; top: 14px; right: 20px; z-index: 80; height: 44px; padding: 0 14px; font-size: 16px; border: 2px solid rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .12); }
	.nav__toggle:checked ~ .nav__burger:hover { border-color: #fff; background: rgba(255, 255, 255, .18); color: #fff; }
	.nav__toggle:checked ~ .nav__burger svg { width: 22px; height: 22px; }
	.nav__toggle:checked ~ .nav__burger .x { display: inline; }
	.nav__toggle:checked ~ .nav__burger .m { display: none; }
	.nav__toggle:checked ~ .nav__burger .ic-x { display: block; }
	.nav__toggle:checked ~ .nav__burger .ic-menu { display: none; }
	.nav__links {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); background: var(--green);
		flex-direction: column; align-items: stretch; flex-wrap: nowrap; justify-content: flex-start; gap: 0; padding: 84px 28px 28px;
		box-shadow: -8px 0 32px rgba(28, 43, 51, .18); transform: translateX(105%); visibility: hidden;
		transition: transform .25s ease, visibility .25s; z-index: 60; overflow-y: auto;
	}
	.nav__item { border-bottom: 1px solid rgba(255, 255, 255, .22); padding: 16px 0; }
	.nav__item:first-child { border-top: 1px solid rgba(255, 255, 255, .22); }
	.nav__links a {
		display: block; position: relative; font-size: 26px; font-weight: 700; line-height: 1.15; color: #fff; border: 0; padding: 8px 28px; margin: -8px -28px;
		transition: background .15s;
	}
	.nav__links a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
	.nav__links a[aria-current] { background: rgba(255, 255, 255, .22); color: #fff; }
	.nav__links a[aria-current]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: rgba(255, 255, 255, .9); }
	.nav__sub { display: flex; flex-direction: column; gap: 12px; margin: 14px 0 2px; }
	.nav__links .nav__sub a { font-size: 17px; font-weight: 500; padding: 6px 28px 6px 28px; margin: -6px -28px; }
	.nav__links .nav__sub a.is-deep { padding-left: 44px; }
	.nav__legal { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .25); }
	.nav__links .nav__legal a { font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, .78); padding: 2px 0; margin: 0; background: none; }
	.nav__links .nav__legal a:hover { color: #fff; text-decoration: underline; background: none; }
	.nav__toggle:checked ~ .nav__links { transform: none; visibility: visible; }
	.nav__scrim { display: block; position: fixed; inset: 0; background: rgba(28, 43, 51, .4); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 50; }
	.nav__toggle:checked ~ .nav__scrim { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .nav__links, .nav__scrim { transition: none; } html { scroll-behavior: auto; } }

/* ---------- Seitenkopf (Hero) ---------- */
.hero { position: relative; isolation: isolate; background: var(--panel); min-height: clamp(440px, 58vw, 640px); display: flex; align-items: center; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .78); z-index: -1; }
.hero__in { width: 100%; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero h1 { font-weight: 800; color: var(--green-top); font-size: clamp(36px, 5.6vw, 76px); line-height: 1.05; letter-spacing: -.02em; max-width: 20ch; overflow-wrap: break-word; hyphens: auto; }
.hero--start h1 { font-size: clamp(36px, 6.4vw, 88px); max-width: 16ch; }
.hero__text { max-width: 58ch; margin-top: 24px; font-size: 19px; }
.hero__text p { max-width: none; }
.hero__text > :last-child { margin-bottom: 0; }
.hero .btns { margin-top: 28px; }
.hero .btn-primary { background: var(--green); border-color: var(--green); }
.hero .btn-primary:hover { background: #415a25; border-color: #415a25; }
.hero .btn-secondary { border-color: var(--green); color: var(--green); background: transparent; }
.hero .btn-secondary:hover { background: #e3ecd6; color: var(--green-dark); }
.crumbs { padding-top: 16px; padding-bottom: 12px; font-size: 14px; color: var(--green); }
.crumbs a { color: var(--green); }
.crumbs a:hover { color: var(--green-dark); }
.crumbs i { font-style: normal; padding: 0 .5rem; }

/* Unterkunfts-Umschalter */
.subnav { background: var(--panel); }
.subnav__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.subnav__label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.subnav__group { display: flex; flex-wrap: wrap; border: 2px solid var(--blue); background: #fff; }
.subnav__group a { display: block; padding: 9px 18px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--blue); }
.subnav__group a + a { border-left: 2px solid var(--blue); }
.subnav__group a:hover { background: var(--panel-hover); color: #0f2c45; }
.subnav__group a[aria-current] { background: var(--blue); color: #fff; font-weight: 700; }

/* ---------- Layout-Bausteine ---------- */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 48px; align-items: start; }
.cols--wide-gap { gap: 32px 64px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.card { color: var(--ink); background: var(--panel); display: flex; flex-direction: column; }
.card > img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card h3 { margin: 0; font-size: 24px; }
.card p { margin: 0; }
.card .btns { margin-top: auto; padding-top: 4px; }
.card__kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0; }
.sec__intro { max-width: 62ch; margin: -8px 0 28px; }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 12px 0; }
.facts strong { font-weight: 600; color: var(--blue); display: inline-block; }

.box { background: var(--panel); color: var(--ink); padding: 32px 36px; }
.box h3 { margin: 0 0 12px; }
.defs { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 14px 24px; font-size: 17px; line-height: 1.5; margin: 0; }
.defs dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; padding-top: 4px; }
.defs dd { margin: 0; }
@media (max-width: 520px) { .defs { grid-template-columns: 1fr; gap: 2px; } .defs dd { margin-bottom: 14px; } }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 24px; }
.tile { color: var(--ink); background: var(--panel); padding: 24px; }
.tile img { aspect-ratio: 4 / 3; object-fit: cover; margin: -24px -24px 18px; width: calc(100% + 48px); max-width: none; }
.tile__t { font-weight: 600; color: var(--blue); font-size: 20px; display: block; margin-bottom: 8px; line-height: 1.25; }
.tile p { margin: 0; font-size: 16px; }
.tiles--steps { counter-reset: step; }
.tiles--steps .tile__t::before { counter-increment: step; content: counter(step) ". "; }
.tiles--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tiles--wide .tile { padding: 24px 28px 28px; }
.tiles--wide .tile__t { font-size: 25px; margin-bottom: 12px; }
.tiles--wide .tile img { margin: -24px -28px 22px; width: calc(100% + 56px); }
.tiles--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
a.tile { display: block; text-decoration: none; color: var(--ink); }
a.tile:hover { background: var(--panel-2); }
a.tile .tile__more { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-weight: 700; color: var(--blue); }

.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.figs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.figs--single { grid-template-columns: 1fr; }
.figs--single img { aspect-ratio: 21 / 9; }
.figs figcaption { font-size: 14px; margin-top: 8px; }
.figs--gap-bottom { margin-bottom: 32px; }

/* Karte (Zwei-Klick) */
.map { background: var(--panel-2); color: var(--ink); min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.map__in { padding: 28px 32px; max-width: 60ch; }
.map__in p { font-size: 15px; }

/* ---------- Fragen ---------- */
.faq { border-top: 1px solid var(--panel-2); max-width: 860px; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--panel-2); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--blue); font-size: 20px; line-height: 1.3; padding-right: 8px; }
.faq summary::marker { color: var(--green); }
.faq details > div { margin: 12px 0 0; }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- Preise / Konditionen ---------- */
.pricegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; align-items: start; }
.ptable { width: 100%; border-collapse: collapse; font-size: 17px; margin: 0 0 16px; }
.ptable th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 400; text-align: left; vertical-align: bottom; padding: 8px 8px 8px 0; border-bottom: 1px solid rgba(15, 74, 114, .3); }
.ptable td { padding: 12px 8px 12px 0; vertical-align: top; border-bottom: 1px solid rgba(15, 74, 114, .3); }
.ptable tr:last-child td { border-bottom: 0; }
.ptable .lbl { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--ink); display: block; }
.ptable small { display: block; font-size: 14px; color: var(--muted); }
.ptable .price { font-size: 26px; font-weight: 700; color: var(--blue); line-height: 1.2; }

/* ---------- Preisrechner ---------- */
.calc { background: var(--panel); color: var(--ink); padding: 32px 36px; }
.calc__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px 24px; }
.calc label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc input, .calc select, .field input, .field textarea, .field select, .ok-form input[type=text], .ok-form input[type=email], .ok-form input[type=tel], .ok-form textarea {
	font: inherit; font-size: 17px; letter-spacing: 0; text-transform: none; color: #0f2c45; background: #fff;
	border: 2px solid var(--blue); border-radius: 0; padding: 10px 12px; width: 100%; min-height: 48px;
}
.calc input:focus-visible, .calc select:focus-visible, .ok-form input:focus-visible, .ok-form textarea:focus-visible { border-color: var(--blue); outline: none; box-shadow: 0 0 0 .2rem rgba(95, 122, 36, .35); }
.calc__hint { margin: 16px 0 0; font-size: 16px; color: var(--warn); min-height: 1em; }
.calc__res { margin-top: 24px; border-top: 2px solid var(--blue); padding-top: 20px; }
.calc__row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 17px; line-height: 1.4; }
.calc__row small { display: block; font-size: 14px; color: var(--muted); }
.calc__row > span:last-child { white-space: nowrap; text-align: right; }
.calc__row--d { padding-left: 14px; color: var(--muted); }
.calc__row--sub { border-top: 2px solid var(--blue); margin-top: 8px; padding-top: 12px; font-weight: 700; color: var(--blue); }
.calc__row--tot { border-top: 2px solid var(--blue); margin-top: 10px; padding-top: 14px; font-weight: 700; color: var(--blue); font-size: 24px; }
.calc__row--tot > span:last-child { font-size: 28px; }
.calc__empty { margin: 20px 0 0; font-size: 16px; }
.calc__note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.calc__nojs { margin: 16px 0 0; }
.js .calc__nojs { display: none; }

/* ---------- Belegungskalender ---------- */
.cal__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 20px; }
.cal__rng { font-weight: 600; font-size: 20px; color: var(--blue); }
.cal__nav { display: none; gap: 8px; }
.js .cal__nav { display: flex; }
.cal__nav button { cursor: pointer; width: 48px; height: 48px; border: 2px solid var(--blue); background: #fff; color: var(--blue); font: inherit; font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 0; }
.cal__nav button:hover:not(:disabled) { background: var(--panel); }
.cal__nav button:disabled { opacity: .35; cursor: default; }
.cal__track { display: grid; gap: 40px; }
.js .cal__track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.js .cal__track::-webkit-scrollbar { display: none; }
.cal__page { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px 24px; padding: 2px; }
.js .cal__page { flex: 0 0 100%; scroll-snap-align: start; }
.cal__mt { font-weight: 600; font-size: 17px; color: var(--blue); margin: 0 0 8px; border-bottom: 2px solid var(--blue); padding-bottom: 6px; line-height: 1.3; }
.cal__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__w { font-size: 11px; text-align: center; padding: 2px 0 4px; color: var(--muted); letter-spacing: .04em; }
.cal__d { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: #fff; }
.cal__d--free { background: var(--green-top); }
.cal__d--busy { background: var(--blue); }
.cal__d--in { background: linear-gradient(135deg, var(--green-top) 0 50%, var(--blue) 50% 100%); }
.cal__d--out { background: linear-gradient(135deg, var(--blue) 0 50%, var(--green-top) 50% 100%); }
.cal__d--past { opacity: .45; }
.cal__dots { display: none; gap: 8px; margin: 18px 0 0; }
.js .cal__dots { display: flex; }
.cal__dot { width: 28px; height: 4px; background: var(--panel-2); }
.cal__dot.on { background: var(--blue); }
.cal__leg { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; }
.cal__leg li { display: flex; align-items: center; gap: 8px; }
.cal__sw { width: 20px; height: 20px; display: inline-block; }

/* ---------- Fotogalerie + Großansicht ---------- */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 8px; }
@media (min-width: 768px) { .gal { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .gal { grid-template-columns: repeat(4, 1fr); } }
.gal a { display: block; overflow: hidden; background: var(--panel); }
.gal img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s; }
.gal a:hover img { opacity: .85; }
.gal-h3 { margin-top: 36px; }
.sec h2 + .gal-h3, .sec .gal-h3:first-child { margin-top: 0; }
.lb { border: 0; padding: 0; background: rgba(10, 30, 45, .97); color: #fff; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.lb::backdrop { background: rgba(10, 30, 45, .97); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb__fig { margin: 0; padding: 64px 72px 40px; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.lb__cap { font-size: 14px; text-align: center; max-width: 70ch; }
.lb button { position: absolute; width: 52px; height: 52px; color: #fff; background: rgba(255, 255, 255, .14); border: 0; font: inherit; font-size: 34px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 0; }
.lb button:hover { background: rgba(255, 255, 255, .3); }
.lb button:focus-visible { outline: 2px solid #fff; }
.lb__x { top: 12px; right: 12px; }
.lb__p { left: 8px; top: 50%; margin-top: -26px; }
.lb__n { right: 8px; top: 50%; margin-top: -26px; }
@media (max-width: 700px) { .lb__fig { padding: 72px 8px 24px; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 48px; align-items: start; }
.contact__col { display: grid; gap: 24px; }
.contact .box { padding: 24px; }
.contact .box h2 { font-size: 28px; margin: 0 0 16px; }
.contact .defs { grid-template-columns: minmax(0, 130px) minmax(0, 1fr); }
.contact .defs dd { overflow-wrap: anywhere; }
.form h2 { font-size: 28px; margin-bottom: 8px; }
.ok-form { display: grid; gap: 20px; margin-top: 8px; }
.ok-form .form-group, .ok-form .field { margin: 0; }
.ok-form label { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; font-weight: 400; }
.ok-form textarea { resize: vertical; min-height: 150px; }
.ok-form .has-error input, .ok-form .has-error textarea { border-color: #b00020; }
.ok-form .help-block, .ok-form .alert, .ok-form .text-danger { color: #b00020; font-size: 15px; margin-top: 6px; display: block; }
.ok-form .checkbox label, .ok-form .form__check label { display: block; position: relative; padding-left: 32px; font-size: 14px; line-height: 1.5; color: var(--text); text-transform: none; letter-spacing: 0; }
.ok-form input[type=checkbox] { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--blue); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__ok { background: var(--panel); color: var(--ink); padding: 24px 28px; font-weight: 600; }
.form__req { font-size: 13px; margin: 0; }

/* ---------- Fuß ---------- */
.wave { line-height: 0; margin-bottom: -1px; }
.wave svg { display: block; width: 100%; height: 48px; }
.site-footer { background: var(--blue); color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.site-footer__in { padding-top: 48px; padding-bottom: 24px; }
.site-footer h2 { font-weight: 700; color: #fff; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.01em; margin: 0; max-width: 26ch; }
.site-footer__gruss { margin: 8px 0 0; }
.site-footer__cols { display: grid; grid-template-columns: 1fr; gap: 24px 48px; margin-top: 40px; }
@media (min-width: 768px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .site-footer__cols { grid-template-columns: 3fr 5fr 4fr; } }
.site-footer__h { margin: 0 0 16px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.site-footer address { font-style: normal; line-height: 1.65; }
.site-footer address span { display: block; margin-top: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.site-footer__defs { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 14px 12px; line-height: 1.5; margin: 0; }
.site-footer__defs dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); padding-top: 4px; font-weight: 400; }
.site-footer__defs dd { margin: 0; white-space: nowrap; }
.site-footer__nav a { display: block; text-decoration: none; padding: 4px 0; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__bottom { margin-top: 48px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .28); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.site-footer__bottom span { margin-right: auto; }

@media print {
	.topbar, .nav__burger, .subnav, .wave, .btns { display: none; }
	.hero::before { background: #fff; }
}
