/* Ergänzungen, die theme.json nicht abbildet. */

.is-style-dachzeile {
	font-size: var(--wp--preset--font-size--klein);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--bronze-dunkel);
	margin-bottom: 0.25rem;
}

.is-style-karte {
	background: var(--wp--preset--color--weiss);
	border: 1px solid var(--wp--preset--color--nebel);
	height: 100%;
}
.is-style-karte .wp-block-image { margin: 0; }
.is-style-karte .wp-block-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; display: block; }

.is-style-haken { list-style: none; padding-left: 0; }
.is-style-haken li { padding-left: 1.6rem; position: relative; margin-bottom: 0.4rem; }
.is-style-haken li::before {
	content: ""; position: absolute; left: 0; top: 0.55em;
	width: 0.7rem; height: 0.4rem;
	border-left: 2px solid var(--wp--preset--color--bordeaux);
	border-bottom: 2px solid var(--wp--preset--color--bordeaux);
	transform: rotate(-45deg);
}

/* Kopfzeile */
.vcm-header { border-bottom: 1px solid var(--wp--preset--color--nebel); }
.vcm-header .wp-block-site-logo img, .vcm-logo img { height: auto; }
.vcm-tel a { text-decoration: none; color: var(--wp--preset--color--tinte); font-weight: 700; white-space: nowrap; }
.wp-block-navigation a { text-decoration: none; }
.wp-block-navigation a:hover { color: var(--wp--preset--color--bordeaux); }

/* Zahlenleiste */
.vcm-zahl { font-family: var(--wp--preset--font-family--vollkorn); font-size: var(--wp--preset--font-size--xl); line-height: 1; color: var(--wp--preset--color--bordeaux); margin-bottom: 0.3rem; }

/* Referenz-Kacheln */
.vcm-ref .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; transition: transform .4s ease; }
.vcm-ref .wp-block-image, .vcm-ref .wp-block-post-featured-image { overflow: hidden; margin: 0 0 1.1rem; }
.vcm-ref:hover .wp-block-image img { transform: scale(1.03); }
.vcm-ref h3 { margin: 0; font-size: var(--wp--preset--font-size--mittel); }
.vcm-ref p { margin: 0.2rem 0 0; color: var(--wp--preset--color--stein); font-size: var(--wp--preset--font-size--klein); }

/* Hero-Bild */
.vcm-hero-bild img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; }

/* Fester Anfrage-Balken auf dem Handy */
.vcm-mobile-cta { display: none; }
@media (max-width: 781px) {
	.vcm-mobile-cta {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
		gap: 0; box-shadow: 0 -2px 12px rgba(35,31,32,.12);
	}
	.vcm-mobile-cta a {
		flex: 1; text-align: center; padding: 0.9rem 0.5rem; font-weight: 700; text-decoration: none;
	}
	.vcm-mobile-cta .tel { background: var(--wp--preset--color--weiss); color: var(--wp--preset--color--tinte); }
	.vcm-mobile-cta .anfrage { background: var(--wp--preset--color--bordeaux); color: var(--wp--preset--color--weiss); }
	body { padding-bottom: 3.2rem; }
	.vcm-header-actions .wp-block-buttons, .vcm-header-actions .vcm-tel { display: none; }
}

/* Fokus sichtbar halten */
a:focus-visible, button:focus-visible { outline: 2px solid var(--wp--preset--color--tinte); outline-offset: 3px; }

/* Kopfzeile bei mittlerer Breite entlasten */
@media (max-width: 1140px) {
	.vcm-header .vcm-tel { display: none; }
}
.vcm-header .wp-block-navigation { white-space: nowrap; }

/* Fußzeile: Linklisten ohne Aufzählungszeichen */
footer .wp-block-list { list-style: none; padding-left: 0; }
footer .wp-block-list li { margin-bottom: 0.3rem; }

