/* kiwis – Basis. Werte aus dem Original übernommen (Container 1300px, Kopfbereich 120px). */

:root {
	--kiwis-header-height: 120px;
	--kiwis-transition: 300ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* Der Nachbau übernimmt die Laufweite des Originals, die Gutenberg nicht selbst setzt. */
body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

/* Kopfbereich: fest 120px hoch wie im Original, Logo linksbündig im Raster. */
.kiwis-header {
	min-height: var(--kiwis-header-height);
	display: flex;
	align-items: center;
}



/* Navigation: Roboto 700, Großbuchstaben, ohne Unterstreichung. */
.kiwis-nav a {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: normal;
	transition: opacity var(--kiwis-transition);
}

.kiwis-nav a:hover {
	opacity: 0.65;
}

/* Sanftes Einblenden beim Scrollen – ersetzt edgtf_animation_holder.
   Läuft über scroll-driven animations, wo verfügbar; sonst zeigt die
   Seite den Inhalt einfach sofort an. */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.kiwis-reveal {
			animation: kiwis-fade-up linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 55%;
		}
	}
}

@keyframes kiwis-fade-up {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: none; }
}

/* Fallback-Zustände, die kiwis.js setzt. */
.kiwis-reveal.needs-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.kiwis-reveal.needs-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------------------------------------------------------------
   Kachelraster der Startseite
   Ersetzt die Masonry-Galerie des Page Builders. Grundmaß wie im
   Original: vier Spalten auf 1300px, Zeilenhöhe 318px, 10px Abstand.
   --------------------------------------------------------------- */

.kiwis-raster {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 318px;
	grid-auto-flow: dense;
	gap: 10px;
	max-width: 1300px;
	margin-inline: auto;
}

.kiwis-raster > * {
	margin-block: 0;
	overflow: hidden;
	position: relative;
}

.kiwis-kachel--gross { grid-column: span 2; grid-row: span 2; }
.kiwis-kachel--hoch  { grid-row: span 2; }
.kiwis-kachel--quer  { grid-column: span 2; }

/* Bilder füllen ihre Kachel vollständig. */
.kiwis-raster .wp-block-image,
.kiwis-raster .wp-block-image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	display: block;
}

.kiwis-raster .wp-block-cover {
	min-height: 100%;
	height: 100%;
	padding: 32px;
}

/* Überschrift unten links wie im Original, Großbuchstaben. */
.kiwis-raster .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	gap: 12px;
}

.kiwis-raster h3 {
	margin: 0;
	font-size: 35px;
	line-height: 1.3;
	letter-spacing: -1.05px;
}

/* Ganze Kachel klickbar, ohne den Link seiner Bedeutung zu berauben. */
.kiwis-kachel h3 a {
	color: inherit;
	text-decoration: none;
}

