/*
Theme Name: ROMEDIA design
Theme URI: https://romedia-design.at
Author: ROMEDIA design e.U.
Author URI: https://romedia-design.at
Description: Individuelles Agentur-Theme für ROMEDIA design – Kreativagentur-Layout mit Hell/Dunkel-Modus, Projekt-Slider, Infos-Panel und Ladebildschirm; schnell (keine externen Ressourcen) und mit eingebauter SEO- und GEO-Technik (Schema.org, llms.txt, Meta-Daten, KI-Crawler, Weiterleitungen).
Version: 1.3.1
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: romedia
License: Proprietär – alle Rechte vorbehalten
*/

/* =========================================================================
   Schrift (lokal, DSGVO-konform)
   ========================================================================= */
@font-face { font-family: "Mg12"; src: url("assets/fonts/mg12-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Mg12"; src: url("assets/fonts/mg12-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Mg12"; src: url("assets/fonts/mg12-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* =========================================================================
   Farben & Maße – HIER zentral anpassen
   Dunkel = Standard, Hell = [data-theme="light"]
   ========================================================================= */
:root {
	--brand: #c94912;            /* ROMEDIA Orange (Logo) */
	--brand-text: #c94912;       /* Hervorgehobene Wörter & Links – immer Logo-Orange */
	--brand-deep: #2a1a14;       /* dunkles Orange-Braun (Branding-Karte) */
	--ink: #1d1d1b;              /* ROMEDIA Schwarz (Logo) */
	--on-brand: #ffffff;

	--bg: #161615;
	--surface: #1f1f1d;          /* Karten */
	--surface-2: #2b2b28;        /* Icons, Felder */
	--line: rgba(255, 255, 255, .12);
	--heading: #ffffff;
	--text: #e4e3df;
	--muted: #c9c8c3;
	--muted-2: #8e8d88;
	--contrast: #ffffff;         /* invertierte Fläche */
	--on-contrast: #1d1d1b;
	--glass: rgba(22, 22, 21, .78);
	--pill: rgba(255, 255, 255, .06);
	--pill-hover: rgba(255, 255, 255, .1);
	--overlay: rgba(0, 0, 0, .55);

	--radius: 24px;
	--radius-lg: 32px;
	--radius-sm: 12px;
	--container: 1340px;
	--container-wide: 1500px;
	--gutter: clamp(16px, 4vw, 48px);
	--font: "Mg12", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	/* Schriftgrößen-Skala – hier zentral ändern, wirkt überall.
	   Fließend = wächst mit der Bildschirmbreite zwischen Minimum und Maximum. */
	--fs-label: 12px;                        /* Labels, Zusatzinfos, kleine Hinweise */
	--fs-small: 13px;                        /* Abschnitts-Labels, Pillen, Meta-Zeilen */
	--fs-ui: 14px;                           /* Menü, Buttons, Formular-Beschriftungen */
	--fs-card: 15px;                         /* Texte in Karten */
	--fs-body: 17px;                         /* Fließtext */
	--fs-lead: clamp(18px, 1.7vw, 22px);     /* Einleitungen, FAQ-Fragen, Zitate */
	--fs-h5: clamp(20px, 1.7vw, 24px);       /* kleine Überschriften, Kartentitel */
	--fs-h4: clamp(24px, 2.4vw, 32px);       /* Zwischenüberschriften groß */
	--fs-h3: clamp(28px, 3vw, 40px);         /* Überschriften im Inhalt */
	--fs-h2: clamp(32px, 3.6vw, 52px);       /* Titel der All-In-Karten, Footer, Zahlen */
	--fs-h1: clamp(36px, 5vw, 64px);         /* Seiten- und Abschnittsüberschriften */
	--fs-display: clamp(38px, 5.4vw, 96px);  /* Startseiten-Überschrift */
	--fs-giant: clamp(56px, 10vw, 160px);    /* Laufband, „So simpel …“ */
	--ease: cubic-bezier(.22, .8, .2, 1);
	--ease-roll: cubic-bezier(.76, 0, .24, 1);
	color-scheme: dark;
}

:root[data-theme="light"] {
	--brand-text: #c94912;
	--brand-deep: #f3e3da;
	--bg: #f4f2ee;
	--surface: #ffffff;
	--surface-2: #e8e5df;
	--line: rgba(29, 29, 27, .12);
	--heading: #1d1d1b;
	--text: #2f2f2c;
	--muted: #55544f;
	--muted-2: #7a7872;
	--contrast: #1d1d1b;
	--on-contrast: #ffffff;
	--glass: rgba(244, 242, 238, .82);
	--pill: rgba(29, 29, 27, .05);
	--pill-hover: rgba(29, 29, 27, .09);
	--overlay: rgba(29, 29, 27, .35);
	color-scheme: light;
}

/* =========================================================================
   Basis
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--heading);
	font-family: var(--font);
	font-size: var(--fs-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--brand-text); }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--heading); }
p { margin: 0 0 1.2em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: var(--on-brand); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.container--mid { max-width: calc(980px + 2 * var(--gutter)); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 46ch; }

/* Logo: hell/dunkel automatisch tauschen (überall) */
.logo--dark { display: none; }
[data-theme="light"] .logo--light { display: none; }
[data-theme="light"] .logo--dark { display: block; }
.site-logo { display: inline-block; }
.site-logo img { width: 130px; height: auto; }
@media (min-width: 900px) { .site-logo img { width: 150px; } }
.ro-mark { width: 52px; height: auto; color: var(--brand); }

/* =========================================================================
   Ladebildschirm (nur erster Aufruf pro Besuch, max. ~1,4 s, reines CSS)
   ========================================================================= */
.preloader { display: none; }
.js:not(.no-preloader) .preloader {
	display: grid; place-items: center;
	position: fixed; inset: 0; z-index: 500;
	background: var(--bg);
	animation: preloader-out .7s var(--ease-roll) 1s forwards;
}
.preloader__logo { width: min(240px, 50vw); clip-path: inset(0 100% 0 0); animation: preloader-logo .9s var(--ease-roll) .1s forwards; }
.preloader__logo img { width: 100%; height: auto; }
@keyframes preloader-logo { to { clip-path: inset(0 0 0 0); } }
@keyframes preloader-out { to { transform: translateY(-100%); visibility: hidden; } }

/* =========================================================================
   Buttons mit gleitendem Pfeil
   ========================================================================= */
.btn {
	position: relative;
	display: inline-flex; align-items: center; gap: 14px;
	padding: 6px 6px 6px 22px; border-radius: 10px; /* wie der Titel-Button der Projektkarten */
	font: 500 var(--fs-ui)/1 var(--font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
	border: 1px solid transparent; cursor: pointer;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn__arrow { position: relative; display: block; width: 38px; height: 38px; border-radius: 6px; overflow: hidden; flex: none; transition: background-color .35s var(--ease), color .35s; }
.btn__arrow svg { position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn__arrow svg + svg { transform: translateX(-200%); }
.btn:hover .btn__arrow svg:first-child, .btn:focus-visible .btn__arrow svg:first-child { transform: translateX(200%); }
.btn:hover .btn__arrow svg + svg, .btn:focus-visible .btn__arrow svg + svg { transform: translateX(0); }

.btn--light { background: var(--contrast); color: var(--on-contrast); }
.btn--light .btn__arrow { background: var(--on-contrast); color: var(--contrast); }
.btn--light:hover { background: var(--brand); color: var(--on-brand); }
.btn--light:hover .btn__arrow { background: var(--on-brand); color: var(--brand); }
.btn--accent { background: var(--brand); color: var(--on-brand); }
.btn--accent .btn__arrow { background: var(--on-brand); color: var(--brand); }
.btn--accent:hover { background: var(--contrast); color: var(--on-contrast); }
.btn--accent:hover .btn__arrow { background: var(--brand); color: var(--on-brand); }
.btn--outline { border-color: var(--line); color: var(--heading); }
.btn--outline .btn__arrow { background: var(--surface-2); }
.btn--outline:hover { border-color: var(--brand); color: var(--heading); }
.btn--outline:hover .btn__arrow { background: var(--brand); color: var(--on-brand); }
/* Orange Glas (z. B. WhatsApp „Chat starten“) */
.btn--glass { background: rgba(201, 73, 18, .16); border-color: rgba(201, 73, 18, .55); color: var(--heading); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); }
.btn--glass .btn__arrow { background: var(--brand); color: var(--on-brand); }
.btn--glass:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn--glass:hover .btn__arrow { background: var(--on-brand); color: var(--brand); }
[data-theme="light"] .btn--glass { background: rgba(201, 73, 18, .1); border-color: rgba(201, 73, 18, .45); }
[data-theme="light"] .btn--glass:hover { background: var(--brand); color: var(--on-brand); }
.btn--plain { padding: 0; gap: 12px; color: inherit; }
.btn--plain .btn__arrow { width: 32px; height: 32px; background: var(--contrast); color: var(--on-contrast); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* =========================================================================
   Header: Menü mit „Rolling Text“, Dropdown, verschwindet beim Runterscrollen
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 60; padding: 8px clamp(12px, 1.2vw, 20px); transition: background-color .3s, transform .5s var(--ease); }
/* Header selbst bleibt transparent – Glas-Effekt nur auf der Menü-Pille */
.site-header.is-hidden { transform: translateY(-110%); }
.site-header__inner { max-width: none; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
/* Handy/Tablet: beim Scrollen liegt die ganze Kopfzeile (Logo, Hell/Dunkel, Menü) in einer Glas-Pille. */
@media (max-width: 999px) {
	.site-header__inner { padding: 6px 4px; border: 1px solid transparent; border-radius: 16px; transition: background-color .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease), -webkit-backdrop-filter .35s, backdrop-filter .35s; }
	/* gleiche Transparenz wie die Menü-Pille am Desktop (.main-nav > .menu) */
	.site-header.is-scrolled .site-header__inner { padding: 6px 8px 6px 16px; background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
	[data-theme="light"] .site-header.is-scrolled .site-header__inner { background: rgba(255, 255, 255, .35); border-color: rgba(29, 29, 27, .06); }
	.site-header.is-scrolled .site-logo img { width: 112px; }
	.site-logo img { transition: width .35s var(--ease); }
}

.main-nav > .menu { display: flex; list-style: none; margin: 0; padding: 6px 22px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
[data-theme="light"] .main-nav > .menu { background: rgba(255, 255, 255, .35); border-color: rgba(29, 29, 27, .06); }
.main-nav > .menu > li { position: relative; }
.main-nav > .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 20px 22px; font-size: var(--fs-ui); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--heading); }
.main-nav > .menu > .menu-item-has-children > a::after { content: ""; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid currentColor; margin-left: 2px; }
.main-nav > .menu > li > a:hover { color: var(--heading); }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current_page_parent > a { color: var(--brand-text) !important; }
@media (max-width: 999px) { .main-nav { display: none; } }

/* Rolling Text: Buchstaben rollen nach oben, gleiche Zeile rollt nach */
.rolling-text { display: inline-block; overflow: hidden; height: 1.25em; line-height: 1.25em; vertical-align: top; }
.rolling-text .block { display: block; white-space: nowrap; }
.rolling-text .letter { display: inline-block; transition: transform .5s var(--ease-roll); }
a:hover > .rolling-text .letter, a:focus-visible > .rolling-text .letter { transform: translateY(-100%); }

/* Dropdown */
.main-nav .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: 70;
	min-width: 260px; list-style: none; margin: 0; padding: 10px 6px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { position: relative; display: block; padding: 10px 22px; font-size: var(--fs-card); text-decoration: none; color: var(--heading); transition: padding .4s var(--ease), color .3s; }
.main-nav .sub-menu a::before { content: ""; position: absolute; left: 10px; top: 50%; width: 0; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { padding-left: 32px; color: var(--brand-text); }
.main-nav .sub-menu a:hover::before, .main-nav .sub-menu .current-menu-item > a::before { width: 12px; }
/* Trennlinie im Dropdown (CSS-Klasse „menu-divider“ am Menüpunkt) */
.main-nav .sub-menu .menu-divider { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }

.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--heading); cursor: pointer; display: grid; place-items: center; transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.icon-btn:hover { border-color: var(--brand); }
.theme-toggle .icon--sun { display: none; }
[data-theme="light"] .theme-toggle .icon--sun { display: block; }
[data-theme="light"] .theme-toggle .icon--moon { display: none; }

.menu-toggle { display: inline-flex; align-items: center; gap: 12px; border: 0; background: none; color: var(--heading); cursor: pointer; padding: 8px 0; font: 500 var(--fs-small)/1 var(--font); letter-spacing: .1em; text-transform: uppercase; }
.menu-toggle__bars { display: grid; gap: 6px; width: 22px; }
.menu-toggle__bars span { height: 1.5px; background: currentColor; transition: transform .35s var(--ease), width .35s var(--ease); }
.menu-toggle__bars span:last-child { width: 70%; justify-self: end; }
.menu-toggle:hover .menu-toggle__bars span:last-child { width: 100%; }

/* =========================================================================
   Infos-Panel (fährt von oben herein, Mivon-Stil)
   ========================================================================= */
.panel-overlay { position: fixed; inset: 0; z-index: 80; background: var(--overlay); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.side-panel {
	position: fixed; top: 10px; left: 10px; right: 10px; z-index: 90;
	max-height: calc(100vh - 20px); overflow-y: auto;
	padding: clamp(28px, 5vw, 72px) clamp(24px, 5vw, 80px);
	background: var(--surface); border: 1px solid var(--line); border-radius: clamp(24px, 3vw, 50px);
	transform: translateY(calc(-100% - 20px)); visibility: hidden;
	transition: transform .8s var(--ease-roll), visibility .8s;
}
.panel-open .panel-overlay { opacity: 1; visibility: visible; }
.panel-open .side-panel { transform: none; visibility: visible; }
.panel-open { overflow: hidden; }
.side-panel__close { position: absolute; top: clamp(18px, 3vw, 36px); right: clamp(18px, 3vw, 36px); width: 56px; height: 56px; }
.side-panel__close:hover { transform: rotate(90deg); }
.side-panel__grid { display: grid; gap: 48px; align-items: end; }
@media (min-width: 1000px) {
	.side-panel { left: auto; width: calc(50% - 15px); padding-top: 96px; }
	.side-panel__nav { display: none; }
	.side-panel__claim { font-size: var(--fs-lead); }
}
.side-panel__nav .menu, .side-panel__nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.side-panel__nav .menu > li { overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; border-bottom: 1px solid transparent; }
.side-panel__nav .menu > li > a { display: block; font-size: var(--fs-h1); font-weight: 500; line-height: 1.15; text-transform: uppercase; text-decoration: none; color: var(--heading); transform: translateY(100%); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease), color .3s; }
.side-panel__nav .menu > li > a:hover { color: var(--brand-text); }
.panel-open .side-panel__nav .menu > li > a { transform: none; opacity: 1; }
.panel-open .side-panel__nav .menu > li:nth-child(2) > a { transition-delay: .07s; }
.panel-open .side-panel__nav .menu > li:nth-child(3) > a { transition-delay: .14s; }
.panel-open .side-panel__nav .menu > li:nth-child(4) > a { transition-delay: .21s; }
.panel-open .side-panel__nav .menu > li:nth-child(5) > a { transition-delay: .28s; }
.panel-open .side-panel__nav .menu > li:nth-child(6) > a { transition-delay: .35s; }
.submenu-toggle { width: 44px; height: 44px; border: 0; background: none; color: var(--heading); cursor: pointer; font-size: 34px; font-weight: 300; line-height: 1; transition: transform .35s var(--ease); }
.submenu-toggle[aria-expanded="true"] { transform: rotate(45deg); color: var(--brand-text); }
.side-panel__nav .sub-menu { flex-basis: 100%; display: grid; gap: 4px; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease), padding .5s var(--ease); }
.side-panel__nav .sub-menu.is-open { max-height: 400px; padding: 6px 0 18px; }
.side-panel__nav .sub-menu a { font-size: var(--fs-lead); color: var(--muted); text-decoration: none; }
.side-panel__nav .sub-menu a:hover { color: var(--brand-text); }
.side-panel__nav .sub-menu .menu-divider { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.side-panel__info { color: var(--muted); }
.side-panel__claim { font-size: var(--fs-lead); line-height: 1.5; color: var(--heading); margin-bottom: 36px; }
.side-panel__block { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--line); }
.side-panel__block p { margin: 0 0 6px; }
.side-panel__block a { color: var(--heading); text-decoration: none; }
.side-panel__label { font-size: var(--fs-small); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px !important; }
.side-panel .social-icons { margin-top: 28px; }

/* Runde Social-Icons */
.social-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-icons a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); font-size: var(--fs-ui); font-weight: 700; color: var(--heading); text-decoration: none; transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.social-icons a:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); transform: translateY(-3px); }
.social-icons .icon { width: 17px; height: 17px; }

/* =========================================================================
   Eigener Mauszeiger (nur Maus)
   ========================================================================= */
.cursor, .cursor-dot { display: none; }
@media (pointer: fine) {
	.has-cursor .cursor, .has-cursor .cursor-dot { display: block; position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; }
	.has-cursor .cursor { width: 36px; height: 36px; margin: -18px 0 0 -18px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(2px); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, opacity .3s; }
	[data-theme="light"].has-cursor .cursor, [data-theme="light"] .has-cursor .cursor { background: rgba(29, 29, 27, .08); }
	.has-cursor .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--brand); }
	.has-cursor .cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(201, 73, 18, .2); }
	.has-cursor .cursor.is-hidden, .has-cursor .cursor-dot.is-hidden { opacity: 0; }
}

