/* ============================================
   UI Color System - basierend auf UI_Color_System.md
   HSL-basiertes Farbschema für Light Mode
   ============================================ */

:root {
    /* === Neutrale Farben (HSL: Mit subtiler Blau-Tönung für Professionalität) === */
    
    /* Light Mode Backgrounds */
    --bg-base: 220 20% 99%;           /* Sehr sanftes Blau-Weiß - Haupthintergrund */
    --bg-surface: 220 15% 97%;        /* Leicht kühl getönt - Karten, erhöhte Elemente */
    --bg-elevated: 220 12% 95%;       /* Höher - Hover States, Input Backgrounds */
    --bg-muted: 220 10% 92%;          /* Gedämpft - Sekundäre Bereiche */
    
    /* Light Mode Text */
    --text-heading: 220 25% 12%;      /* Tiefes Blau-Schwarz - Überschriften */
    --text-body: 220 15% 25%;         /* Dunkles Blaugrau - Fließtext */
    --text-muted: 220 10% 50%;        /* Gedämpft - Sekundärtext, Beschreibungen */
    --text-subtle: 220 8% 65%;        /* Sehr hell - Platzhalter, Icons */
    
    /* Borders & Dividers */
    --border-default: 220 15% 88%;    /* Standard-Rahmen mit Blau-Tönung */
    --border-subtle: 220 10% 92%;     /* Subtile Trennlinien */
    --border-strong: 220 20% 75%;     /* Betonte Rahmen */
    
    /* === Brand / Primary Color === */
    /* Ein tiefes, vertrauenswürdiges Blau (Zuverlässigkeit, Sicherheit, Professionalität) */
    --primary-h: 215;
    --primary-s: 75%;
    --primary-l: 45%;
    
    --primary: var(--primary-h) var(--primary-s) var(--primary-l);
    --primary-hover: var(--primary-h) var(--primary-s) 38%;
    --primary-active: var(--primary-h) var(--primary-s) 32%;
    --primary-light: var(--primary-h) 60% 95%;
    --primary-muted: var(--primary-h) 45% 60%;
    
    /* === Akzentfarbe (Secondary) === */
    /* Warmes Amber/Gold für Akzente und CTAs */
    --accent-h: 38;
    --accent-s: 92%;
    --accent-l: 50%;
    
    --accent: var(--accent-h) var(--accent-s) var(--accent-l);
    --accent-hover: var(--accent-h) var(--accent-s) 45%;
    --accent-light: var(--accent-h) 80% 94%;
    
    /* === Semantische Farben === */
    --success: 152 70% 38%;
    --success-light: 152 60% 94%;
    --error: 4 80% 58%;
    --error-light: 4 70% 95%;
    --warning: 38 92% 50%;
    --warning-light: 38 85% 94%;
    
    /* === Shadows (mit Blau-Tönung für Kohärenz) === */
    --shadow-sm: 0 1px 2px 0 hsl(220 60% 15% / 0.06);
    --shadow-md: 0 4px 6px -1px hsl(220 60% 15% / 0.08), 0 2px 4px -2px hsl(220 60% 15% / 0.06);
    --shadow-lg: 0 10px 15px -3px hsl(220 60% 15% / 0.1), 0 4px 6px -4px hsl(220 60% 15% / 0.08);
    --shadow-xl: 0 20px 25px -5px hsl(220 60% 15% / 0.12), 0 8px 10px -6px hsl(220 60% 15% / 0.08);
    
    /* === Spacing (4-Punkt-Raster) === */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.25rem;   /* 20px */
    --space-6: 1.5rem;    /* 24px */
    --space-8: 2rem;      /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    
    /* === Typography === */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    --text-6xl: 3.75rem;    /* 60px */
    
    /* Line Heights (umgekehrt proportional zur Größe) */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    
    /* === Border Radius === */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* === Transitions === */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ============================================
   Dark Mode (optional - invertierte Werte)
   ============================================ */
[data-theme="dark"] {
    --bg-base: 220 25% 6%;
    --bg-surface: 220 22% 10%;
    --bg-elevated: 220 20% 14%;
    --bg-muted: 220 18% 18%;
    
    --text-heading: 220 15% 95%;
    --text-body: 220 12% 82%;
    --text-muted: 220 10% 58%;
    --text-subtle: 220 8% 42%;
    
    --border-default: 220 20% 20%;
    --border-subtle: 220 15% 14%;
    --border-strong: 220 22% 32%;
    
    --primary-light: var(--primary-h) 40% 18%;
    --accent-light: var(--accent-h) 50% 18%;
    
    --shadow-sm: 0 1px 2px 0 hsl(220 50% 5% / 0.4);
    --shadow-md: 0 4px 6px -1px hsl(220 50% 5% / 0.5), 0 2px 4px -2px hsl(220 50% 5% / 0.4);
    --shadow-lg: 0 10px 15px -3px hsl(220 50% 5% / 0.5), 0 4px 6px -4px hsl(220 50% 5% / 0.4);
    --shadow-xl: 0 20px 25px -5px hsl(220 50% 5% / 0.6), 0 8px 10px -6px hsl(220 50% 5% / 0.5);
}

/* ============================================
   Base Reset & Typography
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: hsl(var(--text-body));
    background-color: hsl(var(--bg-base));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: hsl(var(--text-heading));
    font-weight: 700;
    line-height: var(--leading-tight);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p {
    color: hsl(var(--text-body));
    line-height: var(--leading-relaxed);
}

a {
    color: hsl(var(--primary));
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: hsl(var(--primary-hover));
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, hsl(var(--primary-light)) 0%, hsl(var(--accent-light)) 100%);
    color: hsl(var(--primary));
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    border: 1px solid hsl(var(--primary) / 0.12);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-description {
    color: hsl(var(--text-muted));
    font-size: var(--text-lg);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-family);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-hover)) 100%);
    color: white;
    box-shadow: 0 4px 14px hsl(var(--primary) / 0.35), var(--shadow-sm);
    border: 1px solid hsl(var(--primary-hover));
}

.btn-primary:hover {
    background: linear-gradient(135deg, hsl(var(--primary-hover)) 0%, hsl(var(--primary-active)) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px hsl(var(--primary) / 0.4), var(--shadow-md);
}

.btn-primary:active {
    background-color: hsl(var(--primary-active));
    transform: translateY(0);
}

.btn-secondary {
    background-color: hsl(var(--bg-surface));
    color: hsl(var(--text-heading));
    border: 1px solid hsl(var(--border-default));
}

.btn-secondary:hover {
    background-color: hsl(var(--bg-elevated));
    color: hsl(var(--text-heading));
    border-color: hsl(var(--border-strong));
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: hsl(var(--primary));
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: hsl(220 30% 15%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(220 20% 22%);
    padding: var(--space-4) 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-xl);
    font-weight: 700;
    color: white;
}

.logo:hover {
    color: white;
}

.logo-icon {
    font-size: var(--text-2xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-links a {
    color: hsl(220 15% 75%);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.mobile-menu-btn:hover, .mobile-menu-btn.active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.mobile-menu-btn span {
    display: block;
    width: 5px;
    height: 5px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) { transform: scale(0.8); }
.mobile-menu-btn.active span:nth-child(2) { transform: scale(1.2); }
.mobile-menu-btn.active span:nth-child(3) { transform: scale(0.8); }

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: calc(var(--space-24) + 80px) 0 var(--space-24);
    background: linear-gradient(
        135deg,
        hsl(var(--bg-base)) 0%,
        hsl(var(--primary-light)) 50%,
        hsl(var(--bg-surface)) 100%
    );
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(
        ellipse at 80% 20%,
        hsl(var(--accent-light)) 0%,
        transparent 60%
    );
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero::before {
        opacity: 0.3; /* Reduziere den Effekt auf Mobile, damit Text lesbar bleibt */
        width: 100%; /* Verteile es breiter */
        background: radial-gradient(
            circle at 50% 0%,
            hsl(var(--accent-light)) 0%,
            transparent 50%
        );
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, hsl(var(--accent-light)) 0%, hsl(var(--primary-light)) 100%);
    color: hsl(var(--primary));
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    border: 1px solid hsl(var(--primary) / 0.15);
}