.kiwis-kachel h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.kiwis-kachel img {
	transition: transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.kiwis-kachel:hover img {
	transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
	.kiwis-kachel img,
	.kiwis-kachel:hover img { transition: none; transform: none; }
}

/* Textkachel und Öffnungszeiten */
.kiwis-kachel--text { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.kiwis-kachel--text h3 { margin-bottom: 12px; }
.kiwis-kachel--zeiten .wp-block-cover__inner-container { justify-content: space-between; }
.kiwis-kachel--zeiten table { width: 100%; color: inherit; font-size: 14px; }

/* Unter 1000px zwei Spalten, auf dem Telefon eine – wie im Original,
   das dort auf ein Karussell umschaltet. */
@media (max-width: 1000px) {
	.kiwis-raster { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
	.kiwis-kachel--gross { grid-column: span 2; grid-row: span 2; }
	.kiwis-kachel--quer  { grid-column: span 2; }
}

@media (max-width: 600px) {
	.kiwis-raster { grid-template-columns: 1fr; grid-auto-rows: 240px; }
	.kiwis-kachel--gross,
	.kiwis-kachel--quer,
	.kiwis-kachel--hoch { grid-column: span 1; grid-row: span 1; }
	.kiwis-raster h3 { font-size: 26px; }
}

/* Öffnungszeiten */
.kiwis-zeiten__tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.kiwis-zeiten__tabelle th,
.kiwis-zeiten__tabelle td { padding: 6px 0; text-align: left; font-weight: 400; border-bottom: 1px solid rgba(255,255,255,0.18); }
.kiwis-zeiten__tabelle td { text-align: right; }
.kiwis-zeiten__zeile--heute th,
.kiwis-zeiten__zeile--heute td { font-weight: 700; }


/* ---------------------------------------------------------------
   Kopfbereich: dreigeteilt wie im Original – Menü links, Logo
   zentriert, Menü und Reservieren-Schaltfläche rechts.
   --------------------------------------------------------------- */

.kiwis-header {
	position: relative;
	z-index: 20;
}

.kiwis-header__innen {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	min-height: var(--kiwis-header-height);
	max-width: 1300px;
	margin-inline: auto;
	padding-inline: 20px;
}

.kiwis-header__links  { justify-self: start; gap: 28px; }
.kiwis-header__rechts { justify-self: end;   gap: 28px; }

.kiwis-header__logo { justify-self: center; margin: 0; }
.kiwis-header__logo img { height: 100px; width: auto; display: block; }

/* Menüpunkte: Roboto 700, Großbuchstaben, 15px – wie gemessen. */
.kiwis-header .wp-block-navigation {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
}

.kiwis-header .wp-block-navigation a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.kiwis-header .wp-block-navigation__container { gap: 28px; }

/* Reservieren-Schaltfläche etwas kompakter als der Fließtext-Button. */
.kiwis-header__cta .wp-block-button__link {
	padding: 10px 26px;
	font-size: 12px;
	border-radius: 5px;
}

/* Öffnungszeiten-Hinweis links außen. */
.kiwis-header .kiwis-status {
	white-space: nowrap;
	font-weight: 400;
	text-transform: none;
	color: var(--wp--preset--color--text);
}

@media (max-width: 1100px) {
	.kiwis-header__innen { grid-template-columns: auto 1fr; gap: 16px; }
	.kiwis-header__logo  { grid-row: 1; grid-column: 1; justify-self: start; }
	.kiwis-header__logo img { height: 64px; }
	.kiwis-header__links  { grid-row: 1; grid-column: 2; justify-self: end; }
	.kiwis-header__rechts { grid-row: 1; grid-column: 2; justify-self: end; }
	.kiwis-header .kiwis-status { display: none; }
}

/* ---------------------------------------------------------------
   Titelbereich der Unterseiten
   Im Original 518px hoch, Bild oben zentriert, Titel in 80px weiß,
   darüber der Kopfbereich ohne eigenen Hintergrund.
   --------------------------------------------------------------- */

.kiwis-titelbereich {
	margin-block-start: 0;
}

.kiwis-titelbereich .wp-block-cover__image-background {
	object-position: 50% 0;
}

.kiwis-seitentitel {
	font-size: clamp(2.5rem, 1rem + 5vw, 80px);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	margin: 0;
}

/* Liegt ein Titelbereich vor, schwebt der Kopfbereich darüber.
   Auf Seiten ohne Titelbereich bleibt er normal im Fluss. */
.wp-site-blocks:has(> .kiwis-titelbereich) .kiwis-header,
.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header {
	position: absolute;
	inset-inline: 0;
	top: 0;
	background: transparent !important;
}

.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header .wp-block-navigation a,
.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header .kiwis-status {
	color: #fff;
}

.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header .kiwis-header__cta .wp-block-button__link {
	background-color: rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, 0.45);
}

/* Das helle Logo auf dem Bild, das farbige auf weißem Grund. */
.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header__logo img {
	filter: brightness(0) invert(1);
}

/* Abschnitte im Inhalt: Grundabstand wie im Original. */
.kiwis-abschnitt {
	margin-block: 0;
}

.kiwis-abschnitt + .kiwis-abschnitt {
	margin-block-start: 0;
}

/* Bildausschnitt wie im Original: keine Skalierung, oben zentriert.
   Auf schmalen Bildschirmen wäre das zu stark beschnitten, dort deckend. */
@media (min-width: 1200px) {
	.kiwis-titelbereich .wp-block-cover__image-background {
		object-fit: none;
		object-position: 50% 0;
	}
}

/* Der Titel steht im Original bei rund 40 % der Höhe, nicht mittig. */
.kiwis-titelbereich .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding-top: 22px;
	width: 100%;
}

@media (max-width: 782px) {
	.kiwis-titelbereich { min-height: 360px !important; }
	.kiwis-titelbereich .wp-block-cover__inner-container { padding-top: 120px; }
}

/* Aufklappbereiche schlicht halten – der Page Builder hatte hier ein
   Akkordeon mit Rahmen. */
.wp-block-details {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding-block: 14px;
}

.wp-block-details summary {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 15px;
	cursor: pointer;
	letter-spacing: -0.45px;
}

/* Spaltenabstand wie im Raster des Originals. */
.wp-block-columns { gap: 30px; }

@media (max-width: 781px) {
	.wp-block-columns { gap: 20px; }
}

/* Zustandsanzeige der Öffnungszeiten.
   Fünf Zustände: geöffnet, schließt bald, öffnet bald, geschlossen, Urlaub. */
.kiwis-status {
	font-size: 13px;
	letter-spacing: -0.45px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.kiwis-status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex: none;
	background: currentColor;
}

.kiwis-status--offen::before          { background: #2e7d32; }
.kiwis-status--schliesst_bald::before { background: #ef6c00; }
.kiwis-status--oeffnet_bald::before   { background: #ef6c00; }
.kiwis-status--geschlossen::before    { background: #c62828; }
.kiwis-status--urlaub::before         { background: #6a1b9a; }

/* Der Punkt pulsiert dezent, solange etwas unmittelbar bevorsteht. */
@media (prefers-reduced-motion: no-preference) {
	.kiwis-status--oeffnet_bald::before,
	.kiwis-status--schliesst_bald::before {
		animation: kiwis-puls 2.4s ease-in-out infinite;
	}
}

@keyframes kiwis-puls {
	0%, 100% { opacity: 1; }
	50%      { opacity: 0.35; }
}

.kiwis-zeiten__status {
	margin-block: 14px 0;
	font-size: 13px;
}

/* Die Seitentitel-Größe von 80px gilt für große Bildschirme; darunter
   skaliert sie, damit lange Titel nicht umbrechen. */
@media (max-width: 1100px) {
	.kiwis-seitentitel { font-size: clamp(2.25rem, 1rem + 4.5vw, 80px) !important; }
}

/* Überschriften in Kacheln behalten ihre kompakten Abstände. */
.kiwis-raster h3,
.kiwis-titelbereich h1 {
	margin-block: 0;
}

/* Überschriften-Abstände wie im Original (25px oben und unten).
   Die Block-Styles von WordPress setzen hier 0, deshalb explizit. */
main :is(h1, h2, h3, h4, h5, h6),
.wp-block-group :is(h2, h3, h4, h5, h6) {
	margin-block: 25px;
}

/* In Kacheln, Titelbereichen und Aufklappern bleibt es kompakt. */
.kiwis-raster :is(h1, h2, h3, h4, h5, h6),
.kiwis-titelbereich :is(h1, h2, h3),
.wp-block-details summary :is(h1, h2, h3, h4, h5, h6),
.kiwis-kachel--text :is(h2, h3) {
	margin-block: 0;
}

.kiwis-kachel--text h3 { margin-bottom: 12px; }

/* Erste Überschrift eines Abschnitts braucht oben keinen zusätzlichen Abstand. */
.wp-block-column > :is(h1, h2, h3, h4, h5, h6):first-child,
.wp-block-group > :is(h1, h2, h3, h4, h5, h6):first-child {
	margin-block-start: 0;
}

/* ---------------------------------------------------------------
   Kopfbereich auf schmalen Bildschirmen
   Desktop zeigt das geteilte Menü, darunter übernimmt ein einziges
   Aufklappmenü mit allen Punkten – sonst erschienen zwei Schaltflächen.
   --------------------------------------------------------------- */

.kiwis-nav--mobil { display: none; }

.kiwis-header__cta .wp-block-button__link {
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.kiwis-header__innen {
		grid-template-columns: auto 1fr auto;
		gap: 12px;
		min-height: 84px;
	}

	.kiwis-header__logo { grid-column: 1; justify-self: start; }
	.kiwis-header__logo img { height: 56px; }

	/* Geteiltes Menü aus, ein gemeinsames Aufklappmenü an. */
	.kiwis-header__links,
	.kiwis-header__rechts .wp-block-navigation:not(.kiwis-nav--mobil) {
		display: none;
	}

	.kiwis-header__rechts {
		grid-column: 2;
		justify-self: end;
	}

	.kiwis-nav--mobil {
		display: block;
		grid-column: 3;
		justify-self: end;
	}

	.kiwis-header__cta .wp-block-button__link {
		padding: 9px 18px;
		font-size: 11px;
	}
}

@media (max-width: 480px) {
	.kiwis-header__logo img { height: 46px; }
	.kiwis-header__cta .wp-block-button__link { padding: 8px 14px; }
}

/* Aufklappmenü: Schrift und Farben wie im übrigen Kopfbereich. */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--primary);
}

.wp-block-navigation__responsive-container.is-menu-open a {
	color: #fff;
	font-size: 19px;
}

/* Eindeutig: unter 1100px ist nur das gemeinsame Aufklappmenü sichtbar.
   Die beiden geteilten Menüs des Kopfbereichs bleiben dem Desktop vorbehalten. */
@media (max-width: 1100px) {
	.kiwis-header .wp-block-navigation:not(.kiwis-nav--mobil) {
		display: none !important;
	}
}

/* Umgekehrt: oberhalb bleibt das gemeinsame Menü verborgen. */
@media (min-width: 1101px) {
	.kiwis-nav--mobil {
		display: none !important;
	}
}

/* Auf Seiten mit Titelbild ist der gesamte Kopfbereich hell –
   auch die Schaltfläche des Aufklappmenüs, nicht nur die Links. */
.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header .wp-block-navigation__responsive-container-open,
.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header .wp-block-navigation__responsive-container-open svg {
	color: #fff;
	fill: currentColor;
}

/* Damit helle Bildstellen den Kopfbereich nicht verschlucken, liegt ein
   sehr sanfter Verlauf darunter – im Original übernimmt das die Bildwahl. */
.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
	pointer-events: none;
	z-index: -1;
}

.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header {
	isolation: isolate;
}

/* ---------------------------------------------------------------
   Fußbereich: vier Spalten auf Petrol, Überschriften 19px weiß.
   Maße aus dem Original: Spalte 333px, Inhalt 303px, Gesamthöhe ~513px.
   --------------------------------------------------------------- */

.kiwis-footer {
	margin-block-start: 0;
	padding-block: 90px 70px;
}

.kiwis-footer__innen {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	max-width: 1300px;
	margin-inline: auto;
	padding-inline: 20px;
}

.kiwis-footer__spalte > * { margin-block: 0; }

.kiwis-footer__titel {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.57px;
	text-transform: uppercase;
	margin-block: 0 22px !important;
}

.kiwis-footer__marke {
	font-size: 15px;
	line-height: 1.667;
	margin-block-end: 18px;
}

.kiwis-footer__liste {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.667;
}

.kiwis-footer__liste li { margin-block-end: 10px; }

.kiwis-footer a {
	color: inherit;
	text-decoration: none;
	transition: opacity 200ms ease;
}

.kiwis-footer a:hover { opacity: 0.7; }

.kiwis-footer a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* Symbole vor Adresse, Telefon und E-Mail wie im Original. */
.kiwis-footer__eintrag {
	position: relative;
	padding-left: 26px;
}

.kiwis-footer__eintrag::before {
	position: absolute;
	left: 0;
	top: 1px;
	width: 16px;
	height: 16px;
	content: "";
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.kiwis-footer__eintrag--ort::before {
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z"/></svg>');
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z"/></svg>');
}

.kiwis-footer__eintrag--tel::before {
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2Z"/></svg>');
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2Z"/></svg>');
}

.kiwis-footer__eintrag--mail::before {
	-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 4-8 5-8-5V6l8 5 8-5v2Z"/></svg>');
	mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 4-8 5-8-5V6l8 5 8-5v2Z"/></svg>');
}

/* Öffnungszeiten im Fußbereich als schlichte Liste. */
.kiwis-zeiten-liste {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.667;
}

.kiwis-zeiten-liste li { margin-block-end: 6px; }
.kiwis-zeiten-liste span { font-weight: 400; }

/* Schaltfläche im Fußbereich: heller Rahmen auf dunklem Grund. */
.kiwis-footer__cta { margin-block-end: 24px; }

.kiwis-footer__cta .wp-block-button__link {
	background-color: transparent;
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff;
	padding: 11px 34px;
}

.kiwis-footer__cta .wp-block-button__link:hover {
	background-color: #fff;
	color: var(--wp--preset--color--primary);
}

.kiwis-footer__liste--recht li { margin-block-end: 8px; }

/* Symbole der sozialen Netzwerke. */
.kiwis-footer__social {
	list-style: none;
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.kiwis-footer__social a {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	transition: background-color 200ms ease, color 200ms ease;
}

.kiwis-footer__social a:hover {
	background-color: #fff;
	color: var(--wp--preset--color--primary);
	opacity: 1;
}

@media (max-width: 900px) {
	.kiwis-footer__innen { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
	.kiwis-footer { padding-block: 60px 50px; }
}

@media (max-width: 560px) {
	.kiwis-footer__innen { grid-template-columns: 1fr; gap: 34px; }
}

/* ---------------------------------------------------------------
   Hauptmenü: Abstände und Aufklappmenüs wie im Original.
   Menüpunkte 0/24px Innenabstand, Untermenü 240px breit auf
   Terracotta (#cd8f78).
   --------------------------------------------------------------- */

.kiwis-header .wp-block-navigation__container {
	gap: 0;
}

.kiwis-header .wp-block-navigation-item > .wp-block-navigation-item__content {
	padding: 0 24px;
	display: inline-flex;
	align-items: center;
}

/* Aufklappmenü */
.kiwis-header .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--accent) !important;
	border: 0 !important;
	min-width: 240px;
	padding-block: 12px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.kiwis-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: #fff !important;
	padding: 9px 24px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: -0.39px;
	width: 100%;
}

.kiwis-header .wp-block-navigation__submenu-container .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
	opacity: 0.75;
}

/* Der Pfeil des Aufklappmenüs bleibt dezent. */
.kiwis-header .wp-block-navigation__submenu-icon {
	margin-left: 4px;
	opacity: 0.8;
}

/* Hover der Hauptpunkte: Terracotta wie im Original. */
.kiwis-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent);
	opacity: 1;
}

.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header .wp-block-navigation > .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent);
}