/* Platzhalter für fehlende Fotos (Shotlist) */
.vcm-bild-folgt { aspect-ratio: 4 / 3; background: var(--wp--preset--color--nebel); box-shadow: inset 0 0 0 1px #dcd8d2; border-radius: 2px; }

/* Noch zu prüfende Angaben – vor dem Launch entfernen */
mark.vcm-pruefen { background: #fff1a8; color: var(--wp--preset--color--tinte); padding: 0 .2em; font-size: .85em; }

/* Nummerierte Ablauf-Schritte */
.vcm-schritte { counter-reset: s; list-style: none; padding-left: 0; }
.vcm-schritte li { counter-increment: s; position: relative; padding: 0 0 .9rem 3rem; min-height: 2.2rem; }
.vcm-schritte li::before { content: counter(s); position: absolute; left: 0; top: -.15rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1.5px solid var(--wp--preset--color--bordeaux); color: var(--wp--preset--color--bordeaux); font-family: var(--wp--preset--font-family--vollkorn); display: grid; place-items: center; }

/* Fallstudie: großes Bild */
.vcm-ref-bild img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; display: block; }

/* Anfrage-Formular */
.vcm-form { --rand: #cfcac3; }
.vcm-form fieldset { border: 0; padding: 0; margin: 0 0 2.5rem; }
.vcm-form legend { font-family: var(--wp--preset--font-family--vollkorn); font-size: var(--wp--preset--font-size--gross); margin-bottom: 1rem; padding: 0; }
.vcm-form label { display: block; font-weight: 700; font-size: var(--wp--preset--font-size--klein); margin-bottom: 1rem; }
.vcm-form input[type=text], .vcm-form input[type=email], .vcm-form input[type=tel], .vcm-form input[type=date], .vcm-form select, .vcm-form textarea {
	display: block; width: 100%; margin-top: .35rem; padding: .7rem .8rem; font: inherit; font-weight: 400; font-size: 1rem;
	border: 1px solid var(--rand); border-radius: 2px; background: var(--wp--preset--color--weiss); color: var(--wp--preset--color--tinte);
}
.vcm-form input:focus, .vcm-form select:focus, .vcm-form textarea:focus { outline: 2px solid var(--wp--preset--color--bordeaux); outline-offset: 0; border-color: transparent; }
.vcm-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0 1.25rem; }
.vcm-optionen { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.vcm-optionen-klein { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.vcm-option { display: flex !important; gap: .6rem; align-items: flex-start; font-weight: 400 !important; font-size: 1rem !important; border: 1px solid var(--rand); padding: .75rem .9rem; margin: 0 !important; cursor: pointer; background: var(--wp--preset--color--weiss); }
fieldset > .vcm-option { border: 0; padding: .3rem 0; background: none; margin-bottom: .6rem !important; }
.vcm-option:has(input:checked) { border-color: var(--wp--preset--color--bordeaux); box-shadow: inset 0 0 0 1px var(--wp--preset--color--bordeaux); }
.vcm-option input { accent-color: var(--wp--preset--color--bordeaux); margin-top: .25rem; }
.vcm-label { font-weight: 700; font-size: var(--wp--preset--font-size--klein); margin: .5rem 0 .35rem; }
.vcm-nav { display: flex; gap: 1rem; justify-content: flex-end; align-items: center; margin-top: 1.5rem; }
.vcm-nav button { cursor: pointer; }
.vcm-zurueck { background: none; border: 0; color: var(--wp--preset--color--bordeaux); text-decoration: underline; font: inherit; }
.vcm-form-fortschritt { display: none; }
.vcm-js .vcm-form-fortschritt { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2rem; counter-reset: f; }
.vcm-form-fortschritt li { flex: 1; counter-increment: f; font-size: var(--wp--preset--font-size--klein); color: var(--wp--preset--color--stein); border-top: 3px solid var(--wp--preset--color--nebel); padding-top: .4rem; }
.vcm-form-fortschritt li::before { content: counter(f) ". "; }
.vcm-form-fortschritt li.aktiv { border-color: var(--wp--preset--color--bordeaux); color: var(--wp--preset--color--tinte); font-weight: 700; }
.vcm-ungueltig .vcm-optionen { outline: 2px solid var(--wp--preset--color--bordeaux); outline-offset: 4px; }
.vcm-form-fehler { background: #fbe9ec; border-left: 3px solid var(--wp--preset--color--bordeaux); padding: .8rem 1rem; }
.vcm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Auf der Anfrage-Seite selbst nur „Anrufen“ im Handy-Balken */
.page-template-page-schlicht .vcm-mobile-cta .anfrage { display: none; }

/* Jahreszahlen in Überschriften als Versalziffern */
h1, h2, h3, .vcm-zahl { font-variant-numeric: lining-nums; }

/* Längere Textseiten: Zwischenüberschriften klar vom vorherigen Abschnitt absetzen */
.is-layout-constrained > :is(p, ul, ol) + h2.wp-block-heading { margin-top: var(--wp--preset--spacing--60, 3rem); }
.is-layout-constrained > :is(p, ul, ol) + h3.wp-block-heading { margin-top: var(--wp--preset--spacing--50, 2rem); }

/* Navigation: Menü-Knopf bis 1023 px (WordPress schaltet erst unter 600 px um – dazwischen bricht die Zeile) */
@media (min-width: 600px) and (max-width: 1023px) {
	.vcm-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.vcm-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.vcm-header .wp-block-navigation__responsive-container-close:not(.always-shown) { display: flex; }
}
.vcm-header .wp-block-button__link { white-space: nowrap; }

/* Zeitleiste (Manufaktur) */
.vcm-zeitleiste { border-left: 2px solid var(--wp--preset--color--bronze); margin-top: var(--wp--preset--spacing--40); }
.vcm-zeitleiste > .vcm-zeit { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; column-gap: 1.25rem; padding: 0 0 1.5rem 1.5rem; margin: 0; }
.vcm-zeitleiste > .vcm-zeit::before { content: ""; position: absolute; left: -6px; top: .55rem; width: 10px; height: 10px; border-radius: 50%; background: var(--wp--preset--color--papier); border: 2px solid var(--wp--preset--color--bronze); }
.vcm-zeitleiste > .vcm-zeit:last-child { padding-bottom: 0; }
.vcm-zeit > p { margin: 0; }
.vcm-zeit-jahr { font-family: var(--wp--preset--font-family--vollkorn); font-size: 1.35rem; line-height: 1.3; color: var(--wp--preset--color--bordeaux); font-variant-numeric: lining-nums; }
@media (max-width: 600px) { .vcm-zeitleiste > .vcm-zeit { grid-template-columns: 1fr; row-gap: .2rem; padding-left: 1.25rem; } }

/* Glossar */
.vcm-abc { position: sticky; top: 0; z-index: 2; background: var(--wp--preset--color--weiss); padding: .75rem 0; border-bottom: 1px solid var(--wp--preset--color--nebel); font-weight: 700; word-spacing: .15em; }
.vcm-abc a { text-decoration: none; }
.vcm-mehr { margin-top: .25rem; font-size: .95rem; }
.vcm-mehr a { text-decoration: none; }
:target { scroll-margin-top: 4.5rem; }
.vcm-form-hinweis { font-size: .9rem; color: var(--wp--preset--color--stein); margin: .5rem 0 0; }

/* Referenz-Übersicht (Abfrage-Blöcke): gleiche Abstände wie die Kacheln */
.vcm-ref .wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; transition: transform .4s ease; }
.vcm-ref:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.vcm-ref .wp-block-post-title { margin: 0; line-height: 1.25; }
.vcm-ref .wp-block-post-title a { text-decoration: none; }
.vcm-ref .wp-block-post-excerpt { margin: .45rem 0 0; }
.vcm-ref .wp-block-post-excerpt__excerpt { margin: 0; line-height: 1.5; }
.vcm-ref h3 { line-height: 1.25; }
.vcm-ref h3 + p { margin-top: .45rem; }


/* Cookie-Banner (Complianz): Schriften, Abstände und Knöpfe wie auf der Website. Farben setzt tools/complianz_einrichten.php. */
body .cmplz-cookiebanner {
	font-family: var(--wp--preset--font-family--lato);
	box-shadow: 0 12px 40px rgba(35, 31, 32, .16);
	padding: 1.5rem 1.5rem 1.1rem;
	gap: .9rem;
}
body .cmplz-cookiebanner .cmplz-title {
	font-family: var(--wp--preset--font-family--vollkorn);
	font-size: 1.35rem; font-weight: 400; line-height: 1.25;
	color: var(--wp--preset--color--tinte);
	justify-self: start;
}
body .cmplz-cookiebanner .cmplz-header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
body .cmplz-cookiebanner .cmplz-logo { display: none; }
body .cmplz-cookiebanner .cmplz-close { color: var(--wp--preset--color--stein); }
body .cmplz-cookiebanner .cmplz-divider { display: none; }
body .cmplz-cookiebanner .cmplz-message { font-size: .9rem; line-height: 1.55; color: var(--wp--preset--color--tinte); }
body .cmplz-cookiebanner .cmplz-buttons { gap: .5rem; }
body .cmplz-cookiebanner .cmplz-btn {
	font-family: var(--wp--preset--font-family--lato);
	font-weight: 700; font-size: .95rem; height: auto; min-height: 44px; padding: .65rem 1rem;
	transition: background-color .15s ease, color .15s ease;
}
body .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background: var(--wp--preset--color--bordeaux-dunkel); border-color: var(--wp--preset--color--bordeaux-dunkel); }
body .cmplz-cookiebanner .cmplz-btn.cmplz-deny:hover { background: var(--wp--preset--color--papier); }
body .cmplz-cookiebanner .cmplz-btn:is(.cmplz-view-preferences, .cmplz-manage-options) { text-decoration: underline; text-underline-offset: 3px; }
body .cmplz-cookiebanner .cmplz-btn:focus-visible { outline: 2px solid var(--wp--preset--color--tinte); outline-offset: 2px; }
body .cmplz-cookiebanner .cmplz-categories .cmplz-category { background: var(--wp--preset--color--papier); border-radius: 2px; }
body .cmplz-cookiebanner .cmplz-category-title { font-weight: 700; font-size: .9rem; }
body .cmplz-cookiebanner .cmplz-always-active { color: var(--wp--preset--color--bronze-dunkel); font-weight: 700; }
body .cmplz-cookiebanner .cmplz-description { font-size: .85rem; line-height: 1.5; }
body .cmplz-cookiebanner .cmplz-links { font-size: .8rem; }
body .cmplz-cookiebanner .cmplz-links a { color: var(--wp--preset--color--stein); }
body .cmplz-cookiebanner .cmplz-links a:hover { color: var(--wp--preset--color--bordeaux); }
#cmplz-manage-consent .cmplz-manage-consent {
	font-family: var(--wp--preset--font-family--lato); font-weight: 700; font-size: .85rem;
	background: var(--wp--preset--color--weiss); color: var(--wp--preset--color--tinte);
	border: 1px solid var(--wp--preset--color--nebel); border-bottom: 0; border-radius: 2px 2px 0 0;
	box-shadow: 0 -4px 16px rgba(35, 31, 32, .08);
}
@media (max-width: 600px) {
	body .cmplz-cookiebanner { padding: 1.25rem 1rem 1rem; }
	body .cmplz-cookiebanner .cmplz-title { font-size: 1.2rem; }
}

/* Cookie-Richtlinie (von Complianz erzeugt): Typografie wie Datenschutz und Impressum */
body #cmplz-document { font-size: var(--wp--preset--font-size--normal); line-height: 1.65; max-width: none; }
body #cmplz-document :is(p, li, td) { font-size: inherit; line-height: inherit; }
body #cmplz-document a { text-decoration: underline; text-underline-offset: 2px; }
body #cmplz-document > p:first-child i { font-style: normal; display: block; color: var(--wp--preset--color--stein); font-size: var(--wp--preset--font-size--klein); padding-bottom: 1.25rem; border-bottom: 1px solid var(--wp--preset--color--nebel); }
body #cmplz-document h2 { font-family: var(--wp--preset--font-family--vollkorn); font-weight: 400; text-align: left; font-size: var(--wp--preset--font-size--gross); margin: var(--wp--preset--spacing--60, 3rem) 0 .75rem; line-height: 1.25; }
body #cmplz-document h3 { font-family: var(--wp--preset--font-family--vollkorn); font-weight: 400; text-align: left; font-size: var(--wp--preset--font-size--mittel); margin: 2rem 0 .5rem; line-height: 1.3; }
body #cmplz-document p, body #cmplz-document ul { margin: 0 0 1rem; }
body #cmplz-document ul { padding-left: 1.25rem; }
body #cmplz-document li { margin-bottom: .4rem; }
body #cmplz-document a { color: var(--wp--preset--color--bordeaux); }
/* Liste der Cookies (aufklappbar) */
body #cmplz-document .cmplz-dropdown { border: 1px solid var(--wp--preset--color--nebel); border-radius: 2px; margin: 0 0 .6rem; background: var(--wp--preset--color--weiss); }
body #cmplz-document .cmplz-dropdown summary { background: var(--wp--preset--color--papier); padding: .85rem 1rem; cursor: pointer; }
body #cmplz-document .cmplz-dropdown summary h3 { margin: 0; font-size: 1.05rem; display: inline; }
body #cmplz-document .cmplz-dropdown summary p { margin: .2rem 0 0; font-size: var(--wp--preset--font-size--klein); color: var(--wp--preset--color--stein); }
body #cmplz-document .cmplz-dropdown > div, body #cmplz-document .cmplz-service-description, body #cmplz-document .cookies-per-purpose { padding: .5rem 1rem; }
body #cmplz-document .cookies-per-purpose { font-size: .9rem; }
/* „Einwilligung verwalten“ innerhalb der Richtlinie */
body #cmplz-document .cmplz-categories { margin: 1rem 0; }
body #cmplz-document .cmplz-category { background: var(--wp--preset--color--papier); border-radius: 2px; margin-bottom: .5rem; }
body #cmplz-document .cmplz-category-title { font-weight: 700; }
body #cmplz-document .cmplz-always-active { color: var(--wp--preset--color--bronze-dunkel); font-weight: 700; }
body #cmplz-document .cmplz-btn, body #cmplz-document .cmplz-manage-consent-container button {
	font-family: var(--wp--preset--font-family--lato); font-weight: 700;
	background: var(--wp--preset--color--bordeaux); color: var(--wp--preset--color--weiss);
	border: 0; border-radius: 2px; padding: .75rem 1.25rem; cursor: pointer;
}
body #cmplz-document .cmplz-btn:hover, body #cmplz-document .cmplz-manage-consent-container button:hover { background: var(--wp--preset--color--bordeaux-dunkel); }
/* Complianz-Variablen, die das Banner-Menü nicht anbietet */
body :is(.cmplz-cookiebanner, #cmplz-manage-consent-container) {
	--cmplz_category_header_always_active_color: var(--wp--preset--color--bronze-dunkel);
	--cmplz_slider_active_color: var(--wp--preset--color--bordeaux);
	--cmplz_slider_inactive_color: var(--wp--preset--color--stein);
	--cmplz_text_font_size: .95rem;
	--cmplz_category_body_font_size: .9rem;
	--cmplz_category_header_title_font_size: .95rem;
	--cmplz_category_header_active_font_size: .8rem;
}
/* Complianz setzt „Immer aktiv“ fest in Grün und mit hoher Spezifität */
body :is(.cmplz-cookiebanner, #cmplz-manage-consent-container) .cmplz-always-active { color: var(--wp--preset--color--bronze-dunkel) !important; }

/* Raster ohne Einzelkacheln in der letzten Reihe (Klassen setzt build_content.py: raster_klassen) */
.raster { display: grid; gap: var(--wp--preset--spacing--40); grid-template-columns: repeat(var(--spalten, 3), minmax(0, 1fr)); }
.raster.vcm-raster-bilder { gap: var(--wp--preset--spacing--50); }
.raster > * { margin: 0 !important; min-width: 0; }
.raster.d2 { --spalten: 2; }
.raster.d3 { --spalten: 3; }
.raster.d4 { --spalten: 4; }
.raster.f2 > :first-child,
.raster.s2 > :nth-child(-n+2) { grid-column: span 2; }
.raster.f22 > :first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 1000px) {
	.raster.raster { --spalten: 2; }
	.raster > * { grid-column: auto !important; grid-row: auto !important; }
	.raster.ungerade > :first-child { grid-column: span 2 !important; }
}
@media (max-width: 600px) {
	.raster.raster { --spalten: 1; gap: 0.75rem; }
	.raster.vcm-raster-bilder { gap: var(--wp--preset--spacing--50); }
	.raster.ungerade > :first-child { grid-column: auto !important; }
}

