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

/* ---------- Grundlagen ---------- */
:root {
	--oet-navy: var(--wp--preset--color--navy);
	--oet-blue: var(--wp--preset--color--blue-700);
	--oet-light: var(--wp--preset--color--light-blue);
	--oet-ink: var(--wp--preset--color--ink);
	--oet-muted: var(--wp--preset--color--muted);
	--oet-line: var(--wp--preset--color--line);
	--oet-pale: var(--wp--preset--color--pale);
	--oet-soft: var(--wp--preset--color--soft);
	--oet-on-dark: #d3deea;
	--oet-line-dark: #2c4a6b;
	--oet-section: var(--wp--preset--spacing--70);
	--oet-gutter: clamp(32px, 2rem + 2.5vw, 80px);
	--oet-edge: max(var(--wp--style--root--padding-left, 20px), calc((100vw - 1280px) / 2));
	--oet-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");
	--oet-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");
	--oet-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; }
.oet-notice-text::before { border-radius: 50% !important; }
.oet-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(--oet-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 */
.oet-text-link a::after, .oet-card-links a::after, .wp-block-button__link::after, .oet-request-form button::after, .oet-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(--oet-arrow) center / contain no-repeat; mask: var(--oet-arrow) center / contain no-repeat;
}

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

.oet-text-link a, .oet-card-links a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0;
	font-weight: 600; color: var(--oet-ink); text-decoration: none; border-bottom: 1px solid currentColor;
}
.oet-text-link a:hover, .oet-card-links a:hover { color: var(--oet-blue); }
.has-navy-background-color .oet-text-link a, .has-navy-background-color .oet-card-links a { color: #fff; }
.oet-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(--oet-navy); border: 1px solid var(--oet-navy); padding: 12px 20px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--oet-navy); color: #fff; }
.wp-block-button.oet-btn-white > .wp-block-button__link { background: #fff; color: var(--oet-navy); border-color: #fff; }
.wp-block-button.oet-btn-white > .wp-block-button__link:hover { background: var(--oet-soft); border-color: var(--oet-soft); color: var(--oet-navy); }
.wp-block-buttons { gap: 12px 16px; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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