/*
Theme Name: Link – Oettinger Gruppe
Theme URI: https://link-tankstellenbau.de
Author: Link GmbH Tankstellenbau · Oettinger Gruppe
Description: Block-Theme für die Link GmbH Tankstellenbau auf Basis des Design Systems der Oettinger Gruppe (Designfassung 3, abgeleitet von oettinger-oet 1.0.3): Figtree, Navy #00234C, 8er-Raster, eckige Bausteine. Startseite, Leistungen, Referenz, Nachweise und Kontakt als Block-Muster.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oettinger-link
Tags: block-patterns, full-site-editing, one-column, wide-blocks, custom-logo
*/

/* ---------- Grundlagen ---------- */
:root {
	--og-navy: var(--wp--preset--color--navy);
	--og-blue: var(--wp--preset--color--blue-700);
	--og-light: var(--wp--preset--color--light-blue);
	--og-ink: var(--wp--preset--color--ink);
	--og-muted: var(--wp--preset--color--muted);
	--og-line: var(--wp--preset--color--line);
	--og-pale: var(--wp--preset--color--pale);
	--og-soft: var(--wp--preset--color--soft);
	--og-on-dark: #d3deea;
	--og-line-dark: #2c4a6b;
	--og-section: var(--wp--preset--spacing--70);
	--og-gutter: clamp(32px, 2rem + 2.5vw, 80px);
	--og-edge: max(var(--wp--style--root--padding-left, 20px), calc((100vw - 1280px) / 2));
	--og-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M5 19 19 5M5 5h14v14'/%3E%3C/svg%3E");
	--og-arrow-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M5 5l14 14M19 5v14H5'/%3E%3C/svg%3E");
	--og-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
html { scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
*, *::before, *::after { border-radius: 0 !important; }
.og-notice-text::before { border-radius: 50% !important; }
.og-dot-list li::before { border-radius: 50% !important; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--og-blue); outline-offset: 3px;
}
mark.has-inline-color { background: transparent; }
.wp-block-image { margin: 0; }
.wp-block-image figcaption { margin: 0; }

/* Pfeil-Symbol für Textlinks und Buttons */
.og-text-link a::after, .og-card-links a::after, .wp-block-button__link::after, .og-request-form button::after, .og-contact-mail a::after {
	content: ""; display: inline-block; width: 18px; height: 18px; flex: none; margin-left: 10px; vertical-align: -3px;
	background: currentColor; -webkit-mask: var(--og-arrow) center / contain no-repeat; mask: var(--og-arrow) center / contain no-repeat;
}

/* ---------- Typo-Bausteine ---------- */
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: normal; word-break: normal; }
.og-eyebrow { font-size: var(--wp--preset--font-size--eyebrow); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--og-blue); margin-bottom: 16px !important; }
.has-navy-background-color .og-eyebrow { color: var(--og-light); }
.og-kicker { font-size: var(--wp--preset--font-size--eyebrow); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--og-muted); }
.og-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.65; color: var(--og-muted); max-width: 560px; }
.has-navy-background-color .og-lead { color: var(--og-on-dark); }
.og-muted { color: var(--og-muted); }
.og-small { font-size: var(--wp--preset--font-size--small); color: var(--og-muted); }
.og-h-small { font-size: var(--wp--preset--font-size--title) !important; margin-top: 32px !important; }

