/*
Theme Name: HILDERTS
Theme URI: https://hilderts.de
Author: HILDERTS Interim Management
Author URI: https://hilderts.de
Description: Maßgeschneidertes WordPress-Theme für HILDERTS Interim Management (hilderts.de). Vollständig zweisprachig DE/EN mit automatischer Browsersprachen-Erkennung und DE|EN-Umschalter (ohne Plugin), DSGVO-konform, performant (< 3 s FCP), semantisches HTML, Schema.org, Open-Graph & hreflang integriert. Corporate Identity: HILDERTS Blau #2F516A, Grau #7F7F7F, Akzent-Rot #C0504E. Kompatibel mit WordPress 6.x und 7.0.
Version: 1.4.3
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hilderts
Tags: interim-management, consulting, business, responsive, two-columns, custom-menu, featured-images, translation-ready
*/

/* =================================================================
   HILDERTS — Corporate Identity Design System
   Primärfarbe  #2F516A  (HILDERTS Blau)
   Sekundärf.   #7F7F7F  (Grau)
   Akzent       #C0504E  (Rot)
   Hintergrund  #FFFFFF
   Trennlinien  #BFBFBF
   ================================================================= */

:root {
  --c-primary:        #2F516A;
  --c-primary-dark:   #233e52;
  --c-primary-light:  #3d6688;
  --c-secondary:      #7F7F7F;
  --c-accent:         #C0504E;
  --c-accent-dark:    #a8413f;
  --c-bg:             #FFFFFF;
  --c-bg-soft:        #f5f7f9;
  --c-bg-tint:        #eef2f5;
  --c-border:         #BFBFBF;
  --c-border-soft:    #e2e6ea;
  --c-text:           #2a2e33;
  --c-text-soft:      #5a6168;
  --c-white:          #ffffff;

  --font-head: "Bierstadt", "Calibri", "Segoe UI", Arial, sans-serif;
  --font-body: "Bierstadt", "Calibri", "Segoe UI", Arial, sans-serif;

  --fs-base: 16px;
  --lh-base: 1.6;

  --maxw: 1200px;
  --maxw-narrow: 820px;
  --gap: 24px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(47,81,106,.08);
  --shadow:    0 4px 18px rgba(47,81,106,.10);
  --shadow-lg: 0 12px 40px rgba(47,81,106,.16);
  --header-h: 84px;
  --trans: .25s ease;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--c-primary); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; color: var(--c-primary-dark); }
blockquote { margin: 0; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--maxw-narrow); }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--tint { background: var(--c-bg-tint); }
.section--primary { background: var(--c-primary); color: var(--c-white); }
.section--primary h1, .section--primary h2, .section--primary h3 { color: var(--c-white); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent); font-weight: 700; margin-bottom: .8rem;
}
.section__head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section--head-left .section__head { margin-left: 0; }
.lead { font-size: 1.18rem; color: var(--c-text-soft); }
.muted { color: var(--c-secondary); }
.accent { color: var(--c-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: all var(--trans); line-height: 1; text-align: center;
}
.btn--primary { background: var(--c-primary); color: var(--c-white); }
.btn--primary:hover { background: var(--c-primary-dark); color: var(--c-white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--accent { background: var(--c-accent); color: var(--c-white); }
.btn--accent:hover { background: var(--c-accent-dark); color: var(--c-white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: var(--c-white); }
.btn--ghost-light { background: transparent; color: var(--c-white); border-color: rgba(255,255,255,.6); }
.btn--ghost-light:hover { background: var(--c-white); color: var(--c-primary); }
.btn--lg { padding: 17px 36px; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--c-border-soft);
  transition: box-shadow var(--trans);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.site-logo img { height: auto; width: auto; max-height: 52px; max-width: 240px; object-fit: contain; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: block; padding: 10px 13px; font-family: var(--font-head); font-weight: 600;
  font-size: .96rem; color: var(--c-primary); border-radius: var(--radius); position: relative;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--c-accent); }
.main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; background: var(--c-accent);
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; color: var(--c-primary); white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; fill: var(--c-accent); }
.lang-switch { display: flex; gap: 2px; font-size: .85rem; font-weight: 700; align-items: center; }
.lang-switch a { padding: 4px 7px; border-radius: 4px; color: var(--c-secondary); }
.lang-switch a.is-active, .lang-switch a:hover { color: var(--c-white); background: var(--c-primary); }
.lang-switch .sep { color: var(--c-border); }

/* Mobile nav */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--c-primary); margin: 5px 0; transition: var(--trans); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--c-primary); color: var(--c-white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center right; opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, var(--c-primary-dark) 0%, rgba(35,62,82,.82) 45%, rgba(47,81,106,.45) 100%); }
.hero__inner { position: relative; z-index: 2; padding: clamp(70px, 11vw, 150px) 0; max-width: 760px; }
.hero h1 { color: var(--c-white); margin-bottom: .4em; }
.hero__sub { font-size: clamp(1.1rem, 2vw, 1.4rem); color: rgba(255,255,255,.9); font-weight: 600; font-family: var(--font-head); margin-bottom: 1.6em; }
.hero__motto-sub { font-size: clamp(1rem, 1.7vw, 1.25rem); color: rgba(255,255,255,.92); line-height: 1.5; margin: -.1em 0 1.3em; max-width: 680px; }
.hero__claim-small { font-size: 1.05rem; color: rgba(255,255,255,.8); font-style: italic; margin-bottom: 1.4em; }

