/* ==========================================================================
   Gut Stohrerhof – Gestaltung
   Farben und Maße als Variablen, danach Grundlagen, Kopf, Blöcke, Fuß.
   ========================================================================== */

:root {
	--sth-bg: #F6F3EE;
	--sth-card: #FBFAF7;
	--sth-white: #FFFFFF;
	--sth-line: #E2DCD2;
	--sth-line-strong: #CFC7BA;
	--sth-ink: #2B2B2A;
	--sth-body: #3B3833;
	--sth-muted: #5E5850;
	--sth-muted-2: #6B645C;
	--sth-accent: #0E594F;
	--sth-accent-dark: #0A443C;
	--sth-green-brand: #0E594F;
	--sth-brown: #7A5C42;
	--sth-green: #4F5C47;
	--sth-sage: #E4E7DF;
	--sth-mist: #DDE2E3;
	--sth-night: #2F3A40;
	--sth-footer: #0E594F;
	--sth-footer-text: #EAF2F0;
	--sth-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--sth-sans: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
	--sth-max: 1280px;
	--sth-gutter: clamp(20px, 5.5vw, 80px);
	--sth-pad: max(var(--sth-gutter), calc((100% - var(--sth-max)) / 2));
	--sth-sec-y: clamp(64px, 8vw, 112px);
	--sth-gap: clamp(20px, 2.4vw, 32px);
	--sth-h1: clamp(40px, 5vw, 64px);
	--sth-h1-hero: clamp(42px, 5.6vw, 72px);
	--sth-h2: clamp(32px, 3.4vw, 48px);
	--sth-h3: clamp(24px, 2vw, 30px);
}

/* --------------------------------------------------------------- Grundlagen */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--sth-bg);
	color: var(--sth-ink);
	font-family: var(--sth-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sth-accent); text-underline-offset: 0.18em; }
a:hover { color: var(--sth-accent-dark); }
:focus-visible { outline: 3px solid var(--sth-accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--sth-serif); font-weight: 500; margin: 0; color: var(--sth-ink); letter-spacing: 0; }
h1 { font-size: var(--sth-h1); line-height: 1.05; }
h2 { font-size: var(--sth-h2); line-height: 1.1; }
h3 { font-size: var(--sth-h3); line-height: 1.15; }
h4 { font-size: 22px; line-height: 1.2; }
p { margin: 0; }
strong, b { font-weight: 600; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.sth-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sth-ink); color: #fff; padding: 10px 16px; border-radius: 2px; }
.sth-skip:focus { top: 12px; color: #fff; }
.sth-main:focus { outline: none; }

/* --------------------------------------------------------------- Schaltflächen */

.sth-btn,
.wp-block-button__link,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 1px solid var(--sth-accent);
	border-radius: 2px;
	background: var(--sth-accent);
	color: #fff;
	font-family: var(--sth-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.sth-btn:hover, .wp-block-button__link:hover, .wpcf7-submit:hover { background: var(--sth-accent-dark); border-color: var(--sth-accent-dark); color: #fff; }
.sth-btn--outline,
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: var(--sth-ink);
	color: var(--sth-ink);
}
.sth-btn--outline:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--sth-ink); border-color: var(--sth-ink); color: #fff; }
.wp-block-button.is-style-hell > .wp-block-button__link { background: transparent; border-color: #fff; color: #fff; }
.wp-block-button.is-style-hell > .wp-block-button__link:hover { background: #fff; color: var(--sth-ink); }
.sth-btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 400; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.sth-strong-link, .is-style-link > a { font-weight: 600; }

/* --------------------------------------------------------------- Kopfbereich */

.sth-header { background: var(--sth-bg); border-bottom: 1px solid var(--sth-line); position: relative; z-index: 50; }
.sth-header__inner { min-height: 88px; padding: 0 var(--sth-pad); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.sth-brand { display: flex; flex-direction: row; align-items: center; gap: 14px; text-decoration: none; color: var(--sth-green-brand); flex-shrink: 0; }
.sth-brand__text { display: flex; flex-direction: column; }
.sth-brand__mark { display: block; line-height: 0; }
.sth-brand__mark .sth-logo { height: 50px; width: auto; display: block; }
.sth-brand__mark .sth-logo path { stroke: currentColor; stroke-width: 3; }
.sth-brand:hover { color: var(--sth-green-brand); }
.sth-brand__name { font-family: var(--sth-serif); font-size: 28px; font-weight: 600; letter-spacing: .02em; line-height: 1.15; }
.sth-brand__place { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sth-green-brand); }
.sth-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 1.9vw, 36px); font-size: 16px; white-space: nowrap; }
.sth-nav__list a { color: var(--sth-ink); text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.sth-nav__list a:hover { border-bottom-color: var(--sth-line-strong); color: var(--sth-ink); }
.sth-nav__list .current-menu-item > a,
.sth-nav__list .current-menu-ancestor > a,
.sth-nav__list .current_page_item > a,
.sth-nav__list a[aria-current="page"] { border-bottom-color: var(--sth-accent); }
.sth-nav__extra { display: none; }
.sth-header__actions { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.sth-header__cta { min-height: 48px; padding: 0 24px; font-size: 15px; }
.sth-lang { font-size: 14px; color: var(--sth-muted-2); }
.sth-lang a { color: var(--sth-muted-2); text-decoration: none; }
.sth-lang a[aria-current], .sth-lang .is-current { color: var(--sth-ink); font-weight: 600; }
.sth-burger { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--sth-ink); background: transparent; border-radius: 2px; color: var(--sth-ink); font: inherit; font-size: 15px; cursor: pointer; }
.sth-burger__lines, .sth-burger__lines::before, .sth-burger__lines::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s ease; }
.sth-burger__lines::before, .sth-burger__lines::after { content: ""; position: absolute; left: 0; }
.sth-burger__lines::before { top: -6px; }
.sth-burger__lines::after { top: 6px; }
.sth-burger[aria-expanded="true"] .sth-burger__lines { background: transparent; }
.sth-burger[aria-expanded="true"] .sth-burger__lines::before { transform: translateY(6px) rotate(45deg); }
.sth-burger[aria-expanded="true"] .sth-burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1260px) {
	.sth-header__inner { min-height: 72px; gap: 16px; }
	.sth-brand__name { font-size: 24px; }
	.sth-burger { display: inline-flex; }
	.sth-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sth-bg); border-bottom: 1px solid var(--sth-line); padding: 8px var(--sth-gutter) 28px; box-shadow: 0 18px 30px rgba(43, 43, 42, .08); }
	.sth-nav.is-open { display: block; }
	.sth-nav__list { flex-direction: column; gap: 0; font-size: 19px; }
	.sth-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--sth-line); }
	.sth-nav__list a[aria-current="page"], .sth-nav__list .current-menu-item > a { border-bottom-color: var(--sth-line); color: var(--sth-accent); font-weight: 600; }
	.sth-nav__extra { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
	.sth-nav__contact { font-size: 15px; line-height: 1.8; }
}
@media (max-width: 640px) {
	.sth-header__cta { display: none; }
	.sth-brand__name { font-size: 22px; }
	.sth-brand__place { font-size: 11px; }
	.sth-burger__label { display: none; }
	.sth-lang { font-size: 13px; }
}