/* =========================================================================
   Nach-oben-Kreis
   ========================================================================= */
.to-top-progress {
	position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 50;
	width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
	background: var(--surface); color: var(--heading); box-shadow: inset 0 0 0 2px var(--line);
	display: grid; place-items: center;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .35s, visibility .35s, transform .35s var(--ease);
}
.to-top-progress.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top-progress svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-progress .ring path { fill: none; stroke: var(--brand); stroke-width: 3; }
.to-top-progress .icon { transform: rotate(-90deg); width: 18px; }

/* =========================================================================
   Eyebrow & Titel
   ========================================================================= */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--heading); }
.section-title { font-size: var(--fs-h1); text-transform: uppercase; font-weight: 400; color: var(--muted-2); }
.section-title span { font-weight: 500; color: var(--heading); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 8vw, 110px) clamp(56px, 8vw, 120px); }
.hero > .container { position: relative; z-index: 1; }
/* Raster-Hintergrund oben auf der Startseite – reicht hinter Logo und Menü */
body.home { position: relative; }
body.home::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: min(100vh, 860px); background: url("assets/img/hero-grid-dark.png") top center / 150% auto no-repeat; opacity: .5; pointer-events: none; animation: grid-in 1.4s var(--ease) both; }
[data-theme="light"] body.home::before { background-image: url("assets/img/hero-grid-light.png"); }
@keyframes grid-in { from { opacity: 0; } to { opacity: .5; } }
@media (max-width: 999px) { body.home::before { background-size: 330% auto; } }
.hero__title { font-size: var(--fs-display); line-height: 1.1; max-width: 16em; font-weight: 500; }
.hero__title em { font-style: normal; color: var(--brand-text); text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .12em; }
.hero__bottom { display: grid; gap: 40px; margin-top: clamp(40px, 6vw, 90px); align-items: center; }
/* Schriftkreis mit exakt gleichem Abstand zu den Pillen (links) und zum Text (rechts) */
@media (min-width: 1000px) { .hero__bottom { display: flex; justify-content: space-between; } .hero__bottom > .tags { flex: 0 1 420px; } .hero__bottom > .hero__intro { flex: 0 1 auto; max-width: 40ch; } .hero__bottom > .badge { flex: none; } }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; max-width: 420px; }
.tags li, .tags--links a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-small); color: var(--heading); text-decoration: none; transition: background-color .3s, border-color .3s, color .3s; }
.tags--links li { padding: 0; border: 0; }
.tags--links a:hover { background: var(--pill-hover); border-color: transparent; color: var(--heading); }
.badge { position: relative; width: 176px; height: 176px; justify-self: center; }
.badge__text { width: 100%; height: 100%; animation: spin 20s linear infinite; }
.badge__text text { fill: var(--heading); font: 500 13.7px var(--font); /* = 12px bei 176px Kreis */ letter-spacing: .22em; text-transform: uppercase; }
.badge__mark { position: absolute; inset: 50% auto auto 50%; width: 58px; transform: translate(-50%, -50%); color: var(--brand); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__intro p { color: var(--muted); max-width: 40ch; }

/* =========================================================================
   Services (wie Vorlage: abwechselnd dunkel / hell, breite Branding-Karte)
   ========================================================================= */
.service-grid { display: grid; gap: 16px; }
@media (min-width: 760px) {
	.service-grid { grid-template-columns: 1fr 1fr; }
	.service-grid > .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.service-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 360px; padding: clamp(26px, 3vw, 34px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--heading); transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s; }
.service-card:nth-child(4n+2), .service-card:nth-child(4n+3) { background: var(--contrast); color: var(--on-contrast); border-color: transparent; }
.service-card:last-child:nth-child(odd) { background: var(--brand-deep); }
.service-card__title { font-size: var(--fs-h4); font-size: min(var(--fs-h2), 16.5cqi); margin-bottom: 14px; color: inherit; }
/* Titel wie bei den All-In-Karten, aber nie größer als die Karte erlaubt (cqi = Kartenbreite) – kein Wort wird abgeschnitten */
.service-card, .mini-card { container-type: inline-size; }
.service-card__title, .mini-card__title { overflow-wrap: normal; word-break: normal; hyphens: manual; }
.service-card__title a { text-decoration: none; color: inherit; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.service-card__tagline { font-weight: 700; font-size: var(--fs-body); margin-bottom: 12px; }
.service-card__text { font-size: var(--fs-card); opacity: .8; max-width: 52ch; }
.service-card .btn--plain { margin-top: auto; pointer-events: none; }
.service-card:nth-child(4n+2) .btn--plain .btn__arrow, .service-card:nth-child(4n+3) .btn--plain .btn__arrow { background: var(--surface-2); color: var(--heading); }
.service-card__mark { position: absolute; right: -20px; bottom: -14px; width: 180px; color: var(--on-brand); opacity: 0; transform: translateY(30px) rotate(-8deg); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.service-card:hover { background: var(--brand) !important; color: var(--on-brand) !important; border-color: var(--brand); }
.service-card:hover .service-card__mark { opacity: .22; transform: none; }
.service-card:hover .btn__arrow { background: var(--on-brand) !important; color: var(--brand) !important; }
.service-card:hover .btn__arrow svg:first-child { transform: translateX(200%); }
.service-card:hover .btn__arrow svg + svg { transform: translateX(0); }

/* =========================================================================
   Laufband mit „ro“-Zeichen
   ========================================================================= */
.marquee { overflow: hidden; padding-block: clamp(48px, 7vw, 100px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee__track { display: flex; align-items: center; width: max-content; gap: clamp(28px, 4vw, 60px); animation: marquee 45s linear infinite; }
.marquee__word { font-size: var(--fs-giant); font-weight: 500; line-height: 1.1; color: var(--muted-2); white-space: nowrap; }
.marquee__sep { width: clamp(36px, 4vw, 56px); color: var(--muted-2); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   Über dich + Zahlen
   ========================================================================= */
.about-intro { padding-top: 0; }
.about-intro__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .about-intro__grid { grid-template-columns: 1.25fr 1fr; } }
.about-card { display: flex; flex-direction: column; justify-content: space-between; gap: 60px; padding: clamp(24px, 3vw, 32px); border-radius: var(--radius); background: var(--surface); }
.about-card__icon .icon { width: 64px; height: 64px; stroke-width: 1.6; }
.about-card__name { font-size: var(--fs-small); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.about-card__quote { font-size: var(--fs-h4); line-height: 1.25; margin: 0; }
.about-photo { position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--radius); background: var(--brand); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo__placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.about-photo__placeholder .ro-mark { width: 40%; color: rgba(255, 255, 255, .22); }
.about-photo .btn { position: absolute; left: 22px; bottom: 22px; }
.stat-cards { display: grid; gap: 16px; margin: 16px 0 0; }
@media (min-width: 700px) { .stat-cards { grid-template-columns: 1fr 1fr; } }
.stat-card { position: relative; padding: 18px 22px 22px; border: 1px solid var(--line); border-radius: 16px; }
.stat-card::before, .stat-card::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); top: 14px; right: 14px; }
.stat-card::after { top: auto; bottom: 14px; }
.stat-card dt { font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat-card dd { margin: 36px 0 0; font-size: var(--fs-h2); font-weight: 500; line-height: 1; }

/* =========================================================================
   Projekt-Slider: beim Scrollen seitwärts + ziehen/wischen
   ========================================================================= */
.projects { position: relative; }
/* Abschnitte mit Projekt-Slider: wenig Luft unter der Leiste */
.home-projects, .portfolio-strip, .offer-projects { padding-bottom: clamp(24px, 3vw, 48px); }
.projects__pin { position: relative; }
.projects__track { display: flex; gap: 22px; padding: 12px var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.projects__track::-webkit-scrollbar { display: none; }
.projects__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.projects__track .project-card { flex: 0 0 min(82vw, 540px); scroll-snap-align: center; }
/* Desktop mit JS: Bereich bleibt stehen, Leiste fährt beim Scrollen */
.hscroll.is-pinned .hscroll__pin { position: sticky; top: 0; overflow: hidden; }
.hscroll.is-pinned .hscroll__track { overflow: visible; scroll-snap-type: none; will-change: transform; touch-action: pan-y; }

.project-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); aspect-ratio: 1 / .97; }
.project-card > a { display: block; height: 100%; text-decoration: none; color: #fff; }
.project-card img, .project-card__placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); pointer-events: none; }
.project-card__placeholder { display: block; background: radial-gradient(circle at 30% 30%, var(--brand) 0, transparent 55%), #2b2b28; }
.project-card:hover img, .project-card:hover .project-card__placeholder { transform: scale(1.04); }
.project-card__meta { position: absolute; left: 22px; bottom: 22px; right: 22px; display: grid; gap: 8px; justify-items: start; }
.project-card__types { display: grid; gap: 6px; justify-items: start; }
.project-card__types span { padding: 9px 14px; border-radius: 8px; background: #fff; color: #1d1d1b; font-size: var(--fs-label); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.project-card:hover .project-card__types span, .project-card:focus-within .project-card__types span { opacity: 1; transform: none; }
.project-card__types span:nth-child(2) { transition-delay: .05s; }
.project-card__types span:nth-child(3) { transition-delay: .1s; }
.project-card__types span:nth-child(4) { transition-delay: .15s; }
@media (hover: none) { .project-card__types span { opacity: 1; transform: none; } }
.project-card__title { display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; border-radius: 10px; font-size: var(--fs-ui); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; background: rgba(29, 29, 27, .65); backdrop-filter: blur(8px); }
.project-card__arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.project-card__arrow .icon { width: 16px; }
.project-card__draft { position: absolute; top: 20px; left: 20px; z-index: 2; padding: 6px 12px; border-radius: 999px; font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase; background: var(--brand); color: #fff; }
.project-card--more { display: grid; place-items: center; background: var(--brand); color: var(--ink); font-size: var(--fs-h4); font-weight: 500; text-decoration: none; text-transform: uppercase; }
.project-card--more:hover { background: var(--contrast); color: var(--on-contrast); }
.project-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
.project-grid .project-card__types span { opacity: 1; transform: none; }

/* =========================================================================
   „So simpel entsteht deine Marke“: Riesentext steht, Karten fliegen darüber
   ========================================================================= */
.simple { position: relative; padding-bottom: 10vh; }
.simple__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: hidden; }
.simple__title { font-size: var(--fs-giant); line-height: 1.02; text-align: center; max-width: 7ch; margin: 0; letter-spacing: -.03em; }
.simple__cards { position: relative; z-index: 2; list-style: none; margin: -60vh 0 0; padding: 0 var(--gutter); display: grid; gap: 28vh; }
.simple-card { width: min(300px, 80vw); min-height: 300px; padding: 26px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); display: flex; flex-direction: column; }
.simple-card:nth-child(1) { margin-left: max(0px, calc(50% - 400px)); }
.simple-card:nth-child(2) { margin-left: calc(50% - 150px); background: #fff; color: #1d1d1b; }
.simple-card:nth-child(3) { margin-left: min(calc(100% - 300px), calc(50% + 40px)); }
.simple-card:nth-child(4) { margin-left: max(0px, calc(50% - 360px)); background: var(--brand); color: #fff; }
.simple-card:nth-child(2) h3, .simple-card:nth-child(4) h3 { color: inherit; }
.simple-card__icon .icon { width: 40px; height: 40px; stroke-width: 1.5; }
.simple-card__title { font-size: var(--fs-lead); line-height: 1.3; margin: 22px 0 auto; color: inherit; }
.simple-card__title span { display: block; }
.simple-card p { margin: 40px 0 0; font-size: var(--fs-card); opacity: .85; }

/* =========================================================================
   Kundenlogos
   ========================================================================= */
.brands__box { padding: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 32px); border: 1px solid var(--line); border-top-color: transparent; border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: linear-gradient(to bottom, transparent, var(--surface)); }
.brands__grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .brands__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .brands__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.brand-tile { aspect-ratio: 1 / .85; display: grid; place-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 28px; transition: border-color .3s, background-color .3s; }
.brand-tile:hover { border-color: var(--brand); background: var(--pill); }
[data-theme="light"] .brand-tile { background: #e4e3e0; border-color: #e4e3e0; }
[data-theme="light"] .brand-tile:hover { background: #dad8d4; border-color: var(--brand); }
.brand-tile > a { display: grid; place-items: center; width: 100%; height: 100%; text-decoration: none; }
.brand-tile img { max-height: 54px; width: auto; object-fit: contain; }
.brand-tile img.is-converting { opacity: 0; }
.brand-tile span { font-size: var(--fs-card); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: center; color: var(--heading); }
.brands__note { display: flex; align-items: center; gap: 14px; margin: 18px 0 0; font-size: var(--fs-ui); color: var(--muted); }
.brands__mark { width: 22px; color: var(--heading); padding-right: 14px; box-sizing: content-box; border-right: 1px solid var(--line); }

/* =========================================================================
   Ausbildung
   ========================================================================= */
.edu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.edu-row__inner { display: grid; gap: 4px 24px; align-items: center; padding: 22px 26px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: border-color .3s, background-color .3s; }
@media (min-width: 800px) { .edu-row__inner { grid-template-columns: 110px 1fr 160px; } }
@media (max-width: 799px) { .edu-row__inner { border-radius: 24px; } }
.edu-row__inner { cursor: default; transition: border-color .3s, background-color .3s, transform .45s var(--ease); }
.edu-row__inner:hover { border-color: var(--brand); background: var(--pill); transform: translateX(8px); }
.edu-row__year, .edu-row__label { font-size: var(--fs-ui); color: var(--muted); }
.edu-row__title { font-size: var(--fs-body); font-weight: 500; }
.edu-row .icon { transition: transform .35s var(--ease); }


/* =========================================================================
   FAQ
   ========================================================================= */
.faq__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 2fr; } }
.faq-item, .entry-content .wp-block-details { border-bottom: 1px solid var(--line); }
.faq-item summary, .entry-content .wp-block-details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: var(--fs-lead); font-weight: 500; cursor: pointer; color: var(--heading); }
.faq-item summary::-webkit-details-marker, .entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.faq-item__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); transition: transform .3s var(--ease), background-color .3s; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--brand); color: var(--on-brand); }
.entry-content .wp-block-details summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); font-size: 22px; font-weight: 400; transition: transform .3s var(--ease), background-color .3s; }
.entry-content .wp-block-details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: var(--on-brand); }
.faq-item p, .entry-content .wp-block-details > p { color: var(--muted); max-width: 70ch; padding-bottom: 12px; }

