/* ============================================
   DESIGN SYSTEM - CSS VARIABLES
   ============================================ */

:root {
    /* Colors - Brand */
    --brand: #A51114;
    --brand-dark: #8a0e11;
    --brand-light: #c41a1e;
    --brand-tint: rgba(165, 17, 20, 0.1);
    
    /* Colors - Text */
    --text: #1a1a1a;
    --text-muted: #666666;
    --text-light: #999999;
    --text-on-brand: #ffffff;
    
    /* Colors - Backgrounds */
    --bg: #ffffff;
    --surface: #f8f9fa;
    --surface-elevated: #ffffff;
    
    /* Colors - Borders */
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --border-dark: #d1d5db;
    
    /* Colors - Status */
    --success: #10b981;
    --success-bg: #d1fae5;
    --error: #ef4444;
    --error-bg: #fee2e2;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Spacing - 8px Grid */
    --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 Scale - clamp() for responsive */
    --font-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);      /* 12-14px */
    --font-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);        /* 14-16px */
    --font-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);     /* 16-18px */
    --font-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);       /* 18-20px */
    --font-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);       /* 20-24px */
    --font-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);        /* 24-30px */
    --font-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.25rem);   /* 30-36px */
    --font-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);        /* 36-48px */
    --font-5xl: clamp(3rem, 2.5rem + 2.5vw, 4rem);            /* 48-64px */
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* Letter Spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    
    /* Border Radius */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Container */
    --container-max: 1200px;
    --container-padding-mobile: var(--space-4);
    --container-padding-desktop: var(--space-8);
    
    /* Section Padding */
    --section-padding-mobile: var(--space-12);
    --section-padding-desktop: var(--space-24);
}

/* ============================================
   FONT FACE - INTER
   ============================================ */

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Regular.woff2') format('woff2'),
         url('/assets/fonts/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Bold.woff2') format('woff2'),
         url('/assets/fonts/Inter-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: var(--font-base);
    line-height: var(--leading-normal);
    color: var(--text);
    background-color: var(--bg);
    letter-spacing: var(--tracking-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   CONTAINER
   ============================================ */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding-mobile);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--container-padding-desktop);
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--text);
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--font-4xl);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-6);
}

h2 {
    font-size: var(--font-3xl);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-5);
}

h3 {
    font-size: var(--font-2xl);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-4);
}

h4 {
    font-size: var(--font-xl);
    line-height: var(--leading-normal);
}

h5 {
    font-size: var(--font-lg);
    line-height: var(--leading-normal);
}

h6 {
    font-size: var(--font-base);
    line-height: var(--leading-normal);
}

p {
    margin-bottom: var(--space-4);
    max-width: 65ch;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-4);
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-lg);
    margin-bottom: var(--space-8);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-base);
    line-height: 1;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--brand);
    color: var(--text-on-brand);
    border-color: var(--brand);
}

.btn-primary:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

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

.btn-secondary:hover {
    background-color: var(--brand);
    color: var(--text-on-brand);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-lg);
}

.btn svg {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: sticky;
    top: 0;
    background-color: var(--bg);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border-light);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
}

.logo img {
    height: 48px;
    width: auto;
    transition: opacity var(--transition-fast);
}

.logo:hover img {
    opacity: 0.8;
}

.nav {
    display: none;
    gap: var(--space-3);
    align-items: center;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text);
    transition: all var(--transition-base);
    border-radius: var(--radius-full);
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4);
    gap: var(--space-3);
    border-top: 1px solid var(--border-light);
}

/* ============================================
   HERO
   ============================================ */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-brand);
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.75) 100%);
    z-index: 0;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: var(--space-16) var(--space-4);
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--font-5xl);
    margin-bottom: var(--space-6);
    color: var(--text-on-brand);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: var(--leading-tight);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Mobile: Hero-Titel noch kleiner und besserer Umbruch */
@media (max-width: 767px) {
    .hero-title {
        font-size: calc(var(--font-5xl) - 14px);
        max-width: 100%;
        padding: 0 var(--space-2);
    }
}

.hero-subtitle {
    font-size: var(--font-xl);
    margin-bottom: var(--space-10);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    line-height: var(--leading-relaxed);
    max-width: 70ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
    margin-bottom: var(--space-10);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--font-sm);
    color: var(--text-on-brand);
    white-space: nowrap;
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
}

