/* ==========================================================================
   impulsAI – gemeinsames Stylesheet
   Wird von allen Unterseiten geladen (index.html hat eigenes Critical CSS inline).
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-50: #F1F9F6;
    --brand-100: #DCEFE8;
    --brand-200: #BADFD1;
    --brand-500: #129A78;
    --brand-600: #0E7C60;
    --brand-700: #0B6350;
    --brand-800: #084A3C;

    --accent: #0E7C60;
    --accent-ink: #0B6350;
    --accent-light: #129A78;
    --accent-soft: #DCEFE8;

    --primary: #FFFFFF;
    --secondary: #F5F8F7;
    --tertiary: #FFFFFF;

    --text: #14211E;
    --text-body: #45565F;
    --text-muted: #4F6068;
    --text-subtle: #6C7C84;

    --border: #E4EBE8;
    --border-strong: #CFDCD7;

    --gradient-start: #0E7C60;
    --gradient-end: #12A07E;

    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-pill: 999px;

    --shadow-xs: 0 1px 2px rgba(20, 33, 30, 0.05);
    --shadow-sm: 0 2px 6px rgba(20, 33, 30, 0.04), 0 1px 2px rgba(20, 33, 30, 0.04);
    --shadow-md: 0 12px 28px -10px rgba(20, 33, 30, 0.12), 0 4px 10px -4px rgba(20, 33, 30, 0.05);
    --shadow-lg: 0 32px 64px -24px rgba(20, 33, 30, 0.18);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --maxw: 1200px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background: var(--primary);
    color: var(--text-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    letter-spacing: -0.005em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    color: var(--text);
    letter-spacing: -0.025em;
    line-height: 1.25;
}

img, svg {
    max-width: 100%;
}

::selection {
    background: var(--accent-soft);
    color: var(--brand-800);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ============ Navigation ============ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 52px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin-left: auto;
}

.nav-links a {
    display: inline-block;
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.975rem;
    font-weight: 500;
    padding: 0.65rem 1rem;
    border-radius: var(--r-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: var(--secondary);
}

.nav-cta {
    background: var(--accent);
    color: #ffffff;
    padding: 0.85rem 1.6rem;
    border-radius: var(--r-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.975rem;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    background: var(--accent-ink);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ============ Inhalt ============ */
.content {
    max-width: 52rem;
    margin: 0 auto;
    padding: clamp(8rem, 13vw, 10rem) var(--gutter) clamp(4rem, 8vw, 6rem);
}

.content h1 {
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.content .subtitle {
    color: var(--text-subtle);
    font-size: 1.05rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--border);
}

.content h2 {
    font-size: clamp(1.35rem, 2.4vw, 1.7rem);
    font-weight: 600;
    margin-top: 3.5rem;
    margin-bottom: 1rem;
}

.content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}

.content p {
    color: var(--text-body);
    margin-bottom: 1.15rem;
    line-height: 1.85;
}

.content ul,
.content ol {
    color: var(--text-body);
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    line-height: 1.85;
}

.content li {
    margin-bottom: 0.6rem;
}

.content li::marker {
    color: var(--accent);
}

.content a {
    color: var(--accent-ink);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color 0.2s ease;
}

.content a:hover {
    color: var(--accent);
}

.content-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    margin: 2rem 0;
    box-shadow: var(--shadow-xs);
}

.content-card p:last-child {
    margin-bottom: 0;
}

/* ============ Footer ============ */
.footer {
    padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
    border-top: 1px solid var(--border);
    background: var(--secondary);
}

.footer-container {
    max-width: var(--maxw);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-text {
    color: var(--text-subtle);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--r-sm);
    transition: color 0.2s ease, background 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-ink);
    background: #ffffff;
}

/* ============ Mobile Menü ============ */
.mobile-menu-btn {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text);
    cursor: pointer;
    padding: 0.6rem;
    line-height: 0;
}