/* =========================================================================
   Blog
   ========================================================================= */
.post-grid { display: grid; gap: 32px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card__link { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.post-card__link img, .post-card__placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card__placeholder { display: block; background: linear-gradient(135deg, var(--surface-2), var(--brand)); }
.post-card:hover img, .post-card:hover .post-card__placeholder { transform: scale(1.05); }
.post-card__meta { margin: 18px 0 8px; font-size: var(--fs-small); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.post-card__title { font-size: var(--fs-lead); line-height: 1.25; }
.post-card__title a { text-decoration: none; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.nav-links .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.nav-links .current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }

/* =========================================================================
   Footer (zwei Karten)
   ========================================================================= */
.site-footer { padding: 10px; }
.site-footer__grid { display: grid; gap: 10px; }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.85fr 1fr; } }
.footer-card { border-radius: var(--radius-lg); background: var(--surface); padding: clamp(26px, 3.4vw, 44px); }
.footer-card__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: clamp(24px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.footer-card__title { font-size: var(--fs-h2); line-height: 1.1; font-weight: 500; margin: 0; color: var(--muted-2); }
.footer-card__title span { display: block; color: var(--heading); }
.footer-card__title--small { font-size: var(--fs-h4); color: var(--heading); margin-bottom: 28px; }
.footer-card__text { margin: clamp(48px, 7vw, 96px) 0; max-width: 80ch; font-size: var(--fs-body); color: var(--muted); }
.footer-card__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.footer-card__copy { margin: 18px 0 0; font-size: var(--fs-small); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.footer-card__bottom > div { flex: 0 1 auto; }
.footer-card__bottom > nav { flex: 1 1 300px; display: flex; justify-content: flex-end; }
.pill-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--pill-cols, 3), auto); justify-content: end; gap: 6px; }
/* Footer-Pillen: Desktop rechts, Handy mittig */
@media (min-width: 700px) { .pill-menu .pill-row2-start { grid-column-start: var(--pill-row2, 1); } }
@media (max-width: 699px) { .footer-card__bottom > nav { flex-basis: 100%; min-width: 0; justify-content: center; } .pill-menu { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; } .pill-menu > li { flex: 0 0 calc((100% - (var(--pill-cols, 3) - 1) * 6px) / var(--pill-cols, 3)); min-width: 0; } .pill-menu > li > a { padding-inline: 8px; } }
.pill-menu a { display: block; text-align: center; padding: 11px 22px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-card); text-decoration: none; transition: background-color .3s, border-color .3s, color .3s; }
.pill-menu a:hover, .pill-menu .current-menu-item > a { background: var(--contrast); border-color: var(--contrast); color: var(--on-contrast); }
.footer-card--social { display: flex; flex-direction: column; }
.footer-card__meta { margin-top: auto; padding-top: 48px; font-size: var(--fs-ui); color: var(--muted-2); }
.footer-card__meta address { margin-bottom: 14px; }
.legal-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-menu a { text-decoration: none; color: var(--muted); }
.legal-menu a:hover { color: var(--brand-text); }

