/* Rahmen für alle Seiten: Kopf, Handymenü, Fuß, Hülle der Inhalts- und Shopseiten.
   Gestaltung aus der Weinshop-Vorlage (Showcase): helle Kopfleiste mit Lesefortschritt, auf der Startseite über dem
   Foto durchsichtig; dunkler Fuß in vier Spalten. Farben vom Bengel-Etikett (css/basis.css). */
:root {
	--kopf: 84px;                /* Höhe der Kopfleiste */
	--kopf-platz: 84px;          /* Abstand der Inhaltsseiten oben, damit der feste Kopf nichts verdeckt */
	--glas: #2e3135db;           /* Anthrazit mit 86 %: Schild auf Fotos */
	--hell-45: #f0f2f273;        /* Papier mit 45 %: Rahmen auf dunklen Flächen */
	--foto-schleier: #1e2024a6;  /* dunkler Verlauf über Fotos mit Schrift */
}

.sprung {
	position: fixed; z-index: 100000; top: var(--pcl-size-8); left: var(--pcl-size-8);
	padding: var(--pcl-size-8) var(--pcl-size-12); border-radius: 0;
	background: var(--pcl-primary-brand-1); color: var(--pcl-primary-light-1) !important;
	font: 600 var(--pcl-body-size-s)/1.429 var(--pcl-body-font);
	transform: translateY(-200%);
	transition: transform .3s var(--pcl-ease);
}
.sprung:focus { transform: none; }

/* Pfeil hinter Knöpfen und Links (Klasse mit-pfeil): rückt beim Überfahren ein Stück nach rechts */
.mit-pfeil::after {
	content: ""; flex: none; width: var(--pcl-size-16); height: var(--pcl-size-16);
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%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 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .5s var(--pcl-ease);
}
.mit-pfeil:hover::after { transform: translateX(var(--pcl-size-4)); }
@media (prefers-reduced-motion: reduce) { .mit-pfeil::after { transition: none; } }

/* Link zum Weinfinder (Startseite bei den Weinen, Shop unter der Einleitung) */
.finder-link { display: inline; font-weight: 600; text-decoration: underline !important; text-underline-offset: 4px; }
.finder-link::after { display: inline-block; margin-left: 8px; vertical-align: -2px; } /* Pfeil bleibt beim Umbruch am letzten Wort */

/* Inhalts- und Shopseiten: weiß wie in der Vorlage, oben Platz für den festen Kopf */
body:not(.sc-landing) { background: var(--pcl-primary-light-1); }
.seite {
	display: block; padding-top: var(--kopf-platz);
	background: var(--pcl-primary-light-1);
}
.seite__innen { width: 80%; max-width: var(--pcl-container-m); margin: 0 auto; padding: var(--pcl-size-64) 0 var(--pcl-size-80); }
.seite__innen:has(.ws-shop) { padding-bottom: var(--pcl-size-32); } /* Weinliste bringt unten eigenen Abstand mit */
/* Bei kurzen Seiten steht der Fuß am unteren Bildschirmrand: der Inhalt füllt die freie Höhe (alle Seiten) */
body {
	display: flex; flex-direction: column;
	min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
	min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}
body > main { flex: 1 0 auto; }
body > .fuss { flex-shrink: 0; }
@media (max-width: 720px) {
	.seite__innen { width: calc(100% - 2 * var(--pcl-gutter)); }
}

/* Kopf: feste Leiste über die ganze Breite, hell und leicht durchscheinend. Über dem Foto der Startseite durchsichtig
   mit heller Schrift (data-ueber-bild, gesetzt von landing/start.js). Der Strich unten zeigt, wie weit gelesen ist. */