.og-text-link a, .og-card-links a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0;
	font-weight: 600; color: var(--og-ink); text-decoration: none; border-bottom: 1px solid currentColor;
}
.og-text-link a:hover, .og-card-links a:hover { color: var(--og-blue); }
.has-navy-background-color .og-text-link a, .has-navy-background-color .og-card-links a { color: #fff; }
.og-card-links { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* Buttons */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: space-between; min-height: 48px; text-decoration: none; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--og-navy); border: 1px solid var(--og-navy); padding: 12px 20px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--og-navy); color: #fff; }
.wp-block-button.og-btn-white > .wp-block-button__link { background: #fff; color: var(--og-navy); border-color: #fff; }
.wp-block-button.og-btn-white > .wp-block-button__link:hover { background: var(--og-soft); border-color: var(--og-soft); color: var(--og-navy); }
.wp-block-buttons { gap: 12px 16px; }

/* ---------- Kopfbereich ---------- */
.og-site-header { position: relative; z-index: 100; }
@media (min-width: 783px) {
	.og-site-header { position: sticky; top: -40px; }
	.admin-bar .og-site-header { top: -8px; }
}
.og-utility { font-size: 13px; font-weight: 600; }
.og-utility-inner { min-height: 40px; gap: 8px 24px; }
.og-utility a { color: var(--og-ink); text-decoration: none; }
.og-utility a:hover { text-decoration: underline; }
.og-utility-group a::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -2px; background: currentColor; -webkit-mask: var(--og-arrow) center / contain no-repeat; mask: var(--og-arrow) center / contain no-repeat; }
.og-utility-contact { display: flex; gap: 24px; }
.og-utility-contact a + a { position: relative; }
.og-utility-contact a + a::before { content: ""; position: absolute; left: -12px; top: 50%; height: 14px; margin-top: -7px; border-left: 1px solid var(--og-line); }
.og-header { border-bottom: 1px solid var(--og-line); }
.og-header-inner { min-height: 72px; gap: 32px; }
.og-header .og-logo img { width: 148px; height: auto; }
.og-header-right { gap: 32px; }
.og-nav .wp-block-navigation__container { gap: 32px; }
.og-nav .wp-block-navigation-item__content { color: var(--og-ink); text-decoration: none; padding: 12px 0; }
.og-nav .wp-block-navigation-item__content:hover { color: var(--og-blue); }
.og-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 32px 24px; }
.og-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #fff; font-size: 20px; }
.og-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.og-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start; }
.og-header-cta .wp-block-button__link { font-size: var(--wp--preset--font-size--ui); }
@media (max-width: 1100px) {
	.og-nav .wp-block-navigation__container, .og-header-right { gap: 20px; }
}
@media (max-width: 1024px) {
	/* Kopf-Button: core setzt .wp-block-buttons.is-layout-flex auf display:flex – daher mit Nachdruck ausblenden. */
	.og-header .og-header-cta, .og-header .wp-block-buttons.og-header-cta { display: none !important; }
}
@media (max-width: 599px) {
	.og-header-inner { min-height: 60px; }
	.og-header .og-logo img { width: 124px; }
}

/* ---------- Seitenrahmen ---------- */
.og-main-full { padding: 0; }
.og-main-full > .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.og-main-page { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--og-section); }
.og-page-title { margin-bottom: 32px; }

/* ---------- Sektionen ---------- */
.og-section { padding-top: var(--og-section); padding-bottom: var(--og-section); }
.og-section > * + * { margin-block-start: 48px; }
.og-section h2 { margin: 0; }
.og-heading { gap: 24px var(--og-gutter); margin-bottom: 0; }
.og-heading > .wp-block-column > * { margin-block: 0; }
.og-heading > .wp-block-column > * + * { margin-block-start: 24px; }
.og-heading > .wp-block-column > .og-eyebrow + * { margin-block-start: 0; }