@media (min-width: 768px) {
    .hero {
        min-height: 90vh;
    }
    
    .hero-content {
        padding: var(--space-24) var(--space-8);
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* ============================================
   MOBILE STICKY BOTTOM BAR
   ============================================ */

.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: var(--space-3) var(--space-4);
    z-index: 999;
    display: flex;
    gap: var(--space-3);
    display: none;
    transition: transform var(--transition-base);
}

@media (max-width: 767px) {
    .mobile-bottom-bar {
        display: flex;
    }
}

.mobile-bottom-bar .btn {
    flex: 1;
    padding: var(--space-4);
    font-size: var(--font-base);
}

/* ============================================
   TRUST SECTION
   ============================================ */

.trust-section {
    padding: var(--section-padding-mobile) 0;
    background-color: var(--surface);
}

@media (min-width: 768px) {
    .trust-section {
        padding: var(--section-padding-desktop) 0;
    }
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

@media (min-width: 640px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.trust-card {
    background-color: var(--surface-elevated);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

/* Mobile: Alternierende Hintergrundfarben für Trust Cards */
@media (max-width: 639px) {
    .trust-card:nth-child(odd) {
        background-color: var(--surface-elevated);
    }
    .trust-card:nth-child(even) {
        background-color: #f0f2f5;
    }
}

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

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    line-height: 1;
}

.trust-card h3 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-2);
    color: var(--text);
}

.trust-card p {
    color: var(--text-muted);
    font-size: var(--font-sm);
    margin: 0;
    max-width: none;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    padding: var(--section-padding-mobile) 0;
}

@media (min-width: 768px) {
    .services-section {
        padding: var(--section-padding-desktop) 0;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-12);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--surface-elevated);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--brand);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--brand);
    transition: all var(--transition-base);
}

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

.service-card h3 {
    color: var(--brand);
    margin-bottom: var(--space-3);
    font-size: var(--font-xl);
}

.service-card p {
    margin-bottom: var(--space-4);
    color: var(--text-muted);
    max-width: none;
}

.service-card ul {
    margin-top: var(--space-4);
}

.service-card ul li {
    padding-left: var(--space-5);
    position: relative;
    margin-bottom: var(--space-2);
    color: var(--text);
    font-size: var(--font-sm);
}

.service-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: bold;
    font-size: 1.2em;
}

/* ============================================
   PROCESS SECTION (TIMELINE)
   ============================================ */

.process-section {
    padding: var(--section-padding-mobile) 0;
    background-color: var(--surface);
    position: relative;
}

@media (min-width: 768px) {
    .process-section {
        padding: var(--section-padding-desktop) 0;
    }
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    margin-top: var(--space-12);
    position: relative;
}

@media (min-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
    }
}

.process-step {
    text-align: center;
    position: relative;
    padding: var(--space-6);
}

@media (min-width: 768px) {
    .process-step::after {
        content: '';
        position: absolute;
        top: 60px;
        left: 100%;
        width: calc(100% - 120px);
        height: 2px;
        background: linear-gradient(to right, var(--brand), var(--border));
        z-index: 0;
    }
    
    .process-step:last-child::after {
        display: none;
    }
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: var(--text-on-brand);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-2xl);
    font-weight: 700;
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    border: 4px solid var(--bg);
}

.process-step h3 {
    margin-bottom: var(--space-3);
    font-size: var(--font-xl);
}

.process-step p {
    color: var(--text-muted);
    max-width: none;
    margin: 0;
}

/* ============================================
   BEFORE/AFTER SECTION
   ============================================ */

.before-after-section {
    padding: var(--section-padding-mobile) 0;
}

@media (min-width: 768px) {
    .before-after-section {
        padding: var(--section-padding-desktop) 0;
    }
}