/* Schaltflächen: Terracotta beim Überfahren, wie im Bestand hinterlegt. */
.wp-block-button__link:hover {
	background-color: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: #fff;
}

.kiwis-header__cta .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
}

/* ---------------------------------------------------------------
   Logo: farbige Fassung auf hellem Grund, weiße auf dem Titelbild.
   Das Original hält dafür zwei Dateien vor – kein Filter, damit die
   feinen Linien der Zeichnung erhalten bleiben.
   --------------------------------------------------------------- */

.kiwis-header__logo-bereich {
	position: relative;
	justify-self: center;
	line-height: 0;
}

.kiwis-header__logo { margin: 0; display: block; }

.kiwis-header__logo img {
	height: 100px;
	width: auto;
	display: block;
	filter: none;
}

.kiwis-header__logo--hell { display: none; }

/* Auf Seiten mit Titelbild wird getauscht. */
.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header__logo--farbe { display: none; }
.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header__logo--hell  { display: block; }

/* Der frühere Helligkeitsfilter entfällt damit. */
.wp-site-blocks:has(.kiwis-titelbereich) .kiwis-header__logo img { filter: none; }

@media (max-width: 1100px) {
	.kiwis-header__logo img { height: 56px; }
	.kiwis-header__logo-bereich { justify-self: start; }
}