/* Referenz-Archiv: Anzahl ändert sich – Ausgleich per Mengenabfrage (4 Spalten, Tablet 2, Handy 1) */
.vcm-archiv-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--wp--preset--spacing--50); list-style: none; padding: 0; margin: 0; }
.vcm-archiv-raster > li { margin: 0 !important; min-width: 0; }
.vcm-archiv-raster > li:first-child:nth-last-child(4n+1) { grid-column: span 2; grid-row: span 2; }
.vcm-archiv-raster > li:first-child:nth-last-child(4n+2),
.vcm-archiv-raster > li:first-child:nth-last-child(4n+2) + li,
.vcm-archiv-raster > li:first-child:nth-last-child(4n+3) { grid-column: span 2; }
@media (max-width: 1000px) {
	.vcm-archiv-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vcm-archiv-raster > li { grid-column: auto !important; grid-row: auto !important; }
	.vcm-archiv-raster > li:first-child:nth-last-child(odd) { grid-column: span 2 !important; }
}
@media (max-width: 600px) {
	.vcm-archiv-raster { grid-template-columns: 1fr; }
	.vcm-archiv-raster > li:first-child:nth-last-child(odd) { grid-column: auto !important; }
}

/* Kacheln mit Icon (Fakten, Angebote auf den Zielgruppen-Seiten) */
.vcm-kachel { display: flex; flex-direction: column; position: relative; }
.vcm-kachel .vcm-icon { width: 3rem; height: 3rem; border-radius: 50%; background: var(--wp--preset--color--papier); color: var(--wp--preset--color--bordeaux); display: flex; align-items: center; justify-content: center; flex: none; }
.has-papier-background-color .vcm-kachel .vcm-icon { background: var(--wp--preset--color--nebel); }
.vcm-kachel h3 { margin-top: 0.4rem; font-size: var(--wp--preset--font-size--mittel); line-height: 1.25; }
.vcm-kachel h3 a { color: inherit; text-decoration: none; }
.vcm-kachel p { margin: 0; color: var(--wp--preset--color--stein); }
.vcm-kachel .vcm-mehr { margin-top: auto; padding-top: 0.6rem; font-weight: 700; color: var(--wp--preset--color--bordeaux); }
.vcm-kachel-link { transition: border-color .15s, box-shadow .15s, transform .15s; }
.vcm-kachel-link:hover { border-color: var(--wp--preset--color--bronze); box-shadow: 0 6px 20px rgba(35, 31, 32, .08); transform: translateY(-2px); }
.vcm-kachel-link h3 a::after { content: ""; position: absolute; inset: 0; }
.vcm-kachel-link h3 a:focus-visible { outline: none; }
.vcm-kachel-link:has(a:focus-visible) { outline: 2px solid var(--wp--preset--color--bordeaux); outline-offset: 2px; }
@media (max-width: 600px) {
	.vcm-kachel { display: grid; grid-template-columns: 2.75rem 1fr; column-gap: 0.9rem; row-gap: 0.15rem; align-items: start; padding: 1rem !important; }
	.vcm-kachel > * { margin: 0 !important; }
	.vcm-kachel .vcm-icon { grid-row: span 2; width: 2.75rem; height: 2.75rem; }
	.vcm-kachel .vcm-mehr { display: none; }
}