.before-after-rooms {
    margin-top: var(--space-12);
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.before-after-room-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.room-title {
    font-size: var(--font-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    text-align: center;
    color: var(--text);
}

/* Swipe Hint - nur auf Mobile */
.swipe-hint {
    display: none;
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-sm);
    margin-bottom: var(--space-4);
}

@media (max-width: 639px) {
    .swipe-hint {
        display: block;
    }
}

/* Desktop: Grid Layout mit 2 Spalten (Vorher | Nachher) */
.before-after-swipe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

/* Mobile: Swipeable Carousel (Vorher → Nachher) */
@media (max-width: 639px) {
    .before-after-swipe {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: var(--space-4);
        padding-bottom: var(--space-2);
    }
    
    .before-after-swipe::-webkit-scrollbar {
        display: none;
    }
    
    .before-after-swipe .before-after-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        min-width: 0;
    }
}

.before-after-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
}

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

.before-after-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

@media (min-width: 640px) {
    .before-after-card img {
        height: 400px;
    }
}

.before-after-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--text-on-brand);
    padding: var(--space-6);
    margin: 0;
    font-size: var(--font-xl);
}

/* ============================================
   WHY SECTION
   ============================================ */

.why-section {
    padding: var(--section-padding-mobile) 0;
    background-color: var(--surface);
}

@media (min-width: 768px) {
    .why-section {
        padding: var(--section-padding-desktop) 0;
    }
}

.why-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    margin-top: var(--space-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .why-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.why-list li {
    padding: var(--space-5);
    background-color: var(--surface-elevated);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--brand);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.why-list li:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.why-list li strong {
    display: block;
    color: var(--brand);
    margin-bottom: var(--space-2);
    font-size: var(--font-lg);
}

.why-list li p {
    color: var(--text-muted);
    font-size: var(--font-sm);
    margin: 0;
    max-width: none;
}

.why-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
    padding: var(--section-padding-mobile) 0;
}

@media (min-width: 768px) {
    .pricing-section {
        padding: var(--section-padding-desktop) 0;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-12);
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background-color: var(--surface-elevated);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

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

.pricing-card.featured {
    border-color: var(--brand);
    background: linear-gradient(to bottom, var(--brand-tint), var(--surface-elevated));
    position: relative;
}

.pricing-card.featured::before {
    content: 'Empfohlen';
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background-color: var(--brand);
    color: var(--text-on-brand);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-xs);
    font-weight: 600;
}

.pricing-card h3 {
    color: var(--brand);
    margin-bottom: var(--space-4);
    font-size: var(--font-xl);
}

.price {
    font-size: var(--font-3xl);
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--space-6);
    line-height: 1;
}

.pricing-card ul {
    text-align: left;
    margin-top: var(--space-6);
}

.pricing-card ul li {
    padding: var(--space-3) 0;
    color: var(--text);
    font-size: var(--font-sm);
    position: relative;
    padding-left: var(--space-6);
}

.pricing-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    margin-top: var(--space-8);
    color: var(--text-muted);
    font-size: var(--font-sm);
    max-width: none;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    padding: var(--section-padding-mobile) 0;
    background-color: var(--surface);
}

@media (min-width: 768px) {
    .testimonials-section {
        padding: var(--section-padding-desktop) 0;
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-12);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--surface-elevated);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

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

.stars {
    color: #fbbf24;
    font-size: var(--font-lg);
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
}

.testimonial-text {
    margin-bottom: var(--space-4);
    font-style: italic;
    color: var(--text);
    font-size: var(--font-base);
    line-height: var(--leading-relaxed);
    max-width: none;
}

.testimonial-author {
    color: var(--text-muted);
    font-size: var(--font-sm);
    font-weight: 600;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
    padding: var(--section-padding-mobile) 0;
}

@media (min-width: 768px) {
    .faq-section {
        padding: var(--section-padding-desktop) 0;
    }
}

.faq-list {
    max-width: 900px;
    margin: var(--space-12) auto 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-2);
    background-color: var(--surface-elevated);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--space-5) var(--space-6);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-lg);
    font-weight: 600;
    color: var(--text);
    transition: all var(--transition-base);
    gap: var(--space-4);
}

.faq-question:hover,
.faq-question:focus {
    color: var(--brand);
    background-color: var(--surface);
}

.faq-question:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: -2px;
}

.faq-icon {
    font-size: var(--font-2xl);
    font-weight: 300;
    color: var(--brand);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-base), opacity var(--transition-base);
    padding: 0 var(--space-6);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 var(--space-6) var(--space-6);
    opacity: 1;
}