/* --------------------------------------------------------------- Abschnitte */

.sth-section,
.wp-block-group[class*="is-style-abschnitt"] {
	padding: var(--sth-sec-y) var(--sth-pad);
	display: flex;
	flex-direction: column;
	gap: 48px;
	margin: 0;
}
.wp-block-group[class*="is-style-abschnitt"] > * { margin-block: 0; }
.is-style-abschnitt-karte { background: var(--sth-card); }
.is-style-abschnitt-salbei { background: var(--sth-sage); }
.is-style-abschnitt-nebel { background: var(--sth-mist); }
.is-style-abschnitt-nacht { background: var(--sth-night); color: #EEF0EE; }
.is-style-abschnitt-nacht :is(h1, h2, h3, h4) { color: #fff; }
.is-style-abschnitt-nacht a:not(.wp-block-button__link) { color: #fff; }
.is-style-abschnitt-nacht .is-style-dachzeile { color: #C9D3D6; }
.is-style-abschnitt-nacht .wp-block-button.is-style-outline > .wp-block-button__link { border-color: #fff; color: #fff; }
.sth-section.has-line-top, .wp-block-group.has-line-top { border-top: 1px solid var(--sth-line); }
.wp-block-group.has-line-bottom { border-bottom: 1px solid var(--sth-line); }
.wp-block-group.is-tight { padding-block: 80px; }
.wp-block-group.is-flush-top { padding-top: 0; }
.wp-block-group.is-center { align-items: center; text-align: center; }
.wp-block-group.is-center .wp-block-buttons { justify-content: center; }
.wp-block-group.is-narrow > * { max-width: 1000px; }

/* Kopf eines Abschnitts: Dachzeile + Überschrift links, Link rechts */
.wp-block-group.sth-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.wp-block-group.sth-head > .wp-block-group { display: flex; flex-direction: column; gap: 14px; }
.wp-block-group.sth-head > .wp-block-group > * { margin: 0; }
.wp-block-group.sth-stack { display: flex; flex-direction: column; gap: 22px; }
.wp-block-group.sth-stack > * { margin: 0; }
.wp-block-group.sth-stack .wp-block-buttons { margin-top: 8px; }

/* Text */
.is-style-dachzeile { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sth-brown); line-height: 1.4; }
.is-style-dachzeile.is-green, .is-style-abschnitt-salbei .is-style-dachzeile { color: var(--sth-green); }
.is-style-einleitung { font-family: var(--sth-serif); font-size: clamp(25px, 2.4vw, 34px); line-height: 1.4; max-width: 1000px; color: var(--sth-ink); }
.is-style-klein { font-size: 15px; line-height: 1.55; color: var(--sth-muted); }
.wp-block-heading.is-style-gross { font-size: clamp(36px, 3.8vw, 52px); }
.wp-block-group[class*="is-style-abschnitt"] p:not([class*="is-style-"]):not(.sth-plain),
.wp-block-group[class*="is-style-abschnitt"] .wp-block-column > p:not([class*="is-style-"]) { font-size: 18px; line-height: 1.65; color: var(--sth-body); max-width: 780px; }
.is-style-abschnitt-nacht p:not([class*="is-style-"]) { color: #DCE1E2 !important; }
.wp-block-group.is-center p:not([class*="is-style-"]) { margin-inline: auto; }

/* --------------------------------------------------------------- Titelbild (Cover) */

.wp-block-cover.is-style-hero {
	min-height: 640px;
	margin: 0;
	padding: 0 var(--sth-pad) clamp(56px, 6.5vw, 96px);
	align-items: flex-end;
	justify-content: flex-start;
	background: #4B4F4A;
	color: #fff;
}
.wp-block-cover.is-style-hero.is-tall { min-height: 820px; }
.wp-block-cover.is-style-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(20,20,18,.15) 0%, rgba(20,20,18,.25) 45%, rgba(20,20,18,.72) 100%) !important; opacity: 1 !important; }
.wp-block-cover.is-style-hero .wp-block-cover__inner-container { width: 100%; max-width: 820px; margin: 0; display: flex; flex-direction: column; gap: 22px; color: #fff; }
.wp-block-cover.is-style-hero .wp-block-cover__inner-container > * { margin: 0; }
.wp-block-cover.is-style-hero h1 { color: #fff; font-size: var(--sth-h1); }
.wp-block-cover.is-style-hero.is-tall h1 { font-size: var(--sth-h1-hero); }
.wp-block-cover.is-style-hero p:not([class*="is-style-"]) { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: #F2EEE7; max-width: 640px; }
.wp-block-cover.is-style-hero .is-style-dachzeile { color: #EFE9DF; }
.wp-block-cover.is-style-hero .wp-block-buttons { margin-top: 8px; }
.wp-block-cover.is-style-hero .wp-block-button.is-style-outline > .wp-block-button__link { border-color: #fff; color: #fff; }
.sth-video-toggle { position: absolute; right: 32px; bottom: 32px; z-index: 3; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.8); background: rgba(20,20,18,.35); color: #fff; border-radius: 2px; font: inherit; font-size: 14px; cursor: pointer; }
.sth-video-toggle:hover { background: rgba(20,20,18,.6); }
@media (max-width: 780px) {
	.wp-block-cover.is-style-hero, .wp-block-cover.is-style-hero.is-tall { min-height: 560px; padding-bottom: 88px; }
	.sth-video-toggle { right: 16px; top: 16px; bottom: auto; min-height: 36px; padding: 0 12px; font-size: 13px; }
}

/* Titelbereich ohne Bild (Journal, Kontakt) */
.wp-block-group.sth-pagehead { padding-bottom: 48px; gap: 22px; }
.wp-block-group.sth-pagehead h1 { max-width: 900px; }
.wp-block-group.sth-pagehead p:not([class*="is-style-"]) { font-size: 20px; max-width: 720px; }

/* --------------------------------------------------------------- Auszeichnungen, Kennzahlen */

.wp-block-group.sth-awards { padding: 0 var(--sth-pad); min-height: 112px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; border-bottom: 1px solid var(--sth-line); font-size: 15px; color: #4A4540; }
.wp-block-group.sth-awards > p { margin: 0; }
.wp-block-group.sth-awards > p:first-child { font-weight: 600; }
@media (max-width: 900px) { .wp-block-group.sth-awards { padding-block: 28px; justify-content: flex-start; } }

.wp-block-group.sth-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.wp-block-group.sth-stats > .wp-block-group { display: flex; flex-direction: column; gap: 6px; }
.wp-block-group.sth-stats > .wp-block-group > * { margin: 0; }
.is-style-kennzahl { font-family: var(--sth-serif); font-size: clamp(38px, 3.6vw, 52px); line-height: 1; color: var(--sth-ink); }
.wp-block-group.sth-stats .is-style-klein { color: var(--sth-muted); }
.wp-block-group.sth-stats.is-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; }
.wp-block-group.sth-stats.is-facts .is-style-kennzahl { font-size: clamp(30px, 2.6vw, 40px); }
@media (max-width: 1100px) { .wp-block-group.sth-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; } }
@media (max-width: 560px) { .wp-block-group.sth-stats, .wp-block-group.sth-stats.is-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --------------------------------------------------------------- Text und Bild */

.wp-block-columns.is-style-text-bild,
.wp-block-columns.is-style-bild-text { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; margin: 0; }
.wp-block-columns.is-style-text-bild > .wp-block-column:first-child { grid-column: 1 / span 5; }
.wp-block-columns.is-style-text-bild > .wp-block-column:last-child { grid-column: 7 / span 6; }
.wp-block-columns.is-style-bild-text > .wp-block-column:first-child { grid-column: 1 / span 6; }
.wp-block-columns.is-style-bild-text > .wp-block-column:last-child { grid-column: 8 / span 5; }
.wp-block-columns[class*="is-style-"] > .wp-block-column { flex-basis: auto !important; display: flex; flex-direction: column; gap: 22px; }
.wp-block-columns[class*="is-style-"] > .wp-block-column > * { margin: 0; }
.wp-block-columns[class*="is-style-"] > .wp-block-column > .wp-block-buttons { margin-top: 8px; }
.wp-block-columns.is-top { align-items: start; }
@media (max-width: 900px) {
	.wp-block-columns.is-style-text-bild, .wp-block-columns.is-style-bild-text { grid-template-columns: 1fr; }
	.wp-block-columns.is-style-text-bild > .wp-block-column, .wp-block-columns.is-style-bild-text > .wp-block-column { grid-column: 1 / -1 !important; }
	.wp-block-columns.is-style-text-bild > .wp-block-column:last-child { order: -1; }
}

/* Bilder */
.wp-block-image { margin: 0; }
.wp-block-image img { width: 100%; }
.wp-block-image.is-style-hoch img { height: clamp(320px, 39vw, 560px); object-fit: cover; }
.wp-block-image.is-style-hoch.is-medium img { height: clamp(300px, 34vw, 480px); }
.wp-block-image.is-style-kachel img { height: 300px; object-fit: cover; }
.wp-block-image.is-style-grundriss img { height: 320px; object-fit: contain; background: #fff; border: 1px solid var(--sth-line); padding: 12px; }
.wp-block-image.is-style-grundriss figcaption, .wp-block-image figcaption { font-size: 15px; color: var(--sth-ink); margin: 10px 0 0; text-align: left; }
.wp-block-image.pos-top img { object-position: center 25%; }
.wp-block-image.pos-upper img { object-position: center 40%; }
.wp-block-image a { display: block; }
@media (max-width: 900px) { .wp-block-image.is-style-hoch img { height: 62vw; } }

/* --------------------------------------------------------------- Kacheln und Raster */

.wp-block-group.sth-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sth-gap); }
.wp-block-group.sth-grid.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-block-group.sth-grid.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-group.sth-grid > * { margin: 0; }
@media (max-width: 1100px) { .wp-block-group.sth-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .wp-block-group.sth-grid, .wp-block-group.sth-grid.is-2 { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .wp-block-group.sth-grid.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .wp-block-group.sth-grid.is-4 { grid-template-columns: 1fr; } }

.wp-block-group.is-style-kachel { background: var(--sth-card); border: 1px solid var(--sth-line); display: flex; flex-direction: column; gap: 12px; padding: 0 0 28px; }
.is-style-abschnitt-karte .wp-block-group.is-style-kachel { background: var(--sth-white); }
.wp-block-group.is-style-kachel > * { margin: 0 28px; }
.wp-block-group.is-style-kachel > .wp-block-image:first-child { margin: 0 0 16px; }
.wp-block-group.is-style-kachel > :first-child:not(.wp-block-image) { margin-top: 28px; }
.wp-block-group.is-style-kachel h3 { font-size: clamp(24px, 2vw, 30px); }
.wp-block-group.is-style-kachel p:not([class*="is-style-"]) { font-size: 16px !important; line-height: 1.6; color: #4A4540 !important; }
.wp-block-group.is-style-kachel .sth-meta { font-size: 15px !important; color: var(--sth-ink) !important; }
.wp-block-group.is-style-kachel .sth-more { margin-top: auto; padding-top: 4px; font-weight: 600; font-size: 16px; }
.wp-block-group.is-style-kachel.is-plain { background: transparent; border: 0; padding: 0; }
.wp-block-group.is-style-kachel.is-plain > * { margin-inline: 0; }
.wp-block-group.is-style-kachel.is-link { position: relative; }
.wp-block-group.is-style-kachel.is-link a::after { content: ""; position: absolute; inset: 0; }

/* Teaser (Journal) */
.sth-teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sth-gap); }
.sth-teaser { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--sth-ink); }
.sth-teaser:hover { color: var(--sth-ink); }
.sth-teaser:hover .sth-teaser__title { text-decoration: underline; text-decoration-thickness: 1px; }
.sth-teaser__img { width: 100%; height: 260px; object-fit: cover; }
.sth-teaser__img--empty { display: block; width: 100%; height: 260px; background: var(--sth-sage); }
.sth-teaser__meta { font-size: 13px; font-weight: 600; color: var(--sth-green); }
.sth-teaser__title { font-size: 26px; line-height: 1.2; }
@media (max-width: 900px) { .sth-teasers { grid-template-columns: 1fr; } }
.wp-block-group[class*="is-style-abschnitt"]:has(.sth-journal-empty) { display: none; }

/* --------------------------------------------------------------- Listen */

.wp-block-list.is-style-haken { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; max-width: none; }
.wp-block-list.is-style-haken li { break-inside: avoid; margin: 0 0 14px; }
.wp-block-list.is-style-haken li { position: relative; padding-left: 30px; font-size: 17px; line-height: 1.55; color: var(--sth-body); }
.wp-block-list.is-style-haken li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--sth-accent); border-bottom: 2px solid var(--sth-accent); transform: rotate(-45deg); }
@media (max-width: 760px) { .wp-block-list.is-style-haken { columns: 1; } }

.wp-block-list.is-style-zeitleiste { list-style: none; margin: 0; padding: 0; max-width: 1040px; }
.wp-block-list.is-style-zeitleiste li { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 18px 0; border-top: 1px solid var(--sth-line); font-size: 17px; line-height: 1.6; color: var(--sth-body); }
.wp-block-list.is-style-zeitleiste li > strong:first-child { font-family: var(--sth-serif); font-size: 28px; line-height: 1.1; font-weight: 500; color: var(--sth-brown); }
@media (max-width: 640px) { .wp-block-list.is-style-zeitleiste li { grid-template-columns: 1fr; gap: 6px; } }

.wp-block-list.is-style-schritte { margin: 0; padding: 0; list-style: none; counter-reset: sth; display: flex; flex-direction: column; gap: 0; }
.wp-block-list.is-style-schritte li { counter-increment: sth; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--sth-line); font-size: 17px; color: var(--sth-body); }
.wp-block-list.is-style-schritte li::before { content: counter(sth); font-family: var(--sth-serif); font-size: 24px; line-height: 1.1; color: var(--sth-brown); }

.wp-block-group[class*="is-style-abschnitt"] ul.wp-block-list:not([class*="is-style-"]) { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; color: var(--sth-body); }

/* --------------------------------------------------------------- Tabellen */

.wp-block-table { margin: 0; overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.wp-block-table.is-style-stohrerhof thead { border: 0; }
.wp-block-table.is-style-stohrerhof th, .wp-block-table.is-style-stohrerhof td { border: 0; border-bottom: 1px solid var(--sth-line); padding: 16px; text-align: left; vertical-align: top; color: var(--sth-body); }
.wp-block-table.is-style-stohrerhof thead th { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sth-muted); border-bottom: 1px solid var(--sth-ink); padding-block: 14px; }
.wp-block-table.is-style-stohrerhof tbody th,
.wp-block-table.is-style-stohrerhof tbody td:first-child { font-weight: 600; color: var(--sth-ink); }
.wp-block-table.is-style-stohrerhof.is-compact th, .wp-block-table.is-style-stohrerhof.is-compact td { padding: 10px 12px 10px 0; }
.wp-block-table figcaption { font-size: 15px; color: var(--sth-muted); text-align: left; margin-top: 12px; }
@media (max-width: 760px) {
	.wp-block-table.is-style-stohrerhof.is-stack thead { display: none; }
	.wp-block-table.is-style-stohrerhof.is-stack tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--sth-line); }
	.wp-block-table.is-style-stohrerhof.is-stack td, .wp-block-table.is-style-stohrerhof.is-stack th { display: block; padding: 2px 0; border: 0; }
}

/* --------------------------------------------------------------- Häufige Fragen */

.wp-block-details.is-style-faq { border-top: 1px solid rgba(43,43,42,.18); padding: 18px 0; margin: 0; max-width: 980px; }
.wp-block-details.is-style-faq:last-of-type { border-bottom: 1px solid rgba(43,43,42,.18); }
.wp-block-details.is-style-faq summary { font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; }
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after { content: "+"; font-weight: 400; font-size: 24px; line-height: 1; color: var(--sth-accent); }
.wp-block-details.is-style-faq[open] summary::after { content: "–"; }
.wp-block-details.is-style-faq > :not(summary) { margin: 10px 0 0; font-size: 17px !important; line-height: 1.6; color: var(--sth-body); }
.wp-block-group.sth-faqs { display: flex; flex-direction: column; gap: 0; }

/* --------------------------------------------------------------- Partner- und Begriffslisten */

.wp-block-group.sth-defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
.wp-block-group.sth-defs > .wp-block-group { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--sth-line); }
.wp-block-group.sth-defs > .wp-block-group > * { margin: 0; }
.wp-block-group.sth-defs h3 { font-size: 24px; }
.wp-block-group.sth-defs p { font-size: 17px !important; }
@media (max-width: 760px) { .wp-block-group.sth-defs { grid-template-columns: 1fr; } }

