/* barfuß erleben – ergänzende Stile */

/* Kursives Akzentwort in Überschriften (im Editor: Wort markieren + Strg/Cmd+I) */
:where(h1, h2, h3, .wp-block-post-title, .be-logo) em {
	font-style: italic;
	font-weight: 300;
	color: var(--wp--preset--color--terrakotta);
}
.has-moos-background-color :where(h1, h2, h3, .be-logo) em,
.has-erde-background-color :where(h1, h2, h3, .be-logo) em {
	color: var(--wp--preset--color--terrakotta-hell);
}

/* Logo (Wortmarke) */
.be-logo {
	font-family: var(--wp--preset--font-family--fraunces);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1;
	margin: 0;
}
.be-logo a { text-decoration: none; color: inherit; }

/* Links ohne Unterstrich in Navigation und Karten */
.wp-block-navigation a,
.be-karte a,
.wp-block-post-title a { text-decoration: none; }

/* Überzeile */
.is-style-eyebrow {
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--salbei-dunkel);
}
.has-moos-background-color .is-style-eyebrow { color: #C9D0BE; }

/* Etikett (kleines Label) */
.is-style-etikett,
.wp-block-post-terms.is-style-etikett a,
.be-etiketten .wp-block-post-terms a {
	display: inline-block;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--wp--preset--color--salbei);
	color: var(--wp--preset--color--moos);
	font-size: 11px !important;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.4;
}
p.is-style-etikett { width: fit-content; margin-block: 0; }
p.is-style-etikett.has-terrakotta-background-color { color: #fff; }
.be-etiketten .wp-block-post-terms__separator { display: none; }

/* Weiterlesen-Link */
.is-style-mehr,
.is-style-mehr a {
	font-size: 13px !important;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--terrakotta);
	text-decoration: none;
}

/* Bild im Bogen */
.wp-block-image.is-style-bogen img,
.wp-block-image.is-style-bogen .components-placeholder {
	border-radius: 999px 999px 16px 16px / 50% 50% 16px 16px !important;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	width: 100%;
}

/* Karten und Boxen */
.wp-block-group.is-style-karte {
	background: var(--wp--preset--color--papier);
	border-radius: 16px;
	box-shadow: 0 6px 20px rgba(46, 58, 42, 0.08);
	overflow: hidden;
}
.wp-block-group.is-style-rahmen {
	background: var(--wp--preset--color--papier);
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: 16px;
}
.is-style-karte > .wp-block-image,
.is-style-karte > .wp-block-post-featured-image { margin: 0; }
.is-style-karte > .wp-block-image img,
.is-style-karte > .wp-block-post-featured-image img { border-radius: 0; }

/* Buttons */
.wp-block-button.is-style-affiliate .wp-block-button__link {
	background: var(--wp--preset--color--terrakotta);
	color: #fff;
}
.wp-block-button.is-style-affiliate .wp-block-button__link:hover {
	background: #8C4E31;
	color: #fff;
}
.wp-block-button.is-style-chip .wp-block-button__link {
	background: var(--wp--preset--color--salbei);
	color: var(--wp--preset--color--moos);
	font-size: 15px;
	font-weight: 600;
	padding: 11px 18px;
	min-height: 44px;
	box-sizing: border-box;
}
.wp-block-button.is-style-chip .wp-block-button__link:hover {
	background: var(--wp--preset--color--moos);
	color: var(--wp--preset--color--papier);
}
.wp-block-button.is-style-outline .wp-block-button__link {
	border: 1.5px solid currentColor;
	background: transparent;
	color: var(--wp--preset--color--moos);
}
.has-moos-background-color .wp-block-button.is-style-outline .wp-block-button__link { color: var(--wp--preset--color--papier); }
.wp-block-button__link { transition: background-color .15s ease, color .15s ease; }

/* Vorteile / Nachteile */
ul.is-style-vorteile,
ul.is-style-nachteile { list-style: none; padding-left: 0; }
ul.is-style-vorteile li,
ul.is-style-nachteile li { position: relative; padding-left: 1.6em; margin: 0.25em 0; }
ul.is-style-vorteile li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--salbei-dunkel); font-weight: 800; }
ul.is-style-nachteile li::before { content: "–"; position: absolute; left: 0.1em; color: var(--wp--preset--color--terrakotta); font-weight: 800; }