/* page hero (interior pages) */
.page-hero { background: var(--c-primary); color: var(--c-white); padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { color: var(--c-white); }
.page-hero .lead { color: rgba(255,255,255,.88); max-width: 720px; }
.breadcrumbs { font-size: .85rem; color: rgba(255,255,255,.65); margin-bottom: 1rem; }
.breadcrumbs a { color: rgba(255,255,255,.85); }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--c-white); border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg);
  padding: 30px; transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-primary-light); }
.card h3 { margin-bottom: .5em; }
.card__num { font-family: var(--font-head); font-weight: 700; color: var(--c-accent); font-size: 1.4rem; }
.card--problem { border-top: 4px solid var(--c-accent); }
.card__icon { width: 46px; height: 46px; margin-bottom: 16px; fill: var(--c-primary); }
.card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-family: var(--font-head); margin-top: 8px; }
.card__link::after { content: "→"; transition: transform var(--trans); }
.card__link:hover::after { transform: translateX(4px); }

/* Result boxes (Zahl + Kontext) */
.result-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.result-box {
  background: var(--c-white); border: 1px solid var(--c-border-soft); border-left: 5px solid var(--c-accent);
  border-radius: var(--radius); padding: 26px 24px; height: 100%;
}
.result-box .num { font-family: var(--font-head); font-weight: 700; color: var(--c-primary); font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; margin-bottom: 8px; }
.result-box .ctx { color: var(--c-text-soft); font-size: .98rem; }

/* KPI / Social proof bar */
.kpi-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; }
.kpi { text-align: center; padding: 34px 18px; background: var(--c-primary); color: var(--c-white); border-right: 1px solid rgba(255,255,255,.14); }
.kpi:last-child { border-right: 0; }
.kpi .v { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.kpi .l { font-size: .92rem; color: rgba(255,255,255,.82); margin-top: 8px; }

/* Benefit cards (icon + text) */
.benefit { display: flex; gap: 16px; align-items: flex-start; background: var(--c-white); border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg); padding: 24px; height: 100%; }
.benefit:hover { box-shadow: var(--shadow); }
.benefit__ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--c-bg-tint); display: grid; place-items: center; }
.benefit__ico svg { width: 24px; height: 24px; fill: var(--c-primary); }
.benefit h3 { font-size: 1.12rem; margin-bottom: .3em; }
.benefit p { margin: 0; color: var(--c-text-soft); font-size: .98rem; }