/* Bühne */
.og-hero { padding: 0 !important; }
.og-split { gap: 0 !important; margin: 0 !important; }
.og-split > .wp-block-column { margin: 0 !important; }
.og-hero .og-split { min-height: 600px; }
.og-hero-copy { padding: 64px 48px 48px var(--og-edge); display: flex; flex-direction: column; justify-content: center; }
.og-hero-copy > * { margin-block: 0; }
.og-hero-title { text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 24px !important; }
.og-hero-copy .og-lead { max-width: 480px; margin-bottom: 32px; }
.og-proof-row { gap: 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--og-line-dark); max-width: 480px; }
.og-proof { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--og-on-dark); line-height: 1.4; }
.og-proof strong { color: #fff; font-size: var(--wp--preset--font-size--lead); }
.og-proof-number { display: flex; align-items: center; gap: 12px; }
.og-proof-number strong { font-size: 40px; line-height: 1; }
.og-proof + .og-proof { border-left: 1px solid var(--og-line-dark); padding-left: 32px; }
.og-hero-visual, .og-transport-photo { position: relative; min-height: 290px; overflow: hidden; }
.og-hero-visual > figure, .og-transport-photo > figure { position: absolute; inset: 0; }
.og-hero-visual .wp-block-image img, .og-transport-photo .wp-block-image img { width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.og-hero-visual figure::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 20, 45, .5)); }
.og-hero-image figcaption { position: absolute; z-index: 1; left: 32px; bottom: 32px; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.og-hero-image figcaption::before { content: ""; width: 28px; border-top: 2px solid #fff; }

/* Schnellzugriffe */
.og-shortcuts-band { padding-top: 0; padding-bottom: 0; }
.og-shortcuts { gap: 0 !important; margin: 0; border-bottom: 1px solid var(--og-line); }
.og-shortcut { box-sizing: border-box; position: relative; display: flex; align-items: baseline; gap: 16px; padding: 32px 56px 32px 24px; }
.og-shortcut:first-child { padding-left: 0; }
.og-shortcut + .og-shortcut { border-left: 1px solid var(--og-line); }
.og-shortcut > * { margin: 0 !important; }
.og-shortcut:hover { background: var(--og-pale); }
.og-shortcut { word-break: normal; overflow-wrap: normal; }
.og-step-no { flex: none; white-space: nowrap; font-size: var(--wp--preset--font-size--ui); font-weight: 600; color: var(--og-muted); font-variant-numeric: tabular-nums; line-height: 1.45; }
.og-step-link { font-size: var(--wp--preset--font-size--ui); line-height: 1.45; }
.og-step-link a { color: var(--og-ink); text-decoration: none; }
.og-step-link strong { font-size: var(--wp--preset--font-size--lead); }
.og-step-link a::before { content: ""; position: absolute; inset: 0; }
.og-shortcut::after { content: ""; position: absolute; right: 24px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: var(--og-navy); -webkit-mask: var(--og-arrow-down) center / contain no-repeat; mask: var(--og-arrow-down) center / contain no-repeat; }
.og-notice { gap: 16px 24px; margin-top: 24px !important; align-items: center; }
.og-notice > * { margin: 0 !important; }
.og-notice-text { position: relative; padding-left: 36px; font-size: var(--wp--preset--font-size--small); color: var(--og-muted); }
.og-notice-text::before { content: "i"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border: 1px solid #8595a6; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.og-notice .og-text-link { flex: none; font-size: var(--wp--preset--font-size--ui); }
.og-shortcuts-band + .og-section { padding-top: var(--wp--preset--spacing--60); }

/* Karten */
.og-cards { gap: 24px !important; }
.og-card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--og-line); }
.og-card > * { margin: 0 !important; }
.og-card-image { position: relative; overflow: hidden; background: var(--og-navy); }
.wp-block-image.og-card-image a { display: block; }
.wp-block-image.og-card-image img { width: 100%; height: 208px; object-fit: cover; transition: transform .3s; }
.wp-block-image.og-card-image-wide img { height: auto; aspect-ratio: 16 / 9; }
.og-card:hover .wp-block-image.og-card-image img { transform: scale(1.025); }
.og-card-image:not(.og-card-image-caption) figcaption { position: absolute; left: 24px; bottom: 20px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.og-card-image:has(figcaption):not(.og-card-image-caption)::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0, 20, 45, .55)); pointer-events: none; }
.og-card-image figcaption { z-index: 1; }
.og-card-image-caption { background: var(--og-soft); }
.wp-block-image.og-card-image-caption img { height: auto; aspect-ratio: 3 / 2; }
.og-card-image-caption figcaption { padding: 8px 16px; font-size: var(--wp--preset--font-size--small); color: var(--og-muted); }
.og-card-body, .og-card-plain { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.og-card-body > *, .og-card-plain > * { margin: 0 !important; }
.og-card-body > * + *, .og-card-plain > * + * { margin-top: 16px !important; }
.og-card-body > .og-kicker + h3, .og-card-plain > .og-kicker + h3 { margin-top: 4px !important; }
.og-card-body > .og-text-link:last-child, .og-card-body > .og-card-links:last-child, .og-card-plain > .og-text-link:last-child { margin-top: auto !important; padding-top: 16px; }
.og-card-body h3, .og-card-plain h3 { margin: 0; }
.og-hours { padding: 12px 0; border-top: 1px solid var(--og-line); border-bottom: 1px solid var(--og-line); font-size: var(--wp--preset--font-size--small); }
.og-hours strong { float: right; font-weight: 600; }
.og-phone { font-weight: 700; }
.og-phone a { color: var(--og-ink); text-decoration: none; }
.og-phone a:hover { text-decoration: underline; }
.og-card-plain .og-muted a { color: inherit; }

/* Material-Chips */
.og-chips-row { gap: 8px 16px; margin-block-start: 32px !important; }
.og-chips-label { margin: 0; font-size: var(--wp--preset--font-size--ui); }
.og-chips { gap: 8px; }
.og-chips .wp-block-button__link { min-height: 44px; padding: 10px 16px !important; font-size: var(--wp--preset--font-size--ui) !important; color: var(--og-ink) !important; background: #fff !important; border-color: var(--og-line) !important; }
.og-chips .wp-block-button__link:hover { border-color: var(--og-navy) !important; color: var(--og-navy) !important; background: var(--og-soft) !important; }

/* Ausklappbare Details (Produkte, Annahmeprofile) */
.og-detail-list { margin-block-start: 24px !important; }
.og-detail-list > * + * { margin-block-start: 8px !important; }
.og-numbered { counter-reset: og-item; }
.og-detail { counter-increment: og-item; background: #fff; border: 1px solid var(--og-line); }
.og-detail[open] { border-color: #6b7c8a; }
.og-detail:target { border-color: var(--og-blue); box-shadow: 0 0 0 1px var(--og-blue); }
.og-detail > summary { display: flex; align-items: center; gap: 24px; min-height: 72px; padding: 16px 24px; cursor: pointer; list-style: none; font-size: var(--wp--preset--font-size--lead); font-weight: 700; line-height: 1.35; }
.og-detail > summary::-webkit-details-marker { display: none; }
.og-numbered .og-detail > summary::before { content: counter(og-item, decimal-leading-zero); flex: none; width: 28px; font-size: var(--wp--preset--font-size--small); color: var(--og-blue); }
.og-detail > summary::after { content: ""; margin-left: auto; flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--og-chevron) center / contain no-repeat; mask: var(--og-chevron) center / contain no-repeat; transition: transform .18s; }
.og-detail[open] > summary::after { transform: rotate(180deg); }
.og-detail > summary:hover, .og-detail[open] > summary { background: var(--og-soft); }
.og-detail[open] > summary { border-bottom: 1px solid var(--og-line); }
.og-detail > :not(summary) { margin: 0; padding: 32px; }
.og-detail > :not(summary) + :not(summary) { padding-top: 0; }
.og-detail-cols { gap: 32px !important; }
.og-detail-cols > .wp-block-column > * { margin-block: 0; }
.og-detail-cols > .wp-block-column > * + * { margin-block-start: 16px; }
.wp-block-image.og-detail-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--og-soft); }
.og-detail-image figcaption, .og-profile-image figcaption { padding-top: 8px; }
.og-facts { list-style: none; padding: 0; margin: 20px 0 0 !important; }
.og-facts li { display: grid; grid-template-columns: minmax(100px, .7fr) minmax(0, 1fr); gap: 20px; padding: 10px 0; border-top: 1px solid var(--og-line); color: var(--og-muted); }
.og-facts li strong { color: var(--og-ink); }
.og-detail-cols .wp-block-buttons { margin-top: 24px !important; }
.og-profile-grid { gap: 24px !important; margin: 0; }
.wp-block-image.og-profile-image img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.og-profile-image figcaption { font-size: var(--wp--preset--font-size--ui); font-weight: 600; color: var(--og-ink); }
.og-profile-actions { gap: 16px 24px; }
.og-profile-actions > * { margin: 0; }
.og-advice { margin-block-start: 24px !important; }

/* Ablauf und Hinweiskästen */
.og-process { gap: 32px !important; }
.og-process-step { border-top: 1px solid var(--og-line); padding-top: 24px; }
.og-process-step > * { margin: 0; }
.og-process-number { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--og-blue); }
.has-navy-background-color .og-process-number { color: var(--og-light); }
.og-process-step h3 { margin: 16px 0 8px; }
.og-box { gap: 24px 32px; padding: 32px; background: var(--og-pale); }
.og-box > * { margin: 0; }
.og-box-text { max-width: 650px; }
.og-box-text > * { margin: 0; }
.og-box-title { font-size: var(--wp--preset--font-size--lead); }
.og-box-text > * + * { margin-top: 8px; }
.og-cards-4 + .og-box { margin-block-start: 24px; }

