/* Rügenurlaub – ergänzende Stile zu theme.json */

:root {
	--ru-tiefsee: #0E2433;
	--ru-ostsee: #1F5F8B;
	--ru-sanddorn: #A84F1C;
	--ru-sand: #F6F3EC;
	--ru-duene: #F2EEE6;
	--ru-nebel: #DCE6EC;
	--ru-text: #33444F;
	--ru-leise: #4A5D6B;
	--ru-linie: #E5E9EC;
	--ru-serif: 'Source Serif 4', Georgia, serif;
	--ru-radius: 18px;
	--ru-shadow: 0 14px 44px rgba(14, 36, 51, 0.14);
}

body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Kopfbereich ---------- */
.ru-topbar {
	background: var(--ru-tiefsee);
	color: #E6EEF3;
	font-size: 0.875rem;
}
.ru-topbar p { margin: 0; }
.ru-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.ru-topbar a:hover { text-decoration: underline; color: #fff; }

.ru-header { border-bottom: 1px solid var(--ru-linie); background: #fff; }
.ru-header .wp-block-site-title a { color: var(--ru-tiefsee); text-decoration: none; display: inline-flex; align-items: center; gap: 0.6rem; }
.ru-header .wp-block-site-title a::before {
	content: "";
	width: 34px; height: 34px; flex: 0 0 34px;
	background: url("../images/logo-mark.svg") center / contain no-repeat;
}
.ru-header .wp-block-navigation a { color: var(--ru-tiefsee); }
.ru-header .wp-block-navigation a:hover { color: var(--ru-ostsee); }

/* ---------- Allgemeine Abschnitte ---------- */
.ru-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.ru-section--sand { background: var(--ru-sand); }
.ru-section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

.ru-eyebrow {
	font-size: 0.875rem !important;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ru-ostsee);
	margin-bottom: 0.5rem !important;
}
.ru-eyebrow--warm { color: #8A4217; }
.ru-eyebrow--hell { color: #F3E3CC; }
.ru-lead { font-size: var(--wp--preset--font-size--medium); color: var(--ru-text); line-height: 1.65; }
.ru-muted { color: var(--ru-leise); }
.ru-head-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; }
.ru-head-row > * { margin: 0; }
.ru-arrow-link a { font-weight: 600; text-decoration: none; }
.ru-arrow-link a::after { content: " →"; }

/* Hintergrundbild-Flächen (Bild kommt über .ru-bg-NAME) */
[class*="ru-bg-"] { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* ---------- Hero ---------- */
.ru-hero {
	position: relative;
	min-height: clamp(520px, 62vw, 700px);
	background-color: #C9DAE4;
	background-position: 30% 60%;
	display: flex;
	align-items: flex-start;
	padding-top: clamp(3rem, 8vw, 7rem);
	padding-bottom: 6rem;
}
.ru-hero > .ru-hero__inner { width: 100%; max-width: 1240px; margin-inline: auto; display: flex; justify-content: flex-end; }
.ru-hero__card {
	max-width: 560px;
	background: rgba(255, 255, 255, 0.93);
	border-radius: 22px;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.ru-hero__card h1 { margin-top: 0; }
.ru-hero__card > *:last-child { margin-bottom: 0; }

/* ---------- Suchformular ---------- */
.ru-search-wrap { position: relative; z-index: 2; margin-top: -72px !important; }
.ru-search {
	background: #fff;
	border-radius: 20px;
	box-shadow: var(--ru-shadow);
	padding: clamp(1.25rem, 3vw, 2rem);
	max-width: 1240px;
	margin-inline: auto;
}
.ru-search h2 { font-size: 1.5rem; margin: 0 0 1.1rem; }
.ru-search__row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.ru-search__field { display: flex; flex-direction: column; gap: 0.4rem; flex: 1 1 170px; min-width: 0; }
.ru-search__field label {
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ru-leise);
}
.ru-search__field input,
.ru-search__field select {
	height: 48px; border: 1px solid #C9D3DA; border-radius: 10px; padding: 0 0.85rem;
	font: inherit; font-size: 1rem; color: var(--ru-tiefsee); background: #fff; width: 100%; box-sizing: border-box;
}
.ru-search__field input:focus,
.ru-search__field select:focus { outline: 2px solid var(--ru-ostsee); outline-offset: 1px; }
.ru-search__submit {
	flex: 0 0 auto; height: 48px; padding: 0 1.75rem; border: 0; border-radius: 10px;
	background: var(--ru-sanddorn); color: #fff; font: inherit; font-weight: 600; cursor: pointer;
}
.ru-search__submit:hover { background: #8A4217; }
.ru-search__links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.95rem; }

/* ---------- Vorteile ---------- */
.ru-usp p { margin: 0; }
.ru-usp__title { font-weight: 600; font-size: 1.06rem; color: var(--ru-tiefsee); }
.ru-usp__text { color: var(--ru-leise); font-size: 0.95rem; }
.ru-usp .wp-block-group { padding-left: 2.6rem; position: relative; }
.ru-usp .wp-block-group::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 28px; height: 28px;
	background-color: var(--ru-ostsee);
	-webkit-mask: var(--ru-icon) center / contain no-repeat;
	mask: var(--ru-icon) center / contain no-repeat;
}
.ru-icon-pin { --ru-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.ru-icon-wifi { --ru-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath 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'/%3E%3Ccircle cx='12' cy='19' r='1'/%3E%3C/svg%3E"); }
.ru-icon-cal { --ru-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.ru-icon-phone { --ru-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E"); }

/* ---------- Bilder mit Rundung ---------- */
.ru-rounded img, .ru-rounded { border-radius: 20px; overflow: hidden; }
.ru-img-fill { margin: 0 !important; height: 100%; }
.ru-img-fill img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ru-mosaic { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 252px 252px; gap: 1rem; }
.ru-mosaic > *:first-child { grid-row: span 2; }
.ru-mosaic figure { margin: 0 !important; border-radius: 20px; overflow: hidden; height: 100%; }
.ru-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Karten ---------- */
.ru-card {
	border: 1px solid var(--ru-linie);
	border-radius: var(--ru-radius);
	overflow: hidden;
	background: #fff;
	display: flex !important;
	flex-direction: column;
	gap: 0 !important;
	height: 100%;
	transition: box-shadow .2s ease, transform .2s ease;
}
.ru-card:hover { box-shadow: 0 10px 30px rgba(14, 36, 51, 0.10); transform: translateY(-2px); }
.ru-card > figure { margin: 0 !important; aspect-ratio: 3 / 2; background: var(--ru-nebel); }
.ru-card > figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ru-card__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.ru-card__body > * { margin: 0 !important; }
.ru-card__body h3 { font-size: 1.55rem; }
.ru-card__body .wp-block-buttons { margin-top: auto !important; padding-top: 0.5rem; }
.ru-card__meta { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ru-ostsee); }
.ru-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ru-chips span {
	display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px;
	background: var(--ru-duene); color: #3D4A53; font-size: 0.8125rem; font-weight: 500;
}

/* Kleine Bild-Kacheln (Tipps) */
.ru-tile { display: flex !important; flex-direction: column; gap: 0.7rem !important; }
.ru-tile > * { margin: 0 !important; }
.ru-tile figure { aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--ru-nebel); }
.ru-tile figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ru-tile h3 { font-size: 1.3rem; line-height: 1.25; }
.ru-tile h3 a { color: var(--ru-tiefsee); text-decoration: none; }
.ru-tile h3 a:hover { color: var(--ru-ostsee); }
.ru-tile p { font-size: 0.95rem; color: var(--ru-leise); }
.ru-tile .ru-tile__cat { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8A4217; }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: var(--ru-tiefsee); border: 1.5px solid var(--ru-tiefsee);
	padding-top: calc(0.8rem - 1.5px); padding-bottom: calc(0.8rem - 1.5px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ru-tiefsee); color: #fff; }
.ru-btn-dark > .wp-block-button__link { background: var(--ru-tiefsee); border-radius: 10px; font-size: 0.95rem; }
.ru-btn-dark > .wp-block-button__link:hover { background: var(--ru-ostsee); }
.ru-btn-light > .wp-block-button__link { background: #fff; color: var(--ru-tiefsee); }
.ru-btn-light > .wp-block-button__link:hover { background: var(--ru-duene); color: var(--ru-tiefsee); }
.ru-btn-square > .wp-block-button__link { border-radius: 10px; font-size: 0.95rem; }

/* ---------- Stimmungsband ---------- */
.ru-band {
	position: relative;
	min-height: clamp(380px, 40vw, 520px);
	background-color: #8DA7B5;
	display: flex !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	isolation: isolate;
}
.ru-band::before { content: ""; position: absolute; inset: 0; background: rgba(14, 36, 51, 0.40); z-index: -1; }
.ru-band__inner { max-width: 1000px; padding-inline: 1.5rem; }
.ru-band__quote {
	font-family: var(--ru-serif); font-style: italic; color: #fff;
	font-size: clamp(1.6rem, 3.4vw, 3rem); line-height: 1.22; margin: 0;
}

/* ---------- Ferienorte-Liste ---------- */
.ru-places { margin: 0; padding: 0; list-style: none; }
.ru-places li { border-top: 1px solid #DDD5C6; }
.ru-places li a {
	display: flex; justify-content: space-between; align-items: center; gap: 1rem;
	padding: 1rem 0; text-decoration: none; color: var(--ru-tiefsee);
}
.ru-places li a strong { font-family: var(--ru-serif); font-size: 1.4rem; font-weight: 600; }
.ru-places li a span { color: var(--ru-leise); font-size: 0.95rem; }
.ru-places li a span::after { content: " →"; }
.ru-places li a:hover strong { color: var(--ru-ostsee); }

/* ---------- Jahreszeiten ---------- */
.ru-season { padding-top: 1.25rem; border-top: 3px solid var(--ru-ostsee); }
.ru-season > * { margin: 0 !important; }
.ru-season h3 { margin-bottom: 0.6rem !important; }
.ru-season p { color: var(--ru-text); }
.ru-season--fruehling { border-top-color: #7FA36C; }
.ru-season--sommer { border-top-color: #E8A33D; }
.ru-season--herbst { border-top-color: var(--ru-sanddorn); }
.ru-season--winter { border-top-color: var(--ru-ostsee); }

/* ---------- Schritte ---------- */
.ru-step { background: #fff; border-radius: var(--ru-radius); padding: 2rem; }
.ru-step > * { margin: 0 !important; }
.ru-step__num { font-family: var(--ru-serif); font-size: 2.5rem; font-weight: 600; color: var(--ru-sanddorn); line-height: 1; }
.ru-step__title { font-weight: 600; font-size: 1.2rem; margin: 0.6rem 0 0.4rem !important; color: var(--ru-tiefsee); }
.ru-step p:last-child { color: var(--ru-leise); }

/* ---------- Dunkle Teaser-Box ---------- */
.ru-dark-box {
	background: var(--ru-tiefsee); color: #D5E1E8; border-radius: 24px; overflow: hidden;
	display: flex !important; flex-wrap: wrap; gap: 0 !important;
}
.ru-dark-box > .ru-dark-box__img { flex: 1 1 420px; min-height: 320px; margin: 0 !important; }
.ru-dark-box > .ru-dark-box__text { flex: 1 1 420px; padding: clamp(2rem, 5vw, 3.25rem); margin: 0 !important; }
.ru-dark-box h2 { color: #fff; }
.ru-dark-box .ru-eyebrow { color: #9CC3DD; }

/* ---------- Kontaktband ---------- */
.ru-contact { position: relative; isolation: isolate; }
.ru-contact::before { content: ""; position: absolute; inset: 0; background: rgba(246, 243, 236, 0.88); z-index: -1; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.ru-pagehead { background: var(--ru-sand); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.ru-pagehead h1 { margin: 0; }
.ru-featured-hero { margin: 0 !important; }
.ru-featured-hero img { width: 100%; height: clamp(280px, 42vw, 520px); object-fit: cover; display: block; }

/* ---------- Ferienanlage ---------- */
.ru-facts { border-bottom: 1px solid var(--ru-linie); padding-bottom: 2rem; }
.ru-facts .wp-block-group > * { margin: 0 !important; }
.ru-fact__value { font-family: var(--ru-serif); font-size: 1.65rem; font-weight: 600; color: var(--ru-tiefsee); }
.ru-fact__label { font-size: 0.875rem; color: var(--ru-leise); }
.ru-quote-intro { font-family: var(--ru-serif); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.45; color: var(--ru-ostsee); }
.ru-checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.85rem 1.5rem; }
.ru-checks li { position: relative; padding-left: 1.9rem; color: var(--ru-text); }
.ru-checks li::before {
	content: ""; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; background: var(--ru-ostsee);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ru-booking {
	border: 1px solid var(--ru-linie); border-radius: 20px; padding: 1.75rem;
	box-shadow: 0 12px 40px rgba(14, 36, 51, 0.10); background: #fff;
}
@media (min-width: 782px) {
	.ru-sticky { position: sticky; top: 2rem; }
}
.ru-booking .ru-price { font-size: 0.95rem; color: var(--ru-leise); margin: 0; }
.ru-booking .ru-price strong { font-family: var(--ru-serif); font-size: 2rem; color: var(--ru-tiefsee); }
.ru-booking form { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.25rem; }
.ru-booking .ru-search__submit { width: 100%; height: 52px; }
.ru-booking .ru-search__row { gap: 0.75rem; }
.ru-booking .ru-search__field { flex: 1 1 120px; }
.ru-booking__alt {
	display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 10px;
	border: 1px solid #C9D3DA; color: var(--ru-tiefsee); text-decoration: none; font-weight: 600;
}
.ru-booking__alt:hover { background: var(--ru-duene); color: var(--ru-tiefsee); }
.ru-booking__foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--ru-linie); font-size: 0.95rem; color: var(--ru-text); }
.ru-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ru-pills a {
	display: inline-flex; align-items: center; height: 42px; padding: 0 1rem; border-radius: 999px;
	background: var(--ru-duene); color: var(--ru-tiefsee); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.ru-pills a:hover { background: var(--ru-nebel); }
.ru-location-table p { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--ru-linie); padding-top: 0.75rem; margin: 0.75rem 0 0 !important; }

/* ---------- Fußbereich ---------- */
.ru-footer { background: var(--ru-tiefsee); color: #C7D4DC; font-size: 0.95rem; }
.ru-footer a { color: #C7D4DC; text-decoration: none; }
.ru-footer a:hover { color: #fff; text-decoration: underline; }
.ru-footer h2, .ru-footer h3 { color: #fff; }
.ru-footer h3 { font-family: inherit; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.ru-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ru-footer__bottom { border-top: 1px solid #2C4A5E; padding-top: 1.5rem; }
.ru-footer__bottom p { margin: 0; }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 781px) {
	.ru-hero { padding-top: 0; min-height: 0; display: block; background-position: 25% 50%; }
	.ru-hero::before { content: ""; display: block; height: 260px; }
	.ru-hero > .ru-hero__inner { padding-inline: 1rem; }
	.ru-hero__card { margin-top: -48px; box-shadow: var(--ru-shadow); background: #fff; }
	.ru-search-wrap { margin-top: -40px !important; }
	.ru-mosaic { grid-template-rows: 200px 200px; }
	.ru-head-row { margin-bottom: 1.25rem; }
}

/* Text auf dunklem Grund */
.ru-dark-box p, .ru-dark-box .ru-lead { color: #D5E1E8; }
.ru-dark-box .ru-eyebrow { color: #9CC3DD; }

/* Inhalte aus der Migration */
.ru-belegungsplan-hinweis{background:#F6F3EC;border-left:0;border-radius:14px;padding:1.25rem 1.5rem}
.wp-block-details{border:1px solid #E5E9EC;border-radius:12px;padding:.9rem 1.2rem;margin-block:.75rem}
.wp-block-details summary{font-weight:600;cursor:pointer}
.wp-block-table table{border-collapse:collapse;width:100%}
.wp-block-table td,.wp-block-table th{border:1px solid #E5E9EC;padding:.5rem .7rem;vertical-align:top}
.wp-block-table tr:nth-child(even) td{background:#FAF8F3}
.wp-block-image img{border-radius:10px}
.wp-block-gallery .wp-block-image img{border-radius:8px}
.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 input[type=url],.wpcf7 input[type=date],.wpcf7 select,.wpcf7 textarea{width:100%;max-width:560px;border:1px solid #C9D3DA;border-radius:10px;padding:.65rem .8rem;font:inherit;box-sizing:border-box}
.wpcf7 .wpcf7-list-item{display:inline-block;margin:0 1rem .3rem 0}
.wpcf7 input[type=submit]{background:#A84F1C;color:#fff;border:0;border-radius:999px;padding:.85rem 1.75rem;font:inherit;font-weight:600;cursor:pointer}
.wpcf7 input[type=submit]:hover{background:#8A4217}
.wpcf7 hr{border:0;border-top:1px solid #E5E9EC;margin:1.5rem 0}

/* Formulare */
.ru-form p { margin: 0 0 1rem; }
.ru-form .ru-input { width: 100%; max-width: 560px; border: 1px solid #C9D3DA; border-radius: 10px; padding: .65rem .8rem; font: inherit; box-sizing: border-box; background: #fff; color: var(--ru-tiefsee); }
.ru-form .ru-input:focus { outline: 2px solid var(--ru-ostsee); outline-offset: 1px; }
.ru-form .ru-choices { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; margin-top: .3rem; }
.ru-form .ru-choice { display: inline-flex; align-items: center; gap: .4rem; }
.ru-form hr { border: 0; border-top: 1px solid var(--ru-linie); margin: 1.75rem 0; }
.ru-form h3 { font-size: 1.3rem; margin: 1.5rem 0 .75rem; }
.ru-submit { background: var(--ru-sanddorn); color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.75rem; font: inherit; font-weight: 600; cursor: pointer; }
.ru-submit:hover { background: #8A4217; }
.ru-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ru-form-ok, .ru-form-err { border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.ru-form-ok { background: #E6F2EA; color: #1E4D2B; }
.ru-form-err { background: #FBEAE5; color: #7A2A12; }

/* Migrierte Inhalte: Spalten und Überschriften */
.wp-block-post-content h2, .wp-block-post-content h3, .wp-block-post-content h4 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.wp-block-post-content .wp-block-column h2 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
.wp-block-post-content .wp-block-column h3 { font-size: 1.2rem; }
.wp-block-post-content .wp-block-columns { gap: 2rem; }
.wp-block-post-content .wp-block-image { margin-block: 1rem; }
