/* ==================================================================
   METRIQ Design 2026 (Petrol)
   Legt sich ueber metriq.css und components.css. Aufbau wie die neue
   Palatin-Seite: Inter Tight, Mono-Kleinueberschriften mit Strich,
   zweispaltige Abschnittskoepfe, dunkle Seitenkoepfe, Pill-Buttons.
   ================================================================== */

@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
    /* neue Grundfarben */
    --ink: #0a1628;
    --ink-2: #0f1f38;
    --ink-3: #16294a;
    --paper: #f3f5f8;
    --surface: #ffffff;
    --line: #e1e6ee;
    --line-strong: #c8d0dc;
    --text: #0f1a2b;
    --muted: #556275;
    --on-dark: #eef2f7;
    --on-dark-muted: #a3afc2;
    --dark-line: rgba(255, 255, 255, 0.1);
    --accent: #0f6a8b;
    --accent-hover: #0b5470;
    --accent-bright: #5fd3e3;
    --accent-soft: #e3f1f5;
    --accent-soft-text: #0b3a4b;
    --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
    --radius: 14px;
    --radius-sm: 8px;
    --header-h: 76px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --shadow-lg: 0 2px 4px rgba(10, 22, 40, 0.05), 0 24px 48px rgba(10, 22, 40, 0.12);

    /* alte Variablen auf die neuen Farben umlegen */
    --bg-white: #ffffff;
    --bg-light: var(--paper);
    --bg-gray: #eef2f6;
    --bg-slate: var(--ink);
    --text-main: var(--text);
    --text-muted: var(--muted);
    --text-light: var(--on-dark);
    --color-primary: var(--accent);
    --color-secondary: var(--accent-bright);
    --border-color: var(--line);
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-card: var(--shadow-lg);
    --radius-lg: 14px;
    --radius-md: 10px;
}

/* ---------- Basis ---------- */
html { font-family: var(--font); color: var(--text); background: var(--paper); scroll-padding-top: calc(var(--header-h) + 12px); }
body { font-size: 1.0625rem; line-height: 1.6; background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body::before { display: none; }
h1, h2, h3, h4 { font-weight: 650; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; color: inherit; }
p { text-wrap: pretty; }
button, input, textarea, select { font-family: inherit; }
.container { max-width: 1264px; padding: 0 clamp(16px, 4vw, 32px); }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 4px; }

/* sanftere Einblendung */
.reveal { transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

/* ---------- Kleinueberschrift mit Strich ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; flex: none; }
.section-dark .eyebrow, .page-hero .eyebrow, .cta-section .eyebrow, .hero .eyebrow { color: var(--accent-bright) !important; }

/* ---------- Buttons ---------- */
.btn {
    gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
    font-size: 0.98rem; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-secondary:hover { background: transparent; border-color: var(--text); }
.btn .pfeil { transition: transform 0.25s var(--ease); }
.btn:hover .pfeil { transform: translateX(3px); }
/* Buttons auf dunklem Grund */
.section-dark .btn-secondary, .page-hero .btn-secondary, .hero .btn-secondary, .cta-section .btn-secondary {
    color: #fff; border-color: rgba(255, 255, 255, 0.32); background: transparent !important;
}
.section-dark .btn-secondary:hover, .page-hero .btn-secondary:hover, .hero .btn-secondary:hover, .cta-section .btn-secondary:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06) !important; }
.cta-card .btn-primary, .price-card.featured .btn-primary { background: var(--accent) !important; color: #fff !important; }
.cta-card .btn-primary:hover, .price-card.featured .btn-primary:hover { background: var(--accent-hover) !important; }
.text-link, .baustein-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.baustein-link:hover { text-decoration: none; }
.section-dark .baustein-link { color: var(--accent-bright); }

/* ---------- Kopfzeile ---------- */
header {
    position: sticky; top: 0; z-index: 1100; height: var(--header-h); padding: 0;
    background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line); transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header-inner { height: 100%; gap: 24px; }
.logo img { height: 54px; width: auto; }
.logo .logo-light { display: none; }
header nav { gap: 2px; }
header nav > a, .nav-group > a {
    display: block; padding: 8px 12px; border-radius: 999px;
    font-size: 0.95rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text);
    transition: background-color 0.2s, color 0.2s;
}
header nav > a:hover, .nav-group > a:hover { background: rgba(10, 22, 40, 0.05); color: var(--text); }
nav a.is-current { color: var(--accent); }
.nav-group > a::after { opacity: 0.45; }
.header-cta { min-height: 42px !important; padding: 8px 18px !important; font-size: 0.93rem !important; margin-left: 12px; }
.nav-dropdown { border-radius: var(--radius); border-color: var(--line); box-shadow: var(--shadow-lg); padding: 8px; top: calc(100% + 10px); }
.nav-dropdown a { font-weight: 600; font-size: 0.93rem; border-radius: var(--radius-sm); color: var(--text); padding: 10px 12px; }
.nav-dropdown a span { color: var(--muted); }
.nav-dropdown a:hover { background: var(--paper); }
.nav-toggle span { background: var(--text); }

