/*
Theme Name:        Casa Gelsomino
Description:       Eigenes Theme für die Ferienhaus-Website Casa Gelsomino am Comer See. Zweisprachig (DE/EN), responsiv, vollständig offline (lokale Schriften, keine externen Ressourcen). Benötigt das Plugin „Casa Gelsomino – Buchung & Inhalte“.
Version:           1.0.1
Requires at least: 6.4
Requires PHP:      8.1
Author:            Website-Betreuung Casa Gelsomino
License:           GPL-2.0-or-later
Text Domain:       casa-gelsomino
*/

/* ------------------------------------------------------------------ Schriften (lokal, SIL OFL) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(assets/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-latin-600-normal.woff2) format("woff2"); }

/* ------------------------------------------------------------------ Gestaltungswerte */
:root {
	--cg-ink: #1C2B36;
	--cg-lake: #1F4E6B;
	--cg-lake-dark: #163A50;
	--cg-sky: #EAF1F5;
	--cg-sand: #EDE6DC;
	--cg-stone: #B9AC9A;
	--cg-wood: #9C7A57;
	--cg-bg: #FBFAF7;
	--cg-line: #DCD6CC;
	--cg-muted: #5E6B74;
	--cg-radius: 6px;
	--cg-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
	--cg-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--cg-header-h: 76px;
	--cg-shadow: 0 18px 40px -24px rgba(28, 43, 54, .35);
	--cg-gap: clamp(20px, 3vw, 40px);
	--cg-section: clamp(64px, 9vw, 120px);
}