/* Transport */
.og-transport { padding: 0 !important; }
.og-transport-copy { padding: var(--og-section) var(--og-edge) var(--og-section) var(--og-gutter); }
.og-transport-copy > * { margin-block: 0; }
.og-transport-copy h2 { margin-bottom: 24px !important; }
.og-transport-copy .og-lead { margin-bottom: 24px; }
.og-dot-list { list-style: none; padding: 0; margin: 0 0 32px !important; }
.og-dot-list li { padding: 12px 0; border-bottom: 1px solid var(--og-line-dark); }
.og-dot-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--og-light); margin-right: 15px; vertical-align: middle; }

/* Kontakt */
.og-contact { gap: 48px var(--og-gutter) !important; }
.og-contact > .wp-block-column > * { margin-block: 0; }
.og-contact > .wp-block-column > * + * { margin-block-start: 24px; }
.og-contact .og-eyebrow + h2 { margin-block-start: 0; }
.og-contact-phone { font-size: clamp(24px, 1.2rem + .9vw, 32px); font-weight: 700; letter-spacing: -.02em; margin-block-start: 32px !important; }
.og-contact-phone a, .og-contact-mail a { color: #fff; text-decoration: none; }
.og-contact-phone a:hover, .og-contact-mail a:hover { text-decoration: underline; }
.og-contact-mail { margin-block-start: 0 !important; }
.og-contact-address { color: var(--og-on-dark); }
.og-contact-address strong { color: #fff; }
.og-panel { padding: 32px; }
.og-panel > * { margin: 0; }
.og-panel > h3 + * { margin-top: 8px; }
.og-panel > * + .wp-block-html, .og-panel > .og-request { margin-top: 24px; }
.og-request-form label { display: block; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--og-ink); }
.og-request-form label span { font-weight: 400; color: var(--og-muted); }
.og-request-form label + label { margin-top: 16px; }
.og-form-row label + label { margin-top: 0; }
.og-request-form select, .og-request-form textarea { box-sizing: border-box; display: block; width: 100%; margin-top: 8px; padding: 12px; font: inherit; font-size: 16px; font-weight: 400; color: var(--og-ink); background: #fff; border: 1px solid #6b7c8a; min-height: 44px; }
.og-request-form textarea { resize: vertical; min-height: 96px; }
.og-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.og-request-form button { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 24px; cursor: pointer; }
.og-form-note, .og-form-status { margin: 16px 0 0; font-size: var(--wp--preset--font-size--small); color: var(--og-muted); }
.og-form-status:empty { display: none; }
.og-request > .og-text-link { margin: 8px 0 0; font-size: var(--wp--preset--font-size--ui); }
.og-panel .og-text-link a { color: var(--og-ink); }

/* Fußbereich */
.og-footer { padding-top: 32px; padding-bottom: 32px; }
.wp-site-blocks > .og-main, .wp-site-blocks > .og-site-footer { margin-block-start: 0; }
.og-main-page + .og-site-footer .og-footer { border-top: 1px solid var(--og-line); }
.og-footer > * { margin-block: 0; }
.og-footer-row { gap: 24px; }
.og-footer-brand { gap: 24px; align-items: center; }
.og-footer .og-logo img { width: 120px; height: auto; }
.og-footer-claim, .og-footer-copy { margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--og-muted); }
.og-footer-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.og-footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--og-ink); text-decoration: none; }
.og-footer-links a:hover { text-decoration: underline; }
.og-footer-copy { margin-block-start: 24px !important; padding-top: 24px; border-top: 1px solid var(--og-line); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.og-hero .og-split { min-height: 520px; }
	.og-hero-copy { padding: 64px 32px 48px var(--og-edge); }
	.og-cards-4 { flex-wrap: wrap !important; }
	.og-cards-4 > .wp-block-column { flex-basis: calc(50% - 12px) !important; flex-grow: 0; }
	.og-shortcut { padding-right: 40px; gap: 12px; }
	.og-shortcut::after { right: 12px; }
	.og-profile-grid { flex-wrap: wrap !important; }
	.og-profile-grid > .wp-block-column { flex-basis: calc(50% - 12px) !important; flex-grow: 0; }
	.og-detail > :not(summary) { padding: 24px; }
}