.hero h1 {
    font-size: var(--text-6xl);
    margin-bottom: var(--space-6);
    background: linear-gradient(
        135deg,
        hsl(var(--text-heading)) 0%,
        hsl(var(--primary)) 50%,
        hsl(var(--text-heading)) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--text-xl);
    color: hsl(var(--text-muted));
    margin-bottom: var(--space-8);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.hero-trust {
    display: flex;
    gap: var(--space-6);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: hsl(var(--text-muted));
    font-size: var(--text-sm);
}

.trust-icon {
    color: hsl(var(--accent));
    font-weight: bold;
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    aspect-ratio: 4/3;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        hsl(var(--primary-light)) 0%,
        hsl(var(--accent-light)) 50%,
        hsl(var(--bg-elevated)) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    position: relative;
    overflow: hidden;
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        hsl(var(--accent) / 0.15) 0%,
        transparent 70%
    );
}

.hero-image-placeholder span {
    font-size: 6rem;
}

.hero-image-placeholder lottie-player {
    margin-bottom: var(--space-2);
}

.hero-image-placeholder p {
    color: hsl(var(--text-muted));
    font-weight: 500;
}

.hero-stats {
    position: absolute;
    bottom: calc(var(--space-6) * -1);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-4);
    width: max-content;
    z-index: 10;
}