/* Vergleichstabelle */
.wp-block-table.is-style-vergleich { border-radius: 16px; overflow: hidden; border: 1px solid var(--wp--preset--color--linie); background: var(--wp--preset--color--papier); }
.wp-block-table.is-style-vergleich table { border-collapse: collapse; width: 100%; }
.wp-block-table.is-style-vergleich thead { border: 0; }
.wp-block-table.is-style-vergleich th { background: var(--wp--preset--color--moos); color: var(--wp--preset--color--leinen); text-align: left; font-size: 13px; font-weight: 700; padding: 14px 18px; border: 0; }
.wp-block-table.is-style-vergleich td { padding: 16px 18px; border: 0; border-bottom: 1px solid #E6DECF; }
.wp-block-table.is-style-vergleich tr:last-child td { border-bottom: 0; }
.wp-block-table.is-style-vergleich td:first-child { font-weight: 800; }
.wp-block-table.is-style-vergleich a { color: var(--wp--preset--color--terrakotta); font-weight: 700; }

/* FAQ (Details-Block) */
.wp-block-details summary { font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; color: var(--wp--preset--color--terrakotta); font-weight: 700; }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { margin-top: 12px; color: var(--wp--preset--color--grau); }

/* Hinweisleiste oben */
.be-topbar p { margin: 0; }

/* Bild-Platzhalter vollflächig in Media-Text */
.wp-block-media-text.be-split { border-radius: 24px; overflow: hidden; }
.wp-block-media-text.be-split .wp-block-media-text__media img { border-radius: 0; }

/* Suche im Kopfbereich */
.wp-block-search.be-suche .wp-block-search__button { background: transparent; color: var(--wp--preset--color--moos); border: 1px solid var(--wp--preset--color--linie); border-radius: 999px; width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; }
.wp-block-search.be-suche .wp-block-search__button svg { fill: currentColor; }

/* Newsletter-Formular (Platzhalter bis Brevo) */
.be-newsletter-hinweis { font-size: 13px; color: #4A5543; }

/* Fokus sichtbar halten */
a:focus-visible, button:focus-visible { outline: 2px solid var(--wp--preset--color--terrakotta); outline-offset: 3px; }

/* Mobile Feinheiten */
@media (max-width: 781px) {
	.be-header-nav { order: 3; }
	.wp-block-columns.be-stack-mobil { gap: 24px; }
	.be-hero-bild { max-width: 560px; margin-inline: auto; }
}

/* Produktkarten (Top 3) */
.wp-block-column.is-style-karte {
	border-radius: 16px;
	box-shadow: 0 6px 20px rgba(46, 58, 42, 0.08);
}
.wp-block-post-template .is-style-karte .wp-block-post-title { margin: 0; }
.wp-block-post-template .is-style-karte .wp-block-post-excerpt { margin: 0; }
.wp-block-post-template .is-style-karte .wp-block-post-excerpt__excerpt { margin: 0; }
.wp-block-post-template .is-style-karte .wp-block-read-more { margin-top: auto; }

/* Korrekturen */
:where(h1, h2, h3, h4) a { text-decoration: none; }
.wp-block-post-terms.be-etiketten a {
	display: inline-block;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--wp--preset--color--salbei);
	color: var(--wp--preset--color--moos);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.4;
}
.wp-block-post-terms.be-etiketten .wp-block-post-terms__separator { display: none; }
footer .wp-block-list { list-style: none; }
footer a { text-decoration: none; }
.be-look-titel { gap: 2px !important; }
.wp-block-post-content > h2 { margin-top: 1.6em; }
.wp-block-post-content > h3 { margin-top: 1.4em; }
@media (max-width: 781px) {
	.wp-block-columns.be-2spalten-mobil { flex-wrap: wrap !important; gap: 20px 16px !important; }
	.wp-block-columns.be-2spalten-mobil > .wp-block-column { flex-basis: calc(50% - 8px) !important; flex-grow: 0 !important; }
	.be-2spalten-mobil h3 { font-size: 20px !important; }
	.be-2spalten-mobil h4 { font-size: 17px !important; }
}

/* Blogartikel */
.be-lead { color: var(--wp--preset--color--grau); line-height: 1.6; }
.be-fazit > * { margin-block: 0; }
.be-fazit h2 { margin-top: 0 !important; }

/* Lesedauer mit Uhr-Symbol */
.be-lesezeit { display: inline-flex; align-items: center; gap: 6px; margin: 0; line-height: 1.4; }
.be-lesezeit::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -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' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") no-repeat center / contain; 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' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") no-repeat center / contain; }
.wp-block-post-template .be-lesezeit { margin-top: 2px; }

/* KI-Kennzeichnung auf Bildern */
.wp-block-image:has(.be-ki-hinweis), .wp-block-post-featured-image:has(.be-ki-hinweis), .wp-block-media-text__media:has(.be-ki-hinweis) { position: relative; }
.be-ki-hinweis { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 999px; background: rgba(251, 248, 243, 0.82); -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2); border: 1px solid rgba(221, 211, 195, 0.9); box-shadow: 0 2px 10px rgba(37, 34, 29, 0.12); color: #2E3A2A; font-family: var(--wp--preset--font-family--manrope, "Manrope", sans-serif); font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; line-height: 1.4; pointer-events: none; white-space: nowrap; }
.be-ki-hinweis::before { content: ""; flex: none; width: 11px; height: 11px; background: #A65F3D; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.5 4.9 2.6 8 9.5 10.5-6.9 2.5-9 5.6-9.5 10.5-.5-4.9-2.6-8-9.5-10.5C9.4 9.5 11.5 6.4 12 1.5z'/%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'%3E%3Cpath d='M12 1.5c.5 4.9 2.6 8 9.5 10.5-6.9 2.5-9 5.6-9.5 10.5-.5-4.9-2.6-8-9.5-10.5C9.4 9.5 11.5 6.4 12 1.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .be-ki-hinweis { background: rgba(251, 248, 243, 0.94); } }
@media (max-width: 781px) { .be-ki-hinweis { left: 10px; bottom: 10px; padding: 4px 9px 4px 8px; font-size: 9.5px; } .be-ki-hinweis::before { width: 10px; height: 10px; } }
.wp-block-image.is-style-bogen .be-ki-hinweis { left: 50%; transform: translateX(-50%); bottom: 16px; }

/* ===== Handy-Optimierung ===== */
@media (max-width: 781px) {
	/* Überschriften etwas kompakter */
	.wp-block-post-content h2:not(.has-x-large-font-size) { font-size: clamp(25px, 7vw, 30px) !important; line-height: 1.15; }
	.wp-block-post-content > h2 { margin-top: 1.3em; }
	/* Tabellen mit 3+ Spalten seitlich wischbar statt gequetscht */
	.wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.wp-block-table.is-style-vergleich table:has(th:nth-child(3)) { min-width: 560px; }
	.wp-block-table.is-style-vergleich th, .wp-block-table.is-style-vergleich td { padding: 12px 14px; }
	/* Bild-Text-Bereiche: mehr Platz für den Text */
	.wp-block-media-text.be-split > .wp-block-media-text__content { padding: 28px 22px !important; }
	.wp-block-media-text.be-split > .wp-block-media-text__content > .wp-block-group { padding-left: 0 !important; padding-right: 0 !important; }
	.wp-block-media-text.be-split > .wp-block-media-text__media img { min-height: 220px; max-height: 340px; }
	/* Kurzfakten (Über mich) */
	.be-fakten .is-style-rahmen { padding: 16px !important; }
	.be-fakten .is-style-rahmen :is(h3, h4, p:not(.is-style-eyebrow)) { font-size: 17px !important; line-height: 1.3; }
	/* Kästen mit Rahmen/Karte etwas weniger Innenabstand */
	.wp-block-group.is-style-rahmen { padding-left: 20px !important; padding-right: 20px !important; }
	.be-fazit { padding-left: 22px !important; padding-right: 22px !important; }
}
@media (max-width: 480px) {
	/* Karten mit Text auf schmalen Handys untereinander statt zu zweit */
	.wp-block-columns.be-2spalten-mobil:has(.is-style-karte) > .wp-block-column,
	.wp-block-columns.be-2spalten-mobil:has(> .wp-block-column > .is-style-karte) > .wp-block-column,
	.be-fakten .wp-block-columns.be-2spalten-mobil > .wp-block-column { flex-basis: 100% !important; }
	.be-fakten .wp-block-columns { gap: 12px !important; }
}

/* Handy-Menü als ruhige Vollbild-Ansicht */
.wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--leinen) !important; color: var(--wp--preset--color--moos) !important; padding: 20px 24px 40px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 64px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--linie); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: 16px 0 !important; font-family: var(--wp--preset--font-family--fraunces); font-size: 26px; font-weight: 400; color: var(--wp--preset--color--moos) !important; text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--terrakotta) !important; }
.wp-block-navigation__responsive-container-close { top: 18px !important; right: 18px !important; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }

/* Produktkarte (Vergleichsseite) */
.wp-block-media-text.be-produkt { background: var(--wp--preset--color--papier); border: 1px solid var(--wp--preset--color--linie); border-radius: 20px; overflow: hidden; }
.wp-block-media-text.be-produkt .wp-block-media-text__media { align-self: stretch; min-height: 320px; background: var(--wp--preset--color--sand); }
.wp-block-media-text.be-produkt .wp-block-media-text__media img { height: 100%; object-fit: cover; }
.wp-block-media-text.be-produkt .wp-block-media-text__content { padding: 32px 40px; }
.wp-block-media-text.be-produkt .wp-block-media-text__content > * { margin-block: 0 12px; }
@media (max-width: 781px) {
	.wp-block-media-text.be-produkt .wp-block-media-text__media { min-height: 220px; }
	.wp-block-media-text.be-produkt .wp-block-media-text__content { padding: 22px 20px 26px; }
}

/* Untermenü (Vergleiche) */
.be-header-nav .wp-block-navigation__submenu-container { background: var(--wp--preset--color--papier) !important; border: 1px solid var(--wp--preset--color--linie) !important; border-radius: 14px; box-shadow: 0 10px 28px rgba(46, 58, 42, 0.12); padding: 8px !important; min-width: 190px !important; }
.be-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 14px !important; border-radius: 10px; color: var(--wp--preset--color--moos); }
.be-header-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--salbei); color: var(--wp--preset--color--moos); }
.be-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; background: transparent !important; padding: 0 0 0 16px !important; }
.be-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { width: 100% !important; align-items: stretch !important; margin: 0 !important; padding: 0 0 6px 18px !important; gap: 0 !important; }
.be-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; }
.be-header-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 20px !important; padding: 10px 0 !important; color: var(--wp--preset--color--grau); }