.mobile-menu-btn svg {
    width: 26px;
    height: 26px;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 99;
    padding: 7rem var(--gutter) 2.5rem;
    flex-direction: column;
    gap: 0.25rem;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 1.15rem 0.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu a::after {
    content: '→';
    color: var(--accent);
    opacity: 0.7;
}

.mobile-menu .mobile-cta {
    margin-top: 2rem;
    padding: 1.15rem 2rem;
    background: var(--accent);
    color: #ffffff;
    border-radius: var(--r-pill);
    justify-content: center;
    border-bottom: none;
    font-size: 1.1rem;
    box-shadow: 0 12px 26px -14px rgba(14, 124, 96, 0.8);
}

.mobile-menu .mobile-cta::after {
    display: none;
}

/* ============ Nach oben ============ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 52px;
    height: 52px;
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.2s ease;
    z-index: 98;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    background: var(--brand-50);
    box-shadow: var(--shadow-lg);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent-ink);
    stroke-width: 2.5;
}

/* ============ Responsive ============ */
@media (max-width: 968px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 1rem;
    }

    .logo-img {
        height: 42px;
    }

    .content h2 {
        margin-top: 2.5rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 46px;
        height: 46px;
    }
}

@supports (padding: max(0px)) {
    .nav {
        padding-top: max(1rem, env(safe-area-inset-top));
    }

    .footer {
        padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
    }

    .mobile-menu {
        padding-top: max(7rem, calc(env(safe-area-inset-top) + 5rem));
        padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
    }

    .back-to-top {
        bottom: max(1.25rem, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

@media print {
    .nav, .mobile-menu, .back-to-top { display: none !important; }
    body { color: #000; background: #fff; }
    .content { padding-top: 2rem; }
}

/* ==========================================================================
   Komponenten für Unterseiten
   ========================================================================== */

/* ============ Buttons ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.9rem;
    border-radius: var(--r-pill);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--accent-ink);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent-ink);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* ============ Breadcrumb ============ */
.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-subtle);
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.breadcrumb li + li::before {
    content: '/';
    color: var(--border-strong);
}

.breadcrumb a {
    color: var(--text-subtle);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.breadcrumb [aria-current='page'] {
    color: var(--text-body);
    font-weight: 500;
}

/* ============ Seiten-Hero ============ */
.page-hero {
    padding: clamp(8rem, 13vw, 10.5rem) var(--gutter) clamp(3rem, 6vw, 4.5rem);
    background:
        radial-gradient(60rem 30rem at 15% -10%, var(--brand-50) 0%, transparent 60%),
        var(--primary);
    border-bottom: 1px solid var(--border);
}

.page-hero-inner {
    max-width: var(--maxw);
    margin: 0 auto;
}

.page-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.95rem;
    border-radius: var(--r-pill);
    background: var(--accent-soft);
    color: var(--brand-800);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 1.25rem;
}

.page-hero .eyebrow::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-light);
}

.page-hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    max-width: 20ch;
    margin-bottom: 1.25rem;
}

.page-hero .lead {
    font-size: clamp(1.05rem, 1.9vw, 1.25rem);
    color: var(--text-body);
    line-height: 1.7;
    max-width: 60ch;
    margin-bottom: 2rem;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

/* ============ Sektionen ============ */
.section {
    padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter);
}

.section.alt {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-container {
    max-width: var(--maxw);
    margin: 0 auto;
}

.section-head {
    max-width: 62ch;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
}

.section-head p {
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* ============ Karten-Raster ============ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--tertiary);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 2.6vw, 2rem);
    box-shadow: var(--shadow-xs);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.section.alt .card {
    background: #ffffff;
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.card p {
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.15rem;
    color: var(--accent-ink);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.card-link::after {
    content: '→';
}

.card-link:hover {
    gap: 0.7rem;
    color: var(--accent);
}

/* ============ Merkmalsliste ============ */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6350' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

/* ============ Kennzahlen ============ */
.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
    gap: 1.25rem;
}

.metric {
    background: var(--tertiary);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-xs);
}

.section.alt .metric {
    background: #ffffff;
}

.metric-value {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.metric-label {
    color: var(--text-subtle);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ============ Zweispaltiges Layout ============ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.split h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.split p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.15rem;
}

/* ============ Prozess-Schritte ============ */
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1.25rem;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding-left: 4rem;
    margin: 0;
    counter-increment: step;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    color: var(--brand-800);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    padding-top: 0.4rem;
}

.steps p {
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0;
}