.stat-card {
    background-color: hsl(var(--bg-base));
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    /* Highlight Border von oben - Accent Farbe für Aufmerksamkeit */
    border-top: 3px solid hsl(var(--accent));
    border-left: 1px solid hsl(var(--border-subtle));
    border-right: 1px solid hsl(var(--border-subtle));
    border-bottom: 1px solid hsl(var(--border-default));
}

.stat-number {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 700;
    color: hsl(var(--text-heading));
}

.stat-label {
    font-size: var(--text-sm);
    color: hsl(var(--text-muted));
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--space-24) 0;
    background-color: hsl(var(--bg-base));
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        hsl(var(--primary-light) / 0.3) 100%
    );
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.service-card {
    position: relative;
    background-color: hsl(var(--bg-surface));
    border: 1px solid hsl(var(--border-default));
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px hsl(var(--primary) / 0.12), var(--shadow-lg);
    border-color: hsl(var(--primary) / 0.25);
}

.service-card.featured {
    background: linear-gradient(
        180deg,
        hsl(var(--accent-light)) 0%,
        hsl(var(--primary-light)) 30%,
        hsl(var(--bg-surface)) 100%
    );
    border-color: hsl(var(--accent) / 0.3);
    box-shadow: 0 0 0 1px hsl(var(--accent) / 0.1), var(--shadow-md);
}

.featured-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(var(--accent-hover)) 100%);
    color: hsl(var(--text-heading));
    font-size: var(--text-xs);
    font-weight: 700;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px hsl(var(--accent) / 0.4);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
}

.service-card h3 {
    margin-bottom: var(--space-3);
}

.service-card > p {
    color: hsl(var(--text-muted));
    margin-bottom: var(--space-6);
}

.service-features {
    margin-bottom: var(--space-6);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: hsl(var(--text-body));
    padding: var(--space-2) 0;
}

.service-features li::before {
    content: "✓";
    color: hsl(var(--success));
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    color: hsl(var(--primary));
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Calculator Section
   ============================================ */
.calculator {
    padding: var(--space-24) 0;
    background: linear-gradient(
        180deg,
        hsl(var(--bg-base)) 0%,
        hsl(var(--accent-light) / 0.3) 50%,
        hsl(var(--bg-base)) 100%
    );
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-8);
    align-items: start;
}

.calculator-form {
    background: hsl(var(--bg-base));
    border: 1px solid hsl(var(--border-default));
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-md);
}

.calc-section {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid hsl(var(--border-subtle));
}

.calc-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.calc-section h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: hsl(var(--text-heading));
    margin-bottom: var(--space-4);
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.calc-group {
    margin-bottom: var(--space-3);
}

.calc-group.full {
    grid-column: 1 / -1;
}

.calc-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: hsl(var(--text-body));
    margin-bottom: var(--space-2);
}

.calc-group input[type="number"],
.calc-group select {
    width: 100%;
    padding: var(--space-3);
    background: hsl(var(--bg-elevated));
    border: 1px solid hsl(var(--border-default));
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--text-base);
    color: hsl(var(--text-heading));
    transition: all var(--transition-fast);
}