.faq-answer p {
    color: var(--text-muted);
    max-width: none;
    margin: 0;
    line-height: var(--leading-relaxed);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: var(--section-padding-mobile) 0;
    background-color: var(--surface);
}

@media (min-width: 768px) {
    .contact-section {
        padding: var(--section-padding-desktop) 0;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    margin-top: var(--space-12);
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-16);
    }
}

.contact-form-wrapper,
.contact-info {
    background-color: var(--surface-elevated);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.contact-form-wrapper h3,
.contact-info h3 {
    margin-bottom: var(--space-6);
    color: var(--brand);
    font-size: var(--font-2xl);
}

.contact-form-wrapper .trust-note {
    background-color: var(--brand-tint);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
    font-size: var(--font-sm);
    color: var(--text-muted);
    border-left: 3px solid var(--brand);
}

.contact-form-wrapper .trust-note strong {
    color: var(--brand);
    display: block;
    margin-bottom: var(--space-1);
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--text);
    font-size: var(--font-sm);
}

.form-group input:not([type="checkbox"]),
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: var(--font-base);
    font-family: inherit;
    transition: all var(--transition-base);
    background-color: var(--bg);
    color: var(--text);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-tint);
}

.form-group input:invalid:not(:focus):not(:placeholder-shown),
.form-group textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: var(--error);
}

/* Ensure all inputs have same border color regardless of required/valid status */
.form-group input:not(:focus),
.form-group textarea:not(:focus) {
    border-color: var(--border);
}


.form-help {
    margin-top: var(--space-1);
    font-size: var(--font-xs);
    color: var(--text-muted);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-weight: normal;
    cursor: pointer;
    font-size: var(--font-sm);
    line-height: var(--leading-relaxed);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--brand);
    border: none;
    outline: none;
    box-shadow: none;
}

.checkbox-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.checkbox-label a {
    color: var(--brand);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.checkbox-label a:hover {
    color: var(--brand-dark);
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

@media (min-width: 768px) {
    .form-actions {
        flex-direction: row;
    }
}

.form-message {
    padding: var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    display: none;
    font-size: var(--font-sm);
    line-height: var(--leading-relaxed);
}

.form-message.success {
    background-color: var(--success-bg);
    color: #065f46;
    border: 1px solid var(--success);
    display: block;
}

.form-message.error {
    background-color: var(--error-bg);
    color: #991b1b;
    border: 1px solid var(--error);
    display: block;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.contact-item {
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-item strong {
    display: block;
    color: var(--brand);
    margin-bottom: var(--space-2);
    font-size: var(--font-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.contact-item a {
    color: var(--brand);
    text-decoration: underline;
    transition: color var(--transition-fast);
    font-size: var(--font-lg);
}

.contact-item a:hover {
    color: var(--brand-dark);
}

.contact-item p {
    color: var(--text);
    margin: 0;
    max-width: none;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--text);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-12) 0 var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-start;
    }
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
    font-size: var(--font-sm);
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-sm);
    margin: 0;
    max-width: none;
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
    padding: var(--section-padding-mobile) 0;
    min-height: 60vh;
}

@media (min-width: 768px) {
    .legal-page {
        padding: var(--section-padding-desktop) 0;
    }
}

.legal-page h1 {
    margin-bottom: var(--space-8);
    font-size: var(--font-3xl);
}

.legal-page section {
    margin-bottom: var(--space-8);
}

.legal-page h2 {
    font-size: var(--font-2xl);
    margin-bottom: var(--space-4);
    color: var(--brand);
}

.legal-page h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-3);
    margin-top: var(--space-6);
}

.legal-page p {
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
    max-width: none;
}

.legal-page ul {
    list-style: disc;
    margin-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.legal-page ul li {
    margin-bottom: var(--space-2);
}

.legal-page a {
    color: var(--brand);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.legal-page a:hover {
    color: var(--brand-dark);
}

.legal-note {
    margin-top: var(--space-8);
    padding: var(--space-6);
    background-color: var(--surface);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-md);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand);
    color: var(--text-on-brand);
    padding: var(--space-2) var(--space-4);
    z-index: 100;
    border-radius: var(--radius-md);
}

.skip-link:focus {
    top: var(--space-4);
}

/* ============================================
   UTILITIES
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Section Dividers */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: var(--space-16) 0;
}