/* Logo bar */
/* Begleitete Organisationen — gleich große Karten */
.org-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.org-card {
  display: flex; align-items: center; justify-content: center; min-height: 128px; padding: 24px 28px;
  background: var(--c-white); border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg);
  transition: box-shadow var(--trans), border-color var(--trans);
}
.org-card:hover { box-shadow: var(--shadow); border-color: var(--c-primary-light); }
.org-card img { max-height: 76px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .85; transition: var(--trans); }
.org-card:hover img { filter: grayscale(0); opacity: 1; }
.org-name { font-family: var(--font-head); font-weight: 700; font-size: var(--fs-base); color: var(--c-secondary); text-align: center; }
.org-card:hover .org-name { color: var(--c-primary); }

/* Testimonials */
.quote-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.quote {
  background: var(--c-white); border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg);
  padding: 30px; position: relative; height: 100%;
}
.quote::before { content: "\201C"; font-family: Georgia, serif; font-size: 4rem; color: var(--c-bg-tint); position: absolute; top: 6px; left: 18px; line-height: 1; }
.quote p { position: relative; font-size: 1.05rem; color: var(--c-text); font-style: italic; }
.quote__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--c-border-soft); }
.tag { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: var(--c-bg-tint); color: var(--c-primary); }
.tag--accent { background: rgba(192,80,78,.12); color: var(--c-accent); }

/* Process / Phases timeline */
.timeline { position: relative; display: grid; gap: 20px; }
.phase {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start;
  background: var(--c-white); border: 1px solid var(--c-border-soft); border-left: 5px solid var(--c-primary);
  border-radius: var(--radius-lg); padding: 24px 28px;
}
.phase__when { font-family: var(--font-head); font-weight: 700; color: var(--c-accent); }
.phase__when .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: .9rem; margin-right: 8px; }
.phase__when .t { display: block; margin-top: 6px; color: var(--c-secondary); font-weight: 600; font-size: .92rem; }
.phase h3 { margin: 0 0 .35em; }
.phase p { margin: 0; color: var(--c-text-soft); }