.kopf {
	position: fixed; z-index: 9000; top: 0; left: 0; right: 0;
	color: var(--pcl-primary-dark-1);
	background: color-mix(in srgb, var(--pcl-primary-light-1) 90%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	box-shadow: 0 1px 0 var(--pcl-primary-light-3);
	font-family: var(--pcl-body-font);
	transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.kopf[data-ueber-bild] { background: transparent; color: var(--pcl-primary-light-1); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.kopf[data-ueber-bild] :is(.kopf__marke, .kopf__liste a, .kopf__shop, .ws-suche-btn) { text-shadow: 0 1px 8px rgba(0, 0, 0, .45); filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .3)); } /* ohne Verlauf über dem Foto lesbar */
.admin-bar .kopf { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar #wpadminbar { position: fixed; } }
.kopf__innen {
	display: flex; align-items: center; justify-content: space-between; gap: var(--pcl-size-24);
	width: 100%; max-width: calc(var(--pcl-container-l) + 2 * var(--pcl-gutter)); height: var(--kopf);
	margin: 0 auto; padding: 0 var(--pcl-gutter);
}
.kopf__marke { display: block; flex: none; color: inherit !important; line-height: 0; text-decoration: none; }
/* Logo: Schreibschrift aus der Mediathek als Maske, nimmt die Schriftfarbe an */
.logo { display: block; aspect-ratio: 5 / 2; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.kopf__logo { height: 70px; margin-left: -18px; }
/* Ab 1180 px Breite Handymenü: mit der größeren Menüschrift passt die Zeile darunter nicht mehr neben Logo und Knöpfe */
@media (max-width: 1180px) { :root { --kopf: 72px; --kopf-platz: 72px; } .kopf__logo { height: 58px; margin-left: -14px; } }
.kopf__nav { display: flex; align-self: stretch; align-items: center; }
.kopf__liste { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
.kopf__liste a {
	color: inherit !important; opacity: .85;
	font: 500 1.3125rem/1.2 var(--pcl-body-font); letter-spacing: 0; text-decoration: none;
}
.kopf__liste a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.kopf__liste a[aria-current] { opacity: .55; }
.kopf__aktionen { display: flex; align-items: center; gap: 10px; }
/* „Zum Shop“ sieht aus wie ein Menüpunkt: Textlink ohne Fläche */
.kopf__shop {
	display: inline-flex; align-items: center; margin-right: 14px;
	color: inherit !important; opacity: .85;
	font: 500 1.3125rem/1.2 var(--pcl-body-font); letter-spacing: 0; text-decoration: none;
}
.kopf__shop:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.kopf .ws-suche-btn {
	display: inline-grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 0;
	background: transparent; color: inherit !important; cursor: pointer;
}
.kopf .ws-suche-btn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.kopf .ws-cart {
	position: relative; display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 0;
	background: var(--pcl-primary-brand-1); color: var(--pcl-primary-light-1) !important;
}
.kopf .ws-suche-btn svg, .kopf .ws-cart svg { width: 24px; height: 24px; }
.kopf .ws-cart-count { background: var(--pcl-primary-dark-1); color: var(--pcl-primary-light-2); }
.kopf[data-ueber-bild] .ws-cart-count { background: var(--pcl-primary-light-1); color: var(--pcl-primary-dark-1); }
.kopf :is(a, button):focus-visible, .fuss a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.kopf__fortschritt { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--pcl-primary-brand-1); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Handymenü: Knopf mit drei Strichen, die Punkte klappen als Fläche unter der Kopfleiste auf */
.kopf__menue { display: none; }
@media (max-width: 1180px) {
	.kopf__menue {
		display: inline-grid; place-items: center; width: 42px; height: 42px; margin-right: -8px; padding: 0;
		border: 0; background: none; color: inherit; cursor: pointer;
	}
	.kopf__menue span, .kopf__menue span::before, .kopf__menue span::after { display: block; width: 22px; height: 2px; border-radius: 0; background: currentColor; transition: transform .25s ease, background-color .25s ease; }
	.kopf__menue span { position: relative; }
	.kopf__menue span::before, .kopf__menue span::after { content: ""; position: absolute; left: 0; }
	.kopf__menue span::before { transform: translateY(-7px); }
	.kopf__menue span::after { transform: translateY(7px); }
	.kopf.ist-offen .kopf__menue span { background: transparent; }
	.kopf.ist-offen .kopf__menue span::before { transform: rotate(45deg); }
	.kopf.ist-offen .kopf__menue span::after { transform: rotate(-45deg); }

	.kopf__nav { display: none; }
	.kopf.ist-offen, .kopf.ist-offen[data-ueber-bild] { background: var(--pcl-primary-light-1); color: var(--pcl-primary-dark-1); box-shadow: 0 1px 0 var(--pcl-primary-light-3); }
	/* Aufgeklappt: Menü füllt den ganzen Bildschirm unter der Kopfleiste */
	.kopf.ist-offen .kopf__nav {
		display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0;
		height: calc(100vh - var(--kopf)); height: calc(100dvh - var(--kopf)); overflow-y: auto; overscroll-behavior: contain;
		padding: var(--pcl-size-24) var(--pcl-gutter) calc(32px + env(safe-area-inset-bottom, 0px));
		background: var(--pcl-primary-light-1);
	}
	.kopf.ist-offen .kopf__nav > * { align-self: stretch; }
	.kopf.ist-offen .kopf__liste { flex-direction: column; align-items: stretch; gap: 0; }
	.kopf.ist-offen .kopf__liste a {
		display: block; padding: 14px 0; border-bottom: 1px solid var(--pcl-primary-light-3); opacity: 1;
		font: 400 clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem)/1.2 var(--pcl-heading-font); letter-spacing: 0;
	}
	.kopf.ist-offen .kopf__liste a:hover { text-decoration: none; color: var(--pcl-primary-brand-1) !important; }
	.kopf.ist-offen .ws-cart-count { background: var(--pcl-primary-dark-1); color: var(--pcl-primary-light-2); }
}
/* „Zum Shop“ steht einmal: oben im Kopf, auf schmalen Handys stattdessen unten im aufgeklappten Menü */
.kopf__shop--menue { display: none !important; }
@media (max-width: 560px) {
	.kopf__aktionen .kopf__shop { display: none; }
	/* im aufgeklappten Menü wie die übrigen Punkte */
	.kopf.ist-offen .kopf__shop--menue {
		display: block !important; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--pcl-primary-light-3); opacity: 1;
		font: 400 clamp(1.75rem, 1.4rem + 1.6vw, 2.25rem)/1.2 var(--pcl-heading-font); letter-spacing: 0;
	}
	.kopf.ist-offen .kopf__shop--menue:hover { text-decoration: none; color: var(--pcl-primary-brand-1) !important; }
}

/* Fuß */
.fuss {
	position: relative; overflow: hidden; z-index: 3;
	padding: 72px var(--pcl-gutter) var(--pcl-size-32);
	background: var(--pcl-secondary-brand-1); color: var(--pcl-primary-light-2);
	font: 400 var(--pcl-body-size-s)/1.429 var(--pcl-body-font);
}
.fuss__innen {
	position: relative; display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: var(--pcl-size-48);
	max-width: var(--pcl-container-l); margin: 0 auto;
}
.fuss__logo { width: 132px; margin-top: calc(-1 * var(--pcl-size-12)); color: var(--pcl-primary-light-1); }
.fuss h2.fuss__titel {
	margin: 0 0 var(--pcl-size-12); padding: 0; color: var(--pcl-primary-light-1) !important;
	font: 600 .95rem/1.3 var(--pcl-body-font) !important; letter-spacing: 0;
}
.fuss p { margin: 0 0 var(--pcl-size-12); padding: 0; }
.fuss ul { margin: 0; padding: 0; list-style: none; }
.fuss li { padding: var(--pcl-size-2) 0; }
.fuss a { color: var(--pcl-primary-light-2) !important; text-decoration: none; transition: opacity .3s var(--pcl-ease); }
.fuss a:hover { opacity: .7; }
.fuss__zeile { position: relative; max-width: var(--pcl-container-l); margin: var(--pcl-size-48) auto 0 !important; color: var(--pcl-primary-light-3); font-size: var(--pcl-body-size-xs); line-height: 1.333; }
/* „Vertrag widerrufen“ (Germanized, a.button): gesetzlich vorgeschrieben und gut sichtbar – hell gefüllt auf dem
   dunklen Fuß, auf allen Seiten gleich. WooCommerce macht ihn auf Shopseiten sonst groß. */
body .fuss a.button, body .fuss .eu-owb-order-withdrawal-button, body .fuss .wp-element-button {
	display: inline-flex; align-items: center; min-height: 44px; margin: var(--pcl-size-16) 0 0 !important; padding: .6em 1.3em !important;
	border: 1.5px solid var(--pcl-primary-light-1) !important; border-radius: 0 !important; background: var(--pcl-primary-light-1) !important;
	color: var(--pcl-primary-brand-1) !important; font: 600 var(--pcl-body-size-m)/1.3 var(--pcl-body-font) !important; letter-spacing: 0 !important;
	transition: background-color .3s var(--pcl-ease), color .3s var(--pcl-ease);
}
body .fuss a.button:hover, body .fuss .eu-owb-order-withdrawal-button:hover, body .fuss .wp-element-button:hover {
	padding: .6em 1.3em !important; border-color: var(--pcl-primary-light-1) !important; background: transparent !important; color: var(--pcl-primary-light-1) !important; opacity: 1;
}
body .fuss a.button::after { content: none !important; }
@media (max-width: 860px) { .fuss__innen { grid-template-columns: 1fr 1fr; gap: var(--pcl-size-32); } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fuss__innen { grid-template-columns: 1fr; } }

/* Hinweise auf den Plugin-Flächen */
.ws-hinweis { --ws-h-bg: var(--pcl-primary-brand-1) !important; --ws-h-fg: var(--pcl-primary-light-1) !important; background: var(--pcl-primary-brand-1) !important; color: var(--pcl-primary-light-1) !important; font-family: var(--pcl-body-font); }
.av-btn.av-yes { background: var(--pcl-primary-brand-1) !important; border-color: var(--pcl-primary-brand-1) !important; }

@media (prefers-reduced-motion: reduce) {
	.kopf__nav a, .kopf__menue span, .kopf__menue span::before { transition: opacity .2s linear; transform: none !important; }
}

/* Überschriften auf Inhalts- und Shopseiten */
body:not(.sc-landing) .entry-title, body:not(.sc-landing) h1.page-title, .woocommerce-products-header__title, .sc-news__titel, .sc-beitrag__titel {
	font-size: var(--pcl-title-size-3) !important; line-height: 1 !important; font-weight: 400 !important; letter-spacing: 0;
}
/* Seiten (page.php, auch Rechtstexte): Luft zwischen Titel und Text, Absätze mit mehr Abstand (01.12.2026) */
.seite__titel-bereich { margin-bottom: var(--pcl-size-40); }
.seite__titel { hyphens: auto; overflow-wrap: break-word; } /* „Geschäftsbedingungen“ ist auf dem Handy breiter als die Spalte */
.seite__inhalt > p:not(:last-of-type) { padding-bottom: 1.5em; }
/* Lange Adressen und E-Mails in Rechtstexten umbrechen, Bilder nie breiter als die Spalte (Handy) */
.seite__inhalt { overflow-wrap: anywhere; }
.seite__inhalt img, .wc-gzd-legal-guarantee img { max-width: 100% !important; height: auto !important; } /* Germanized setzt max-width: 500px */
/* Zwischenüberschriften in Widerruf und AGB stehen als <em> am Absatzanfang: fett und aufrecht statt kaum sichtbarer Kursive */
.seite__inhalt p > em:first-child { font-style: normal; font-weight: 700; }
.woocommerce div.product .product_title { font-size: var(--pcl-title-size-4) !important; line-height: 1.05 !important; font-weight: 400 !important; letter-spacing: 0; }
/* Listen aus dem Editor mit Abstand darunter (Absätze: css/shop.css) */
body:not(.sc-landing) .entry-content :is(ul, ol) { margin-bottom: 1em; }
body:not(.sc-landing) .entry-content h2 { font-size: var(--pcl-title-size-6); line-height: 1.111; margin: var(--pcl-size-32) 0 var(--pcl-size-8); }
body:not(.sc-landing) .entry-content h3 { font-size: var(--pcl-title-size-7); line-height: 1.2; margin: var(--pcl-size-24) 0 var(--pcl-size-8); }
body:not(.sc-landing) .entry-content h4 { font-size: var(--pcl-title-size-8); line-height: 1.333; margin: var(--pcl-size-24) 0 var(--pcl-size-8); }
.sc-news-karte__titel, .sc-karte__name, .ws-shop-name, .ws-shop-section-title, .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--pcl-heading-font) !important; font-weight: 600 !important; letter-spacing: 0;
}
.sc-news-karte__titel { font-size: var(--pcl-title-size-7) !important; line-height: 1.2 !important; }
.sc-news-karte--gross .sc-news-karte__titel { font-size: var(--pcl-title-size-5) !important; line-height: 1 !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: var(--pcl-title-size-8) !important; line-height: 1.167 !important; }