/* =========================================================================
   Unterseiten: Kopfbereich mit Brotkrümel-Pille links
   ========================================================================= */
.page-hero { padding-block: clamp(48px, 8vw, 110px) clamp(32px, 4vw, 56px); }
.page-hero__grid { display: grid; gap: 24px 48px; align-items: start; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: 1fr 3fr; } .page-hero__grid .breadcrumbs, .page-hero__grid .pill-label { margin-top: 1.1em; } }
.page-hero__title { font-size: var(--fs-h1); max-width: 18ch; }
.page-hero__title--post { font-size: var(--fs-h2); }
.page-hero__lead { font-size: var(--fs-lead); color: var(--muted); max-width: 52ch; }
.page-hero--404 .huge { font-size: clamp(120px, 24vw, 340px); line-height: .9; font-weight: 500; color: var(--brand); margin: 0; }
.page-figure { margin-block: 0 48px; }
.page-figure img { border-radius: var(--radius); width: 100%; }
.breadcrumbs ol { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--pill); font-size: var(--fs-small); color: var(--muted-2); }
.breadcrumbs li:first-child::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: var(--heading); vertical-align: middle; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { text-decoration: none; color: var(--muted); }
.post-meta { color: var(--muted-2); font-size: var(--fs-card); }
.updated { color: var(--muted-2); font-size: var(--fs-ui); padding-block: 24px 64px; }

.entry-content { padding-bottom: 32px; }
.entry-content > * { max-width: 760px; }
.entry-content > .alignwide, .entry-content > .wp-block-columns { max-width: none; }
.entry-content h2 { font-size: var(--fs-h3); margin-top: 1.6em; }
.entry-content h3 { font-size: var(--fs-h5); margin-top: 1.4em; }
.entry-content p, .entry-content li { color: var(--text); }
.entry-content strong { color: var(--heading); }
.entry-content a { color: var(--brand-text); }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li { margin-bottom: .5em; }
.entry-content li::marker { color: var(--brand-text); }
.entry-content blockquote { margin: 2em 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--brand); font-size: 1.2em; }
.entry-content table { width: 100%; border-collapse: collapse; margin-block: 1.6em; font-size: var(--fs-body); }
.entry-content th, .entry-content td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); color: var(--text); }
.entry-content th { color: var(--muted-2); font-weight: 500; text-transform: uppercase; font-size: var(--fs-small); letter-spacing: .06em; }
.entry-content .wp-block-columns { gap: 20px; margin-block: 2em; }
.entry-content .wp-block-button__link { display: inline-flex; align-items: center; gap: 12px; background: var(--brand); color: var(--on-brand); border-radius: 10px; padding: 16px 28px; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: var(--fs-ui); font-weight: 500; transition: background-color .35s var(--ease), color .35s; }
.entry-content .wp-block-button__link::after { content: "→"; transition: transform .35s var(--ease); }
.entry-content .wp-block-button__link:hover { background: var(--contrast); color: var(--on-contrast); }
.entry-content .wp-block-button__link:hover::after { transform: translateX(4px); }
.entry-content .has-lead { font-size: var(--fs-h5); line-height: 1.45; color: var(--heading); }