/* Definition / spec tables */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .97rem; }
table.data th, table.data td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
table.data thead th { background: var(--c-primary); color: #fff; font-family: var(--font-head); border-bottom: 0; }
table.data tbody tr:nth-child(even) { background: var(--c-bg-soft); }
table.data tbody tr:hover { background: var(--c-bg-tint); }
table.data .pe-yes { color: var(--c-accent); font-weight: 700; }

/* Cluster / competency blocks */
.cluster { border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 28px; background: #fff; }
.cluster__head { background: var(--c-primary); color: #fff; padding: 20px 28px; }
.cluster__head h3 { color: #fff; margin: 0; }
.cluster__head .sub { color: rgba(255,255,255,.8); font-size: .95rem; }
.cluster__body { padding: 8px 28px 28px; }
.mandate-type { padding: 22px 0; border-bottom: 1px solid var(--c-border-soft); }
.mandate-type:last-child { border-bottom: 0; }
.mandate-type h4 { font-family: var(--font-head); color: var(--c-primary); font-size: 1.15rem; margin: 0 0 .3em; }
.mandate-type .refs { font-size: .85rem; color: var(--c-secondary); }
.mandate-type .regdriver { display: inline-block; margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--c-accent); }

/* Accordion */
.accordion__item { border: 1px solid var(--c-border-soft); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.accordion__btn { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--c-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.accordion__btn .chev { transition: transform var(--trans); flex: 0 0 auto; }
.accordion__btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.accordion__panel { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.accordion__panel.open { padding: 0 24px 22px; }

/* Video block */
.video-block { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.video-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; aspect-ratio: 16/9; }
.video-frame iframe, .video-frame video { width: 100%; height: 100%; border: 0; display: block; }
.video-frame__placeholder { position: relative; width: 100%; height: 100%; cursor: pointer; }
.video-frame__placeholder img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%; background: rgba(192,80,78,.92); display: grid; place-items: center; }
.play-btn::after { content: ""; border-left: 22px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px; }

/* Download / CTA cards */
.download-card { display: flex; gap: 18px; align-items: center; padding: 22px 26px; border: 1px solid var(--c-border-soft); border-radius: var(--radius-lg); background: #fff; }
.download-card svg { flex: 0 0 auto; width: 38px; height: 38px; fill: var(--c-accent); }
.download-card h4 { margin: 0 0 .2em; font-family: var(--font-head); color: var(--c-primary); }
.download-card p { margin: 0; font-size: .9rem; color: var(--c-secondary); }
.download-card .btn { margin-left: auto; }

/* USP blocks */
.usp { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.usp__n { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--c-bg-tint); -webkit-text-stroke: 1px var(--c-primary-light); }
.usp h3 { margin-bottom: .3em; }
.usp p { color: var(--c-text-soft); margin: 0; }

/* Contact rows */
.contact-list { display: grid; gap: 16px; }
.contact-row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--c-border-soft); align-items: center; }
.contact-row .label { font-family: var(--font-head); font-weight: 700; color: var(--c-primary); }
.contact-row a.big { font-size: 1.3rem; font-weight: 700; font-family: var(--font-head); }
.availability { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; background: rgba(47,81,106,.06); border: 1px solid var(--c-border-soft); border-radius: 40px; font-weight: 700; color: var(--c-primary); }
.availability .dot { width: 11px; height: 11px; border-radius: 50%; background: #2faa5a; box-shadow: 0 0 0 4px rgba(47,170,90,.18); flex: 0 0 auto; }
/* Verfügbarkeits-Badge auf dunklem Hero sichtbar machen (heller Text/Hintergrund) */
.page-hero .availability { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }

/* CTA footer band */
.cta-band { background: var(--c-primary); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band a.tel { color: #fff; font-size: clamp(1.4rem,3vw,2rem); font-family: var(--font-head); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-primary-dark); color: rgba(255,255,255,.8); padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1em; letter-spacing: .03em; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55em; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.footer-logo img { height: 48px; width: auto; display: block; }
.footer-brand p { color: rgba(255,255,255,.7); max-width: 320px; }
.footer-qr { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.footer-qr img { width: 84px; height: 84px; background: #fff; border-radius: 8px; padding: 6px; }
.footer-qr span { font-size: .82rem; color: rgba(255,255,255,.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }

/* Persistent floating contact (mobile) */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: none; }
.float-contact a { width: 56px; height: 56px; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.float-contact svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- Cookie consent (textbasiert) ---------- */
.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 200; max-width: 560px; margin: 0 auto;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 22px 24px; display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: .9rem; margin: 0 0 14px; color: var(--c-text-soft); }
.cookie-banner .btn-row { gap: 10px; }
.cookie-banner .btn { padding: 10px 20px; font-size: .92rem; }

/* ---------- WP content (single/page default) ---------- */
.entry-content { font-size: 1.05rem; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius); margin: 1.5em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.aligncenter { display: block; margin: 1.5em auto; }
.wp-caption-text { font-size: .85rem; color: var(--c-secondary); text-align: center; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--c-accent); color: #fff; padding: 10px 18px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* Utilities */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mt-2{margin-top:2rem}.mb-2{margin-bottom:2rem}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .kpi-bar { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2) { border-right: 0; }
  .kpi:nth-child(1), .kpi:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .video-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 70px; }
  /* backdrop-filter würde einen Bezugsrahmen für das fixed-Menü erzeugen → auf Mobil deaktivieren,
     damit das Menü relativ zum Viewport liegt und den Bildschirm füllt. */
  .site-header { z-index: 1000; -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav-toggle { display: block; position: relative; z-index: 1002; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; transform: translateX(100%);
    transition: transform var(--trans); padding: 24px; overflow-y: auto;
    z-index: 1001; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  }
  .main-nav.open { transform: none; box-shadow: var(--shadow-lg); }
  .main-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .main-nav a { padding: 16px 8px; border-bottom: 1px solid var(--c-border-soft); font-size: 1.1rem; }
  .header-phone span { display: none; }
  .phase { grid-template-columns: 1fr; gap: 8px; }
  .usp { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; gap: 4px; }
  .download-card { flex-wrap: wrap; }
  .download-card .btn { margin-left: 0; width: 100%; justify-content: center; }
  .float-contact { display: block; }
}
@media (max-width: 560px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .kpi-bar { grid-template-columns: 1fr; }
  .kpi { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .section { padding: 48px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .cookie-banner, .float-contact, .nav-toggle, .btn { display: none !important; }
  body { color: #000; }
}