/* Hinweise von WooCommerce in den Bengel-Farben */
.woocommerce .woocommerce-info, .woocommerce .woocommerce-message, .woocommerce-page .woocommerce-info, .woocommerce-page .woocommerce-message {
	border-radius: 0; background: var(--pcl-primary-light-2) !important; color: var(--pcl-primary-dark-2) !important; font-family: var(--pcl-body-font);
}
.woocommerce .woocommerce-info a, .woocommerce .woocommerce-message a { color: var(--pcl-primary-brand-1) !important; }

/* Flaschenfotos stehen immer auf Weiß, ohne Tönung */
.woocommerce div.product div.images,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .woocommerce-product-gallery__image,
.ws-shop--grid .ws-item-img,
.notiz__bild,
.sc-news-karte__bild { background: var(--pcl-primary-light-1) !important; }
.woocommerce-product-gallery img,
.ws-item-img img { mix-blend-mode: normal !important; }

html { font-synthesis: none; }

/* Feine Linie um die Flaschenfotos */
.woocommerce div.product div.images .woocommerce-product-gallery__image,
.ws-item-img,
.preis__flasche {
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid var(--pcl-primary-light-3);
	border-radius: 0;
}
.ws-item-img { border-radius: 0; }

/* Info- und Mengenfelder im Shop: helles Grau */
body .ws-item-info .ws-nw-link,
.ws-nw-link,
.ws-qty,
.ws-sc-menge,
.woocommerce-cart table.cart .quantity:has(.sc-wk-menge),
body.single-product div.product form.cart div.quantity:has(.ws-qty-input) { background: var(--pcl-neutral-light-1) !important; }
body .ws-nw-link:hover, body .ws-nw-link:focus-visible { background: var(--pcl-neutral-light-2) !important; }

