/* Struktur/Layout des check·in one-Onepagers - bleibt fest, siehe inc/config.php für
   anpassbare Werte (Farben/Bilder/Texte). Farben kommen als CSS-Variablen aus functions.php
   (ciob_theme_print_color_vars), Fallback-Werte hier nur für den Fall, dass der Hook fehlt. */

:root {
	--ciob-navy: #17324a;
	--ciob-coral: #ef7456;
	--ciob-coral-deep: #d9553b;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--ciob-navy);
	line-height: 1.6;
}

h1, h2, h3, h4 {
	font-family: "Poppins", "Inter", sans-serif;
}

.ciob-site-header {
	padding: 16px 20px;
	text-align: center;
	background: #fff;
}

.ciob-site-logo {
	max-height: 60px;
}

.ciob-section {
	max-width: 900px;
	margin: 0 auto;
	padding: 56px 20px;
}

.ciob-section h2 {
	font-size: 26px;
	margin-bottom: 16px;
}

.ciob-hero {
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	padding: 100px 20px;
	position: relative;
}

.ciob-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(23,50,74,0.55), rgba(23,50,74,0.75));
}

.ciob-hero-inner {
	position: relative;
	max-width: 700px;
	margin: 0 auto;
}

.ciob-hero-inner h1 {
	font-size: 36px;
	margin-bottom: 12px;
}

.ciob-hero-cta {
	display: inline-block;
	margin-top: 20px;
	background: var(--ciob-coral);
	color: #fff;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 6px;
	font-weight: 600;
}

.ciob-hero-cta:hover {
	background: var(--ciob-coral-deep);
}

.ciob-einheiten-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.ciob-einheit-card {
	border: 1px solid #e3d6ea;
	border-radius: 10px;
	padding: 20px;
	text-align: center;
}

.ciob-einheit-bild {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 12px;
}

.ciob-einheit-preis {
	font-weight: 700;
	color: var(--ciob-coral-deep);
}

.ciob-einheit-features {
	list-style: none;
	padding: 0;
	margin: 10px 0;
	text-align: left;
	font-size: 13.5px;
}

.ciob-einheit-features li {
	padding: 2px 0;
}

.ciob-einheit-features li::before {
	content: "✓";
	color: var(--ciob-coral);
	margin-right: 6px;
	font-weight: 700;
}

.ciob-einheit-galerie {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.ciob-einheit-galerie img {
	width: calc(50% - 4px);
	border-radius: 8px;
	object-fit: cover;
	max-height: 220px;
}

.ciob-details-btn {
	background: none;
	border: 1px solid var(--ciob-navy);
	color: var(--ciob-navy);
	border-radius: 6px;
	padding: 8px 16px;
	cursor: pointer;
	font-weight: 600;
}

.ciob-details-btn:hover {
	background: var(--ciob-navy);
	color: #fff;
}

.ciob-ausstattung-liste {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

.ciob-ausstattung-liste li::before {
	content: "•";
	color: var(--ciob-coral);
	margin-right: 6px;
}

.ciob-anfahrt-karte {
	width: 100%;
	height: 360px;
	border: 0;
	border-radius: 10px;
}

.ciob-notice {
	color: #7a5a00;
	background: #fff6e0;
	border: 1px solid #f0d98c;
	border-radius: 6px;
	padding: 12px 16px;
}

.ciob-site-footer {
	background: var(--ciob-navy);
	color: #fff;
	text-align: center;
	padding: 24px 20px;
}

.ciob-legal-nav {
	margin-top: 10px;
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.ciob-legal-nav button {
	background: none;
	border: none;
	color: #fff;
	text-decoration: underline;
	cursor: pointer;
	font-size: 13px;
}

.ciob-modal {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(23, 50, 74, 0.7);
	z-index: 9998;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.ciob-modal.is-open {
	display: flex;
}

.ciob-modal-box {
	background: #fff;
	border-radius: 10px;
	padding: 28px 24px;
	max-width: 560px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
	position: relative;
}

.ciob-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: var(--ciob-navy);
}

@media (max-width: 600px) {
	.ciob-hero-inner h1 { font-size: 28px; }
	.ciob-section { padding: 40px 16px; }
}