/* Hinweisbox */
.wp-block-group.sth-note { background: var(--sth-sage); padding: 18px 20px; font-size: 15px; line-height: 1.6; color: var(--sth-ink); }
.wp-block-group.sth-note > * { margin: 0; }
.wp-block-group.sth-note p { font-size: 15px !important; color: var(--sth-ink) !important; }

/* Abschluss-Band */
.sth-cta, .wp-block-group.sth-cta { align-items: center; text-align: center; gap: 24px; border-top: 1px solid var(--sth-line); }
.wp-block-group.sth-cta .wp-block-buttons, .sth-cta .wp-block-buttons { justify-content: center; }
.sth-cta h2 { font-size: clamp(36px, 3.8vw, 52px); }
.sth-cta p { color: var(--sth-body); font-size: 18px; }

/* Band mit Link rechts (z. B. Firmen) */
.wp-block-group.sth-band { padding: 80px var(--sth-pad); display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px; border-bottom: 1px solid var(--sth-line); }
.wp-block-group.sth-band > .wp-block-group { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.wp-block-group.sth-band > .wp-block-group > * { margin: 0; }
.wp-block-group.sth-band h2 { font-size: clamp(30px, 2.8vw, 38px); line-height: 1.15; }
.wp-block-group.sth-band.is-style-abschnitt-nacht { border-bottom: 0; }

/* --------------------------------------------------------------- Gästestimmen */

.sth-quotes { display: flex; flex-direction: column; gap: 48px; }
.sth-quotes__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; min-height: 190px; transition: opacity .4s ease; }
.sth-quotes__list.is-fading { opacity: 0; }
.sth-quote { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.sth-quote blockquote { margin: 0; font-family: var(--sth-serif); font-size: clamp(22px, 1.9vw, 26px); line-height: 1.35; color: var(--sth-ink); }
.sth-quote figcaption { font-size: 14px; color: var(--sth-muted); }
.sth-quotes__bar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 24px; }
.sth-quotes__note { font-size: 14px; color: var(--sth-muted); }
@media (max-width: 900px) { .sth-quotes__list { grid-template-columns: 1fr; gap: 32px; min-height: 0; } }