.calc-group input:focus,
.calc-group select:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}

.calc-hint {
    display: block;
    font-size: var(--text-xs);
    color: hsl(var(--text-subtle));
    margin-top: var(--space-1);
}

.calc-group.checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.calc-group.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: hsl(var(--primary));
    cursor: pointer;
}

.calc-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.calc-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
}

.distance-slider {
    margin-top: var(--space-3);
}

.distance-slider input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, hsl(var(--primary-light)) 0%, hsl(var(--primary)) 50%, hsl(var(--accent)) 100%);
    appearance: none;
    cursor: pointer;
}

.distance-slider input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: hsl(var(--primary));
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    cursor: grab;
}

.distance-slider input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
}

.distance-labels {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-2);
    font-size: var(--text-xs);
    color: hsl(var(--text-subtle));
}

/* Calculator Result */
.calculator-result {
    position: sticky;
    top: 100px;
}

.result-card {
    background: linear-gradient(180deg, hsl(var(--bg-base)) 0%, hsl(var(--bg-surface)) 100%);
    border: 1px solid hsl(var(--border-default));
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
}

.result-header {
    text-align: center;
    padding-bottom: var(--space-6);
    border-bottom: 1px solid hsl(var(--border-subtle));
    margin-bottom: var(--space-4);
    position: relative;
    transition: background-color 0.3s ease;
}

/* Highlight-Effekt für gesamten Header bei Animation */
@keyframes headerHighlight {
    0%, 100% {
        background-color: transparent;
    }
    50% {
        background-color: hsl(var(--accent) / 0.08);
    }
}

.result-header.updating {
    animation: headerHighlight 0.8s ease;
    border-radius: var(--radius-lg);
}

.result-label {
    display: block;
    font-size: var(--text-sm);
    color: hsl(var(--text-muted));
    margin-bottom: var(--space-2);
    transition: all 0.3s ease;
}

/* Animation für Label bei Preisänderung */
@keyframes labelShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.result-label.updating {
    animation: labelShake 0.4s ease;
    color: hsl(var(--accent));
    font-weight: 600;
}

.result-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-1);
}

.price-from {
    font-size: var(--text-sm);
    color: hsl(var(--text-muted));
}

.price-value {
    font-size: var(--text-5xl);
    font-weight: 700;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    position: relative;
}

/* Animationseffekt bei Wertänderung */
@keyframes priceGlow {
    0%, 100% {
        filter: drop-shadow(0 0 0 transparent);
    }
    50% {
        filter: drop-shadow(0 0 12px hsl(var(--accent) / 0.8));
    }
}

@keyframes priceFlash {
    0% {
        background-size: 100% 100%;
    }
    50% {
        background-size: 150% 150%;
    }
    100% {
        background-size: 100% 100%;
    }
}

.price-value.updating {
    animation: priceGlow 0.8s ease, priceFlash 0.8s ease;
}

.price-currency {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: hsl(var(--text-heading));
}

.result-details {
    margin-bottom: var(--space-4);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    border-bottom: 1px dashed hsl(var(--border-subtle));
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: hsl(var(--text-muted));
}

.detail-row span:last-child {
    font-weight: 500;
    color: hsl(var(--text-heading));
}

.detail-row.extras span:last-child {
    color: hsl(var(--accent));
}

.result-note {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3);
    background: hsl(var(--primary-light));
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
}

.result-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: hsl(var(--primary));
}

.result-note p {
    font-size: var(--text-xs);
    color: hsl(var(--text-muted));
    line-height: var(--leading-relaxed);
}

.result-card .btn {
    margin-bottom: var(--space-3);
}

.result-card .btn:last-child {
    margin-bottom: 0;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--space-24) 0;
    background: linear-gradient(
        180deg,
        hsl(var(--bg-surface)) 0%,
        hsl(var(--bg-base)) 50%,
        hsl(var(--bg-surface)) 100%
    );
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-image-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(
        135deg,
        hsl(var(--primary)) 0%,
        hsl(var(--primary-hover)) 50%,
        hsl(var(--accent)) 100%
    );
    border-radius: var(--radius-2xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.about-image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        hsl(220 30% 10% / 0.2) 100%
    );
}