/* ============ Case-Study-Karte ============ */
.case {
    background: var(--tertiary);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-xs);
}

.section.alt .case {
    background: #ffffff;
}

.case-industry {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-ink);
    background: var(--accent-soft);
    padding: 0.3rem 0.8rem;
    border-radius: var(--r-pill);
    margin-bottom: 1rem;
}

.case h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.85rem;
}

.case p {
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.case-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.case-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.case-metric-label {
    font-size: 0.88rem;
    color: var(--text-subtle);
}

/* ============ FAQ ============ */
.faq-list {
    display: grid;
    gap: 0.85rem;
    max-width: 52rem;
}

.faq-item {
    background: var(--tertiary);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.section.alt .faq-item {
    background: #ffffff;
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    line-height: 1.5;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item .faq-answer {
    padding: 0 1.5rem 1.35rem;
    color: var(--text-body);
    line-height: 1.8;
}

.faq-item .faq-answer p {
    margin-bottom: 0.85rem;
}

.faq-item .faq-answer p:last-child {
    margin-bottom: 0;
}

/* ============ CTA-Band ============ */
.cta-band {
    padding: clamp(3rem, 6vw, 4.5rem) var(--gutter);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #ffffff;
    text-align: center;
}

.cta-band-inner {
    max-width: 46rem;
    margin: 0 auto;
}

.cta-band h2 {
    color: #ffffff;
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.9rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.cta-band .btn-primary {
    background: #ffffff;
    color: var(--brand-800);
}

.cta-band .btn-primary:hover {
    background: var(--brand-50);
    color: var(--brand-800);
}

/* ============ Kontaktformular ============ */
.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item-label {
    font-size: 0.85rem;
    color: var(--text-subtle);
}

.contact-item-text {
    font-weight: 600;
    color: var(--text);
}

.contact-item-text a {
    color: inherit;
    text-decoration: none;
}

.contact-item-text a:hover {
    color: var(--accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-card {
    background: var(--tertiary);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: var(--shadow-sm);
}

.section.alt .form-card {
    background: #ffffff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.15rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: #ffffff;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-subtle);
    opacity: 0.75;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--focus-ring, 0 0 0 4px rgba(14, 124, 96, 0.22));
}

.form-group textarea {
    min-height: 8.5rem;
    resize: vertical;
}

.form-alert {
    padding: 0.85rem 1rem;
    border-radius: var(--r-sm);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.15rem;
}

.form-alert.is-error {
    background: #FDECEC;
    color: #8A1F1F;
    border: 1px solid #F5C6C6;
}

.form-alert.is-success {
    background: var(--accent-soft);
    color: var(--brand-800);
    border: 1px solid var(--brand-200);
}

.btn-submit {
    width: 100%;
}

.btn-submit[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-subtle);
    line-height: 1.6;
    margin-top: 1rem;
}

.form-note a {
    color: var(--accent-ink);
}

/* ============ Verwandte Seiten ============ */
.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.related-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-pill);
    background: #ffffff;
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.related-links a:hover {
    border-color: var(--accent);
    color: var(--accent-ink);
    transform: translateY(-1px);
}

/* ============ Aktiver Navigationspunkt ============ */
.nav-links a[aria-current='page'] {
    color: var(--accent-ink);
    background: var(--accent-soft);
}

/* ============ Erweiterter Footer ============ */
.footer-nav {
    max-width: var(--maxw);
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 2rem;
    padding-bottom: clamp(2rem, 4vw, 3rem);
    border-bottom: 1px solid var(--border);
}

.footer-col h2 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-subtle);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.footer-col li {
    margin: 0;
}

.footer-col a {
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============ Sichtbar nur für Screenreader ============ */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--accent);
    color: #ffffff;
    padding: 0.85rem 1.5rem;
    border-radius: 0 0 var(--r-sm) 0;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    left: 0;
}

/* ============ Responsive (Unterseiten) ============ */
@media (max-width: 900px) {
    .split,
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .page-hero h1 {
        max-width: none;
    }

    .page-hero-actions .btn {
        width: 100%;
    }

    .case-metrics {
        gap: 1.25rem;
    }
}

@media print {
    .cta-band,
    .page-hero-actions,
    .related-links {
        display: none !important;
    }
}