/* Termine als Kacheln: Bild oben, Datum oben links auf dem Bild, Text mittig */
.ws-cal--list .ws-cal-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--pcl-size-32) var(--pcl-size-24);
}
.ws-cal .ws-cal-group { display: contents; margin: 0; }
.ws-cal .ws-cal-group-title { display: none; }
.ws-cal .ws-cal-item,
.ws-cal .ws-cal-item:first-child {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--pcl-primary-light-3);
	border-radius: 0;
	background: var(--pcl-primary-light-1);
	text-align: center;
}
.ws-cal .ws-cal-item[hidden] { display: none; }
.ws-cal-bild {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--pcl-secondary-light-1);
}
.ws-cal-bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--pcl-ease);
}
.ws-cal-item:hover .ws-cal-bild img { transform: scale(1.03); }
.ws-cal .ws-cal-date {
	position: absolute;
	top: var(--pcl-size-12);
	left: var(--pcl-size-12);
	z-index: 1;
	min-width: 56px;
	padding: var(--pcl-size-8) var(--pcl-size-4);
	border-radius: 0;
	background: var(--pcl-secondary-brand-1);
	box-shadow: none;
	color: var(--pcl-primary-light-2);
}
.ws-cal .ws-cal-date .ws-cal-mon,
.ws-cal .ws-cal-date .ws-cal-wd { opacity: .8; }
.ws-cal .ws-cal-main {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	padding: var(--pcl-size-24);
}
.ws-cal .ws-cal-title { text-wrap: balance; }
.ws-cal .ws-cal-links { margin-top: auto !important; padding-top: var(--pcl-size-12); }
.ws-cal .ws-cal-buy {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 var(--pcl-size-24) var(--pcl-size-24);
}
@media (max-width: 980px) {
	.ws-cal .ws-cal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.ws-cal .ws-cal-list { grid-template-columns: minmax(0, 1fr); gap: var(--pcl-size-24); }
}
/* Monatsansicht: alle Felder weiß, die Höhenlinien scheinen nicht durch */
.ws-cal .ws-cal-grid,
.ws-cal .ws-cal-cell--empty { background: var(--pcl-primary-light-1); }
/* Wochenenden und Feiertage (Rheinland-Pfalz, inc/termine.php) in hellem Beige, Feiertag mit Namen */
.ws-cal .ws-cal-cell--wochenende,
.ws-cal .ws-cal-cell--feiertag { background: var(--pcl-primary-light-2); }
.ws-cal-feiertag { color: var(--pcl-primary-dark-3); font-size: var(--pcl-body-size-xs); line-height: 1.333; }
/* Auf dem Handy zeigt das Plugin immer die Liste, auch wenn zuletzt „Monat“ gewählt war */
@media (max-width: 720px) {
	.ws-cal .ws-cal-list { display: grid !important; }
}