.tldr { padding: 24px 28px; border-radius: var(--radius-sm); background: var(--surface); border-left: 3px solid var(--brand); margin-bottom: 40px; }
.tldr__label { font-size: var(--fs-small); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 8px; }
.tldr p:last-child { margin: 0; }
.author-box { margin-top: 64px; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.author-box__name { font-size: var(--fs-lead); font-weight: 500; margin-bottom: 6px; color: var(--heading); }
.author-box p:last-child { margin: 0; color: var(--muted); }

/* =========================================================================
   Kontaktseite & Formular
   ========================================================================= */
.contact-cards { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 700px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.contact-card { display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s; }
.contact-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.contact-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); color: var(--brand-text); }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card__label { margin: 8px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: var(--fs-ui); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.contact-card__value { margin: 0; color: var(--muted); }
.contact-card__value a { color: var(--heading); text-decoration: none; }
.contact-card .btn { align-self: flex-start; margin-top: auto; }
/* Terminbuchung: breite, orange Karte über den Kontaktdaten */
.contact-card--booking { margin-bottom: 16px; background: linear-gradient(125deg, var(--brand) 0%, #a83a0d 60%, #6e2508 100%); border-color: transparent; color: #fff; }
.contact-card--booking:hover { border-color: transparent; }
.contact-card--booking .contact-card__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.contact-card--booking .contact-card__label { margin-top: 0; padding-bottom: 10px; border-color: rgba(255, 255, 255, .3); color: #fff; }
.contact-card--booking .contact-card__value { margin-top: 10px; color: rgba(255, 255, 255, .9); }
@media (min-width: 760px) { .contact-card--booking { flex-direction: row; align-items: center; gap: 28px; } .contact-card--booking__text { flex: 1; } .contact-card--booking .btn { margin: 0; align-self: center; } }
.side-panel__booking .btn { width: auto; }

.form-card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 5vw, 72px); }
.form-card__head { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.form-card__title { font-size: var(--fs-h2); margin-bottom: 10px; }
.form-card__hint { color: var(--muted-2); font-size: var(--fs-ui); margin: 0; }
.form-card .contact-form { margin-inline: auto; }

.contact-form { display: grid; gap: 4px; max-width: 860px; }
.form-row { display: grid; gap: 4px 20px; }
@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form label, .contact-form legend { display: block; font-size: var(--fs-ui); color: var(--muted); margin-bottom: 8px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form textarea {
	width: 100%; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg); color: var(--heading); font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand-text); outline: none; }
.contact-form fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-card); color: var(--heading); cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.chip span:hover { border-color: var(--brand); }
.chip input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip input:focus-visible + span { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.form-consent label { display: flex; gap: 12px; align-items: flex-start; }
.form-privacy { margin: 4px 0 0; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.form-privacy a { color: var(--heading); }
.form-consent input { margin-top: 5px; accent-color: var(--brand); flex: none; }
.form-submit { display: flex; justify-content: center; margin-top: 12px; }
.hp { position: absolute; left: -9999px; }
.form-notice { padding: 16px 20px; border-radius: var(--radius-sm); color: var(--heading); }
.form-notice--ok { background: rgba(80, 160, 90, .2); }
.form-notice--error { background: rgba(201, 73, 18, .2); }

/* =========================================================================
   Bewegung & Sonstiges
   ========================================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

.admin-bar .site-header { top: 32px; }
.admin-bar .side-panel { top: 42px; max-height: calc(100vh - 52px); }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } .admin-bar .side-panel { top: 56px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.js:not(.no-preloader) .preloader { display: none; }
	.side-panel__nav .menu > li > a { transform: none; opacity: 1; }
}

.editor-styles-wrapper { background: var(--bg); color: var(--text); font-family: var(--font); }

/* =========================================================================
   Hilfsklassen
   ========================================================================= */
.only-mobile { display: none; }
@media (max-width: 999px) { .only-desktop { display: none; } .only-mobile { display: inline; } }

/* =========================================================================
   Abschnitte mit Label links, Inhalt rechts (Agentur, Unterseiten, Projekte)
   ========================================================================= */
.split-head { display: grid; gap: 12px 48px; padding-top: 28px; border-top: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 64px); }
@media (min-width: 1000px) { .split-head { grid-template-columns: 1fr 2fr; } }
.split-head .eyebrow { margin: 6px 0 0; }
.split-head__title { font-size: var(--fs-h3); line-height: 1.15; text-transform: uppercase; font-weight: 500; color: var(--heading); margin: 0; }
.split-head__title span { color: var(--heading); }
.split-head__title:has(br) { color: var(--muted-2); }
.split-body { display: grid; gap: 16px 48px; padding-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) { .split-body { grid-template-columns: 1fr 2fr; } .split-body > .eyebrow { position: sticky; top: 110px; align-self: start; margin-top: 8px; } }
.split-body > .entry-content > * { max-width: none; }

.page-hero__muted { color: var(--muted-2); }
.page-hero__title--caps { text-transform: uppercase; font-size: var(--fs-h2); line-height: 1.12; max-width: 20ch; }
.pill-label { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--pill); font-size: var(--fs-small); color: var(--muted); margin: 0; }

/* =========================================================================
   Bild folgt dem Mauszeiger (Qualifikationen, Service-Liste)
   ========================================================================= */
.hover-img { position: fixed; left: 0; top: 0; z-index: 45; width: 170px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .3s var(--ease), transform .45s var(--ease); }
.hover-img.is-active { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
.hover-img img { width: 100%; height: auto; border-radius: 16px; }
.service-row .hover-img { width: 260px; }
.service-row .hover-img img { aspect-ratio: 4 / 3; object-fit: cover; }
.hover-img__placeholder { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 16px; background: var(--brand); }
.hover-img__placeholder .ro-mark { width: 40%; color: rgba(255, 255, 255, .35); }
.seal { position: relative; display: block; width: 100%; aspect-ratio: 1; }
.seal svg:not(.seal__mark) { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.seal svg text { font-family: var(--font); font-weight: 500; }
.seal__mark { position: absolute; inset: 50% auto auto 50%; width: 34%; transform: translate(-50%, -50%); color: #fff; }
@media (hover: none) { .hover-img { display: none; } }

/* =========================================================================
   Agentur-Seite
   ========================================================================= */
.agency-intro { padding-bottom: clamp(64px, 8vw, 120px); }
.agency-intro__grid { display: grid; gap: 28px; align-items: end; }
@media (min-width: 1000px) { .agency-intro__grid { grid-template-columns: 1fr minmax(280px, 1.15fr) 1.6fr; gap: 24px; } }
.agency-intro__roles { list-style: none; margin: 0; padding: 0 0 12px; font-size: var(--fs-small); line-height: 2; color: var(--muted); text-align: right; }
@media (max-width: 999px) { .agency-intro__roles { text-align: left; order: 3; } }
.agency-intro__photo { position: relative; margin: 0; aspect-ratio: 3 / 3.6; border-radius: var(--radius); overflow: hidden; background: var(--brand); }
.agency-intro__photo img { width: 100%; height: 100%; object-fit: cover; }
.agency-intro__text { padding-bottom: 12px; }
.agency-intro__text p { color: var(--muted); max-width: 44ch; font-size: var(--fs-card); }
.agency-intro__text .agency-intro__title { font-size: var(--fs-h3); line-height: 1.1; text-transform: uppercase; font-weight: 500; color: var(--heading); margin-bottom: 18px; }
.agency-intro__title span { color: var(--brand-text); }

.service-list { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1000px) { .service-list { margin-left: calc((100% - 48px) / 3 + 48px); } }
.service-row a { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px 16px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--heading); }
@media (min-width: 760px) { .service-row a { grid-template-columns: 44px 1.1fr 1fr 44px; } }
.service-row__num { font-size: var(--fs-label); color: var(--muted-2); }
.service-row__title { font-size: var(--fs-h5); font-weight: 500; transition: transform .4s var(--ease); }
.service-row__keys { display: grid; gap: 2px; font-size: var(--fs-label); color: var(--muted); grid-column: 2; }
@media (min-width: 760px) { .service-row__keys { grid-column: auto; } }
.service-row__keys span::before { content: "• "; }
.service-row__arrow { grid-column: -2; grid-row: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.service-row__arrow .icon { width: 16px; }
.service-row a:hover .service-row__title { transform: translateX(10px); color: var(--brand-text); }
.service-row a:hover .service-row__arrow { background: var(--contrast); color: var(--on-contrast); transform: rotate(-45deg); }

.coop { display: grid; gap: 16px; }
@media (min-width: 760px) { .coop { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .coop { grid-template-columns: 1fr 1fr 1.2fr; } }
.person-card { margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.person-card__img { display: block; aspect-ratio: 3 / 3.6; border-radius: 16px; overflow: hidden; background: var(--surface-2); }
.person-card__img img { width: 100%; height: 100%; object-fit: cover; }
.person-card__img .hover-img__placeholder { height: 100%; aspect-ratio: auto; border-radius: 0; }
.person-card figcaption { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 14px 6px 4px; font-size: var(--fs-ui); }
.person-card figcaption span { font-size: var(--fs-label); color: var(--muted-2); }
.coop__text { padding: 8px 4px; }
.coop__text h3 { font-size: var(--fs-h4); line-height: 1.15; margin-bottom: 16px; }
.coop__text p { color: var(--muted); font-size: var(--fs-card); }

.marquee--outline .marquee__word { color: transparent; -webkit-text-stroke: 1px var(--muted-2); }
.marquee--outline .marquee__word:nth-child(4n+1) { color: var(--muted-2); -webkit-text-stroke: 0; }

.reviews__label { display: flex; padding-top: 28px; border-top: 1px solid var(--line); margin-bottom: 40px; }
.reviews__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .reviews__grid { grid-template-columns: 1fr 1.35fr; gap: 60px; } .reviews__intro { position: sticky; top: 35vh; align-self: start; } }
.reviews__intro h2 { font-size: var(--fs-h3); line-height: 1.15; max-width: 14ch; }
.reviews__sub { color: var(--brand-text); font-size: var(--fs-ui); margin-bottom: 28px; }
.reviews__stack { display: grid; gap: 28px; grid-auto-rows: 1fr; } /* gleich hohe Karten, damit beim Stapeln nichts unten herausragt */
.review-card { position: relative; margin: 0; display: grid; align-content: start; gap: 24px; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 -20px 50px rgba(0, 0, 0, .25); }
.review-card:nth-child(even) { background: var(--surface-2); }
@media (min-width: 700px) { .review-card { grid-template-columns: 170px 1fr; } }
.review-card__person { display: grid; gap: 6px; align-content: start; }
.review-card__img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--brand); }
.review-card__img img { width: 100%; height: 100%; object-fit: cover; }
.review-card__initial { display: grid; place-items: center; height: 100%; font-size: 42px; font-weight: 500; color: #fff; }
.review-card figcaption { display: grid; gap: 2px; font-size: var(--fs-ui); }
.review-card figcaption span { font-size: var(--fs-label); color: var(--muted-2); }
.review-card__logo { max-width: 90px; max-height: 60px; margin-top: 12px; object-fit: contain; }
.review-card__quote { margin: 0; padding-left: 0; border: 0; font-size: var(--fs-card); line-height: 1.6; color: var(--text); }
@media (min-width: 700px) { .review-card__quote { padding-left: 24px; border-left: 1px solid var(--line); } }
.review-card__quote p:last-child { margin: 0; }


/* =========================================================================
   Hohe Projektkarten (Portfolio, Agentur)
   ========================================================================= */
.hscroll--tall .hscroll__track { gap: 16px; padding-block: 12px; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.project-card--tall { flex: 0 0 min(66vw, 300px) !important; aspect-ratio: 2 / 3.1; border-radius: var(--radius); }
.project-card__info { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 6px; opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .4s var(--ease); text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.project-card--tall:hover .project-card__info, .project-card--tall:focus-within .project-card__info { opacity: 1; transform: none; }
@media (hover: none) { .project-card__info { opacity: 1; transform: none; } }
.project-card__list { font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; }
.project-card__name { font-size: var(--fs-lead); font-weight: 500; }
.project-card--tall::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent); opacity: 0; transition: opacity .4s; pointer-events: none; }
.project-card--tall:hover::after { opacity: 1; }
.portfolio-archive { padding-bottom: clamp(16px, 2vw, 32px); }

/* =========================================================================
   Projektseite
   ========================================================================= */
.crumbs { font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.project-hero__title { font-size: var(--fs-h1); margin-bottom: 28px; }
.project-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin: 0; }
@media (min-width: 760px) { .project-facts { grid-template-columns: repeat(4, 1fr); } }
.project-facts dt { font-size: var(--fs-label); color: var(--muted-2); margin-bottom: 4px; }
.project-facts dd { margin: 0; font-size: var(--fs-card); font-weight: 500; }
.project-facts a { text-decoration: none; }
.project-cover { margin: 0 10px clamp(48px, 7vw, 100px); border-radius: clamp(24px, 3vw, 44px); overflow: hidden; aspect-ratio: 16 / 7; background: var(--surface); }
.project-cover img, .project-cover .project-card__placeholder { width: 100%; height: 100%; object-fit: cover; }
.project-cover__img--light, .theme-img--light { display: none; } /* Logo-Mockup: Variante je Farbmodus (Titelbild und Projekt-Karten) */
[data-theme="light"] .project-cover__img--dark, [data-theme="light"] .theme-img--dark { display: none; }
[data-theme="light"] .project-cover__img--light, [data-theme="light"] .theme-img--light { display: block; }
/* Einleitung als Statement: ro-Zeichen links (Spalte der Labels), Untertitel groß, Kurzbeschreibung daneben */
.project-intro { display: grid; gap: 22px 48px; align-items: start; margin-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 1000px) { .project-intro { grid-template-columns: 1fr 2fr; } }
.project-intro__mark { width: clamp(48px, 5vw, 70px); color: var(--project-color, var(--brand)); }
.project-intro__logo { display: block; width: auto; height: auto; max-width: min(220px, 60vw); max-height: 90px; object-fit: contain; transition: opacity .3s; }
.project-intro__logo.is-converting { opacity: 0; }
@media (min-width: 1000px) { .project-intro--nologo { grid-template-columns: 1fr; } }
.project-intro > div { display: grid; gap: 18px 40px; align-items: end; }
@media (min-width: 1200px) { .project-intro > div { grid-template-columns: 1.5fr 1fr; } }
.project-intro__subtitle { font-size: var(--fs-h3); font-weight: 500; line-height: 1.15; color: var(--heading); max-width: 20ch; margin: 0; }
.project-intro__excerpt { font-size: var(--fs-card); color: var(--muted); max-width: 46ch; margin: 0; }

.project-content { display: grid; gap: 0 48px; padding-bottom: 40px; }
@media (min-width: 1000px) { .project-content { grid-template-columns: 1fr 2fr; } }
/* Drucksorten-Mockups auf der Projektseite */
/* Mockups: Akkordeon-Galerie – das aktive Bild öffnet sich breit, die anderen werden schmal. */
.project-mockups { display: flex; flex-direction: column; gap: 22px; padding: 0 10px 40px; }
/* Trennlinie bündig mit dem Text darüber */
.project-mockups::before { content: ""; display: block; width: min(100% - 2 * var(--gutter), var(--container)); margin: 0 auto 18px; border-top: 1px solid var(--line); }
.project-mockups__head { order: 2; display: grid; gap: 8px 48px; align-items: start; }
@media (min-width: 1000px) { .project-mockups__head { grid-template-columns: 1fr 2fr; } }
.project-mockups__title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--heading); }
.project-mockups__title::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--heading); }
.project-mockups__caption { margin: 0; min-height: 1.5em; font-size: var(--fs-card); color: var(--muted); transition: opacity .3s; }
.mockup-accordion { display: flex; gap: 12px; }