/* --------------------------------------------------------------- Karte */

.sth-map { min-height: var(--sth-map-h, 380px); background: #DAD6CC; border: 1px solid var(--sth-line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; font-size: 15px; color: #4A4540; }
.sth-map__link { font-size: 14px; }
.sth-map.is-loaded { padding: 0; display: block; }
.sth-map iframe { display: block; width: 100%; height: var(--sth-map-h, 380px); border: 0; }

/* --------------------------------------------------------------- Formulare (Contact Form 7) */

.wpcf7 { max-width: 880px; }
.wpcf7 form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.wpcf7 form > p, .wpcf7 form > div:not(.wpcf7-response-output):not(.sth-f), .wpcf7 .sth-f--wide, .wpcf7 .wpcf7-response-output, .wpcf7 form > fieldset { grid-column: 1 / -1; }
.wpcf7 .sth-f { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.wpcf7 .sth-f > label, .wpcf7 .sth-f > .sth-f__label, .wpcf7 legend { font-size: 15px; font-weight: 600; color: var(--sth-ink); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #8F877C; border-radius: 2px; background: #fff; font: inherit; font-size: 16px; color: var(--sth-ink);
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 3px solid rgba(14,89,79,.35); border-color: var(--sth-accent); }
.wpcf7 .wpcf7-list-item { margin: 0 24px 0 0; }
.wpcf7 .wpcf7-list-item label { display: inline-flex; gap: 8px; align-items: center; font-size: 16px; }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { width: 20px; height: 20px; accent-color: var(--sth-accent); }
.wpcf7 fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wpcf7 .sth-f__hint, .wpcf7 .sth-privacy { font-size: 14px; color: var(--sth-muted); }
.wpcf7 .wpcf7-not-valid-tip { font-size: 14px; color: #8A2E00; font-weight: 600; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 16px; border: 1px solid var(--sth-line-strong); font-size: 15px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #9DB896; background: #EEF3EC; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #C9A090; background: #F8EEEA; }
.wpcf7-spinner { margin: 0 12px; }
@media (max-width: 700px) { .wpcf7 form { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Buchungskalender im Theme */

.sth-page .sthb { margin: 0; max-width: none; }
.is-style-abschnitt-karte .sthb-side { background: #fff; }

/* --------------------------------------------------------------- Journal */

.sth-journal__head { padding-bottom: 32px; gap: 22px; }
.sth-journal__head h1 { max-width: 900px; }
.sth-journal__lead { font-size: 20px; line-height: 1.6; color: var(--sth-body); max-width: 720px; }
.sth-journal__filter { padding-block: 0 40px; flex-direction: row; flex-wrap: wrap; gap: 10px; border-bottom: 1px solid var(--sth-line); }
.sth-journal__filter a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--sth-line-strong); border-radius: 20px; text-decoration: none; color: var(--sth-ink); font-size: 15px; background: transparent; }
.sth-journal__filter a:hover { border-color: var(--sth-ink); }
.sth-journal__filter a[aria-current="page"] { background: var(--sth-ink); border-color: var(--sth-ink); color: #fff; }
.sth-feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; align-items: center; }
.sth-feature__img { grid-column: 1 / span 7; display: block; }
.sth-feature__img img, .sth-feature__img .sth-teaser__img--empty { width: 100%; height: clamp(300px, 34vw, 480px); object-fit: cover; display: block; background: var(--sth-sage); }
.sth-feature__body { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 16px; }
.sth-feature__body h2 { font-size: clamp(30px, 2.8vw, 40px); }
.sth-feature__body h2 a { color: var(--sth-ink); text-decoration: none; }
.sth-feature__body p { font-size: 17px; color: var(--sth-body); }
.sth-journal__more { display: flex; justify-content: center; gap: 16px; }
.sth-journal__empty { font-size: 18px; color: var(--sth-muted); }
@media (max-width: 900px) { .sth-feature__img, .sth-feature__body { grid-column: 1 / -1; } }

.sth-article__head { padding-bottom: 40px; gap: 18px; max-width: calc(860px + 2 * var(--sth-pad)); }
.sth-article__head a { color: inherit; text-decoration: none; }
.sth-article__meta { font-size: 15px; color: var(--sth-muted); }
.sth-article__img { margin: 0 var(--sth-pad); }
.sth-article__img img { width: 100%; max-height: 640px; object-fit: cover; }
.sth-article__body { padding-top: 56px; gap: 0; }
.sth-article__more { gap: 40px; }

/* Lesetext (Beiträge und einfache Seiten) */
.sth-prose { font-size: 18px; line-height: 1.7; color: var(--sth-body); }
.sth-prose > * { max-width: 760px; margin: 0 0 1.1em; }
.sth-prose > :is(h2, h3, h4) { margin: 1.6em 0 .5em; color: var(--sth-ink); }
.sth-prose > h2 { font-size: clamp(30px, 2.6vw, 38px); }
.sth-prose > h3 { font-size: clamp(24px, 2vw, 28px); }
.sth-prose > :is(.wp-block-image, .wp-block-gallery, figure, .alignwide, .wp-block-table, .wp-block-columns) { max-width: 1040px; }
.sth-prose > .alignfull { max-width: none; }
.sth-prose img { height: auto; }
.sth-prose ul, .sth-prose ol { padding-left: 1.3em; }
.sth-prose blockquote { margin-left: 0; padding-left: 24px; border-left: 3px solid var(--sth-line-strong); font-family: var(--sth-serif); font-size: 24px; line-height: 1.4; color: var(--sth-ink); }
.sth-prose table { border-collapse: collapse; width: 100%; }
.sth-prose th, .sth-prose td { border-bottom: 1px solid var(--sth-line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.sth-prose-page { padding: var(--sth-sec-y) var(--sth-pad); }
.sth-prose-page__head { max-width: 900px; margin-bottom: 40px; }
.sth-prose-page .sth-prose > * { max-width: 860px; }

.sth-404__links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

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

.sth-footer { background: var(--sth-footer); color: var(--sth-footer-text); }
.sth-footer__inner { padding: 80px var(--sth-pad); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.sth-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; }
.sth-footer a { color: var(--sth-footer-text); }
.sth-footer a:hover { color: #fff; }
.sth-footer__brand { font-family: var(--sth-serif); font-size: 28px; color: #fff; line-height: 1.2; margin-bottom: 2px; }
.sth-footer__muted { font-size: 14px; color: #B8D0CA; }
.sth-footer__social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.sth-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sth-footer__cookie a { color: var(--sth-footer-text); }
@media (max-width: 1000px) { .sth-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sth-footer__inner { grid-template-columns: 1fr; gap: 32px; padding-block: 56px 120px; } }

/* Mobile Buchungsleiste */
.sth-mobilebar { display: none; }
@media (max-width: 760px) {
	.sth-mobilebar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px var(--sth-gutter) calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--sth-line); box-shadow: 0 -8px 24px rgba(43,43,42,.08); transform: translateY(0); transition: transform .25s ease; }
	.sth-mobilebar.is-hidden { transform: translateY(110%); }
	.sth-mobilebar__text { font-size: 15px; font-weight: 600; line-height: 1.3; }
	.sth-mobilebar__text small { font-weight: 400; color: var(--sth-muted); font-size: 13px; }
	.sth-mobilebar .sth-btn { min-height: 48px; padding: 0 18px; font-size: 15px; }
	body { padding-bottom: 76px; }
}

/* --------------------------------------------------------------- Editor */

.editor-styles-wrapper .wp-block-group[class*="is-style-abschnitt"] { padding-inline: 40px; }
.editor-styles-wrapper .wp-block-cover.is-style-hero { padding-inline: 40px; }

/* --------------------------------------------------------------- Abstände: Lücken statt Außenabstände */
.wp-block-group > *, .wp-block-column > *, .wp-block-cover__inner-container > * { margin-block: 0; }
.sth-prose > .wp-block-group > * + * { margin-block-start: 1em; }
.wp-block-group.sth-defs.is-single { grid-template-columns: 1fr; gap: 24px; }
.wp-block-group.sth-usps > .wp-block-group { display: flex; flex-direction: column; gap: 10px; }
.wp-block-group.sth-usps h3 { font-size: 28px; }
.wp-block-heading.has-text-align-center { text-align: center; }
.sth-quote[hidden] { display: none; }

/* --------------------------------------------------------------- Kompaktere Abstände auf dem Handy */
@media (max-width: 640px) {
	:root { --sth-sec-y: 44px; --sth-gap: 16px; }
	.sth-section, .wp-block-group[class*="is-style-abschnitt"] { gap: 28px; }
	.wp-block-group.is-tight { padding-block: 36px; }
	.wp-block-cover.is-style-hero, .wp-block-cover.is-style-hero.is-tall { min-height: min(540px, 76svh) !important; padding-bottom: 48px; }
	.wp-block-cover.is-style-hero .wp-block-cover__inner-container { gap: 16px; }
	.wp-block-group.sth-stats { row-gap: 20px; }
	.wp-block-group.sth-pagehead { padding-bottom: 24px; gap: 16px; }
	.wp-block-group.sth-pagehead p:not([class*="is-style-"]) { font-size: 18px; }
	.wp-block-image.is-style-hoch img { height: 58vw; }
	.wp-block-table.is-style-stohrerhof.is-stack tr { padding: 10px 0; }
	.wp-block-details.is-style-faq { padding: 14px 0; }
	.wp-block-group.sth-awards { min-height: 0; padding-block: 18px; }
	.sth-footer__inner { gap: 24px; padding-block: 40px 110px; }
	.wp-block-image.is-style-kachel img { height: 220px; }
	/* Reine Bildreihen: erstes Bild breit, die übrigen zu zweit nebeneinander */
	.wp-block-group.sth-grid:not(:has(> :not(.wp-block-image))) { grid-template-columns: 1fr 1fr; gap: 10px; }
	.wp-block-group.sth-grid:not(:has(> :not(.wp-block-image))) > :first-child { grid-column: 1 / -1; }
	.wp-block-group.sth-grid:not(:has(> :not(.wp-block-image))) > :not(:first-child) img { height: 150px; }
	.wp-block-image.is-natural-mobile img { height: auto !important; }
}


/* Logo im Fußbereich */
.sth-footer__logo { display: block; width: 168px; margin-bottom: 18px; color: #fff; line-height: 0; }
.sth-footer__logo .sth-logo { width: 100%; height: auto; display: block; }
@media (max-width: 640px) { .sth-brand__mark .sth-logo { height: 40px; } .sth-brand { gap: 10px; } .sth-footer__logo { width: 140px; } }

/* Bilder in natürlichem Format (nicht beschnitten) */
.wp-block-image.is-natural img { height: auto; width: 100%; object-fit: initial; }

/* Bildvergrößerung (Raumpläne) */
.sth-lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.sth-lightbox::backdrop { background: rgba(20, 22, 21, .82); }
.sth-lightbox__inner { position: relative; background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.sth-lightbox img { display: block; max-width: calc(96vw - 32px); max-height: calc(96vh - 90px); width: auto; height: auto; margin: 0 auto; }
.sth-lightbox__cap { font-size: 15px; color: var(--sth-ink); margin: 0; }
.sth-lightbox__close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sth-accent); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.sth-lightbox__close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 640px) { .sth-lightbox__close { top: 6px; right: 6px; } }
a.sth-zoom { cursor: zoom-in; }
.wp-block-image.pos-chapel img { object-position: center 30%; }