/* Keine Rundungen (Wunsch des Weinguts), auch nicht an Plugin-Flächen. Rund bleiben nur Punkte und Zähler.
   Hier die Stellen aus Plugin, WooCommerce und Germanized, die das Theme sonst nicht erreicht. */
.ws-kb { --ws-kb-radius: 0; }
body .ws-bio,
body .ws-preis,
body .ws-dialog,
body .ws-view,
body .ws-progress,
body .ws-sc-btn,
body .ws-gutschein-vorschlaege button,
body .wc-gzd-popover:popover-open:not(.wc-gzd-popover-hover),
body .ws-gewaehr-button,
body .woocommerce .wc-gzd-legal-guarantee-label-link > a.wc-gzd-popover-trigger,
body .wc-gzd-popover-trigger,
body .ws-gewaehr-dialog,
body .ws-probier-groessen span,
body .ws-probier-hinweis,
body .ws-smoobu__start,
body .ws-smoobu__laden,
body .ws-kb .woocommerce-MyAccount-navigation li a,
body .ws-regal .tabs button,
body .ws-regal-blatt .close,
body .ws-regal-blatt .buy,
body .woocommerce span.onsale,
body.woocommerce-page span.onsale,
body .woocommerce form.login,
body .woocommerce form.register,
body .woocommerce form.checkout_coupon,
body .woocommerce table.shop_table,
body .woocommerce select,
body .woocommerce input:not([type="radio"]):not([type="checkbox"]),
body .woocommerce textarea,
body .select2-container .select2-selection,
body .select2-dropdown { border-radius: 0 !important; }