.about-image-placeholder span,
.about-image-placeholder p {
    position: relative;
    z-index: 1;
}

.about-image-placeholder p {
    color: hsl(0 0% 100% / 0.9);
}

.about-image-placeholder span {
    font-size: 6rem;
}

.about-image-placeholder p {
    color: hsl(var(--text-muted));
    font-weight: 500;
}

.about-text h2 {
    margin-bottom: var(--space-6);
}

.about-text > p {
    color: hsl(var(--text-muted));
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.about-feature {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: var(--space-1);
}

.feature-content p {
    color: hsl(var(--text-muted));
    font-size: var(--text-sm);
}

/* ============================================
   Process Section
   ============================================ */
.process {
    padding: var(--space-24) 0;
    background-color: hsl(var(--bg-base));
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
}

.process-step {
    flex: 1;
    text-align: center;
    max-width: 250px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(
        135deg,
        hsl(var(--primary)) 0%,
        hsl(var(--accent)) 100%
    );
    color: white;
    font-size: var(--text-xl);
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
    box-shadow: 0 4px 15px hsl(var(--primary) / 0.35), 0 2px 6px hsl(var(--accent) / 0.2);
}

.step-content h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-2);
}

.step-content p {
    color: hsl(var(--text-muted));
    font-size: var(--text-sm);
}