/* ---------- Mobil (WordPress stapelt Spalten unter 782 px) ---------- */
@media (max-width: 781px) {
	.og-heading { gap: 16px !important; }
	.og-hero-copy { padding: 48px var(--og-edge) 32px; }
	.og-hero .og-split { min-height: 0; }
	.og-hero-visual, .og-transport-photo { height: 290px; flex-basis: auto !important; }
	.og-hero-image figcaption { left: 20px; bottom: 24px; }
	.og-proof-row { margin-top: 32px; }
	.wp-block-columns.wp-block-columns.og-shortcuts { flex-wrap: wrap !important; }
	.wp-block-columns.wp-block-columns.og-shortcuts > .wp-block-column { flex-basis: 50% !important; flex-grow: 0; }
	.og-shortcut { padding: 24px 40px 24px 16px; }
	.og-shortcut:nth-child(odd) { padding-left: 0; border-left: 0; }
	.og-shortcut:nth-child(n+3) { border-top: 1px solid var(--og-line); }
	.og-shortcut::after { right: 12px; width: 18px; height: 18px; margin-top: -9px; }
	.og-step-link strong { font-size: var(--wp--preset--font-size--medium); }
	.og-notice { flex-wrap: wrap !important; }
	.og-notice .og-text-link { margin-left: 36px !important; }
	.wp-block-image.og-card-image img { height: 192px; }
	.og-card-image-caption img, .wp-block-image.og-card-image-wide img { height: auto; }
	.og-cards-4 > .wp-block-column { flex-basis: 100% !important; }
	.wp-block-columns.wp-block-columns.og-profile-grid { flex-wrap: wrap !important; }
	.wp-block-columns.wp-block-columns.og-profile-grid > .wp-block-column { flex-basis: calc(50% - 12px) !important; flex-grow: 0; }
	.og-detail > summary { padding: 16px; gap: 12px; font-size: var(--wp--preset--font-size--medium); }
	.og-detail > :not(summary) { padding: 16px 16px 24px; }
	.og-detail > :not(summary) + :not(summary) { padding-top: 0; }
	.og-facts li { grid-template-columns: minmax(80px, .7fr) minmax(0, 1fr); gap: 14px; }
	.og-process { gap: 24px !important; }
	.og-box { padding: 24px; }
	.og-transport-copy { padding: var(--og-section) var(--og-edge); }
	.og-panel { padding: 24px; }
	.og-footer-row { flex-direction: column; align-items: flex-start !important; }
	html { scroll-padding-top: 16px; }
}
@media (max-width: 440px) {
	.og-form-row { grid-template-columns: 1fr; }
	.og-proof-row { gap: 24px; }
	.og-proof + .og-proof { padding-left: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Link-spezifische Bausteine (Version 1.0.0)
   ========================================================= */

/* Leistungskarten mit Liste */
.og-service .og-card-image figcaption { font-size: var(--wp--preset--font-size--ui); letter-spacing: .04em; }
.og-card-list { list-style: none; padding: 0; margin: 0; font-size: var(--wp--preset--font-size--small); color: var(--og-ink); }
.og-card-list li { position: relative; padding: 8px 0 8px 18px; border-top: 1px solid var(--og-line); line-height: 1.45; }
.og-card-list li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; background: var(--og-blue); }

/* Referenzband */
.og-reference { align-items: center; }
.og-reference-name { font-size: clamp(64px, 3rem + 6vw, 144px) !important; line-height: .9 !important; letter-spacing: -.04em !important; }
.og-reference-note { position: relative; padding-top: 24px; color: var(--og-on-dark); font-size: var(--wp--preset--font-size--small); }
.og-reference-note::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; border-top: 2px solid var(--og-light); }