/* Beitragsbild: ganz zeigen (eigenes Seitenverhältnis, höchstens 620px hoch, mittig),
   schmaler Rand, damit das weiße Foto sich von den Höhenlinien abhebt */
.sc-beitrag__bild img {
	width: auto; max-width: 100%; height: auto; max-height: 620px; aspect-ratio: auto;
	margin: 0 auto; object-fit: contain;
	border: 1px solid var(--pcl-primary-light-3); box-sizing: border-box;
}

/* Gewährleistungshinweis von Germanized: letzte Zeile im Fuß (über bengel_fuss_ende) */
.fuss .wc-gzd-legal-guarantee-footer {
	position: relative; max-width: var(--pcl-container-l); margin: var(--pcl-size-12) auto 0; padding: 0;
	background: none; color: var(--pcl-primary-light-3);
	font: 400 var(--pcl-body-size-xs)/1.333 var(--pcl-body-font); text-align: left;
}
.fuss .wc-gzd-legal-guarantee-footer > * { margin: 0; }
.fuss .wc-gzd-legal-guarantee-footer a { color: var(--pcl-primary-light-2) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.fuss { padding-bottom: calc(var(--pcl-size-16) + env(safe-area-inset-bottom, 0px)); } /* iPhone: dunkler Fuß bis unter die Safari-Leiste */
/* Chat-Knopf „Frag …“ steht fest unten am Rand: am Seitenende Platz darunter lassen, damit er die letzten Zeilen nicht verdeckt */
body:has(.ws-somm--rand) .fuss { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
.fuss__sozial { display: flex; gap: var(--pcl-size-16); }
.fuss__sozial a { text-decoration: underline !important; text-underline-offset: 3px; }

/* Ohne Rundung auch: WooCommerce-Knöpfe (3px aus WooCommerce), Spamschutz Altcha, Teilen-Hinweis der Bildergalerie */
body .woocommerce :is(a.button, button.button, input.button),
body :is(a, button).button,
body .altcha,
body .pswp__share-tooltip { border-radius: 0 !important; }

/* Eckig wie der Rest der Seite: Weinfinder, „Frag das Weingut“ und Weinvorschläge im Warenkorb ohne Rundungen.
   Rund bleiben nur echte Kreisformen (Sonne hinter den Flaschen, Fortschrittspunkte, Farbtupfer). */
.ws-finder *, .ws-finder *::before, .ws-finder *::after, .ws-finder-sprung,
.ws-somm-knopf, .ws-somm-panel, .ws-somm-panel *, .ws-vorschlag, .ws-vorschlag * { border-radius: 0 !important; }
.ws-finder .ws-finder-sonne, .ws-finder .ws-finder-buehne-sonne, .ws-finder .ws-finder-punkte span, .ws-finder .ws-finder-klecks { border-radius: 50% !important; }
.ws-somm--rand:not(.is-offen) { transition: bottom .3s ease; } /* weicht Bedienelementen sanft aus, siehe rahmen.js */
@media (prefers-reduced-motion: reduce) { .ws-somm--rand:not(.is-offen) { transition: none; } }

/* Warenkorb, Kasse, Bestellungen: Tabellen nicht Buchstabe für Buchstabe umbrechen. „anywhere“ aus .seite__inhalt
   lässt die Betragsspalte in Tabellen bis auf ein Zeichen schrumpfen („Zwischensum|me“, „Paketversan|d“). (01.12.2026) */
.seite__inhalt table, .woocommerce table.shop_table { overflow-wrap: normal; }
.woocommerce table.shop_table .amount, .woocommerce table.shop_table th { white-space: nowrap; }
.woocommerce table.shop_table td.product-total, .woocommerce table.shop_table td.product-subtotal { white-space: nowrap; }
/* Literpreis unter der Zwischensumme */
.bengel-literpreis { display: block; margin-top: 2px; font-size: .8em; font-weight: 400; opacity: .75; }

/* Suchmaske: im Band nur der Weinfinder-Hinweis (Anschrift und Kontakt ausgeblendet) */
.ws-suche-band .ws-suche-band-innen > :not(.ws-suche-finder) { display: none; }
.ws-suche-band .ws-suche-finder { grid-column: 1 / -1; }
.ws-suche-band .ws-suche-finder .finder-link { display: inline-block; margin-top: 8px; }

/* Frag das Weingut: Foto im Fensterkopf größer (Plugin: 36px) */
.ws-somm-panel .ws-somm-foto { width: 56px; height: 56px; }

/* Kasse, Abholung: Uhrzeit als Auswahl wie die anderen Felder, gleiche Höhe wie das Datum, Pfeil in Schriftfarbe */
.woocommerce form .form-row select.ws-abhol-zeit {
	width: 100%;
	height: 48px;
	padding-right: 44px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234d5057' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 16px 16px;
}

/* Termine: Liste der nächsten Termine (template-parts/termine-liste.php), auf der Startseite und auf „Aktuell“ */
.termine__liste { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pcl-primary-light-3); }
.termin { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 32px; margin: 0; padding: 24px 0; border-bottom: 1px solid var(--pcl-primary-light-3); }
.termin__datum { display: grid; justify-items: center; margin: 0; padding: 12px 0; background: var(--pcl-primary-brand-1); color: var(--pcl-primary-light-1); line-height: 1; }
.termin__tag { font-family: var(--pcl-heading-font, inherit); font-size: 2rem; }
.termin__monat { margin-top: 6px; font-size: .85rem; }
.termin__text { display: grid; gap: 4px; }
.termin__titel { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 400; line-height: 1.2; }
.termin__titel a { color: inherit; text-decoration: none; }
.termin__titel a:hover { text-decoration: underline; text-underline-offset: 4px; }
.termin .termin__datum { padding: 12px 0 !important; }
.termin .termin__wann, .termin .termin__info { margin: 0; padding: 0 !important; }
.termin__info { opacity: .75; }
.termin__kalender { font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 600px) {
	.termin { grid-template-columns: 64px minmax(0, 1fr); gap: 16px 20px; align-items: start; }
	.termin__tag { font-size: 1.6rem; }
	.termin__kalender { grid-column: 2; }
}
/* Auf „Aktuell“ unter dem großen ersten Beitrag */
.sc-news__termine { margin: var(--pcl-size-48, 48px) 0; }
.sc-news__termine-titel { margin: 0 0 var(--pcl-size-24, 24px); padding: 0 !important; font-size: var(--pcl-title-size-6, 2rem); font-weight: 400; line-height: 1.1; }

/* Frag …: Foto auf dem Knopf quadratisch wie im Fensterkopf (Plugin: rund) */
.ws-somm .ws-somm-knopf .ws-somm-foto { border-radius: 0 !important; }

/* Shop-Filter (Weinart, Geschmack, Rebsorte): eigener Pfeil mit Luft zum Rand statt des Browser-Pfeils am Rand */
.ws-filter-field select {
	padding-right: 44px !important;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234d5057' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 14px 14px;
}

/* ASE-Captcha (ALTCHA): breiter, damit „Ich bin kein Roboter“ in eine Zeile passt */
.woocommerce-form-login .altcha-widget-wrap { max-width: 330px; }
altcha-widget { --altcha-max-width: 100%; }