/* Startseite: Kopfzeile transparent ueber dem dunklen Titelbild, beim Scrollen hell */
header.header--transparent { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
header.header--transparent .logo .logo-light { display: block; }
header.header--transparent .logo .logo-dark { display: none; }
header.header--transparent nav > a, header.header--transparent .nav-group > a { color: rgba(238, 242, 247, 0.88); }
header.header--transparent nav > a:hover, header.header--transparent .nav-group > a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
header.header--transparent .nav-toggle span { background: #fff; }
header.header--transparent.is-solid { background: rgba(255, 255, 255, 0.94); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
header.header--transparent.is-solid .logo .logo-light { display: none; }
header.header--transparent.is-solid .logo .logo-dark { display: block; }
header.header--transparent.is-solid nav > a, header.header--transparent.is-solid .nav-group > a { color: var(--text); }
header.header--transparent.is-solid nav > a:hover, header.header--transparent.is-solid .nav-group > a:hover { background: rgba(10, 22, 40, 0.05); }
header.header--transparent.is-solid .nav-toggle span, header.header--transparent .nav-toggle.is-open span { background: var(--text); }

/* Mobilmenue */
.mobile-nav { background: rgba(255, 255, 255, 0.98); padding-top: calc(var(--header-h) + 12px); }
.mobile-nav a:not(.btn) { color: var(--text); font-weight: 600; border-bottom-color: var(--line); }
.mobile-nav a:not(.btn):hover { color: var(--accent); }
.mobile-nav-label { font-family: var(--mono); font-weight: 500; letter-spacing: 0.14em; color: var(--muted); }
.mobile-nav-sub { color: var(--muted) !important; }
.mobile-nav .btn { text-transform: none; letter-spacing: 0; font-size: 1rem; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; background: var(--surface); }
.section-alt { background: var(--paper); border-top: 0; border-bottom: 0; }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark p { color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { max-width: none; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 0; }
.section-head p { color: var(--muted); font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.6; max-width: 62ch; }
.section-dark .section-head p { color: var(--on-dark-muted); }
@media (min-width: 900px) {
    .section-head { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 64px; align-items: end; }
    .section-head > .eyebrow { grid-column: 1; justify-self: start; }
    .section-head > h2 { grid-column: 1; }
    .section-head > p { grid-column: 2; grid-row: 1 / span 2; justify-self: end; align-self: end; }
    .section-head > p + p { grid-row: auto; margin-top: 12px; }
}
@media (max-width: 899px) { .section-head h2 { margin-bottom: 16px; } }

/* ---------- Seitenkopf der Unterseiten: dunkel mit feinem Raster ---------- */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
    background: var(--ink); color: var(--on-dark); border-bottom: 0;
}
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.page-hero-inner { max-width: 780px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.05; letter-spacing: -0.033em; color: #fff; margin-bottom: 22px; }
.page-hero .lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: rgba(238, 242, 247, 0.82); max-width: 60ch; }
.page-hero .lead strong, .page-hero p strong { color: #fff; }
.page-hero p { color: rgba(238, 242, 247, 0.82); }
.page-hero .btn { margin-top: 30px; margin-right: 10px; }
.page-hero a:not(.btn) { color: #fff; }
.breadcrumb { font-size: 0.82rem; color: var(--on-dark-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--on-dark-muted) !important; }
.breadcrumb a:hover { color: #fff !important; }
.page-hero .branche { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: var(--on-dark); }

/* Baustein-Seiten: Foto als gerahmtes Bild rechts */
.hero-bild::before {
    top: clamp(48px, 6vw, 80px); bottom: clamp(48px, 6vw, 80px);
    right: max(clamp(16px, 4vw, 32px), calc((100vw - 1200px) / 2));
    width: min(36%, 460px); height: auto;
    background: var(--hero-bild) center / cover no-repeat;
    -webkit-mask-image: none; mask-image: none;
    border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); z-index: -1;
}
@media (min-width: 1101px) { .hero-bild .page-hero-inner { max-width: calc(100% - min(36%, 460px) - 64px); } }
@media (max-width: 1100px) {
    .hero-bild::before { top: 0; bottom: 0; right: 0; width: 100%; border-radius: 0; box-shadow: none;
        background: linear-gradient(rgba(10, 22, 40, 0.86), rgba(10, 22, 40, 0.86)), var(--hero-bild) center / cover no-repeat; }
}
/* Workshop-Kopf: Raumfoto ebenfalls gerahmt */
.page-hero.ws-foto::before {
    top: clamp(48px, 6vw, 80px); bottom: clamp(48px, 6vw, 80px);
    right: max(clamp(16px, 4vw, 32px), calc((100vw - 1200px) / 2));
    width: min(36%, 460px); opacity: 1; border-radius: var(--radius);
    -webkit-mask-image: none; mask-image: none; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
@media (min-width: 1101px) { .page-hero.ws-foto .page-hero-inner { max-width: calc(100% - min(36%, 460px) - 64px); } }
@media (max-width: 1100px) {
    .page-hero.ws-foto::before { top: 0; bottom: 0; right: 0; width: 100%; border-radius: 0; box-shadow: none; opacity: 0.18; }
}

/* ---------- Karten, Kaesten, Listen ---------- */
.card, .branch-card, .vignette, .stack-layer, .price-example, .blog-card, .video-karte, .galerie-fenster {
    border-radius: var(--radius); border: 1px solid var(--line); box-shadow: none;
}
.card { padding: 28px 26px; transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.card:hover, .blog-card:hover, .branch-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: none; }
.card h3 { font-size: 1.18rem; letter-spacing: -0.015em; }
.card p, .split p, .branch-card p, .vignette p, .blog-card p { color: var(--muted); }
.vignette { border-left: 1px solid var(--line); }
.vignette-meta, .blog-card-meta, .stack-layer-label, .callout-title, .price-example-col h3, .step-num, .module-id {
    font-family: var(--mono); font-weight: 500; letter-spacing: 0.12em;
}

.callout { background: var(--accent-soft); border-left: 0; border-radius: var(--radius); padding: 22px 26px; }
.callout p { color: var(--accent-soft-text); }
.callout strong { color: var(--accent-soft-text); }
.callout-title { font-size: 0.7rem; color: var(--accent); }
.section-dark .callout, .cta-section .callout { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--dark-line); }
.section-dark .callout p { color: var(--on-dark-muted); }

.checklist li { color: var(--text); padding-left: 28px; }
.checklist li::before {
    top: 4px; width: 18px; height: 18px; border-radius: 0; background-color: var(--accent);
    background-image: none;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7'/></svg>") center / 18px no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7'/></svg>") center / 18px no-repeat;
}
.section-dark .checklist li, .cta-section .checklist li { color: var(--on-dark); }
.section-dark .checklist li::before, .cta-section .checklist li::before { background-color: var(--accent-bright); }
.painlist li { color: var(--text); }
.painlist li::before { background-color: #fde8e4; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2410c' stroke-width='3.2' stroke-linecap='round'><line x1='17' y1='7' x2='7' y2='17'/><line x1='7' y1='7' x2='17' y2='17'/></svg>"); }
.section-dark .painlist li { color: var(--on-dark); }

.tag, .branche, .stack-chip { border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 500; }
.stack-chip { border-radius: var(--radius-sm); color: var(--text); background: var(--paper); }
.stack-layer.is-core { background: var(--ink); border-color: var(--ink); }

.split h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); line-height: 1.12; letter-spacing: -0.025em; }
.split h3 { font-size: 1.25rem; }
.split-visual img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.footnote { color: var(--muted); }

/* Tabellen */
.datatable { border-radius: var(--radius); border-color: var(--line); }
.datatable th { background: var(--ink); font-family: var(--mono); font-weight: 500; letter-spacing: 0.1em; font-size: 0.72rem; }
.datatable td { color: var(--text); border-top-color: var(--line); }
.datatable tbody tr:nth-child(even) { background: var(--paper); }

/* In-Page-Navigation */
.anchor-nav-wrap { top: var(--header-h); background: rgba(255, 255, 255, 0.96); border-bottom-color: var(--line); }
.anchor-nav { gap: 6px; padding: 12px 0; }
.anchor-nav a { background: transparent; border: 1px solid var(--line); color: var(--text); font-weight: 500; font-size: 0.86rem; border-radius: 999px; }
.anchor-nav a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Stufen mit gestrichelter Verbindung ---------- */
.steps { gap: 0; }
.step { background: transparent; border: 0; box-shadow: none; padding: 0 28px 0 0; border-radius: 0; }
.step-num {
    display: flex; align-items: center; min-height: 40px; margin-bottom: 18px; white-space: nowrap;
    font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}
.step-num::after { content: ""; flex: 1; height: 1px; margin-left: 12px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step:first-child .step-num { color: var(--accent); }
.step:last-child .step-num::after { display: none; }
.step h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
.step p { font-size: 0.98rem; color: var(--muted); margin-top: 10px; }
.step-meta { margin-top: 14px; padding-top: 0; border-top: 0; font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.step-meta em { font-family: var(--font); text-transform: none; letter-spacing: 0; color: var(--text); font-weight: 500; font-size: 0.86rem; margin-top: 6px; }
.section-dark .step h3 { color: #fff; }
.section-dark .step p { color: var(--on-dark-muted); }
.section-dark .step-num { color: var(--on-dark-muted); }
.section-dark .step:first-child .step-num { color: var(--accent-bright); }
.section-dark .step-num::after { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 6px, transparent 6px 12px); }
.section-dark .step-meta { color: var(--accent-bright); }
.section-dark .step-meta em { color: var(--on-dark); }
@media (max-width: 980px) { .steps { gap: 40px 0; } .step:nth-child(2n) .step-num::after { display: none; } }
@media (max-width: 560px) { .step-num::after { display: none; } .step { padding-right: 0; } }
.steps-note { border: 1px solid var(--line); background: var(--paper); color: var(--muted); border-radius: var(--radius); padding: 18px 22px; max-width: none; }
.steps-note strong { color: var(--text); }
.section-dark .steps-note { background: rgba(255, 255, 255, 0.04); border-color: var(--dark-line); color: var(--on-dark-muted); }
.section-dark .steps-note strong { color: #fff; }

/* ---------- FAQ als einzelne Kaesten ---------- */
.faq-item, .faq-item:first-child { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 10px; }
.faq-q { padding: 17px 52px 17px 18px; font-size: 1rem; font-weight: 600; color: var(--text); }
.faq-q::after { right: 18px; font-size: 1.35rem; color: var(--accent); transition: transform 0.25s var(--ease); }
.faq-item.is-open .faq-q::after { content: "+"; transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 18px 18px; color: var(--muted); }
.section-dark .faq-item { background: rgba(255, 255, 255, 0.04); border-color: var(--dark-line); }
.section-dark .faq-q { color: #fff; }

/* ---------- Kontaktblock: dunkel ---------- */
.cta-section { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-dark); padding: clamp(80px, 10vw, 128px) 0; }
.cta-section::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 65%); mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
}
.cta-section .container { max-width: 1264px; }
.cta-text h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; line-height: 1.08; }
.cta-text p { color: var(--on-dark-muted); }
.cta-text p strong { color: #fff; }
.cta-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cta-card-title { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.cta-form-title { font-family: var(--font); font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; text-transform: none; color: #fff; }
.cta-person { background: transparent; border: 0; padding: 0; }
.cta-person:hover { background: transparent; }
.cta-person-text { color: var(--on-dark-muted); }
.cta-contact-item, .cta-card-address-top { color: var(--on-dark-muted); }
.cta-contact-item a:hover { color: var(--accent-bright); }
.cta-form { border-top-color: var(--dark-line); }
.cta-form label { font-family: var(--mono); font-weight: 500; letter-spacing: 0.12em; color: var(--on-dark-muted); }
.cta-form input, .cta-form textarea, .cta-form select { border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.cta-form input::placeholder, .cta-form textarea::placeholder { color: #6b7a90; }
.cta-form input:focus, .cta-form textarea:focus { border-color: var(--accent-bright); }
.cta-section a:not(.btn) { color: #fff; }

/* ---------- Fusszeile: dunkel ---------- */
footer { background: #070f1e; color: var(--on-dark-muted); padding: 64px 0 28px; text-align: left; }
.footer-nav { grid-template-columns: 1.3fr repeat(3, 1fr); border-bottom: 0; padding-bottom: 0; margin-bottom: 0; gap: 36px; }
.footer-nav h3 { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; color: var(--on-dark-muted); }
.footer-nav a { color: var(--on-dark); font-size: 0.93rem; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-marke img { height: 58px; width: auto; display: block; }
.footer-marke p { margin-top: 16px; font-size: 0.93rem; max-width: 32ch; color: var(--on-dark-muted); }
.footer-inner { flex-direction: row; justify-content: space-between; align-items: center; margin: 48px 0 0; padding-top: 22px; border-top: 1px solid var(--dark-line); gap: 16px; flex-wrap: wrap; }
.footer-logo { display: none; }
.copyright { color: var(--on-dark-muted); font-size: 0.85rem; }
@media (max-width: 980px) { .footer-nav { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-nav { grid-template-columns: 1fr; } }

/* ---------- Preise ---------- */
.pricing-section { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper); }
.price-card { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--line); }
.price-card.featured { background: var(--ink); box-shadow: var(--shadow-lg); }
.price-card li::before { color: var(--accent); }
.price-card.featured li::before { color: var(--accent-bright); }
.price-num { font-weight: 650; letter-spacing: -0.03em; }
.module-id { border-radius: 999px; background: var(--accent-soft); color: var(--accent-soft-text); border-color: transparent; font-size: 0.68rem; }
.price-card.featured .module-id { background: rgba(255, 255, 255, 0.08); color: var(--accent-bright); }
.price-example-sum { border-top-color: var(--text); }

/* ---------- Ueber uns ---------- */
.trust-section { background: var(--surface); }
.trust-quote::before, .trust-quote::after { color: var(--accent); }
.trust-quote { font-style: normal; font-weight: 500; letter-spacing: -0.02em; }

/* ---------- Blog ---------- */
.blog-card { overflow: hidden; }
.blog-card-meta { color: var(--accent); font-size: 0.7rem; }
.blog-text p { color: var(--text); }
.blog-text h2 { letter-spacing: -0.02em; }

/* ---------- Cookie-Hinweis ---------- */
.cookie-banner { border-radius: var(--radius); font-family: var(--font); }
.cookie-btn-accept, .cookie-btn-save, .cookie-btn-deny { border-radius: 999px; }
.cookie-btn-accept { background: var(--accent); }
.cookie-btn-accept:hover { background: var(--accent-hover); }

/* ---------- Galerie und Videos ---------- */
.galerie-pfeil:hover { color: var(--accent); }
.galerie-thumb.is-active { border-color: var(--accent); }
.video-karte figcaption strong { color: var(--text); }

/* ---------- Baustein-Karten (Uebersicht und Startseite) ---------- */
.baustein-card { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: none; transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.baustein-card:hover { transform: none; box-shadow: var(--shadow-lg); border-color: transparent; }
.baustein-tech { font-family: var(--mono); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.baustein-card h3 { font-size: 1.22rem; letter-spacing: -0.015em; }
.baustein-card p { color: var(--muted); }

/* Workshop- und Newsletter-Kacheln */
.ws-teaser, .nl-teaser { border-radius: var(--radius); }

/* ==================================================================
   Startseite
   ================================================================== */
.hero {
    position: relative; isolation: isolate; overflow: hidden; text-align: left;
    min-height: min(90svh, 840px); display: flex; flex-direction: column;
    padding: 0; background: var(--ink); color: var(--on-dark); border-bottom: 0;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 15, 30, 0.95) 0%, rgba(7, 15, 30, 0.86) 40%, rgba(7, 15, 30, 0.5) 74%, rgba(7, 15, 30, 0.35) 100%),
        linear-gradient(0deg, rgba(7, 15, 30, 0.95) 0%, rgba(7, 15, 30, 0) 38%);
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%); mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero-inner {
    flex: 1; display: grid; grid-template-columns: minmax(0, 880px); align-items: center; max-width: 1264px; margin: 0 auto; width: 100%;
    padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px)); padding-bottom: clamp(40px, 6vw, 72px);
}
.hero h1 { font-size: clamp(2.45rem, 5.2vw, 4.4rem); font-weight: 650; line-height: 1.03; letter-spacing: -0.035em; max-width: 16ch; color: #fff; margin: 0; }
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero .hero-lead { margin: 26px 0 0; max-width: 56ch; font-size: clamp(1.075rem, 1.35vw, 1.225rem); line-height: 1.6; color: rgba(238, 242, 247, 0.82); }
.hero .hero-lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--dark-line); max-width: 760px; }
.hero-facts li { display: flex; align-items: center; gap: 9px; font-size: 0.93rem; color: var(--on-dark); }
.hero-facts svg { color: var(--accent-bright); flex: none; }
@media (max-width: 480px) { .hero h1 { font-size: 2.35rem; } .hero-actions .btn { width: 100%; } }

/* Ansatz: Kachelraster */
.prinzipien { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); border-left: 1px solid var(--line); }
.prinzip { padding: 28px 24px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.prinzip-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.prinzip-kicker { display: block; margin-top: 22px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.prinzip h3 { margin-top: 6px; font-size: 1.15rem; }
.prinzip p { margin-top: 10px; color: var(--muted); font-size: 0.96rem; }
@media (max-width: 980px) { .prinzipien { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prinzipien { grid-template-columns: 1fr; } }
.leitsatz { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 22px 26px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-soft-text); }
.leitsatz svg { color: var(--accent); flex: none; margin-top: 2px; }
.leitsatz span { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.leitsatz p { font-size: 1.08rem; font-weight: 550; line-height: 1.5; }

/* Baustein-Slider mit Fotokarten */
.baustein-slider { display: flex; flex-direction: column; }
.slider-steuerung { justify-content: flex-end; gap: 10px; margin: 0 0 20px; }
.slider-punkte { margin-right: 8px; }
.slider-punkte span { background: var(--line-strong); }
.slider-punkte span.is-aktiv { background: var(--accent); }
.slider-pfeil { width: 46px; height: 46px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 26px; }
.slider-pfeil:hover:not(:disabled) { background: var(--surface); border-color: var(--text); color: var(--text); }
.slider-spur { gap: 20px; margin: 0 calc(-1 * clamp(16px, 4vw, 32px)); padding: 4px clamp(16px, 4vw, 32px) 24px; scroll-padding-inline: clamp(16px, 4vw, 32px); }
.slider-spur:focus-visible { outline-color: var(--accent); }
.slider-spur > .baustein-card { flex: 0 0 calc((100% - 40px) / 3); padding: 0; overflow: hidden; }
@media (max-width: 1040px) { .slider-spur > .baustein-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 640px) { .slider-spur > .baustein-card { flex-basis: 84%; } }
.fallkarte { display: flex; flex-direction: column; background: var(--surface); }
.fall-bild { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-3); }
.fall-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); display: block; }
.fallkarte:hover .fall-bild img, .neu-karte:hover .fall-bild img { transform: scale(1.04); }
.fall-etikett { position: absolute; left: 14px; top: 14px; padding: 5px 10px; border-radius: 999px; background: rgba(10, 22, 40, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: 0.75rem; font-weight: 500; }
.fall-text { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.fall-text h3 { margin: 8px 0 0; font-size: 1.25rem; }
.fall-text p { margin: 12px 0 0; flex: 1; font-size: 0.97rem; color: var(--muted); }
.fall-text .baustein-link { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.95rem; }

/* Einstieg: zwei Karten auf dunklem Grund */
.pfad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.pfad-karte { display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--dark-line); }
.pfad-karte--erst { background: linear-gradient(160deg, var(--ink-3), var(--ink-2)); border-color: rgba(255, 255, 255, 0.16); }
.pfad-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-muted); }
.pfad-karte h3 { margin-top: 10px; font-size: 1.45rem; color: #fff; }
.pfad-karte > p { margin-top: 12px; color: var(--on-dark-muted); }
.pfad-karte .checklist { margin-top: 20px; }
.pfad-karte .checklist li { color: var(--on-dark); margin-bottom: 10px; }
.pfad-karte .checklist a { color: #fff; }
.pfad-karte .baustein-link { margin-top: auto; padding-top: 22px; color: var(--accent-bright); }
.pfad-hinweis { display: flex; gap: 14px; align-items: flex-start; margin-top: 16px; padding: 18px 22px; border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, 0.18); }
.pfad-hinweis svg { color: var(--accent-bright); flex: none; margin-top: 3px; }
.pfad-hinweis p { color: var(--on-dark-muted); }
.pfad-hinweis strong { color: #fff; }
@media (max-width: 860px) { .pfad { grid-template-columns: 1fr; } }

/* Ablauf: Leiste unter den Stufen */
.ablauf-leiste { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; margin-top: 52px; padding: 20px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.ablauf-leiste .steps-note { margin: 0; padding: 0; border: 0; background: none; max-width: 70ch; }

/* FAQ mit Seitenspalte */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: 48px 72px; align-items: start; }
.faq-seite { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-seite h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; }
.faq-seite p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; }
.faq-seite .btn { margin-top: 28px; }
.faq-layout .faq { max-width: none; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-seite { position: static; } }

/* Aktuelles */
.neues { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.neu-karte { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.neu-karte .fall-bild { aspect-ratio: 21 / 9; }
.neu-text { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.neu-text h3 { margin-top: 8px; font-size: 1.35rem; }
.neu-text p { margin-top: 12px; color: var(--muted); }
.neu-meta { margin: 16px 0 22px; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--accent-soft-text); background: var(--accent-soft); padding: 10px 12px; border-radius: var(--radius-sm); }
.neu-text .btn { margin-top: auto; align-self: flex-start; }
.neu-karte--dunkel { background: var(--ink); border-color: var(--ink); }
.neu-karte--dunkel h3 { color: #fff; }
.neu-karte--dunkel p, .neu-karte--dunkel .baustein-tech { color: var(--on-dark-muted); }
.neu-karte--dunkel .neu-meta { background: rgba(255, 255, 255, 0.06); color: var(--on-dark); }
.neu-karte--dunkel .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.32); }
.neu-karte--dunkel .btn-secondary:hover { border-color: #fff; }
@media (max-width: 860px) { .neues { grid-template-columns: 1fr; } }

/* ==================================================================
   Alle Bausteine: Fotokarten im Raster
   ================================================================== */
.baustein-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.baustein-raster > .baustein-card { padding: 0; overflow: hidden; }
.fall-text .branchen { margin: 12px 0 0; }
.baustein-card--breit { grid-column: 1 / -1; flex-direction: row; }
.baustein-card--breit .fall-bild { flex: 0 0 42%; aspect-ratio: auto; min-height: 280px; }
.baustein-card--breit .fall-text { padding: 30px 32px; }
.baustein-card--breit .fall-text p { max-width: 62ch; }
@media (max-width: 1040px) { .baustein-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
    .baustein-raster { grid-template-columns: 1fr; }
    .baustein-card--breit { flex-direction: column; }
    .baustein-card--breit .fall-bild { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
    .baustein-card--breit .fall-text { padding: 22px; }
}

/* ==================================================================
   Feinschliff Unterseiten
   ================================================================== */
/* Preisuebersicht: Kopf linksbuendig wie alle Abschnittskoepfe */
.section-title { text-align: left; padding: 0 0 clamp(36px, 5vw, 56px); }
.section-title h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); font-weight: 650; line-height: 1.1; letter-spacing: -0.025em; }
.section-title p { margin: 16px 0 0; color: var(--muted); max-width: 70ch; }

/* Workshop und Newsletter: Listen und Einwilligung im dunklen Bereich */
.page-hero .ws-fakten li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: var(--on-dark); font-weight: 500; }
.cta-section .ws-bedingungen li, .cta-section .nl-list li { color: var(--on-dark-muted); }
.cta-section .ws-bedingungen strong, .cta-section .nl-list strong { color: #fff; }
.cta-section .nl-list li::before { color: var(--accent-bright); }
.cta-form label.ws-consent, .cta-form label.nl-consent { font-family: var(--font); font-size: 0.82rem; letter-spacing: 0; text-transform: none; color: var(--on-dark-muted); }
.cta-form label .ws-optional { font-family: var(--font); }
.cta-form .ws-consent input, .cta-form .nl-consent input { accent-color: var(--accent-bright); }
.nl-hinweis { color: var(--on-dark-muted); }