/* Typografie: keine einzelnen Wörter in der letzten Zeile */
h1, h2, h3, .wp-block-heading { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* Formularfelder: alle gleich hoch und exakt spaltenbreit (Rahmen/Innenabstand zählen zur Breite) */
.vcm-form input[type=text], .vcm-form input[type=email], .vcm-form input[type=tel], .vcm-form input[type=date], .vcm-form select, .vcm-form textarea {
	box-sizing: border-box; max-width: 100%; height: 3.125rem; line-height: 1.4; padding: 0 .9rem;
}
.vcm-form textarea { height: auto; min-height: 9rem; padding: .75rem .9rem; resize: vertical; }
.vcm-form select {
	-webkit-appearance: none; appearance: none; padding-right: 2.6rem; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C5650' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right .85rem center; background-size: 1.1rem;
}
.vcm-form input[type=date] { -webkit-appearance: none; appearance: none; display: flex; align-items: center; }
.vcm-form input[type=date]::-webkit-date-and-time-value { text-align: left; }
.vcm-form input[type=file] { display: block; margin-top: .5rem; font: inherit; font-weight: 400; font-size: .95rem; color: var(--wp--preset--color--stein); max-width: 100%; }
.vcm-form input[type=file]::file-selector-button {
	font: inherit; font-weight: 700; font-size: .95rem; margin-right: .9rem; padding: .6rem 1.1rem; cursor: pointer;
	border: 1px solid var(--wp--preset--color--bordeaux); border-radius: 2px; background: var(--wp--preset--color--weiss); color: var(--wp--preset--color--bordeaux);
}
.vcm-form input[type=file]::file-selector-button:hover { background: var(--wp--preset--color--papier); }

/* Auswahlfelder ohne Einzeloption in der letzten Reihe: feste Spalten, die letzte Option („Etwas anderes“,
   „Weiß ich noch nicht“) wird so breit, dass die Reihe voll ist */
.vcm-optionen, .vcm-optionen-klein { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vcm-optionen > :last-child:nth-child(3n+1) { grid-column: span 3; }
.vcm-optionen > :last-child:nth-child(3n+2) { grid-column: span 2; }
@media (max-width: 1000px) {
	.vcm-optionen, .vcm-optionen-klein { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vcm-optionen > :last-child:nth-child(n) { grid-column: auto; }
	.vcm-optionen > :last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 600px) {
	.vcm-optionen, .vcm-optionen-klein { grid-template-columns: 1fr; }
	.vcm-optionen > :last-child:nth-child(n) { grid-column: auto; }
}