@media (max-width: 480px) {
	.kiwis-header__logo img { height: 46px; }
}

/* Menüs dürfen nicht umbrechen – sonst wächst der Kopfbereich über
   die 120px des Originals hinaus. */
.kiwis-header .wp-block-navigation__container,
.kiwis-header__links,
.kiwis-header__rechts {
	flex-wrap: nowrap;
}

.kiwis-header .wp-block-navigation-item__content {
	white-space: nowrap;
}

.kiwis-header__innen {
	min-height: 120px;
}

/* Etwas engere Innenabstände, damit alles in eine Zeile passt. */
@media (max-width: 1400px) {
	.kiwis-header .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding: 0 16px;
	}
	.kiwis-header__links,
	.kiwis-header__rechts { gap: 16px; }
}

/* WordPress legt über die Wurzel-Abstände 18,75px oben und unten an.
   Der Kopfbereich bringt seine Maße selbst mit (120px). */
.kiwis-header {
	padding: 0 !important;
}

.kiwis-footer {
	padding-inline: 0 !important;
}

/* ---------------------------------------------------------------
   Bilder-Slider (ersetzt den „pageable“-Bereich des Page Builders)
   Wischen funktioniert nativ, die Punkte springen zum Bild.
   --------------------------------------------------------------- */