/* Projekt-Index (Portfolio-Seite): Filter, große Zeilen mit festem Vorschaubild, das beim Drüberfahren wächst */
.project-index { padding-bottom: clamp(56px, 8vw, 120px); }
.project-index__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(24px, 3vw, 40px); }
.filter-pill { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--heading); font: inherit; font-size: var(--fs-ui); cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.filter-pill span { margin-left: 4px; color: var(--muted-2); font-size: var(--fs-label); }
.filter-pill:hover { border-color: var(--brand); }
.filter-pill.is-active { background: var(--contrast); border-color: var(--contrast); color: var(--bg); }
.filter-pill.is-active span { color: inherit; opacity: .6; }
.project-index__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.project-row { border-bottom: 1px solid var(--line); }
.project-row[hidden] { display: none; }
.project-row__link { display: grid; grid-template-columns: 44px 1fr 48px; align-items: center; gap: 14px 20px; padding: clamp(20px, 2.4vw, 32px) 0; text-decoration: none; color: var(--heading); }
.project-row__no { font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.project-row__thumb { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--surface); aspect-ratio: 3 / 2; }
.project-row__thumb img, .project-row__thumb .project-card__placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-row__title { font-size: var(--fs-h2); font-weight: 500; line-height: 1.05; transition: transform .5s var(--ease), color .3s; }
.project-row__draft { vertical-align: middle; margin-left: 8px; padding: 4px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: var(--fs-label); letter-spacing: .06em; text-transform: uppercase; }
.project-row__meta { display: grid; gap: 4px; font-size: var(--fs-ui); color: var(--muted); }
.project-row__arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.project-row__arrow svg { width: 20px; height: 20px; }
/* Handy/Tablet: Bild über der ganzen Breite, darunter Nummer, Name, Pfeil, Leistungen */
@media (max-width: 899px) {
	.project-row__thumb { grid-column: 1 / -1; grid-row: 1; }
	.project-row__no { grid-row: 2; }
	.project-row__title { grid-row: 2; }
	.project-row__arrow { grid-row: 2; grid-column: 3; }
	.project-row__meta { grid-row: 3; grid-column: 2 / -1; }
}
/* Computer: Nummer | Bild (wächst beim Drüberfahren) | Name | Leistungen | Pfeil */
@media (min-width: 900px) {
	.project-row__link { grid-template-columns: 56px auto 1fr minmax(200px, 26%) 64px; gap: 10px 32px; }
	.project-row__thumb { width: clamp(180px, 16vw, 230px); height: clamp(120px, 10.6vw, 154px); aspect-ratio: auto; transition: width .6s var(--ease); } /* feste Höhe: beim Wachsen springt nichts */
	.project-row__arrow { width: 64px; height: 64px; }
	.project-row__link:hover .project-row__thumb, .project-row__link:focus-visible .project-row__thumb { width: clamp(260px, 24vw, 340px); }
}
.project-row__link:hover .project-row__thumb img { transform: scale(1.04); }
.project-row__link:hover .project-row__title, .project-row__link:focus-visible .project-row__title { transform: translateX(8px); color: var(--project-color, var(--brand-text)); }
.project-row__link:hover .project-row__arrow, .project-row__link:focus-visible .project-row__arrow { background: var(--project-color, var(--brand)); border-color: var(--project-color, var(--brand)); color: #fff; transform: rotate(-45deg); }
.mockup-accordion__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.mockup-accordion__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .9s cubic-bezier(.22, .61, .36, 1); }
/* Bildansicht (Lightbox) */
.mockup-accordion__item { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; gap: 8px; padding: 24px 16px; background: rgba(10, 10, 9, .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: lightbox-in .3s var(--ease); }
@keyframes lightbox-in { from { opacity: 0; } }
.lightbox__figure { grid-column: 2; margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 14px; object-fit: contain; transition: opacity .25s; }
.lightbox__figure img.is-loading { opacity: .3; }
.lightbox__figure figcaption { display: flex; gap: 16px; align-items: baseline; color: #fff; font-size: var(--fs-ui); }
.lightbox__count { color: rgba(255, 255, 255, .6); font-size: var(--fs-label); letter-spacing: .08em; }
.lightbox__btn { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer; transition: background-color .25s, border-color .25s; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { background: var(--brand); border-color: var(--brand); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__prev { grid-column: 1; justify-self: center; }
.lightbox__next { grid-column: 3; justify-self: center; }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.admin-bar .lightbox__close { top: 50px; } /* nur angemeldet: unter der WordPress-Leiste */
@media (max-width: 699px) {
	.lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 64px 12px 20px; }
	.lightbox__figure { grid-column: 1 / -1; grid-row: 1; }
	.lightbox__figure img { max-height: calc(100vh - 190px); }
	.lightbox__prev, .lightbox__next { grid-row: 2; grid-column: auto; }
	.lightbox__close { top: 12px; right: 12px; }
}
.mockup-accordion__item figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (min-width: 700px) {
	.mockup-accordion { height: clamp(340px, 38vw, 760px); }
	.mockup-accordion__item { flex: 1 1 0; min-width: 0; transition: flex-grow .8s cubic-bezier(.22, .61, .36, 1); }
	.mockup-accordion__item.is-active { flex-grow: 3.4; }
	.mockup-accordion__item:not(.is-active) img { transform: scale(1.08); }
	.mockup-accordion__item:only-child { flex-grow: 1; }
}
/* Handy: wischen statt aufklappen, Bezeichnung unter dem Bild. */
@media (max-width: 699px) {
	.project-mockups { padding-inline: 0; }
	.mockup-accordion { align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: var(--gutter, 20px); scroll-padding-inline: var(--gutter, 20px); }
	.mockup-accordion::-webkit-scrollbar { display: none; }
	/* Höhe 3:2 über einen Abstandhalter statt aspect-ratio – Safari macht Karten in einer Wisch-Reihe sonst 0 px hoch. */
	.mockup-accordion__item { flex: 0 0 85%; scroll-snap-align: start; }
	.mockup-accordion__item::before { content: ""; display: block; padding-top: 66.667%; }
	.mockup-accordion__item:only-child { flex-basis: 100%; }
	.project-mockups__caption { display: none; }
}
.project-content > * { grid-column: 1 / -1; max-width: none; }
@media (min-width: 1000px) { .project-content > * { grid-column: 2; } }
.project-content > h2 { grid-column: 1; display: flex; align-items: center; gap: 10px; margin: 56px 0 8px; font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--heading); }
.project-content > h2::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--heading); }
@media (min-width: 1000px) { .project-content > h2 { margin-top: 64px; } .project-content > h2 + h3 { margin-top: 56px; } }
.project-content > h3 { font-size: var(--fs-h3); color: var(--project-color, var(--brand-text)); margin: 32px 0 10px; }
.project-content > p { font-size: var(--fs-card); color: var(--muted); }