/* ------------------------------------------------------------------ Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--cg-header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--cg-bg); color: var(--cg-ink); font: 400 1.0625rem/1.7 var(--cg-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: lining-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cg-lake); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cg-lake-dark); }
h1, h2, h3, h4 { font-family: var(--cg-serif); font-weight: 600; line-height: 1.12; color: var(--cg-ink); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--cg-lake); outline-offset: 2px; }
.cg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cg-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--cg-ink); color: #fff; padding: 10px 16px; border-radius: var(--cg-radius); }
.cg-skip:focus { top: 12px; color: #fff; }
.cg-main:focus { outline: none; }

.cg-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
.cg-wrap--wide { max-width: 1320px; }
.cg-wrap--narrow { max-width: 820px; }
.cg-center { text-align: center; }
.cg-kicker { font: 600 .78rem/1.2 var(--cg-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cg-wood); margin: 0 0 14px; }
.cg-lead { font-size: clamp(1.12rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--cg-ink); }

/* ------------------------------------------------------------------ Buttons */
.cg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 30px; border-radius: var(--cg-radius);
	font: 600 .82rem/1 var(--cg-sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer;
	transition: background .18s, color .18s, border-color .18s, transform .12s; white-space: nowrap;
}
.cg-btn:active { transform: translateY(1px); }
.cg-btn--primary { background: var(--cg-lake); color: #fff; }
.cg-btn--primary:hover { background: var(--cg-lake-dark); color: #fff; }
.cg-btn--ghost { background: transparent; color: var(--cg-lake); border-color: var(--cg-lake); }
.cg-btn--ghost:hover { background: var(--cg-lake); color: #fff; }
.cg-btn--light { background: #fff; color: var(--cg-lake-dark); }
.cg-btn--light:hover { background: var(--cg-sand); color: var(--cg-lake-dark); }
.cg-btn--small { min-height: 42px; padding: 0 18px; font-size: .74rem; }
.cg-btn--block { width: 100%; }

/* ------------------------------------------------------------------ Kopfbereich */
.cg-header { position: sticky; top: 0; z-index: 80; height: var(--cg-header-h); background: rgba(251, 250, 247, .97); border-bottom: 1px solid var(--cg-line); transition: background .25s, border-color .25s, box-shadow .25s, color .25s; }
.admin-bar .cg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cg-header { top: 46px; } }
.cg-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.cg-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cg-ink); flex: none; }
.cg-logo:hover { color: var(--cg-ink); }
.cg-logo__mark { width: 36px; height: 36px; color: var(--cg-lake); flex: none; }
.cg-logo__mark svg { width: 100%; height: 100%; }
.cg-logo__text { display: flex; flex-direction: column; line-height: 1; }
.cg-logo__name { font: 600 1.6rem/1 var(--cg-serif); letter-spacing: .01em; }
.cg-logo__place { font: 500 .66rem/1 var(--cg-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--cg-muted); margin-top: 5px; }
.cg-nav { margin-left: auto; }
.cg-nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.cg-nav__list a { display: block; padding: 8px 12px; font-size: .92rem; font-weight: 500; color: inherit; text-decoration: none; border-radius: var(--cg-radius); position: relative; }
.cg-nav__list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.cg-nav__list a:hover::after, .cg-nav__list .current-menu-item > a::after { transform: scaleX(1); }
.cg-nav__mobile-extra { display: none; }
.cg-header__actions { display: flex; align-items: center; gap: 16px; }
.cg-lang { display: flex; align-items: center; font: 600 .78rem/1 var(--cg-sans); letter-spacing: .1em; }
.cg-lang > * { padding: 6px 7px; }
.cg-lang > * + *::before { content: ""; display: inline-block; width: 1px; height: 12px; background: currentColor; opacity: .35; margin: 0 9px 0 -7px; vertical-align: -1px; }
.cg-lang a { color: inherit; opacity: .6; text-decoration: none; }
.cg-lang a:hover { opacity: 1; }
.cg-lang .is-current { color: inherit; }
.cg-burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; border-radius: var(--cg-radius); }
.cg-burger__bars { display: grid; gap: 5px; width: 22px; margin: 0 auto; }
.cg-burger__bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.cg-burger[aria-expanded="true"] .cg-burger__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.cg-burger[aria-expanded="true"] .cg-burger__bars span:nth-child(2) { opacity: 0; }
.cg-burger[aria-expanded="true"] .cg-burger__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Transparent über dem Titelbild der Startseite */
.has-hero .cg-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.has-hero .cg-header .cg-logo, .has-hero .cg-header .cg-logo__mark { color: #fff; }
.has-hero .cg-header .cg-logo__place { color: rgba(255, 255, 255, .8); }
.has-hero .cg-header .cg-header__cta { background: #fff; color: var(--cg-lake-dark); }
.has-hero .cg-header.is-scrolled, .has-hero.nav-open .cg-header { background: rgba(251, 250, 247, .97); border-color: var(--cg-line); color: var(--cg-ink); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.has-hero .cg-header.is-scrolled .cg-logo, .has-hero.nav-open .cg-header .cg-logo { color: var(--cg-ink); }
.has-hero .cg-header.is-scrolled .cg-logo__mark, .has-hero.nav-open .cg-header .cg-logo__mark { color: var(--cg-lake); }
.has-hero .cg-header.is-scrolled .cg-logo__place, .has-hero.nav-open .cg-header .cg-logo__place { color: var(--cg-muted); }
.has-hero .cg-header.is-scrolled .cg-header__cta { background: var(--cg-lake); color: #fff; }

@media (max-width: 1080px) {
	:root { --cg-header-h: 66px; }
	.cg-burger { display: block; }
	.cg-header__actions > .cg-lang { display: none; }
	.cg-nav {
		position: fixed; inset: var(--cg-header-h) 0 0 0; background: var(--cg-bg); color: var(--cg-ink); padding: 18px clamp(18px, 4vw, 40px) 32px;
		overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s;
	}
	.admin-bar .cg-nav { top: calc(var(--cg-header-h) + 46px); }
	.nav-open .cg-nav { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
	.nav-open { overflow: hidden; }
	.cg-nav__list { flex-direction: column; gap: 0; }
	.cg-nav__list a { font: 600 1.7rem/1.2 var(--cg-serif); padding: 14px 0; border-bottom: 1px solid var(--cg-line); border-radius: 0; }
	.cg-nav__list a::after { display: none; }
	.cg-nav__mobile-extra { display: grid; gap: 22px; margin-top: 26px; }
	.cg-nav__mobile-extra .cg-lang { font-size: .95rem; }
}
@media (max-width: 560px) {
	.cg-header__cta { display: none; }
	.cg-logo__name { font-size: 1.4rem; }
	.cg-logo__mark { width: 30px; height: 30px; }
}

/* ------------------------------------------------------------------ Titelbild (Startseite) */
.cg-hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--cg-lake-dark); }
.cg-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cg-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 30, 42, .55) 0%, rgba(14, 30, 42, .05) 28%, rgba(14, 30, 42, .1) 50%, rgba(14, 30, 42, .72) 100%); }
.cg-hero__inner { position: relative; padding-top: calc(var(--cg-header-h) + 60px); padding-bottom: clamp(28px, 5vw, 56px); display: grid; gap: clamp(28px, 4vw, 44px); }
.cg-hero__text { max-width: 760px; }
.cg-hero__kicker { font: 600 .8rem/1.2 var(--cg-sans); letter-spacing: .24em; text-transform: uppercase; margin: 0 0 16px; opacity: .92; }
.cg-hero__title { color: #fff; font-size: clamp(3.2rem, 8.5vw, 6.6rem); line-height: .95; margin: 0 0 18px; font-weight: 600; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.cg-hero__sub { font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.55; max-width: 620px; margin: 0; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }

.cg-quickbook { background: #fff; color: var(--cg-ink); border-radius: var(--cg-radius); padding: 10px; display: grid; grid-template-columns: 1fr 1fr 130px auto; gap: 8px; align-items: stretch; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); max-width: 920px; }
.cg-quickbook__field { display: flex; flex-direction: column; justify-content: center; padding: 8px 14px; border-radius: var(--cg-radius); border: 1px solid var(--cg-line); min-width: 0; }
.cg-quickbook__field span { font: 600 .68rem/1.2 var(--cg-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cg-muted); }
.cg-quickbook__field input, .cg-quickbook__field select { border: 0; padding: 4px 0 0; font: 500 1rem var(--cg-sans); color: var(--cg-ink); background: transparent; width: 100%; min-height: 28px; }
.cg-quickbook__field input:focus, .cg-quickbook__field select:focus { outline: none; }
.cg-quickbook__field:focus-within { border-color: var(--cg-lake); }
.cg-quickbook__note { grid-column: 1 / -1; margin: 2px 4px 2px; font-size: .86rem; color: var(--cg-muted); }
@media (max-width: 860px) {
	.cg-quickbook { grid-template-columns: 1fr 1fr; }
	.cg-quickbook__field--small { grid-column: 1 / -1; }
	.cg-quickbook .cg-btn { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.cg-hero { min-height: 0; }
	.cg-hero__inner { padding-top: calc(var(--cg-header-h) + 120px); }
}

/* ------------------------------------------------------------------ Abschnitte */
.cg-section { padding: var(--cg-section) 0; }
.cg-section--tint { background: var(--cg-sand); }
.cg-section h2 { max-width: 26ch; }
.cg-head { max-width: 760px; margin: 0 0 clamp(32px, 4vw, 52px); }
.cg-head h2 { max-width: none; }
.cg-section--facts { padding: 0; background: #fff; border-bottom: 1px solid var(--cg-line); }
.cg-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.cg-facts li { padding: 28px 12px; text-align: center; display: flex; flex-direction: column; gap: 4px; position: relative; }
.cg-facts li + li::before { content: ""; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--cg-line); }
.cg-facts strong { font: 600 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--cg-serif); color: var(--cg-lake); }
.cg-facts span { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cg-muted); }
@media (max-width: 900px) {
	.cg-facts { grid-template-columns: repeat(3, 1fr); }
	.cg-facts li:nth-child(4)::before { display: none; }
	.cg-facts li:nth-child(n+4) { border-top: 1px solid var(--cg-line); }
}
@media (max-width: 480px) { .cg-facts li { padding: 20px 6px; } .cg-facts span { font-size: .68rem; letter-spacing: .08em; } }

.cg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.cg-split--reverse .cg-split__text { order: 2; }
.cg-split--reverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
.cg-split__media { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; align-items: end; }
.cg-split--reverse .cg-split__media { display: block; }
.cg-photo { margin: 0; border-radius: var(--cg-radius); overflow: hidden; background: var(--cg-sand); }
.cg-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.cg-photo--tall img { aspect-ratio: 3 / 4; }
.cg-split__media .cg-photo:not(.cg-photo--tall) { margin-bottom: 40px; }
@media (max-width: 900px) {
	.cg-split, .cg-split--reverse { grid-template-columns: 1fr; }
	.cg-split--reverse .cg-split__text { order: 0; }
}

.cg-rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; margin-top: clamp(56px, 7vw, 96px); }
.cg-room .cg-photo { margin-bottom: 16px; }
.cg-room h3 { margin-bottom: 6px; }
.cg-room p { color: var(--cg-muted); font-size: .97rem; margin: 0; }
@media (max-width: 900px) { .cg-rooms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
	.cg-rooms { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-right: calc(-1 * clamp(18px, 4vw, 40px)); padding-right: 18px; }
	.cg-room { scroll-snap-align: start; }
}