.process-connector {
    flex-shrink: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(
        90deg,
        hsl(var(--primary)) 0%,
        hsl(var(--accent)) 50%,
        hsl(var(--border-default)) 100%
    );
    margin-top: 32px;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--space-24) 0;
    background: linear-gradient(
        180deg,
        hsl(var(--bg-base)) 0%,
        hsl(var(--primary-light) / 0.4) 50%,
        hsl(var(--bg-base)) 100%
    );
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.testimonial-card {
    background-color: hsl(var(--bg-base));
    border: 1px solid hsl(var(--border-default));
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    /* Highlight Border von oben mit Gradient */
    border-top: 3px solid transparent;
    background-image: linear-gradient(hsl(var(--bg-base)), hsl(var(--bg-base))), 
                      linear-gradient(90deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-rating {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

.testimonial-text {
    color: hsl(var(--text-body));
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(
        135deg,
        hsl(var(--primary)) 0%,
        hsl(var(--accent)) 100%
    );
    color: white;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px hsl(var(--primary) / 0.3);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: hsl(var(--text-heading));
}

.author-detail {
    font-size: var(--text-sm);
    color: hsl(var(--text-muted));
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--space-20) 0;
    background: linear-gradient(
        135deg,
        hsl(var(--primary)) 0%,
        hsl(var(--primary-hover)) 40%,
        hsl(var(--accent-hover)) 100%
    );
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(
        ellipse,
        hsl(var(--accent) / 0.3) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: white;
    margin-bottom: var(--space-4);
    text-shadow: 0 2px 4px hsl(220 50% 15% / 0.2);
}

.cta p {
    color: hsl(0 0% 100% / 0.92);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

.cta .btn-primary {
    background: linear-gradient(135deg, white 0%, hsl(var(--bg-surface)) 100%);
    color: hsl(var(--primary));
    border: 1px solid hsl(0 0% 100% / 0.2);
}

.cta .btn-primary:hover {
    background: linear-gradient(135deg, hsl(var(--accent-light)) 0%, white 100%);
    color: hsl(var(--primary-hover));
    box-shadow: 0 8px 25px hsl(220 50% 10% / 0.3);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--space-24) 0;
    background-color: hsl(var(--bg-base));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
}

.contact-info h2 {
    margin-bottom: var(--space-4);
}

.contact-info > p {
    color: hsl(var(--text-muted));
    margin-bottom: var(--space-8);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: hsl(var(--text-heading));
    margin-bottom: var(--space-1);
}

.contact-item p {
    color: hsl(var(--text-muted));
    font-size: var(--text-sm);
}

.contact-item a {
    color: hsl(var(--primary));
}

.contact-form-wrapper {
    background: linear-gradient(180deg, hsl(var(--bg-base)) 0%, hsl(var(--bg-surface)) 100%);
    border: 1px solid hsl(var(--border-default));
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
}

.contact-form h3 {
    margin-bottom: var(--space-6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    color: hsl(var(--text-heading));
    font-weight: 500;
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background-color: hsl(var(--bg-elevated));
    border: 1px solid hsl(var(--border-default));
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: var(--text-base);
    color: hsl(var(--text-heading));
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: hsl(var(--text-subtle));
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15), 0 0 0 1px hsl(var(--primary) / 0.3);
    background-color: hsl(var(--bg-base));
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: hsl(var(--primary));
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    color: hsl(var(--text-muted));
}

/* ============================================
   AI Message Info Box
   ============================================ */
.ai-message-info {
    background: linear-gradient(135deg, 
        hsl(215, 75%, 95%) 0%, 
        hsl(38, 92%, 95%) 100%);
    border-left: 4px solid hsl(215, 75%, 45%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
    animation: slideInFromTop 0.5s ease-out;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: hsl(215, 75%, 45%);
    font-weight: 600;
    font-size: 1.05rem;
}

.ai-info-header svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
    animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.ai-info-text {
    color: hsl(220, 30%, 30%);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.ai-info-text strong {
    color: hsl(215, 75%, 35%);
    font-weight: 700;
}

.ai-clear-btn {
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid hsl(0, 65%, 50%);
    color: hsl(0, 65%, 45%);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ai-clear-btn:hover {
    background: hsl(0, 65%, 50%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.ai-clear-btn svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: hsl(220 30% 15%);
    padding: var(--space-4) 0 var(--space-2);
    border-top: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
}

.footer-brand .logo {
    margin-bottom: var(--space-1);
}

.footer-brand .logo-text {
    color: white;
    font-size: var(--text-sm);
}

.footer-brand .logo-icon {
    font-size: var(--text-sm);
}

.footer-brand > p {
    color: hsl(220 15% 65%);
    margin-bottom: var(--space-2);
    max-width: 200px;
    font-size: 10px;
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: var(--space-1);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: hsl(220 25% 22%);
    border: 1px solid hsl(220 20% 28%);
    border-radius: var(--radius-sm);
    color: hsl(220 15% 70%);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px hsl(var(--primary) / 0.3);
}

.social-links svg {
    width: 12px;
    height: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
}

.footer-column h4 {
    color: white;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: var(--space-1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-column a {
    color: hsl(220 15% 65%);
    font-size: 10px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--space-2);
    border-top: 1px solid hsl(220 20% 22%);
    text-align: center;
}

.footer-bottom p {
    color: hsl(220 15% 50%);
    font-size: 10px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        max-width: 100%;
    }
    
    .process-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(
            180deg,
            hsl(var(--primary)) 0%,
            hsl(var(--border-default)) 100%
        );
        margin: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .calculator-result {
        position: static;
    }
}

@media (max-width: 768px) {
    .navbar .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile Menu Dropdown */
    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: hsl(220 30% 15%);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--space-6);
        gap: var(--space-2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid hsl(220 20% 22%);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateX(-10px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.25s; }

    .nav-links a {
        display: flex;
        align-items: center;
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-lg);
        color: white;
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        padding-left: var(--space-6);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .nav-links a::after {
        content: '→';
        margin-left: auto;
        opacity: 0.5;
        transition: transform 0.2s;
    }
    
    .nav-links a:hover::after {
        transform: translateX(4px);
        opacity: 1;
    }
    
    .hero h1 {
        font-size: var(--text-4xl);
    }
    
    h2 {
        font-size: var(--text-3xl);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .hero-stats {
        position: static;
        margin-top: var(--space-8);
        justify-content: center;
        transform: none;
        width: 100%;
    }
    
    .form-row,
    .calc-row,
    .calc-extras {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Footer Mobile Makeover */
    .footer {
        padding: var(--space-10) 0 var(--space-8);
        text-align: center;
    }

    .footer-content {
        gap: var(--space-10);
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        margin: var(--space-4) 0 var(--space-6);
        max-width: 100%;
        font-size: var(--text-sm);
        opacity: 0.8;
    }

    .social-links {
        justify-content: center;
        gap: var(--space-4);
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }
    
    .social-links svg {
        width: 20px;
        height: 20px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten für bessere Übersicht */
        gap: var(--space-8) var(--space-4);
        text-align: left;
        background: rgba(255, 255, 255, 0.03); /* Leichter Hintergrund Container */
        padding: var(--space-6);
        border-radius: var(--radius-xl);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .footer-column h4 {
        font-size: var(--text-sm);
        margin-bottom: var(--space-4);
        color: hsl(var(--accent));
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .footer-column ul {
        gap: var(--space-3);
    }
    
    .footer-column a {
        font-size: var(--text-sm);
        padding: 2px 0;
        display: block;
        color: rgba(255, 255, 255, 0.7);
    }

    .footer-bottom {
        margin-top: var(--space-8);
        padding-top: var(--space-6);
        border-top-color: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero h1 {
        font-size: var(--text-3xl);
    }
    
    .section-header {
        margin-bottom: var(--space-10);
    }
    
    .service-card,
    .testimonial-card,
    .contact-form-wrapper,
    .calculator-form,
    .result-card {
        padding: var(--space-6);
    }
    
    .price-value {
        font-size: var(--text-4xl);
    }
}

/* ============================================
   Mobile Sticky Cost Overlay
   ============================================ */
.mobile-cost-overlay {
    position: fixed;
    bottom: 16px; /* Unten platzieren */
    left: 16px;
    top: auto;
    z-index: 9990;
    background: rgba(255, 255, 255, 0.90); /* Etwas transparenter für Glass-Effekt */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px; /* Runder */
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 
        0 10px 40px -10px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transform: translateY(120%); /* Startposition weiter unten */
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: calc(100vw - 32px);
    overflow: hidden; /* Für Shimmer-Effekt */
}

/* Shimmer Effekt (Lichtreflexion) */
.mobile-cost-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.8),
        transparent
    );
    transform: skewX(-25deg);
    animation: shimmer 3s infinite; /* Schnellerer Shimmer */
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    20% { left: 200%; } 
    100% { left: 200%; } 
}

/* Attention Pulse Animation */
@keyframes attention-pulse {
    0% { 
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.6); 
        transform: scale(1); 
        background: rgba(255, 255, 255, 0.90);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); 
        transform: scale(1.03); 
        background: rgba(255, 251, 235, 0.95); /* Leichtes Gold-Weiß */
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); 
        transform: scale(1); 
        background: rgba(255, 255, 255, 0.90);
    }
}

.mobile-cost-overlay.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    animation: attention-pulse 2.5s infinite ease-in-out; /* Schnelleres Pulsieren */
    border-color: hsla(var(--accent), 0.8); /* Stärkerer Rand */
}

/* Highlight Klasse für Updates */
.mobile-cost-overlay.highlight {
    transform: translateY(0) scale(1.05);
    box-shadow: 0 0 0 2px hsl(var(--accent)), 0 15px 40px -10px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

.mobile-cost-content {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.mobile-cost-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: hsl(var(--text-muted));
    font-weight: 700;
    margin-bottom: 2px;
}

.mobile-cost-value {
    font-size: 20px;
    font-weight: 800;
    color: hsl(var(--primary));
    line-height: 1;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s;
}

/* Pop Animation für Zahlen */
@keyframes number-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); color: hsl(var(--accent)); }
    100% { transform: scale(1); }
}

.mobile-cost-value.updating {
    animation: number-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-cost-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(var(--bg-muted)) 0%, hsl(var(--bg-surface)) 100%);
    color: hsl(var(--text-body));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.mobile-cost-btn:hover {
    background: hsl(var(--primary));
    color: white;
    transform: rotate(-45deg); /* Kleiner Dreheffekt */
    border-color: transparent;
    box-shadow: 0 4px 12px hsla(var(--primary), 0.4);
}

.mobile-cost-btn svg {
    width: 20px;
    height: 20px;
}

/* Nur auf Mobile anzeigen */
@media (min-width: 769px) {
    .mobile-cost-overlay {
        display: none !important;
    }
}

/* Auf sehr kleinen Screens anpassen */
@media (max-width: 480px) {
    .mobile-cost-overlay {
        left: 16px;
        bottom: 16px;
        right: auto;
        max-width: calc(100vw - 100px); /* Platz für Chatbot lassen */
    }
}