/* Projekt-Inhalt in Abschnitten (automatisch aus den H2 gebildet) */
.project-content--sections { display: block; }
.project-section { display: grid; gap: 14px 48px; padding-top: clamp(40px, 5vw, 72px); }
@media (min-width: 1000px) { .project-section { grid-template-columns: 1fr 2fr; } }
.project-section__aside { align-self: start; }
@media (min-width: 1000px) { .project-section__aside { position: sticky; top: 120px; } }
.project-section__aside h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--heading); }
.project-section__aside h2::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--project-color, var(--brand)); }
/* Lesefortschritt: füllt sich in der Projektfarbe, während man den Abschnitt liest */
.project-section__line { display: block; width: min(220px, 70%); height: 2px; margin-top: 16px; border-radius: 2px; background: var(--line); overflow: hidden; }
.project-section__line > span { display: block; height: 100%; background: var(--project-color, var(--brand)); transform: scaleX(var(--p, 0)); transform-origin: left; }
@media (max-width: 999px) { .project-section__line { display: none; } }
.project-section__body > h3 { font-size: var(--fs-h3); color: var(--project-color, var(--brand-text)); margin: 32px 0 10px; }
.project-section__body > h3:first-child { margin-top: 0; }
.project-section__body > p { font-size: var(--fs-card); color: var(--muted); }
.project-section__body > p:first-child { margin-top: 0; }
.project-section__body > figure, .project-section__body > .wp-block-image, .project-section__body > .wp-block-gallery { margin-block: 32px; }
/* Nummerierte Leistungszeilen */
.project-steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.project-step { display: grid; grid-template-columns: 40px 1fr; gap: 0 14px; padding: 26px 0; border-top: 1px solid var(--line); }
.project-step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .project-step { grid-template-columns: 64px 1fr; } }
.project-step__no { padding-top: .55em; font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; color: var(--muted-2); font-variant-numeric: tabular-nums; transition: color .3s; }
.project-step__body { transition: transform .45s var(--ease); }
.project-step__body > h3 { margin: 0 0 8px; font-size: var(--fs-h4); color: var(--project-color, var(--brand-text)); }
.project-step__body > p { margin: 0 0 10px; font-size: var(--fs-card); color: var(--muted); }
.project-step__body > :last-child { margin-bottom: 0; }
@media (hover: hover) {
	.project-step { transition: border-color .4s var(--ease); }
	.project-step:hover { border-top-color: var(--project-color, var(--brand)); }
	.project-step:hover .project-step__no { color: var(--project-color, var(--brand-text)); }
	.project-step:hover .project-step__body { transform: translateX(6px); }
}
.project-content > figure, .project-content > .wp-block-image, .project-content > .wp-block-gallery { margin-block: 32px; }
.project-content img { border-radius: var(--radius); }
.project-quote { margin: 40px 0; padding: 32px; border-radius: var(--radius); background: var(--surface); }
@media (min-width: 1000px) { .project-quote, .project-cta { margin-left: calc((100% - 48px) / 3 + 48px); } }
.project-quote blockquote { margin: 0; font-size: var(--fs-h5); line-height: 1.4; color: var(--heading); }
.project-quote figcaption { margin-top: 14px; font-size: var(--fs-ui); color: var(--muted-2); }
.project-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.project-cta p { margin: 0; font-size: var(--fs-lead); font-weight: 500; }
.project-nav { display: flex; justify-content: space-between; gap: 20px; padding: 48px 0 32px; }
.project-nav__link { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.project-nav__link:hover { color: var(--heading); }
.project-nav__link--next { margin-left: auto; text-align: right; } /* Text am Pfeil ausgerichtet, auch wenn er umbricht */
.project-nav__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--contrast); color: var(--on-contrast); } /* flex: none = bleibt rund */
.project-nav__icon .icon { width: 16px; }
.project-nav__link--prev .project-nav__icon .icon { transform: rotate(180deg); }

.review-card { position: sticky; top: calc(84px + var(--i) * 14px); }
@media (min-width: 1000px) { .review-card { top: calc(110px + var(--i) * 26px); } }
@media (max-width: 699px) { .review-card__person { grid-template-columns: 72px 1fr; align-items: center; column-gap: 14px; } .review-card__img { aspect-ratio: 1; } .review-card__logo { grid-column: 1 / -1; } }

/* =========================================================================
   Startseite: Leistungen als gleichmäßige Karten
   ========================================================================= */
.service-cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .service-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .service-cards { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.mini-card { position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--heading); transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s, transform .45s var(--ease); }
.mini-card__num { font-size: var(--fs-small); color: var(--muted-2); margin-bottom: auto; }
.mini-card__title { font-size: var(--fs-h5); line-height: 1.2; margin: 56px 0 14px; color: inherit; }
.mini-card__title a { color: inherit; text-decoration: none; }
.mini-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.mini-card__text { font-size: var(--fs-card); line-height: 1.55; color: var(--muted); margin-bottom: 24px; }
.mini-card .btn--plain { pointer-events: none; }
.mini-card .btn--plain .btn__arrow { background: var(--surface-2); color: var(--heading); }
.mini-card:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); transform: translateY(-6px); }
.mini-card:hover .mini-card__num, .mini-card:hover .mini-card__text { color: var(--on-brand); }
.mini-card:hover .btn__arrow { background: var(--on-brand) !important; color: var(--brand) !important; }
.mini-card:hover .btn__arrow svg:first-child { transform: translateX(200%); }
.mini-card:hover .btn__arrow svg + svg { transform: translateX(0); }