.kiwis-slider {
	position: relative;
}

.kiwis-slider__spur {
	display: flex;
	gap: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.kiwis-slider__spur::-webkit-scrollbar { display: none; }

.kiwis-slider__folie {
	flex: 0 0 100%;
	scroll-snap-align: center;
	margin: 0;
}

.kiwis-slider__folie img {
	width: 100%;
	height: auto;
	display: block;
}

.kiwis-slider__punkte {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
}

.kiwis-slider__punkt {
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--wp--preset--color--primary);
	background: transparent;
	cursor: pointer;
	transition: background-color 200ms ease, transform 200ms ease;
}

.kiwis-slider__punkt.is-aktiv {
	background: var(--wp--preset--color--primary);
	transform: scale(1.15);
}

.kiwis-slider__punkt:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

/* ---------------------------------------------------------------
   Sichtbarkeitsstufen wie im Page Builder des Originals.
   Die Seite hält für schmale und breite Bildschirme teils
   unterschiedliche Fassungen bereit; diese Klassen bilden das ab.
   Breakpoints: xs < 768, sm 768–991, md 992–1199, lg ab 1200.
   --------------------------------------------------------------- */

@media (max-width: 767px) {
	.kiwis-aus-xs { display: none !important; }
}

@media (min-width: 768px) and (max-width: 991px) {
	.kiwis-aus-sm { display: none !important; }
}

@media (min-width: 992px) and (max-width: 1199px) {
	.kiwis-aus-md { display: none !important; }
}

@media (min-width: 1200px) {
	.kiwis-aus-lg { display: none !important; }
}

/* Das Karussell des Originals zeigt weder Punkte noch Pfeile.
   Die Spur bleibt wischbar und mit den Pfeiltasten bedienbar, damit der
   Inhalt nicht ausschließlich vom Zeitgeber abhängt. */
.kiwis-slider--karussell .kiwis-slider__punkte {
	display: none;
}

.kiwis-slider--karussell .kiwis-slider__spur {
	scroll-behavior: smooth;
}

.kiwis-slider__spur:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 4px;
}
