/* ========================================
   dmpi-beratung Landingpage
   Stylesheet: Editorial Architect Design System
   Schrift: TheSans (LucasFonts, Web-Lizenz dmpi)
   ======================================== */

/* @font-face — TheSans, lokal aus ./fonts/
   Mapping: 400/500 -> Plain, 600/700 -> SemiBold, 800/900 -> Black */
@font-face {
    font-family: 'TheSans';
    src: url('../fonts/TheSans-5_Plain.woff2') format('woff2');
    font-weight: 400 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TheSans';
    src: url('../fonts/TheSans-5_PlainItalic.woff2') format('woff2');
    font-weight: 400 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'TheSans';
    src: url('../fonts/TheSans-6_SemiBold.woff2') format('woff2');
    font-weight: 600 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TheSans';
    src: url('../fonts/TheSans-6_SemiBoldItalic.woff2') format('woff2');
    font-weight: 600 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'TheSans';
    src: url('../fonts/TheSans-9_Black.woff2') format('woff2');
    font-weight: 800 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TheSans';
    src: url('../fonts/TheSans-9_BlackItalic.woff2') format('woff2');
    font-weight: 800 900;
    font-style: italic;
    font-display: swap;
}

:root {
    /* Typography */
    --font-primary: 'TheSans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

    /* Colors - dmpi Editorial Architect */
    --color-text: #1a1c2e;
    --color-text-secondary: #444655;
    --color-text-tertiary: #737584;
    --color-bg: #f8f9ff;
    --color-bg-secondary: #eff4ff;
    --color-bg-tertiary: #e5eeff;

    /* Accent Colors */
    --color-primary: #002294;
    --color-primary-container: #0033cc;
    --color-accent: #006e2f;
    --color-success: #006e2f;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #002294 0%, #0033cc 100%);
    --gradient-subtle: linear-gradient(135deg, #f8f9ff 0%, #d3e4fe 100%);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Border Radius */
    --radius-btn: 0.375rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Motion - exponential ease-out (DESIGN.md §4) */
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

    /* Shadows - Tonal Layering */
    --shadow-sm: 0 1px 2px rgba(11, 28, 48, 0.03);
    --shadow-md: 0px 4px 20px rgba(11, 28, 48, 0.04);
    --shadow-lg: 0px 4px 20px rgba(11, 28, 48, 0.04), 0px 10px 40px rgba(11, 28, 48, 0.06);
    --shadow-xl: 0px 10px 40px rgba(11, 28, 48, 0.06), 0px 20px 60px rgba(11, 28, 48, 0.08);
    --shadow-float: 0px 25px 60px rgba(11, 28, 48, 0.10);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

strong {
    color: black; /* Ändert die Farbe aller strong-Tags auf schwarz */
    font-weight: 600;
}


/* ========================================
   ACCESSIBILITY — Skip-Link + Focus
   ======================================== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: 0.875rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: var(--radius-btn);
    font-weight: 600;
    text-decoration: none;
    z-index: 10000;
    box-shadow: var(--shadow-lg);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ========================================
   LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--space-4xl) 0;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    section {
        padding: var(--space-3xl) 0;
    }
}

/* ========================================
   NAVIGATION (FIXED CENTER)
   ======================================== */
nav {
    position: sticky;
    top: 0;
    background: rgba(248, 249, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.25rem 0;
    z-index: 1000;
}

.nav-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-text);
    text-decoration: none;
    justify-self: start;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-self: center;
}

.nav-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: inline-block;
    transition: color 0.2s var(--ease-out-quart);
}

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

.nav-content .btn {
    justify-self: end;
}

@media (max-width: 768px) {
    .nav-content {
        display: flex;
        justify-content: space-between;
    }
    .nav-links {
        display: none;
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-btn);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s var(--ease-out-quart), box-shadow 0.2s var(--ease-out-quart), background-color 0.2s var(--ease-out-quart), color 0.2s var(--ease-out-quart), border-color 0.2s var(--ease-out-quart);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}

.btn-secondary:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    text-align: center;
    padding: var(--space-4xl) 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    animation: fadeIn 0.2s ease backwards;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeIn 0.2s ease backwards;
}

.hero-subline {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
    animation: fadeIn 0.2s ease backwards;
}

.hero-teaser {
    font-size: 1.125rem;
    color: var(--color-text-tertiary);
    margin-bottom: 2.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 0.2s ease backwards;
}

.hero .cta-group {
    animation: fadeIn 0.2s ease backwards;
}

/* ========================================
   STATS BAR ENHANCED
   ======================================== */
.stats-bar-enhanced {
    /* Bewusste System-Ausnahme — siehe DESIGN.md §5 "Stats-Bar" */
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 4rem 0;
    width: 100%;
}

.stats-bar-enhanced .stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stats-bar-enhanced .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* position:relative für die vertikale Trennlinie als ::after */
    position: relative;
}