/* Hervorgehobene Karte „Branding All In“ */
.feature-card { position: relative; overflow: hidden; display: grid; gap: 28px; align-items: end; margin-bottom: 16px; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); background: linear-gradient(125deg, var(--brand) 0%, #a83a0d 55%, #6e2508 100%); color: #fff; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
@media (min-width: 1000px) { .feature-card { grid-template-columns: 1.4fr 1fr; } }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(201, 73, 18, .25); }
.feature-card__body { position: relative; z-index: 1; }
.feature-card__badge { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; }
.feature-card__title { font-size: var(--fs-h2); margin-bottom: 14px; color: #fff; }
.feature-card__title a { color: inherit; text-decoration: none; }
.feature-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.feature-card__tagline { font-weight: 700; font-size: var(--fs-body); margin-bottom: 12px; }
.feature-card__text { font-size: var(--fs-card); opacity: .9; max-width: 52ch; margin-bottom: 26px; }
.feature-card .btn { pointer-events: none; background: #fff; color: #1d1d1b; }
.feature-card .btn .btn__arrow { background: #1d1d1b; color: #fff; }
.feature-card:hover .btn__arrow svg:first-child { transform: translateX(200%); }
.feature-card:hover .btn__arrow svg + svg { transform: translateX(0); }
.feature-card__keys { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-content: end; }
@media (min-width: 1000px) { .feature-card__keys { justify-content: flex-end; } }
.feature-card__keys li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; font-size: var(--fs-small); }
.feature-card__mark { position: absolute; right: -30px; top: -40px; width: clamp(200px, 26vw, 360px); color: #fff; opacity: .1; transition: transform .8s var(--ease); }
.feature-card:hover .feature-card__mark { transform: rotate(-8deg) scale(1.05); }
/* Marketing All In: breite Karte unter den Angebotskarten, dunkel mit orangem Schimmer */
.feature-card--alt { margin: 16px 0 0; background: radial-gradient(circle at 100% 100%, rgba(201, 73, 18, .55), transparent 55%), linear-gradient(125deg, #1d1d1b 0%, #262624 100%); border: 1px solid var(--line); }
.feature-card--alt:hover { box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.feature-card--alt .feature-card__mark { color: var(--brand); opacity: .18; top: auto; bottom: -60px; }
@media (min-width: 1200px) { .service-cards { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; } }

/* Abstand über Buttons im Inhalt */
.entry-content .wp-block-buttons { margin-top: clamp(40px, 5vw, 64px); }

/* =========================================================================
   Anfrage-Pop-up
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 12px; overscroll-behavior: contain; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: modal-fade .3s var(--ease); }
/* Box scrollt nicht selbst – nur der Inhalt (.modal__scroll). So bleibt das ✕ immer sichtbar; dvh = sichtbare Höhe am iPhone. */
.modal__box { position: relative; display: flex; flex-direction: column; width: min(100%, 520px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0, 0, 0, .45); animation: modal-in .45s var(--ease); }
.modal__scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: clamp(24px, 4vw, 40px); }
.modal__close { position: absolute; z-index: 2; top: 14px; right: 14px; width: 40px; height: 40px; background: var(--surface); }
.modal__title { font-size: var(--fs-h4); font-weight: 500; line-height: 1.1; margin: 0 0 8px; padding-right: 48px; color: var(--heading); }
.modal__topic { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: var(--fs-ui); color: var(--muted); margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.modal__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.modal__choices .chip span { padding: 7px 14px; font-size: var(--fs-small); }
.modal__choices .chip[hidden] { display: none; }
.contact-form--compact { gap: 0; }
.contact-form--compact p { margin-bottom: 14px; }
.contact-form--compact .optional { color: var(--muted-2); font-size: var(--fs-label); }
.contact-form--compact input[type="text"], .contact-form--compact input[type="email"], .contact-form--compact textarea { padding: 13px 16px; }
.contact-form--compact .form-submit .btn { width: 100%; justify-content: space-between; }
html body.modal-open { position: fixed; left: 0; right: 0; overflow: hidden; } /* top setzt main.js – Seite bleibt an ihrer Stelle */
/* Pop-up kompakter auf Handys und niedrigen Bildschirmen */
@media (max-width: 699px), (max-height: 760px) {
	.modal__scroll { padding: 18px 16px 16px; }
	.modal__title { font-size: var(--fs-h5); margin-bottom: 6px; padding-right: 44px; }
	.modal__topic { margin-bottom: 12px; padding-bottom: 10px; font-size: var(--fs-small); }
	.modal__choices .chip span { padding: 5px 12px; }
	.contact-form--compact p { margin-bottom: 8px; }
	.contact-form--compact label { margin-bottom: 3px; font-size: var(--fs-small); }
	.contact-form--compact input[type="text"], .contact-form--compact input[type="email"], .contact-form--compact textarea { padding: 10px 14px; }
	.contact-form--compact textarea { height: 76px; min-height: 76px; }
	.contact-form--compact .form-privacy { margin-top: 2px; font-size: var(--fs-label); line-height: 1.4; }
}
@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }

/* Buttons im Inhaltsbereich: eigene Farben statt Link-Farbe */
.entry-content a.btn { text-decoration: none; }
.entry-content a.btn--accent, .entry-content a.btn--accent:hover { color: var(--on-brand); }
.entry-content a.btn--accent:hover { background: var(--contrast); color: var(--on-contrast); }
.entry-content a.btn--light { color: var(--on-contrast); }
.btn--lg { padding: 10px 10px 10px 32px; font-size: var(--fs-body); gap: 20px; border-radius: 12px; }
.btn--lg .btn__arrow { width: 50px; height: 50px; border-radius: 8px; }
.btn--lg .btn__arrow svg { width: 22px; height: 22px; }

/* Agentur: Kooperationstext größer, Schlagwörter orange */
.coop__text p { font-size: var(--fs-lead); line-height: 1.55; color: var(--text); }
.coop__text em, .agency-intro__text em { font-style: normal; color: var(--brand-text); font-weight: 500; }

/* =========================================================================
   Angebotsseiten
   ========================================================================= */
.offer-hero__tagline { font-size: var(--fs-lead); font-weight: 700; margin: 4px 0 18px; color: var(--heading); }
.offer-hero__tags { max-width: none; margin-bottom: 26px; }
.offer-hero__cta { margin-top: 8px; }
.offer-cover { aspect-ratio: 16 / 6.5; }
.offer-cover__banner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; background: linear-gradient(125deg, var(--brand) 0%, #a83a0d 50%, #3a1606 100%); }
.offer-cover__mark { position: absolute; right: -4%; bottom: -18%; width: 46%; color: #fff; opacity: .12; }
.offer-cover__text { position: relative; max-width: 18ch; padding: 0 24px; font-size: var(--fs-h1); font-weight: 500; line-height: 1.1; text-align: center; color: #fff; }
.offer-marquee { padding-block: clamp(20px, 3vw, 40px); margin-bottom: clamp(40px, 6vw, 80px); }
.offer-marquee .marquee__word { font-size: var(--fs-display); }

.offer-content { counter-reset: offer; }
.offer-content > h2 { counter-increment: offer; font-size: var(--fs-h3); margin-top: 1.8em; }
.offer-content > h2::before { content: counter(offer, decimal-leading-zero); display: block; margin-bottom: 10px; font-size: var(--fs-small); font-weight: 500; letter-spacing: .12em; color: var(--brand-text); }
.offer-content > ul { list-style: none; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .offer-content > ul { grid-template-columns: 1fr 1fr; } }
.offer-content > ul > li { position: relative; margin: 0; padding: 20px 20px 20px 56px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-card); line-height: 1.5; transition: border-color .3s, transform .4s var(--ease); }
.offer-content > ul > li:hover { border-color: var(--brand); transform: translateY(-3px); }
.offer-content > ul > li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.offer-content > .has-lead { font-size: var(--fs-h5); }
.offer-content > .wp-block-buttons { display: none; }

.offer-cta { width: calc(100% - 20px); /* am Handy 10 px Rand wie der Footer */ margin-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 110px); padding: clamp(32px, 5vw, 72px); border-radius: var(--radius-lg); background: radial-gradient(circle at 100% 0%, rgba(201, 73, 18, .45), transparent 60%), var(--surface); border: 1px solid var(--line); text-align: center; }
.offer-cta__title { font-size: var(--fs-h1); line-height: 1.05; font-weight: 500; margin: 0 0 14px; color: var(--muted-2); }
.offer-cta__title span { color: var(--heading); }
.offer-cta__text { color: var(--muted); margin: 0 auto 28px; max-width: 46ch; }
.offers-overview .feature-card { margin-bottom: 16px; }
.offers-overview { padding-bottom: clamp(80px, 10vw, 150px); }

/* =========================================================================
   Terminbuchung [romedia_termin]
   ========================================================================= */
.booking { display: grid; gap: 28px; margin: 8px 0 24px; }
.booking [hidden] { display: none !important; }
.booking__label { margin: 0 0 12px; font-size: var(--fs-small); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.booking__single { margin: 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-card); color: var(--muted); }
.booking__single strong { color: var(--heading); }
.booking__type-list { display: grid; gap: 10px; }
@media (min-width: 640px) { .booking__type-list { grid-template-columns: 1fr 1fr; } }
.booking__type { position: relative; cursor: pointer; }
.booking__type input { position: absolute; opacity: 0; }
.booking__type > span { display: grid; gap: 4px; height: 100%; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, background-color .25s; }
.booking__type em { font-style: normal; font-size: var(--fs-small); color: var(--muted); }
.booking__type small { font-size: var(--fs-small); color: var(--muted); }
.booking__type input:checked + span { border-color: var(--brand); background: var(--pill); }
.booking__type input:focus-visible + span { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.booking__pick { display: grid; gap: 24px; padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (min-width: 760px) { .booking__pick { grid-template-columns: 1.4fr 1fr; } }
.booking__cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.booking__month { margin: 0; font-size: var(--fs-lead); font-weight: 500; text-transform: capitalize; }
.booking__prev .icon { transform: rotate(180deg); }
.booking__prev:disabled { opacity: .3; cursor: default; }
.booking__weekdays, .booking__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.booking__weekdays span { font-size: var(--fs-label); color: var(--muted); padding-bottom: 4px; }
.booking__days.is-loading { opacity: .4; }
.booking__day { aspect-ratio: 1; border: 0; border-radius: 50%; background: none; color: var(--muted-2); font: inherit; font-size: var(--fs-ui); }
.booking__day.is-free { background: var(--pill); color: var(--heading); font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s; }
.booking__day.is-free:hover { background: var(--pill-hover); }
.booking__day.is-active { background: var(--brand) !important; color: var(--on-brand); }
.booking__day.is-today { box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--heading); } /* heutiger Tag */
.booking__empty { margin: 12px 0 0; font-size: var(--fs-small); color: var(--muted); }
.booking__times-title { text-transform: none; letter-spacing: 0; font-size: var(--fs-card); color: var(--heading); }
.booking__time-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; max-height: 340px; overflow: auto; }
.booking__time { padding: 11px 10px; border: 1px solid var(--line); border-radius: 999px; background: none; color: var(--heading); font: inherit; font-size: var(--fs-ui); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.booking__time:hover { border-color: var(--brand); }
.booking__time.is-active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.booking__note { margin: 0; padding: 16px 20px; border-left: 3px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--pill); font-size: var(--fs-card); color: var(--muted); }
.booking__note strong { color: var(--heading); }
.booking__hint { margin: 4px 0 0; font-size: var(--fs-small); color: var(--muted); }
.booking__chosen { margin: 0 0 8px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--pill); font-size: var(--fs-card); }

/* Spamschutz ALTCHA im Stil der Website */
.form-altcha { margin: 6px 0 2px; }
/* „Ich bin kein Roboter“/„Überprüft“ exakt auf Höhe des Kästchens */
.form-altcha .altcha-checkbox-wrap { align-items: center; }
.form-altcha .altcha-checkbox-wrap > label { align-self: center; margin: 0; line-height: 22px; }
.form-altcha altcha-widget { --altcha-max-width: 320px; --altcha-border-radius: 12px; --altcha-border-color: var(--line); --altcha-color-base: transparent; --altcha-color-base-content: var(--heading); --altcha-color-primary: var(--brand); --altcha-color-primary-content: #ffffff; --altcha-color-success: var(--brand); --altcha-color-success-content: #ffffff; --altcha-checkbox-border-color: var(--line); font-family: var(--font); font-size: var(--fs-small); }