/* Ausstattung */
.cg-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 36px 0 28px; }
.cg-features__group { background: #fff; border-radius: var(--cg-radius); padding: 24px 22px; }
.cg-features__group h3 { font-size: 1.35rem; margin-bottom: 14px; }
.cg-features__group ul { list-style: none; margin: 0; padding: 0; }
.cg-features__group li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: .95rem; line-height: 1.45; }
.cg-features__group li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 0; background: var(--cg-lake); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
@media (max-width: 1080px) { .cg-features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cg-features { grid-template-columns: 1fr; } }

.cg-inclusive { background: var(--cg-lake); color: #fff; border-radius: var(--cg-radius); padding: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.cg-inclusive h3 { color: #fff; margin: 0; font-size: 1.7rem; }
.cg-inclusive ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.cg-inclusive li { break-inside: avoid; padding: 5px 0 5px 28px; position: relative; }
.cg-inclusive li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 9px; border-left: 2px solid #A9D0E4; border-bottom: 2px solid #A9D0E4; transform: rotate(-45deg); }
@media (max-width: 800px) { .cg-inclusive { grid-template-columns: 1fr; } .cg-inclusive ul { columns: 1; } }

.cg-rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--cg-line); border: 1px solid var(--cg-line); border-radius: var(--cg-radius); overflow: hidden; margin-top: 20px; }
.cg-rules > div { background: #fff; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.cg-rules strong { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cg-muted); font-weight: 600; }
.cg-rules span { font-size: 1.02rem; }
@media (max-width: 800px) { .cg-rules { grid-template-columns: 1fr 1fr; } }

/* Galerie */
.cg-gallery__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.cg-gallery__filters button { border: 1px solid var(--cg-line); background: #fff; color: var(--cg-ink); border-radius: 40px; padding: 9px 18px; font: 500 .9rem var(--cg-sans); cursor: pointer; }
.cg-gallery__filters button span { color: var(--cg-muted); font-size: .8rem; margin-left: 4px; }
.cg-gallery__filters button:hover { border-color: var(--cg-lake); }
.cg-gallery__filters button.is-active { background: var(--cg-ink); border-color: var(--cg-ink); color: #fff; }
.cg-gallery__filters button.is-active span { color: rgba(255, 255, 255, .7); }
.cg-gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; grid-auto-flow: dense; }
.cg-gallery__item a { display: block; border-radius: var(--cg-radius); overflow: hidden; position: relative; background: var(--cg-sand); height: 100%; }
.cg-gallery__item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.cg-gallery__item a:hover img { transform: scale(1.04); }
.cg-gallery__item a::after { content: ""; position: absolute; inset: 0; background: rgba(22, 58, 80, 0); transition: background .25s; }
.cg-gallery__item a:hover::after { background: rgba(22, 58, 80, .12); }
.cg-gallery:not(.is-filtered) .cg-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.cg-gallery .cg-gallery__item.is-extra, .cg-gallery .cg-gallery__item.is-hidden { display: none; }
.cg-gallery.is-expanded .cg-gallery__item.is-extra:not(.is-hidden) { display: block; }
.cg-gallery__more { margin-top: 28px; }
.cg-gallery.is-expanded .cg-gallery__more, .cg-gallery.is-filtered .cg-gallery__more { display: none; }
.cg-gallery.is-filtered .cg-gallery__item.is-extra:not(.is-hidden) { display: block; }
@media (max-width: 900px) { .cg-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cg-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }

/* Leuchtkasten */
.cg-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(12, 22, 30, .96); display: none; align-items: center; justify-content: center; color: #fff; }
.cg-lightbox.is-open { display: flex; }
.cg-lightbox figure { margin: 0; max-width: min(92vw, 1400px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.cg-lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 3px; user-select: none; }
.cg-lightbox figcaption { margin-top: 14px; font-size: .92rem; opacity: .85; text-align: center; padding: 0 60px; }
.cg-lightbox button { position: absolute; background: rgba(255, 255, 255, .08); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; display: grid; place-items: center; }
.cg-lightbox button:hover { background: rgba(255, 255, 255, .18); }
.cg-lightbox__close { top: 16px; right: 16px; }
.cg-lightbox__prev { left: 16px; top: 50%; margin-top: -26px; }
.cg-lightbox__next { right: 16px; top: 50%; margin-top: -26px; }
.cg-lightbox__count { position: absolute; top: 28px; left: 24px; font-size: .85rem; letter-spacing: .1em; opacity: .75; }
@media (max-width: 600px) { .cg-lightbox__prev, .cg-lightbox__next { top: auto; bottom: 18px; margin: 0; } .cg-lightbox figcaption { padding: 0 16px 70px; } }

/* Bewertung */
.cg-section--rating { padding: clamp(48px, 6vw, 72px) 0; background: var(--cg-lake-dark); color: #fff; }
.cg-rating { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 4vw, 44px); text-align: left; }
.cg-rating__value { font: 600 clamp(4rem, 9vw, 6.5rem)/1 var(--cg-serif); color: #fff; }
.cg-rating__stars { display: flex; gap: 4px; margin-bottom: 8px; }
.cg-rating__stars svg { width: 24px; height: 24px; fill: #E9C46A; }
.cg-rating__text { font: 500 clamp(1.25rem, 2.2vw, 1.6rem)/1.3 var(--cg-serif); margin: 0 0 4px; }
.cg-rating__src { font-size: .85rem; opacity: .75; margin: 0; }
@media (max-width: 560px) { .cg-rating { flex-direction: column; text-align: center; gap: 10px; } .cg-rating__stars { justify-content: center; } }

/* Lage */
.cg-map { margin: 0 0 24px; background: #fff; border-radius: var(--cg-radius); overflow: hidden; border: 1px solid var(--cg-line); }
.cg-map__svg { display: block; width: 100%; height: auto; }
.cg-map figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 12px 16px; font-size: .86rem; color: var(--cg-muted); border-top: 1px solid var(--cg-line); }
.cg-distances { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.cg-distances li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--cg-line); font-size: .93rem; }
.cg-distances strong { font-weight: 600; color: var(--cg-lake); white-space: nowrap; }
@media (max-width: 560px) { .cg-distances { grid-template-columns: 1fr; } }
.cg-note { background: var(--cg-sky); border-left: 3px solid var(--cg-lake); padding: 14px 18px; border-radius: 0 var(--cg-radius) var(--cg-radius) 0; font-size: .95rem; }

/* Preise */
.cg-prices { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px 32px; margin-bottom: 36px; }
.cg-prices__table { background: #fff; border-radius: var(--cg-radius); overflow: hidden; grid-row: span 3; align-self: start; }
.cg-prices__row { display: grid; grid-template-columns: 1.1fr 1.6fr auto; gap: 16px; padding: 16px 24px; border-bottom: 1px solid #EFEAE2; align-items: center; }
.cg-prices__row:last-child { border-bottom: 0; }
.cg-prices__row--head { background: var(--cg-ink); color: #fff; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding-top: 14px; padding-bottom: 14px; }
.cg-prices__row--head small { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }
.cg-prices__name { font: 600 1.25rem/1.2 var(--cg-serif); }
.cg-prices__period { font-size: .9rem; color: var(--cg-muted); }
.cg-prices__price { font: 600 1.35rem/1 var(--cg-serif); color: var(--cg-lake); text-align: right; white-space: nowrap; }
.cg-prices__row.is-min .cg-prices__price::before { content: ""; }
.cg-prices__note { margin: 0; font-size: .92rem; color: var(--cg-muted); }
.cg-prices__incl { background: #fff; border-radius: var(--cg-radius); padding: 22px 24px; }
.cg-prices__incl ul { list-style: none; margin: 10px 0 0; padding: 0; }
.cg-prices__incl li { padding: 4px 0 4px 26px; position: relative; font-size: .95rem; }
.cg-prices__incl li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 12px; height: 7px; border-left: 2px solid var(--cg-lake); border-bottom: 2px solid var(--cg-lake); transform: rotate(-45deg); }
.cg-prices__deposit { margin: 0; font-size: .92rem; background: var(--cg-sky); padding: 14px 18px; border-radius: var(--cg-radius); color: var(--cg-lake-dark); }
@media (max-width: 900px) { .cg-prices { grid-template-columns: 1fr; } .cg-prices__table { grid-row: auto; } }
@media (max-width: 600px) {
	.cg-prices__row { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; }
	.cg-prices__period { grid-column: 1; grid-row: 2; }
	.cg-prices__price { grid-row: 1 / span 2; }
	.cg-prices__row--head span:nth-child(2) { display: none; }
}

/* Gastgeber */
.cg-host { max-width: 760px; margin: 0 auto; text-align: center; }
.cg-host h2 { margin-left: auto; margin-right: auto; }
.cg-host::before { content: ""; display: block; width: 52px; height: 52px; margin: 0 auto 22px; background: var(--cg-wood); -webkit-mask: var(--jasmine) center / contain no-repeat; mask: var(--jasmine) center / contain no-repeat; }

/* Abschluss-Aufruf */
.cg-section--cta { background: linear-gradient(135deg, var(--cg-lake) 0%, var(--cg-lake-dark) 100%); color: #fff; text-align: center; }
.cg-section--cta h2 { color: #fff; margin: 0 auto 14px; }
.cg-section--cta p { opacity: .92; margin-bottom: 28px; }
.cg-section--cta p:last-child { margin: 0; opacity: 1; }

/* ------------------------------------------------------------------ Unterseiten */
.cg-pagehead { background: var(--cg-sand); padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 4vw, 52px); border-bottom: 1px solid var(--cg-line); }
.cg-pagehead h1 { margin: 0; font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.cg-page__body { padding: clamp(36px, 5vw, 64px) 0 var(--cg-section); }
.cg-page--book .cg-page__body > .cg-wrap > .cg-lead { max-width: 760px; margin-bottom: 32px; }
.cg-prose h2 { font-size: clamp(1.55rem, 2.6vw, 2rem); margin: 1.8em 0 .5em; }
.cg-prose h2:first-child { margin-top: 0; }
.cg-prose h3 { margin: 1.5em 0 .4em; }
.cg-prose li { margin-bottom: .4em; }
.cg-prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.4em; font-size: .95rem; }
.cg-prose th, .cg-prose td { border-bottom: 1px solid var(--cg-line); text-align: left; padding: 8px 10px 8px 0; vertical-align: top; }
.cg-missing { display: inline-block; background: #FFF4D6; color: #6F5313; border: 1px dashed #D9B860; padding: 6px 12px; border-radius: var(--cg-radius); font-size: .92rem; }
p.cg-missing { display: block; }

.cg-contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); margin-top: 28px; align-items: start; }
.cg-contact h2 { font-size: 1.6rem; margin-bottom: 12px; }
.cg-contact__info { background: #fff; border: 1px solid var(--cg-line); border-radius: var(--cg-radius); padding: 26px; }
.cg-contact__info h2 + p { font-size: 1.05rem; }
.cg-contact__info h2:not(:first-child) { margin-top: 28px; }
@media (max-width: 860px) { .cg-contact { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Fußbereich */
.cg-footer { background: var(--cg-ink); color: rgba(255, 255, 255, .82); font-size: .95rem; padding: clamp(52px, 7vw, 80px) 0 0; }
.cg-footer a { color: #fff; }
.cg-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.cg-footer .cg-logo { color: #fff; margin-bottom: 18px; }
.cg-footer .cg-logo__mark { color: #A9D0E4; }
.cg-footer .cg-logo__place { color: rgba(255, 255, 255, .6); }
.cg-footer__title { font: 600 .74rem/1.2 var(--cg-sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin: 6px 0 16px; }
.cg-footer__muted { color: rgba(255, 255, 255, .6); font-size: .88rem; }
.cg-footer__direct { color: #A9D0E4; }
.cg-footer__menu { list-style: none; margin: 0; padding: 0; }
.cg-footer__menu li { margin-bottom: 8px; }
.cg-footer__menu a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.cg-footer__menu a:hover { color: #fff; text-decoration: underline; }
.cg-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; padding-bottom: 24px; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.cg-footer__bottom .cg-lang { color: #fff; }
@media (max-width: 900px) { .cg-footer__grid { grid-template-columns: 1fr 1fr; } .cg-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .cg-footer__grid { grid-template-columns: 1fr; gap: 26px; } }

/* Mobile Buchungsleiste */
.cg-stickybar { display: none; }
@media (max-width: 760px) {
	.cg-stickybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--cg-line); box-shadow: 0 -10px 30px -16px rgba(0, 0, 0, .3); transform: translateY(110%); transition: transform .25s; }
	.cg-stickybar.is-visible { transform: none; }
	.cg-stickybar__price { font: 600 1.2rem/1.1 var(--cg-serif); }
	body:has(.cg-stickybar) .cg-footer { padding-bottom: 70px; }
	.cg-page-book .cg-footer { padding-bottom: 70px; }
}

/* Druck */
@media print {
	.cg-header, .cg-footer, .cg-stickybar, .cg-pagehead { display: none !important; }
	body { background: #fff; }
}

/* ------------------------------------------------------------------ Symbole (inline SVG, keine externen Dateien) */
.i-sofa { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 11V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v3'/><path d='M2 13a2 2 0 0 1 4 0v2h12v-2a2 2 0 0 1 4 0v5H2z'/><path d='M5 18v2M19 18v2'/></svg>"); }
.i-tv { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='2.5' y='5' width='19' height='12' rx='1.5'/><path d='M8 21h8M12 17v4'/></svg>"); }
.i-bed { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 18V6M3 14h18v4M21 14v-2a3 3 0 0 0-3-3h-7v5'/><circle cx='7' cy='11' r='1.6'/></svg>"); }
.i-linen { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6h16v4H4zM4 10v8h16v-8'/><path d='M8 14h8'/></svg>"); }
.i-wardrobe { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='3' width='16' height='18' rx='1'/><path d='M12 3v18M10 11v2M14 11v2'/></svg>"); }
.i-hob { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2'/><circle cx='8.5' cy='8.5' r='2.2'/><circle cx='15.5' cy='8.5' r='2.2'/><circle cx='8.5' cy='15.5' r='2.2'/><circle cx='15.5' cy='15.5' r='2.2'/></svg>"); }
.i-oven { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2'/><path d='M3 8h18'/><rect x='7' y='11' width='10' height='6' rx='1'/><path d='M7 5.5h1M11 5.5h1'/></svg>"); }
.i-dish { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='3' width='16' height='18' rx='2'/><path d='M4 7h16'/><circle cx='12' cy='14' r='4'/></svg>"); }
.i-fridge { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='2.5' width='14' height='19' rx='2'/><path d='M5 10h14M8 6v2M8 13v3'/></svg>"); }
.i-coffee { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 9h12v5a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5z'/><path d='M16 10h1.5a2.5 2.5 0 0 1 0 5H16M8 3v3M12 3v3'/></svg>"); }
.i-kettle { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 20h11l-1.5-11h-8z'/><path d='M7.5 9 9 5h5l1.5 4M15.5 11l3-2v6'/></svg>"); }
.i-snow { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2v20M3.3 7l17.4 10M20.7 7 3.3 17'/><path d='m9 4 3 2 3-2M9 20l3-2 3 2'/></svg>"); }
.i-heat { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M7 20c-2-3 2-5 0-8s2-5 0-8M12 20c-2-3 2-5 0-8s2-5 0-8M17 20c-2-3 2-5 0-8s2-5 0-8'/></svg>"); }
.i-wifi { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 9a15 15 0 0 1 20 0M5 12.5a10 10 0 0 1 14 0M8.5 16a5 5 0 0 1 7 0'/><circle cx='12' cy='19.5' r='1' fill='%23000'/></svg>"); }
.i-wash { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='2.5' width='16' height='19' rx='2'/><circle cx='12' cy='13' r='5'/><path d='M7 6h2'/></svg>"); }
.i-shower { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 21V7a4 4 0 0 1 8 0'/><path d='M9 7h6'/><path d='M10 11v1M13 11v1M16 11v1M11.5 14v1M14.5 14v1M13 17v1'/></svg>"); }
.i-nosmoke { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9.5'/><path d='M5.3 5.3l13.4 13.4M6 13h7M16 13h2'/></svg>"); }
.i-sun { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='4'/><path d='M12 2v2M12 20v2M2 12h2M20 12h2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/></svg>"); }
.i-garden { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21v-9'/><path d='M12 12c-4 0-6-3-6-7 4 0 6 3 6 7zM12 14c3 0 5-2 5-5-3 0-5 2-5 5z'/><path d='M4 21h16'/></svg>"); }
.i-wave { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M2 9c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2M2 15c2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2 2.5 2 5 2'/></svg>"); }
.i-sup { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2c3 4 3.5 14 0 20-3.5-6-3-16 0-20z'/><path d='M18 3v14M16 17h4l-2 4z'/></svg>"); }
.i-bike { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><circle cx='6' cy='16' r='3.5'/><circle cx='18' cy='16' r='3.5'/><path d='M6 16l4-8h5l3 8M10 8l2.5 8H6M14 5h2'/></svg>"); }
.i-car { --i: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M4 16v-4l2-5h12l2 5v4z'/><path d='M4 12h16'/><circle cx='7.5' cy='16' r='1.8'/><circle cx='16.5' cy='16' r='1.8'/><path d='M4 16v3M20 16v3'/></svg>"); }
:root { --jasmine: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><g fill='none' stroke='%23000' stroke-width='1.4' stroke-linejoin='round'><path d='M16 16 C13.2 11.5 13.6 6.2 16 3.4 C18.4 6.2 18.8 11.5 16 16Z' transform='rotate%280 16 16%29'/><path d='M16 16 C13.2 11.5 13.6 6.2 16 3.4 C18.4 6.2 18.8 11.5 16 16Z' transform='rotate%2872 16 16%29'/><path d='M16 16 C13.2 11.5 13.6 6.2 16 3.4 C18.4 6.2 18.8 11.5 16 16Z' transform='rotate%28144 16 16%29'/><path d='M16 16 C13.2 11.5 13.6 6.2 16 3.4 C18.4 6.2 18.8 11.5 16 16Z' transform='rotate%28216 16 16%29'/><path d='M16 16 C13.2 11.5 13.6 6.2 16 3.4 C18.4 6.2 18.8 11.5 16 16Z' transform='rotate%28288 16 16%29'/></g><circle cx='16' cy='16' r='2.1'/></svg>"); }