/* Desktop: dezente vertikale Trennlinien zwischen Stat-Items.
   Pseudo-Element sitzt mittig im 3rem-Gap (right: -1.5rem).
   Höhe begrenzt auf 70% der Item-Höhe für sauberen Cockpit-Look. */
.stats-bar-enhanced .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 0%;
    right: -1.5rem;
    width: 1px;
    background: rgba(255, 255, 255, 0.20);
}

.stats-bar-enhanced .stat-value {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stats-bar-enhanced .stat-keyterm {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.stats-bar-enhanced .stat-detail {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    max-width: 260px;
}

@media (max-width: 768px) {
    .stats-bar-enhanced .stat-value { font-size: 3.2rem; }
    /* Auf Mobile: Stat-Items vertikal mit dezenten Trennlinien gliedern,
       damit drei Einheiten visuell als drei Kacheln erkennbar bleiben */
    .stats-bar-enhanced .stats-container { gap: 0; }
    .stats-bar-enhanced .stat-item {
        padding: 2.5rem 0;
    }
    /* Horizontale Trennlinie via Pseudo-Element, Breite 60% (zentriert).
       Überschreibt die Desktop-Defaults (top/bottom/right/width) so, dass
       die Linie waagerecht unten am Item sitzt. */
    .stats-bar-enhanced .stat-item:not(:last-child)::after {
        display: block;
        top: auto;
        bottom: 0;
        left: 20%;
        right: 20%;
        width: auto;
        height: 1px;
    }
}

/* Stats-Bar — Wort-Stat-Werte typografisch unter die Zahl-Stat-Werte setzen,
   damit "3" der visuelle Anker bleibt.
   Spezifität bewusst mit .stats-bar-enhanced verkettet, damit die Regel
   die .stats-bar-enhanced .stat-value-Definition (0,2,0) überschreibt. */
.stats-bar-enhanced .stat-value--word {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
    line-height: 1;
    /* gleiche Höhe wie Zahl-Stat-Werte (4rem) für vertikale Mitte */
    display: inline-flex;
    align-items: center;
    min-height: 4rem;
}

/* Mobile-Anpassung: Schriftgröße und Höhe proportional zur Zahl-Mobile-Größe */
@media (max-width: 768px) {
    .stats-bar-enhanced .stat-value--word {
        font-size: 2rem;
        min-height: 3.2rem;
    }
}


/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: 1.25rem;
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

.section-aside {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem-section {
    background: var(--color-bg-secondary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.problem-card {
    background: var(--color-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.problem-card h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.problem-card p {
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.problem-result {
    background: #fef2f2;
    color: var(--color-error);
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    border-left: 3px solid var(--color-error);
}

.problem-pain {
    background: var(--color-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    margin-top: var(--space-2xl);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--color-error);
}

.problem-pain--warning {
    border-left-color: var(--color-warning);
}

.problem-pain h3 {
    margin-bottom: var(--space-md);
}

/* ========================================
   DIAGNOSIS SECTION
   ======================================== */
.diagnosis-guide {
    font-family: var(--font-primary);
    padding: var(--space-4xl) 2rem;
    background: var(--color-bg-secondary);
    border-radius: var(--radius-xl);
    max-width: 1100px;
    margin: 2rem auto;
    text-align: center;
}

.guide-header {
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.guide-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--color-primary);
}

.guide-header p {
    color: var(--color-text-secondary);
    font-size: 1.25rem;
    line-height: 1.5;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.guide-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.06);
    text-align: left;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart), border-color 0.3s var(--ease-out-quart);
    position: relative;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.guide-card .question-tag {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
}

.guide-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.guide-card p {
    color: var(--color-text-secondary);
    font-size: 1.0625rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.guide-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    transition: transform 0.2s var(--ease-out-quart), box-shadow 0.2s var(--ease-out-quart), background-color 0.2s var(--ease-out-quart), color 0.2s var(--ease-out-quart);
}

.guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.guide-btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.guide-btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
}

@media (max-width: 768px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
    .diagnosis-guide {
        padding: 3rem 1.25rem;
    }
}

/* ========================================
   SOLUTION SECTION
   ======================================== */
.solution-section {
    background: var(--color-bg);
}

.solution-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.pillar-card {
    background: var(--color-bg-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart), border-color 0.3s var(--ease-out-quart);
    border: 2px solid transparent;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

.pillar-card h3 {
    margin-bottom: var(--space-md);
}

.pillar-card p {
    margin-bottom: var(--space-md);
}

.pillar-gain {
    background: var(--color-bg);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    border-left: 3px solid var(--color-success);
}

.quick-win-box {
    background: var(--gradient-subtle);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quick-win-box h3 {
    margin-bottom: var(--space-md);
}

/* ========================================
   RADAR SECTION
   ======================================== */
.radar-section {
    background: var(--color-bg-secondary);
}

.radar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 968px) {
    .radar-content {
        grid-template-columns: 1fr;
    }
}

.radar-benefits {
    list-style: none;
    margin: var(--space-lg) 0;
}

.radar-benefits li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1rem;
}

.radar-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
    font-size: 1.25rem;
}

.radar-visual {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.radar-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   FORMS (für Bridge-Sections genutzt)
   ======================================== */
.form-section {
    background: var(--color-bg);
}

.form-wrapper {
    max-width: 560px;
    margin: 0 auto;
    background: var(--color-bg-secondary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.form-wrapper h3 {
    margin-bottom: var(--space-md);
}

.form-wrapper > p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

/* ========================================
   KPI SECTION
   ======================================== */
.kpi-section {
    background: var(--color-bg-secondary);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.kpi-card {
    text-align: left;
    padding: var(--space-xl);
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart);
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.kpi-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.kpi-label {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.kpi-title {
    font-size: clamp(1.625rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.kpi-question {
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

.kpi-measure {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin: 0;
}

.kpi-bridge {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text);
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
    background: var(--color-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--color-bg-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s var(--ease-out-quart);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-meta {
    flex: 1;
}

.testimonial-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.testimonial-company {
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
}

.testimonial-quote {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    font-style: italic;
    margin-top: auto;
    padding-left: var(--space-md);
    border-left: 3px solid var(--color-primary);
}

/* ========================================
   CHEAT SHEET / PRAXISGUIDE-SECTION
   ======================================== */
.cheatsheet-section {
    background: var(--color-primary);
    color: var(--color-bg);
}

.cheatsheet-section h2,
.cheatsheet-section p {
    color: var(--color-bg);
}

.cheatsheet-features {
    list-style: none;
    margin: var(--space-lg) 0 var(--space-xl);
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cheatsheet-features li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
}

.cheatsheet-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
}

.btn-white {
    background: var(--color-bg);
    color: var(--color-text);
}

.btn-white:hover {
    background: var(--color-bg-secondary);
}

.cheatsheet-strong {
    font-weight: 800;
    font-color: white;
}


/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: var(--color-bg);
    text-align: center;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--color-bg-secondary);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    text-decoration: none;
    padding: 0.5rem 0;
    display: inline-block;
    transition: color 0.2s var(--ease-out-quart);
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-copy {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out-quart), transform 0.6s var(--ease-out-quart);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center {
    text-align: center;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-3xl) 0;
    }

    .cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .problem-grid,
    .solution-pillars,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SUB-PAGES (Kontakt, Impressum, Datenschutz)
   ======================================== */
.subpage {
    padding: var(--space-3xl) 0;
}

.subpage-content {
    max-width: 800px;
    margin: 0 auto;
}

.subpage-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-primary);
    margin-bottom: var(--space-lg);
}

.subpage-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-primary);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.subpage-content h3 {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.subpage-content p,
.subpage-content li {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    max-width: 70ch;
}

.subpage-content ul {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.subpage-content a {
    color: var(--color-primary);
    text-decoration: underline;
    word-break: break-word;
}

.subpage-content strong {
    color: var(--color-text);
}

.contact-card {
    background: var(--color-bg);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
    text-align: left;
}

.contact-card h3 {
    margin-top: 0;
    color: var(--color-primary);
}

.contact-card p {
    margin-bottom: 0.25rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
}

.contact-card-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto var(--space-md);
    box-shadow: var(--shadow-sm);
}

.location-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.back-to-home {
    display: inline-block;
    margin-top: var(--space-2xl);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.back-to-home:hover {
    text-decoration: underline;
}

/* ========================================
   REDUCED MOTION (PRODUCT.md / DESIGN.md A11y)
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .btn-primary:hover,
    .problem-card:hover,
    .guide-card:hover,
    .pillar-card:hover,
    .kpi-card:hover,
    .testimonial-card:hover,
    .guide-btn:hover {
        transform: none;
    }
}


/* ========================================
   Late Adjustments: Hero-Scrollcue + Mobile-Header
   ======================================== */

/* Hero-Sprunglink statt Button */
.hero-scrollcue {
    margin-top: 2rem;
    text-align: center;
}
.scrollcue-link {
    display: inline-block;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.scrollcue-link:hover,
.scrollcue-link:focus {
    color: var(--color-primary);
    border-bottom-color: currentColor;
}

/* Sticky-Header-Offset für Sprungziele */
#problem,
#solution,
#kpi,
#testimonials,
#radar,
#praxisguide {
    scroll-margin-top: 88px;
}

/* Button-Text-Toggle: lang auf Desktop, kurz auf Mobile */
.btn-text-short { display: none; }

/* Mobile-Header: kompakter Header, kein Overlap auch auf 320px */
@media (max-width: 768px) {
    nav .container {
        padding: 0 1rem;
    }
    nav .btn-primary {
        width: auto;
        padding: 0.35rem 0.7rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }
    .nav-logo-img {
        max-height: 28px;
    }
    nav .btn-text-long { display: none; }
    nav .btn-text-short { display: inline; }
}