/* Film und Arbeitsweise */
.og-film { gap: 48px var(--og-gutter) !important; }
.og-film > .wp-block-column { margin: 0; }
.og-film-media { flex: 0 0 34% !important; max-width: 420px; }
.og-film-copy > * { margin-block: 0; }
.og-film-copy > * + * { margin-block-start: 24px; }
.og-film-copy .og-eyebrow + h2 { margin-block-start: 0; }
.og-film .wp-block-video { margin: 0; }
.og-film .wp-block-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--og-navy); }
.og-film .wp-block-video figcaption { margin-top: 8px; text-align: left; font-size: var(--wp--preset--font-size--small); color: var(--og-muted); }
.og-steps { list-style: none; padding: 0; margin-block-start: 32px !important; counter-reset: og-step; }
.og-steps li { counter-increment: og-step; position: relative; padding: 16px 0 16px 48px; border-top: 1px solid var(--og-line); color: var(--og-muted); }
.og-steps li:last-child { border-bottom: 1px solid var(--og-line); }
.og-steps li::before { content: counter(og-step, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-size: var(--wp--preset--font-size--small); font-weight: 700; color: var(--og-blue); }
.og-steps li strong { display: block; color: var(--og-ink); font-size: var(--wp--preset--font-size--lead); margin-bottom: 4px; }

/* Nachweise */
.og-document .og-small { padding-top: 12px; border-top: 1px solid var(--og-line); }
.og-renew-link { display: none; }
.og-document.og-expired .og-document-link { display: none; }
.og-document.og-expired .og-renew-link { display: block; }
.og-document.og-expired .og-kicker { color: #9a3412; }
.og-section-pale .og-card { background: #fff; }

/* Anfrageformular (Plugin „Link Anfrageformular“) */
.og-request-form input[type="text"], .og-request-form input[type="email"], .og-request-form input[type="tel"] {
	box-sizing: border-box; display: block; width: 100%; margin-top: 8px; padding: 12px; font: inherit; font-size: 16px; font-weight: 400;
	color: var(--og-ink); background: #fff; border: 1px solid #6b7c8a; min-height: 44px;
}
.og-request-form label.og-consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--og-muted); margin-top: 16px; }
.og-request-form label.og-consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--og-navy); }
.og-request-form label.og-consent a { color: var(--og-blue); }
.og-request-form .og-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.og-request-form button { font: inherit; font-weight: 600; color: #fff; background: var(--og-navy); border: 1px solid var(--og-navy); padding: 12px 20px; min-height: 48px; }
.og-request-form button:hover { background: var(--og-blue); border-color: var(--og-blue); }
.og-form-message { margin: 0 0 24px; padding: 16px 20px; font-size: var(--wp--preset--font-size--ui); border-left: 4px solid var(--og-blue); background: var(--og-soft); color: var(--og-ink); }
.og-form-message.is-error { border-left-color: #b42318; background: #fdecea; }
.og-panel .wp-block-shortcode, .og-panel > p:empty { margin: 0; }
.og-panel > .og-small + * { margin-top: 24px; }

@media (max-width: 781px) {
	.og-film-media { flex-basis: auto !important; max-width: 360px; }
	.og-reference-name { font-size: 64px !important; }
}
