/* =====================================================
   ANNE PRAETORIUS - BASE STYLES
   Modern CSS mit Custom Properties, Flexbox & Grid
   ===================================================== */

/* ----- CSS Custom Properties (Variablen) ----- */
:root {
    /* Primärfarben */
    --color-soft-sage: #B8D4C8;
    --color-misty-aqua: #9ECFCE;
    --color-dusty-teal: #7EB5B4;
    
    /* Sekundärfarben */
    --color-pale-sky: #E8F4F2;
    --color-deep-sage: #5A8A7A;
    --color-warm-sand: #F5F0E8;
    
    /* Neutraltöne */
    --color-charcoal: #4A4A4A;
    --color-warm-gray: #8A8A8A;
    --color-light-gray: #E5E5E5;
    --color-off-white: #FAFAFA;
    --color-white: #FFFFFF;
    
    /* Akzentfarben */
    --color-terracotta: #D4A574;
    --color-terracotta-dark: #c49464;
    --color-watercolor-blue: #7BAFD4;
    
    /* Gradienten */
    --gradient-primary: linear-gradient(135deg, var(--color-soft-sage) 0%, var(--color-misty-aqua) 100%);
    --gradient-hero: linear-gradient(135deg, var(--color-soft-sage) 0%, var(--color-misty-aqua) 50%, var(--color-dusty-teal) 100%);
    --gradient-dark: linear-gradient(135deg, var(--color-dusty-teal) 0%, var(--color-deep-sage) 100%);
    
    /* Typografie */
    --font-primary: 'Cormorant Garamond', Georgia, serif;
    --font-secondary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-accent: 'Caveat', cursive;
    
    /* Schriftgrößen */
    --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: 2rem;        /* 32px */
    --text-4xl: 2.5rem;      /* 40px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 4rem;        /* 64px */
    
    /* Abstände */
    --space-xs: 0.25rem;     /* 4px */
    --space-sm: 0.5rem;      /* 8px */
    --space-md: 1rem;        /* 16px */
    --space-lg: 1.5rem;      /* 24px */
    --space-xl: 2rem;        /* 32px */
    --space-2xl: 3rem;       /* 48px */
    --space-3xl: 4rem;       /* 64px */
    --space-4xl: 6rem;       /* 96px */
    --space-5xl: 8rem;       /* 128px */
    
    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --header-height: 80px;
    --sidebar-width: 260px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-island: 38px;
    --border-radius-island-sm: 32px;
    
    /* Schatten */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Dynamic Island Transitions - Nur Breite animieren */
    --transition-island: 0.45s ease-in-out;
    --transition-island-content: 0.3s ease-in-out;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-charcoal);
    background-color: var(--color-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--color-deep-sage);
}

/* ----- Typografie ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-charcoal);
}

h1 {
    font-size: var(--text-5xl);
    font-weight: 300;
    letter-spacing: 0.02em;
}

h2 {
    font-size: var(--text-4xl);
    font-weight: 400;
}

h3 {
    font-size: var(--text-2xl);
    font-weight: 500;
}

h4 {
    font-size: var(--text-xl);
    font-weight: 500;
}

p {
    margin-bottom: var(--space-lg);
}

p:last-child {
    margin-bottom: 0;
}

.text-accent {
    font-family: var(--font-accent);
}

.text-small {
    font-size: var(--text-sm);
    color: var(--color-warm-gray);
}

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

/* ----- Layout & Container ----- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: var(--container-narrow);
}

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

.section--sm {
    padding: var(--space-3xl) 0;
}

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

.section--gradient {
    background: var(--gradient-primary);
}

/* =====================================================
   SIDEBAR NAVIGATION - SMOOTH ANIMATIONS
   Weiche Übergänge mit gestaffelten Animationen
   ===================================================== */

/* === BASIS SIDEBAR (gilt für alle Breakpoints) === */
.sidebar {
    position: fixed;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Gradient Overlay */
.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(184, 212, 200, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* === HEADER === */
.sidebar__header {
    position: relative;
    text-align: center;
    flex-shrink: 0;
}

.sidebar__logo {
    display: block;
    transition: transform 0.3s ease;
}

.sidebar__logo:hover {
    transform: scale(1.05);
}

.sidebar__logo:focus {
    outline: 2px solid var(--color-dusty-teal);
    outline-offset: 4px;
    border-radius: var(--border-radius);
}

.sidebar__logo img {
    width: 70px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sidebar__brand {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-charcoal);
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.sidebar__tagline {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    color: var(--color-dusty-teal);
    margin-top: var(--space-xs);
}

/* === NAVIGATION === */
.sidebar__nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-light-gray) transparent;
}

.sidebar__nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar__nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar__nav::-webkit-scrollbar-thumb {
    background: var(--color-light-gray);
    border-radius: 2px;
}

/* === NAV LINKS === */
.nav__link {
    display: flex;
    align-items: center;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-charcoal);
    letter-spacing: 0.02em;
    position: relative;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover,
.nav__link:focus {
    color: var(--color-dusty-teal);
    background: rgba(184, 212, 200, 0.3);
    outline: none;
}

.nav__link:focus-visible {
    box-shadow: 0 0 0 2px var(--color-dusty-teal);
}

.nav__link.is-active {
    color: var(--color-deep-sage);
    background: rgba(184, 212, 200, 0.4);
    font-weight: 600;
}

.nav__icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.nav__link:hover .nav__icon,
.nav__link.is-active .nav__icon {
    opacity: 1;
}

/* === FOOTER === */
.sidebar__footer {
    flex-shrink: 0;
}

.sidebar__cta {
    width: 100%;
    text-align: center;
    font-size: var(--text-xs);
    padding: var(--space-sm) var(--space-md);
}

/* === CONTACT === */
.sidebar__contact {
    font-size: var(--text-xs);
    color: var(--color-warm-gray);
    text-align: center;
    border-top: 1px solid rgba(144, 144, 144, 0.15);
    background: rgba(248, 248, 248, 0.5);
    flex-shrink: 0;
}

.sidebar__contact a {
    color: var(--color-warm-gray);
    display: block;
    padding: var(--space-xs) 0;
    transition: color 0.2s ease;
    text-decoration: none;
}

.sidebar__contact a:hover,
.sidebar__contact a:focus {
    color: var(--color-dusty-teal);
}

/* === MOBILE TOGGLE === */
.nav-toggle {
    display: none;
    position: fixed;
    top: var(--space-lg);
    left: var(--space-lg);
    z-index: 1001;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.08);
    transform: scale(1.05);
}

.nav-toggle:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px var(--color-dusty-teal),
        0 6px 24px rgba(0, 0, 0, 0.12);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-charcoal);
    border-radius: 1px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === OVERLAY === */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.sidebar-overlay[aria-hidden="false"] {
    display: block;
    opacity: 1;
}

/* === MAIN CONTENT === */
.main-content {
    min-height: 100vh;
}

/* =====================================================
   DESKTOP STYLES (> 768px)
   Dynamic Island mit weichen Hover-Animationen
   ===================================================== */

@media (min-width: 769px) {
    .main-content {
        margin-left: calc(70px + var(--space-lg) * 2);
    }
    
    /* === SIDEBAR BASIS - EXPANDED STATE === */
    .sidebar {
        top: 50%;
        left: var(--space-lg);
        transform: translateY(-50%);
        width: var(--sidebar-width);
        border-radius: var(--border-radius-island);
        /* Weiche Breitenanimation */
        transition: 
            width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .sidebar::before {
        border-radius: var(--border-radius-island) var(--border-radius-island) 0 0;
        transition: border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .sidebar__header {
        padding: var(--space-xl) var(--space-lg);
        transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .sidebar__logo {
        margin: 0 auto var(--space-md);
        transition: margin 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Brand & Tagline - Weiche Ein-/Ausblendung */
    .sidebar__brand,
    .sidebar__tagline {
        opacity: 1;
        max-height: 60px;
        transform: translateY(0);
        transition: 
            opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
            max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
        overflow: hidden;
    }
    
    .sidebar__nav {
        padding: var(--space-md) 0;
        transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Nav Links - Expanded State */
    .nav__link {
        gap: var(--space-md);
        padding: var(--space-md) var(--space-lg);
        margin: var(--space-xs) var(--space-sm);
        border-radius: var(--border-radius-lg);
        transition: 
            padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            margin 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            gap 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            background 0.2s ease,
            color 0.2s ease;
    }
    
    /* Nav Link Text - Weiche Ein-/Ausblendung */
    .nav__link span {
        opacity: 1;
        max-width: 150px;
        transform: translateX(0);
        transition: 
            opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
            max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
        overflow: hidden;
        white-space: nowrap;
    }
    
    /* Aktiver Link mit Balken */
    .nav__link.is-active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleY(1);
        width: 3px;
        height: 60%;
        background: var(--color-dusty-teal);
        border-radius: 0 2px 2px 0;
        transition: 
            transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        opacity: 1;
    }
    
    .sidebar__footer {
        padding: var(--space-md) var(--space-lg) var(--space-lg);
        opacity: 1;
        max-height: 100px;
        transform: translateY(0);
        transition: 
            opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
            max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s,
            padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }
    
    .sidebar__contact {
        padding: var(--space-md) var(--space-lg);
        border-radius: 0 0 var(--border-radius-island) var(--border-radius-island);
        opacity: 1;
        max-height: 80px;
        transform: translateY(0);
        transition: 
            opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
            max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s,
            padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }
    
    /* === COLLAPSED STATE (nicht hover, nicht focus) === */
    .sidebar:not(:hover):not(:focus-within) {
        width: 70px;
        border-radius: var(--border-radius-island-sm);
    }
    
    .sidebar:not(:hover):not(:focus-within)::before {
        border-radius: var(--border-radius-island-sm) var(--border-radius-island-sm) 0 0;
    }
    
    .sidebar:not(:hover):not(:focus-within) .sidebar__header {
        padding: var(--space-md);
    }
    
    .sidebar:not(:hover):not(:focus-within) .sidebar__logo {
        margin: 0 auto;
    }
    
    /* Brand/Tagline: Weich ausblenden */
    .sidebar:not(:hover):not(:focus-within) .sidebar__brand,
    .sidebar:not(:hover):not(:focus-within) .sidebar__tagline {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
        transition: 
            opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
            max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
            transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    
    .sidebar:not(:hover):not(:focus-within) .sidebar__nav {
        padding: var(--space-sm) 0;
        align-items: center;
    }
    
    /* Nav Links als Kreise - Weicher Übergang */
    .sidebar:not(:hover):not(:focus-within) .nav__link {
        padding: var(--space-sm);
        margin: var(--space-xs) auto;
        justify-content: center;
        border-radius: 50%;
        gap: 0;
        width: 44px;
        height: 44px;
    }
    
    /* Nav Link Text: Weich ausblenden */
    .sidebar:not(:hover):not(:focus-within) .nav__link span {
        opacity: 0;
        max-width: 0;
        transform: translateX(-10px);
        transition: 
            opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
            max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
            transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    
    /* Icon zentrieren im collapsed state */
    .sidebar:not(:hover):not(:focus-within) .nav__icon {
        transform: scale(1.1);
    }
    
    /* Aktiver Link Balken ausblenden */
    .sidebar:not(:hover):not(:focus-within) .nav__link.is-active::before {
        transform: translateY(-50%) scaleY(0);
        opacity: 0;
    }
    
    /* Footer: Weich ausblenden */
    .sidebar:not(:hover):not(:focus-within) .sidebar__footer {
        opacity: 0;
        max-height: 0;
        transform: translateY(10px);
        padding-top: 0;
        padding-bottom: 0;
        transition: 
            opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
            max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
            transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
            padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    
    /* Contact: Weich ausblenden */
    .sidebar:not(:hover):not(:focus-within) .sidebar__contact {
        opacity: 0;
        max-height: 0;
        transform: translateY(10px);
        padding-top: 0;
        padding-bottom: 0;
        border-radius: 0 0 var(--border-radius-island-sm) var(--border-radius-island-sm);
        transition: 
            opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1),
            max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
            transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
            padding 0.25s cubic-bezier(0.4, 0, 0.2, 1),
            border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
}

/* =====================================================
   MOBILE STYLES (<= 768px)
   Vollbild-Menü mit weichen Animationen
   ===================================================== */

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    /* Sidebar: Vollbild mit weichem Slide */
    .sidebar {
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: 
            transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
            opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
            visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
    }
    
    .sidebar.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    .sidebar::before {
        border-radius: 0;
    }
    
    /* Header */
    .sidebar__header {
        padding: var(--space-lg);
    }
    
    .sidebar__logo {
        margin: 0 auto var(--space-md);
    }
    
    /* Brand & Tagline - IMMER sichtbar auf Mobile */
    .sidebar__brand,
    .sidebar__tagline {
        opacity: 1;
        max-height: none;
        transform: none;
        pointer-events: auto;
        overflow: visible;
    }
    
    .sidebar__tagline {
        margin-top: var(--space-xs);
    }
    
    /* Navigation */
    .sidebar__nav {
        padding: var(--space-md) 0;
        align-items: stretch;
        flex: 0 1 auto;
    }
    
    /* Nav Links - normale Form, linksbündig */
    .nav__link {
        width: auto;
        height: auto;
        padding: var(--space-md) var(--space-lg);
        margin: var(--space-xs) var(--space-sm);
        justify-content: flex-start;
        border-radius: var(--border-radius-lg);
        gap: var(--space-md);
    }
    
    .nav__link span {
        opacity: 1;
        max-width: none;
        transform: none;
        pointer-events: auto;
        overflow: visible;
    }
    
    .nav__icon {
        transform: none;
    }
    
    /* Aktiver Link mit Balken */
    .nav__link.is-active::before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleY(1);
        width: 3px;
        height: 60%;
        background: var(--color-dusty-teal);
        border-radius: 0 2px 2px 0;
        opacity: 1;
    }
    
    /* Footer - IMMER sichtbar auf Mobile */
    .sidebar__footer {
        opacity: 1;
        max-height: none;
        transform: none;
        pointer-events: auto;
        overflow: visible;
        padding: var(--space-md) var(--space-lg) var(--space-lg);
        margin-top: auto;
    }
    
    /* Contact - IMMER sichtbar auf Mobile */
    .sidebar__contact {
        opacity: 1;
        max-height: none;
        transform: none;
        pointer-events: auto;
        overflow: visible;
        padding: var(--space-md) var(--space-lg);
        border-radius: 0;
    }
}

/* ----- Hero Section ----- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-5xl) var(--space-lg);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero--small {
    min-height: 50vh;
    padding: var(--space-4xl) var(--space-lg);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero__logo {
    width: 120px;
    height: auto;
    margin: 0 auto var(--space-lg);
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    animation: fadeInUp 0.8s ease both;
}

.hero__title {
    font-size: var(--text-6xl);
    color: var(--color-white);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease;
}

.hero__subtitle {
    font-family: var(--font-accent);
    font-size: var(--text-2xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero__tagline {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-2xl);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Hero Color Variants - Elegante mehrschichtige Verläufe */
.hero--sage {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(184, 212, 200, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(74, 122, 106, 0.3) 0%, transparent 45%),
        linear-gradient(160deg, #6a9a8a 0%, #5A8A7A 25%, #4a7a6a 60%, #3d6d5d 100%);
}

.hero--aqua {
    background: 
        radial-gradient(ellipse at 25% 25%, rgba(158, 207, 206, 0.45) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 75%, rgba(74, 143, 186, 0.3) 0%, transparent 45%),
        linear-gradient(160deg, #8bbfe4 0%, #7BAFD4 25%, #5a9fc9 60%, #4a8fba 100%);
}

.hero--terracotta {
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(232, 195, 154, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(180, 132, 84, 0.3) 0%, transparent 45%),
        linear-gradient(160deg, #e4b584 0%, #D4A574 25%, #c49464 60%, #b48454 100%);
}

.hero--sand {
    background: 
        radial-gradient(ellipse at 25% 20%, rgba(255, 255, 255, 0.6) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 200, 184, 0.4) 0%, transparent 45%),
        linear-gradient(160deg, #FAF7F2 0%, #F5F0E8 25%, #E8DFD0 60%, #D4C8B8 100%);
}

/* Pinselstrich-Akzent unter dem Hero-Titel */
.hero__brushstroke {
    display: block;
    width: 450px;
    height: 20px;
    margin: var(--space-md) auto;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.hero__brushstroke svg {
    width: 100%;
    height: 100%;
}

/* Pinselstrich-Farbvarianten */
.hero--sage .hero__brushstroke,
.hero--aqua .hero__brushstroke,
.hero--terracotta .hero__brushstroke {
    color: rgba(255, 255, 255, 0.9);
}

.hero--sand .hero__brushstroke {
    color: var(--color-dusty-teal);
}

/* Responsive: Pinselstrich */
@media (max-width: 768px) {
    .hero__brushstroke {
        width: 340px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .hero__brushstroke {
        width: 280px;
        height: 16px;
    }
}

.hero--sand .hero__title,
.hero--sand .hero__subtitle,
.hero--sand .hero__tagline {
    color: var(--color-charcoal);
}

.hero--sand .hero__subtitle {
    color: var(--color-deep-sage);
}

.hero--sand .hero__tagline {
    color: var(--color-warm-gray);
}

/* Hero Background Texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn--primary {
    background: var(--color-dusty-teal);
    color: var(--color-white);
    border-color: var(--color-dusty-teal);
}

.btn--primary:hover {
    background: var(--color-deep-sage);
    border-color: var(--color-deep-sage);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 181, 180, 0.4);
}

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

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

.btn--white {
    background: var(--color-white);
    color: var(--color-dusty-teal);
    border-color: var(--color-white);
}

.btn--white:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn--accent {
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
}

.btn--accent:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.btn--lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-base);
}

.btn--sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
}

/* ----- Cards ----- */
.card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

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

.card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card__image img {
    transform: scale(1.05);
}

.card__content {
    padding: var(--space-lg);
}

.card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.card__text {
    color: var(--color-warm-gray);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
}

.card__price {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-terracotta);
}

/* ----- Grid Layouts ----- */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid--auto {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ----- Content Sections ----- */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.content-block--reverse {
    direction: rtl;
}

.content-block--reverse > * {
    direction: ltr;
}

.content-block__text {
    padding: var(--space-xl) 0;
}

.content-block__label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-dusty-teal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.content-block__title {
    margin-bottom: var(--space-lg);
}

.content-block__image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.content-block__image img {
    width: 100%;
    height: auto;
}

/* ----- Section Headers ----- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

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

.section-header__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    margin: var(--space-lg) auto 0;
}

.section-header__text {
    color: var(--color-warm-gray);
    font-size: var(--text-lg);
}

/* ----- Feature List ----- */
.feature-list {
    list-style: none;
}

.feature-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.feature-list__item:last-child {
    border-bottom: none;
}

.feature-list__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-pale-sky);
    color: var(--color-dusty-teal);
    border-radius: 50%;
    font-size: var(--text-sm);
}

/* ----- Forms ----- */
.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form__label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-charcoal);
}

.form__input,
.form__textarea,
.form__select {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    color: var(--color-charcoal);
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
    outline: none;
    border-color: var(--color-dusty-teal);
    box-shadow: 0 0 0 3px rgba(126, 181, 180, 0.15);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

.form__select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8A8A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: var(--space-2xl);
}

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

/* ----- Footer ----- */
.footer {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer__tagline {
    font-family: var(--font-accent);
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.footer__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    line-height: 1.8;
}

.footer__title {
    font-family: var(--font-secondary);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    color: var(--color-white);
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: var(--space-sm);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer__links a:hover {
    color: var(--color-white);
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
}

.footer__contact-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
}

.footer__legal {
    display: flex;
    gap: var(--space-lg);
}

.footer__legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
}

.footer__legal a:hover {
    color: var(--color-white);
}

/* ----- Portfolio/Gallery Grid ----- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.gallery__item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.08);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 74, 74, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__title {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: var(--text-lg);
}

/* ----- Dividers ----- */
.divider {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-light-gray);
}

.divider__text {
    color: var(--color-warm-gray);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ----- Alerts / Messages ----- */
.alert {
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
}

.alert--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert__title {
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

/* ----- Animations ----- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease both;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease both;
}

/* Scroll animations (add .is-visible via JS) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Utility Classes ----- */
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

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

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    :root {
        --text-6xl: 3rem;
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
    }
    
    .grid--3,
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-block {
        gap: var(--space-2xl);
    }
    
    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --space-5xl: 5rem;
        --space-4xl: 4rem;
    }
    
    /* Sidebar Mobile - Vollbild mit weicher Animation */
    .sidebar {
        top: 0;
        left: 0;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: 
            transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
            opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
            visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
        /* Flexbox Layout für Mobile korrigieren */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .sidebar.is-open {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Collapsed-Effekt auf Mobile komplett deaktivieren */
    .sidebar,
    .sidebar:not(:hover):not(:focus-within) {
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
    }
    
    /* Alle Elemente sichtbar auf Mobile - Überschreibe Desktop collapsed state */
    .sidebar .sidebar__brand,
    .sidebar .sidebar__tagline,
    .sidebar .nav__link span,
    .sidebar .sidebar__footer,
    .sidebar .sidebar__contact,
    .sidebar:not(:hover):not(:focus-within) .sidebar__brand,
    .sidebar:not(:hover):not(:focus-within) .sidebar__tagline,
    .sidebar:not(:hover):not(:focus-within) .nav__link span,
    .sidebar:not(:hover):not(:focus-within) .sidebar__footer,
    .sidebar:not(:hover):not(:focus-within) .sidebar__contact {
        opacity: 1;
        visibility: visible;
        width: auto;
        height: auto;
        max-height: none;
        max-width: none;
        overflow: visible;
        transform: none;
        pointer-events: auto;
    }
    
    .sidebar .sidebar__header,
    .sidebar:not(:hover):not(:focus-within) .sidebar__header {
        padding: var(--space-lg) var(--space-lg);
        display: block;
        text-align: center;
        flex-shrink: 0;
    }
    
    .sidebar .sidebar__logo,
    .sidebar:not(:hover):not(:focus-within) .sidebar__logo {
        margin: 0 auto var(--space-md);
    }
    
    .sidebar .nav__link,
    .sidebar:not(:hover):not(:focus-within) .nav__link {
        justify-content: flex-start;
        padding: var(--space-md) var(--space-lg);
        margin: var(--space-xs) var(--space-sm);
        width: auto;
        height: auto;
        gap: var(--space-md);
        border-radius: var(--border-radius-lg);
    }
    
    /* Icon auf Mobile nicht skalieren */
    .sidebar .nav__icon,
    .sidebar:not(:hover):not(:focus-within) .nav__icon {
        transform: none;
    }
    
    /* Aktiver Link auf Mobile - normaler Stil, kein Kreis, linksbündig */
    .sidebar .nav__link.is-active,
    .sidebar:not(:hover):not(:focus-within) .nav__link.is-active {
        width: auto !important;
        height: auto !important;
        padding: var(--space-md) var(--space-lg) !important;
        border-radius: var(--border-radius-lg) !important;
        justify-content: flex-start !important;
    }
    
    .sidebar .nav__link.is-active::before,
    .sidebar:not(:hover):not(:focus-within) .nav__link.is-active::before {
        display: block;
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%) scaleY(1);
        width: 3px;
        height: 60%;
        background: var(--color-dusty-teal);
        border-radius: 0 2px 2px 0;
        opacity: 1;
    }
    
    .sidebar .sidebar__nav,
    .sidebar:not(:hover):not(:focus-within) .sidebar__nav {
        padding: var(--space-md) 0;
        align-items: stretch;
        flex: 0 1 auto;
        overflow-y: auto;
    }
    
    /* Footer und Contact fixieren */
    .sidebar .sidebar__footer,
    .sidebar:not(:hover):not(:focus-within) .sidebar__footer {
        padding: var(--space-md) var(--space-lg) var(--space-lg);
        flex-shrink: 0;
        margin: 0;
        margin-top: auto;
    }
    
    /* Button volle Breite wie auf Desktop */
    .sidebar .sidebar__cta {
        width: 100%;
    }
    
    .sidebar .sidebar__contact,
    .sidebar:not(:hover):not(:focus-within) .sidebar__contact {
        padding: var(--space-md) var(--space-lg);
        border-radius: 0;
        flex-shrink: 0;
        margin: 0;
    }
    
    .sidebar .sidebar__contact a {
        white-space: nowrap;
    }
    
    .sidebar::before {
        border-radius: 0;
    }
    
    .sidebar:not(:hover):not(:focus-within)::before {
        border-radius: 0;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero__title {
        font-size: var(--text-4xl);
    }
    
    .hero__subtitle {
        font-size: var(--text-xl);
    }
    
    /* Hero-Tagline auf Mobile ausblenden */
    .hero__tagline {
        display: none;
    }
    
    /* Nur den zweiten Button (Kontakt) auf Mobile ausblenden */
    .hero__actions .btn--secondary {
        display: none;
    }
    
    /* Hero-Logo auf Mobile etwas kleiner */
    .hero__logo {
        width: 100px;
        margin-bottom: var(--space-md);
    }
    
    .content-block {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .content-block--reverse {
        direction: ltr;
    }
    
    .content-block__image {
        order: -1;
    }
    
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }
    
    .form__row {
        grid-template-columns: 1fr;
    }
    
    .footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
    }
    
    .hero__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__actions .btn {
        width: 100%;
    }
    
    .btn--lg {
        padding: var(--space-md) var(--space-xl);
    }
}

/* =====================================================
   STARTSEITE - Spezifische Styles
   ===================================================== */

/* Hero als "Visual Island" passend zur Sidebar */
.hero--rounded {
    margin: var(--space-lg);
    margin-left: 0;
    border-radius: var(--border-radius-lg);
    min-height: calc(100vh - var(--space-lg) * 2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.hero--rounded::before {
    border-radius: var(--border-radius-lg);
}

.hero--small.hero--rounded {
    min-height: 45vh;
    margin-bottom: var(--space-lg);
}

/* =====================================================
   HERO AQUARELL-EFFEKT
   Sanfte, organische Farbwolken-Animation
   ===================================================== */

/* --- Container --- */
.hero-watercolor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* --- Basis für alle Effekt-Elemente --- */
.hero-watercolor__element {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
}

/* --- Zustands-Klassen --- */

/* Animationen laufen */
.hero-watercolor--active .hero-watercolor__element {
    animation-play-state: running;
}

/* Sanftes Ausblenden am Zyklusende */
.hero-watercolor--fading .hero-watercolor__element {
    transition: opacity 4s cubic-bezier(0.25, 0.1, 0.25, 1);
    opacity: 0 !important;
}

/* Statischer Modus (reduzierte Bewegung) */
.hero-watercolor--static .hero-watercolor__element {
    animation: none !important;
    opacity: 0.35;
}

/* --- Farbwolken --- */
.hero-watercolor__cloud {
    filter: blur(40px);
    mix-blend-mode: multiply;
    animation: watercolor-bloom 28s ease-in-out forwards paused;
}

/* Farbvarianten */
.hero-watercolor__cloud--teal {
    width: 500px;
    height: 500px;
    background: radial-gradient(
        ellipse at center,
        rgba(126, 181, 180, 0.85) 0%,
        rgba(126, 181, 180, 0.5) 30%,
        rgba(126, 181, 180, 0.2) 55%,
        transparent 70%
    );
}

.hero-watercolor__cloud--sage {
    width: 450px;
    height: 450px;
    background: radial-gradient(
        ellipse at center,
        rgba(184, 212, 200, 0.8) 0%,
        rgba(184, 212, 200, 0.45) 35%,
        rgba(184, 212, 200, 0.15) 55%,
        transparent 70%
    );
}

.hero-watercolor__cloud--aqua {
    width: 420px;
    height: 420px;
    background: radial-gradient(
        ellipse at center,
        rgba(158, 207, 206, 0.8) 0%,
        rgba(158, 207, 206, 0.4) 35%,
        transparent 65%
    );
}

.hero-watercolor__cloud--terracotta {
    width: 380px;
    height: 380px;
    background: radial-gradient(
        ellipse at center,
        rgba(212, 165, 116, 0.75) 0%,
        rgba(212, 165, 116, 0.35) 40%,
        transparent 65%
    );
}

.hero-watercolor__cloud--deep {
    width: 350px;
    height: 350px;
    background: radial-gradient(
        ellipse at center,
        rgba(90, 138, 122, 0.75) 0%,
        rgba(90, 138, 122, 0.35) 40%,
        transparent 65%
    );
}

/* Farbwolken-Animation: Sanftes Aufblühen und Verblassen */
@keyframes watercolor-bloom {
    0% {
        transform: scale(0.4) rotate(0deg);
        opacity: 0;
    }
    12% {
        opacity: 0.85;
    }
    35% {
        transform: scale(1.15) rotate(6deg);
        opacity: 0.75;
    }
    60% {
        transform: scale(1.35) rotate(-2deg);
        opacity: 0.55;
    }
    80% {
        transform: scale(1.42) rotate(1deg);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.48) rotate(0deg);
        opacity: 0.12;
    }
}

/* --- Pigment-Partikel --- */
.hero-watercolor__pigment {
    filter: blur(1.5px);
    animation: watercolor-float 22s ease-in-out forwards paused;
}

/* Größenvarianten */
.hero-watercolor__pigment--lg {
    width: 18px;
    height: 18px;
}

.hero-watercolor__pigment--md {
    width: 12px;
    height: 12px;
}

.hero-watercolor__pigment--sm {
    width: 8px;
    height: 8px;
}

/* Farbvarianten */
.hero-watercolor__pigment--teal {
    background: rgba(126, 181, 180, 0.9);
    box-shadow: 0 0 12px rgba(126, 181, 180, 0.5);
}

.hero-watercolor__pigment--sage {
    background: rgba(184, 212, 200, 0.9);
    box-shadow: 0 0 12px rgba(184, 212, 200, 0.5);
}

.hero-watercolor__pigment--terracotta {
    background: rgba(212, 165, 116, 0.9);
    box-shadow: 0 0 12px rgba(212, 165, 116, 0.5);
}

.hero-watercolor__pigment--deep {
    background: rgba(90, 138, 122, 0.9);
    box-shadow: 0 0 12px rgba(90, 138, 122, 0.5);
}

/* Pigment-Animation: Sanftes Aufsteigen */
@keyframes watercolor-float {
    0% {
        transform: translate(0, 0) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    40% {
        transform: translate(var(--float-x, 20px), var(--float-y, -40px)) scale(1.1);
        opacity: 0.65;
    }
    70% {
        transform: translate(var(--float-x2, -10px), var(--float-y2, -80px)) scale(0.9);
        opacity: 0.35;
    }
    100% {
        transform: translate(var(--float-x3, 5px), var(--float-y3, -110px)) scale(0.7);
        opacity: 0.08;
    }
}

/* --- Barrierefreiheit: Reduzierte Bewegung --- */
@media (prefers-reduced-motion: reduce) {
    .hero-watercolor__element {
        animation: none !important;
        transition: none !important;
        opacity: 0.3;
    }
}

/* --- Responsive: Tablet --- */
@media (max-width: 768px) {
    .hero-watercolor__cloud--teal,
    .hero-watercolor__cloud--sage {
        width: 280px;
        height: 280px;
    }
    
    .hero-watercolor__cloud--aqua,
    .hero-watercolor__cloud--terracotta,
    .hero-watercolor__cloud--deep {
        width: 200px;
        height: 200px;
    }
    
    .hero-watercolor__pigment--lg {
        width: 14px;
        height: 14px;
    }
    
    .hero-watercolor__pigment--md {
        width: 10px;
        height: 10px;
    }
    
    .hero--rounded {
        margin: var(--space-md);
        margin-left: var(--space-md);
        min-height: 80vh;
        border-radius: var(--border-radius-lg);
    }
}

/* --- Responsive: Mobile --- */
@media (max-width: 480px) {
    .hero-watercolor__cloud {
        filter: blur(30px);
    }
    
    .hero-watercolor__cloud--teal,
    .hero-watercolor__cloud--sage {
        width: 220px;
        height: 220px;
    }
    
    .hero-watercolor__cloud--aqua,
    .hero-watercolor__cloud--terracotta,
    .hero-watercolor__cloud--deep {
        width: 160px;
        height: 160px;
    }
    
    .hero--rounded {
        margin: var(--space-sm);
        border-radius: var(--border-radius);
    }
}

/* =====================================================
   STARTSEITEN-KOMPONENTEN
   ===================================================== */

/* Service-Teaser Cards */
.service-teaser {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-teaser::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(74, 74, 74, 0.85) 0%,
        rgba(74, 74, 74, 0.4) 40%,
        transparent 70%
    );
    transition: background var(--transition-base);
}

.service-teaser:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-teaser:hover::before {
    background: linear-gradient(
        to top,
        rgba(74, 74, 74, 0.9) 0%,
        rgba(74, 74, 74, 0.5) 50%,
        rgba(74, 74, 74, 0.2) 80%
    );
}

.service-teaser__content {
    position: relative;
    z-index: 2;
}

.service-teaser__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    margin-bottom: var(--space-md);
}

.service-teaser__title {
    font-family: var(--font-primary);
    font-size: var(--text-3xl);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.service-teaser__text {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-lg);
    max-width: 90%;
}

.service-teaser__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: gap var(--transition-fast);
}

.service-teaser__link:hover {
    color: var(--color-white);
    gap: var(--space-md);
}

.service-teaser__link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.service-teaser:hover .service-teaser__link svg {
    transform: translateX(4px);
}

/* Service-Teaser ohne dunkles Overlay (für Farbflächen-Variante) */
.service-teaser--no-overlay::before {
    background: none;
}

.service-teaser--no-overlay:hover::before {
    background: none;
}

/* Icon-Container für Service-Teaser mit Farbflächen */
.service-teaser__icon {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    opacity: 0.9;
    transition: all var(--transition-base);
    z-index: 1;
}

.service-teaser:hover .service-teaser__icon {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

@media (max-width: 768px) {
    .service-teaser {
        min-height: 320px;
    }
    
    .service-teaser__icon svg {
        width: 60px;
        height: 60px;
    }
}

/* Section mit abgerundeten Ecken */
.section--rounded {
    margin: 0 var(--space-lg) var(--space-lg) 0;
    border-radius: var(--border-radius-lg);
    background: var(--color-white);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .section--rounded {
        margin: 0 var(--space-md) var(--space-md) var(--space-md);
    }
}

@media (max-width: 480px) {
    .section--rounded {
        margin: 0 var(--space-sm) var(--space-sm) var(--space-sm);
        border-radius: var(--border-radius);
    }
}

/* Intro-Bereich auf der Startseite */
.intro-section {
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
}

.intro-section__tagline {
    font-family: var(--font-accent);
    font-size: var(--text-xl);
    color: var(--color-dusty-teal);
    margin-bottom: var(--space-md);
}

.intro-section__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro-section__text {
    font-size: var(--text-lg);
    color: var(--color-warm-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Malkastl Highlight-Bereich */
.highlight-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding: var(--space-4xl);
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    margin: 0 var(--space-lg) var(--space-lg) 0;
}

.highlight-product__image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.highlight-product__image img {
    width: 100%;
    height: auto;
}

.highlight-product__content {
    color: var(--color-white);
}

.highlight-product__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(255, 255, 255, 0.25);
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    margin-bottom: var(--space-lg);
}

.highlight-product__title {
    font-size: var(--text-4xl);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.highlight-product__subtitle {
    font-family: var(--font-accent);
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
}

.highlight-product__text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
}

.highlight-product__features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.highlight-product__features li {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: var(--text-sm);
}

@media (max-width: 1024px) {
    .highlight-product {
        gap: var(--space-2xl);
        padding: var(--space-3xl);
    }
}

@media (max-width: 768px) {
    .highlight-product {
        grid-template-columns: 1fr;
        margin: 0 var(--space-md) var(--space-md) var(--space-md);
        padding: var(--space-2xl);
    }
    
    .highlight-product__image {
        order: -1;
    }
}

@media (max-width: 480px) {
    .highlight-product {
        margin: 0 var(--space-sm) var(--space-sm) var(--space-sm);
        border-radius: var(--border-radius);
    }
}

/* =====================================================
   KONTAKT-SEKTION
   ===================================================== */

.contact-section {
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-pale-sky);
    border-radius: var(--border-radius-lg);
    margin: 0 var(--space-lg) var(--space-lg) 0;
}

.contact-section__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    max-width: var(--container-max);
    margin: 0 auto;
}

.contact-section__info h2 {
    margin-bottom: var(--space-md);
}

.contact-section__tagline {
    font-family: var(--font-accent);
    font-size: var(--text-lg);
    color: var(--color-dusty-teal);
    margin-bottom: var(--space-lg);
}

.contact-section__text {
    color: var(--color-warm-gray);
    margin-bottom: var(--space-xl);
}

.contact-section__details {
    list-style: none;
}

.contact-section__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-section__item svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--color-dusty-teal);
    margin-top: 2px;
}

.contact-section__item-content {
    display: flex;
    flex-direction: column;
}

.contact-section__item-label {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-warm-gray);
    margin-bottom: var(--space-xs);
}

.contact-section__item-value {
    color: var(--color-charcoal);
    font-size: var(--text-base);
}

.contact-section__item-value a {
    color: var(--color-charcoal);
    transition: color var(--transition-fast);
}

.contact-section__item-value a:hover {
    color: var(--color-dusty-teal);
}

.contact-section__form {
    background: var(--color-white);
    padding: var(--space-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-section__form-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
    text-align: center;
}

/* Form Feedback Messages */
.form__message {
    padding: var(--space-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
    display: none;
}

.form__message.is-visible {
    display: block;
}

.form__message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form__message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form field error state */
.form__input.is-invalid,
.form__textarea.is-invalid,
.form__select.is-invalid {
    border-color: #dc3545;
}

.form__error {
    color: #dc3545;
    font-size: var(--text-xs);
    margin-top: var(--space-xs);
    display: none;
}

.form__error.is-visible {
    display: block;
}

@media (max-width: 768px) {
    .contact-section {
        margin: 0 var(--space-md) var(--space-md) var(--space-md);
        padding: var(--space-2xl) var(--space-lg);
    }
    
    .contact-section__inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-section__form {
        padding: var(--space-xl);
    }
}

@media (max-width: 480px) {
    .contact-section {
        margin: 0 var(--space-sm) var(--space-sm) var(--space-sm);
        border-radius: var(--border-radius);
    }
}

/* =====================================================
   KOMPAKTER FOOTER - Freundliche Variante
   ===================================================== */

.footer--friendly {
    background: linear-gradient(135deg, var(--color-deep-sage) 0%, #4a7a6a 100%);
}

.footer--friendly .footer__logo {
    color: var(--color-white);
}

.footer--friendly .footer__tagline {
    color: rgba(255, 255, 255, 0.8);
}

.footer--friendly .footer__text {
    color: rgba(255, 255, 255, 0.7);
}

.footer--friendly .footer__title {
    color: var(--color-white);
}

.footer--friendly .footer__links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer--friendly .footer__links a:hover {
    color: var(--color-white);
}

.footer--friendly .footer__contact-item {
    color: rgba(255, 255, 255, 0.8);
}

.footer--friendly .footer__contact-item a {
    color: rgba(255, 255, 255, 0.8);
}

.footer--friendly .footer__contact-item a:hover {
    color: var(--color-white);
}

.footer--friendly .footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.15);
}

.footer--friendly .footer__copyright {
    color: rgba(255, 255, 255, 0.6);
}

.footer--friendly .footer__legal a {
    color: rgba(255, 255, 255, 0.6);
}

.footer--friendly .footer__legal a:hover {
    color: var(--color-white);
}

/* Footer mit abgerundeten Ecken (für Startseite und Unterseiten) */
.footer--rounded {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    margin: 0 var(--space-lg) 0 0;
}

@media (max-width: 768px) {
    .footer--rounded {
        margin: 0 var(--space-md);
        border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    }
}

@media (max-width: 480px) {
    .footer--rounded {
        margin: 0 var(--space-sm);
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
}

/* =====================================================
   UNTERSEITEN - Zusätzliche Komponenten
   ===================================================== */

/* Section mit hellem Hintergrund */
.section--pale {
    background: var(--color-pale-sky);
}

/* Feature Cards */
.feature-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-base);
}

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

.feature-card__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-pale-sky);
    border-radius: 50%;
    color: var(--color-dusty-teal);
}

.feature-card__icon svg {
    width: 28px;
    height: 28px;
}

.feature-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-md);
}

.feature-card__text {
    color: var(--color-warm-gray);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-dark);
    padding: var(--space-4xl) var(--space-lg);
    text-align: center;
    border-radius: var(--border-radius-lg);
    margin: 0 var(--space-lg) var(--space-lg) 0;
}

.cta-section__content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section__title {
    font-size: var(--text-3xl);
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-section__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
    .cta-section {
        margin: 0 var(--space-md) var(--space-md) var(--space-md);
        padding: var(--space-3xl) var(--space-lg);
    }
}

@media (max-width: 480px) {
    .cta-section {
        margin: 0 var(--space-sm) var(--space-sm) var(--space-sm);
        border-radius: var(--border-radius);
    }
}

/* Gallery erweitert */
.gallery__item--large {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.gallery__subtitle {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.75);
    margin-top: var(--space-xs);
}

.gallery__overlay {
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .gallery__item--large {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }
}

/* =====================================================
   BADGE KOMPONENTEN
   ===================================================== */

/* Hero Badge (z.B. "Coming 2027") */
.hero__badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 30px;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease both;
}

.hero--sand .hero__badge {
    background: rgba(90, 138, 122, 0.15);
    color: var(--color-deep-sage);
}

/* Card Badge (z.B. "Brushsets") */
.card__badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--color-pale-sky);
    color: var(--color-dusty-teal);
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    margin-bottom: var(--space-sm);
}

/* Outline Button für dunkle Hintergründe */
.btn--outline-light {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-white);
    color: var(--color-white);
}

/* =====================================================
   COOKIE BANNER - DSGVO-konform (Dezente Pillenform)
   Kompaktes, elegantes Design passend zur Navigation
   ===================================================== */

.cookie-banner {
    position: fixed;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%) translateY(calc(100% + var(--space-xl)));
    z-index: 9999;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--border-radius-island-sm);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: 
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 620px;
    width: auto;
}

.cookie-banner.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cookie-banner__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--color-dusty-teal);
}

.cookie-banner__icon svg {
    width: 100%;
    height: 100%;
}

.cookie-banner__content {
    flex: 1;
    min-width: 0;
}

.cookie-banner__text {
    font-size: var(--text-sm);
    color: var(--color-charcoal);
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-banner__text a {
    color: var(--color-dusty-teal);
    text-decoration: none;
    font-weight: 500;
}

.cookie-banner__text a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
    font-weight: 500;
    border-radius: 18px;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.cookie-banner__btn--primary {
    background: var(--color-dusty-teal);
    color: var(--color-white);
    border: 1.5px solid var(--color-dusty-teal);
}

.cookie-banner__btn--primary:hover {
    background: var(--color-deep-sage);
    border-color: var(--color-deep-sage);
}

.cookie-banner__btn--secondary {
    background: transparent;
    color: var(--color-warm-gray);
    border: 1.5px solid var(--color-light-gray);
}

.cookie-banner__btn--secondary:hover {
    border-color: var(--color-dusty-teal);
    color: var(--color-dusty-teal);
}

.cookie-banner__btn--link {
    background: none;
    border: none;
    color: var(--color-warm-gray);
    padding: var(--space-xs);
    font-size: 11px;
}

.cookie-banner__btn--link:hover {
    color: var(--color-dusty-teal);
}

/* Cookie-Einstellungen Modal */
.cookie-settings {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: 
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.cookie-settings.is-visible {
    opacity: 1;
    visibility: visible;
}

.cookie-settings__modal {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-settings.is-visible .cookie-settings__modal {
    transform: scale(1) translateY(0);
}

.cookie-settings__header {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--color-light-gray);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
}

.cookie-settings__title {
    font-family: var(--font-primary);
    font-size: var(--text-2xl);
    font-weight: 500;
    color: var(--color-charcoal);
    margin: 0;
}

.cookie-settings__close {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-warm-gray);
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.cookie-settings__close:hover {
    background: var(--color-pale-sky);
    color: var(--color-charcoal);
}

.cookie-settings__body {
    padding: var(--space-xl);
}

.cookie-settings__intro {
    font-size: var(--text-sm);
    color: var(--color-warm-gray);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.cookie-settings__category {
    padding: var(--space-lg);
    background: var(--color-off-white);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-md);
}

.cookie-settings__category:last-of-type {
    margin-bottom: 0;
}

.cookie-settings__category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-sm);
}

.cookie-settings__category-title {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-charcoal);
}

.cookie-settings__category-text {
    font-size: var(--text-sm);
    color: var(--color-warm-gray);
    line-height: 1.6;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle__slider {
    position: absolute;
    inset: 0;
    background: var(--color-light-gray);
    border-radius: 26px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.cookie-toggle__slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform var(--transition-fast);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
    background: var(--color-dusty-teal);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
    transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings__footer {
    padding: var(--space-xl);
    border-top: 1px solid var(--color-light-gray);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: var(--space-md);
        padding: var(--space-md);
        border-radius: 28px;
        max-width: calc(100% - var(--space-xl));
    }
    
    .cookie-banner__inner {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .cookie-banner__icon {
        display: none;
    }
    
    .cookie-banner__text {
        font-size: var(--text-xs);
        text-align: center;
    }
    
    .cookie-banner__actions {
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .cookie-settings__modal {
        max-height: 85vh;
    }
    
    .cookie-settings__header,
    .cookie-settings__body,
    .cookie-settings__footer {
        padding: var(--space-lg);
    }
    
    .cookie-settings__footer {
        flex-direction: column;
    }
    
    .cookie-settings__footer .cookie-banner__btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        width: calc(100% - var(--space-md));
    }
    
    .cookie-settings__title {
        font-size: var(--text-xl);
    }
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, background 0.4s ease;
}

.lightbox.is-active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.92);
}

/* Lightbox Content Container */
.lightbox__container {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.is-active .lightbox__container {
    transform: scale(1) translateY(0);
}

/* Lightbox Image */
.lightbox__image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox__image.is-loaded {
    opacity: 1;
}

/* Lightbox Loader */
.lightbox__loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--color-dusty-teal);
    border-radius: 50%;
    animation: lightbox-spin 0.8s linear infinite;
}

@keyframes lightbox-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.lightbox__image.is-loaded + .lightbox__loader {
    display: none;
}

/* Lightbox Caption */
.lightbox__caption {
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--color-white);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
}

.lightbox.is-active .lightbox__caption {
    opacity: 1;
    transform: translateY(0);
}

.lightbox__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 500;
    margin: 0 0 var(--space-xs);
    color: var(--color-white);
}

.lightbox__subtitle {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Lightbox Navigation Buttons */
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox__nav:focus {
    outline: 2px solid var(--color-dusty-teal);
    outline-offset: 2px;
}

.lightbox__nav svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
    stroke-width: 2;
    fill: none;
}

.lightbox__nav--prev {
    left: var(--space-xl);
}

.lightbox__nav--next {
    right: var(--space-xl);
}

.lightbox__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.lightbox__nav:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
}

/* Lightbox Close Button */
.lightbox__close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.lightbox__close:focus {
    outline: 2px solid var(--color-dusty-teal);
    outline-offset: 2px;
}

.lightbox__close svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-white);
    stroke-width: 2;
}

/* Lightbox Counter */
.lightbox__counter {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
    font-variant-numeric: tabular-nums;
}

/* Gallery Items - Add clickable cursor */
.gallery__item {
    cursor: pointer;
}

.gallery__item:focus {
    outline: 3px solid var(--color-dusty-teal);
    outline-offset: 3px;
}

/* Lightbox Responsive */
@media (max-width: 1024px) {
    .lightbox__nav--prev {
        left: var(--space-md);
    }
    
    .lightbox__nav--next {
        right: var(--space-md);
    }
    
    .lightbox__close {
        top: var(--space-md);
        right: var(--space-md);
    }
}

@media (max-width: 768px) {
    .lightbox__container {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .lightbox__image {
        max-height: 65vh;
    }
    
    .lightbox__nav {
        width: 44px;
        height: 44px;
    }
    
    .lightbox__nav--prev {
        left: var(--space-sm);
    }
    
    .lightbox__nav--next {
        right: var(--space-sm);
    }
    
    .lightbox__nav svg {
        width: 20px;
        height: 20px;
    }
    
    .lightbox__close {
        width: 42px;
        height: 42px;
        top: var(--space-sm);
        right: var(--space-sm);
    }
    
    .lightbox__title {
        font-size: var(--text-lg);
    }
    
    .lightbox__caption {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .lightbox__nav {
        width: 40px;
        height: 40px;
        bottom: 80px;
        top: auto;
        transform: none;
    }
    
    .lightbox__nav--prev {
        left: var(--space-lg);
    }
    
    .lightbox__nav--next {
        right: var(--space-lg);
    }
    
    .lightbox__counter {
        bottom: var(--space-md);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .lightbox,
    .lightbox__container,
    .lightbox__image,
    .lightbox__caption,
    .lightbox__nav,
    .lightbox__close {
        transition: none;
    }
    
    .lightbox__loader {
        animation: none;
    }
}

/* Body lock when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}


/* =====================================================
   PERFORMANCE MODE
   Reduzierte Effekte für ältere/schwächere Geräte
   Wird automatisch via JS aktiviert (.performance-mode auf <html>)
   ===================================================== */

/* --- Performance Mode: Backdrop-Filter deaktivieren --- */
.performance-mode .sidebar,
.performance-mode .nav-toggle,
.performance-mode .cookie-banner,
.performance-mode .cookie-settings__modal,
.performance-mode .lightbox__nav,
.performance-mode .lightbox__close {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Performance Mode: Solide Hintergründe statt Blur */
.performance-mode .sidebar {
    background: rgba(255, 255, 255, 0.97);
}

.performance-mode .nav-toggle {
    background: rgba(255, 255, 255, 0.98);
}

.performance-mode .cookie-banner {
    background: rgba(255, 255, 255, 0.98);
}

.performance-mode .lightbox__nav,
.performance-mode .lightbox__close {
    background: rgba(0, 0, 0, 0.6);
}

/* --- Performance Mode: Vereinfachte Schatten --- */
.performance-mode .sidebar,
.performance-mode .nav-toggle,
.performance-mode .card,
.performance-mode .feature-card,
.performance-mode .section--rounded {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.performance-mode .card:hover,
.performance-mode .feature-card:hover,
.performance-mode .service-teaser:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Performance Mode: Aquarell-Effekt vereinfachen --- */
.performance-mode .hero-watercolor__cloud {
    filter: blur(25px); /* Reduzierter Blur */
}

.performance-mode .hero-watercolor__pigment {
    filter: blur(1px);
}

/* Weniger intensive Farben im Performance Mode */
.performance-mode .hero-watercolor__cloud--teal,
.performance-mode .hero-watercolor__cloud--sage,
.performance-mode .hero-watercolor__cloud--aqua,
.performance-mode .hero-watercolor__cloud--terracotta,
.performance-mode .hero-watercolor__cloud--deep {
    opacity: 0.6;
}

/* --- Performance Mode: Transitions reduzieren --- */
.performance-mode * {
    transition-duration: 0.15s !important;
}

.performance-mode .sidebar,
.performance-mode .sidebar * {
    transition-duration: 0.2s !important;
}

/* --- Performance Mode: Mix-Blend-Mode deaktivieren --- */
.performance-mode .hero-watercolor__cloud {
    mix-blend-mode: normal;
}

/* --- Performance Mode: Kleinere Cloud-Größen --- */
.performance-mode .hero-watercolor__cloud--teal,
.performance-mode .hero-watercolor__cloud--sage {
    width: 350px;
    height: 350px;
}

.performance-mode .hero-watercolor__cloud--aqua,
.performance-mode .hero-watercolor__cloud--terracotta,
.performance-mode .hero-watercolor__cloud--deep {
    width: 280px;
    height: 280px;
}

/* --- Performance Mode: Hover-Effekte vereinfachen --- */
.performance-mode .card:hover,
.performance-mode .service-teaser:hover,
.performance-mode .feature-card:hover {
    transform: translateY(-4px);
}

.performance-mode .gallery__item:hover img {
    transform: scale(1.03);
}

.performance-mode .btn:hover {
    transform: translateY(-1px);
}

/* --- Performance Mode: Sidebar-Animation vereinfachen --- */
@media (min-width: 769px) {
    .performance-mode .sidebar {
        transition: width 0.25s ease !important;
    }
    
    .performance-mode .sidebar__brand,
    .performance-mode .sidebar__tagline,
    .performance-mode .nav__link span,
    .performance-mode .sidebar__footer,
    .performance-mode .sidebar__contact {
        transition: opacity 0.15s ease !important;
    }
}


/* =====================================================
   BILDER PERFORMANCE
   Natives Lazy Loading wird durch HTML-Attribute gesteuert
   ===================================================== */

/* Platzhalter für Bilder während des Ladens */
img[loading="lazy"] {
    background: linear-gradient(135deg, var(--color-pale-sky) 0%, var(--color-soft-sage) 100%);
    background-size: 200% 200%;
}

/* Sanftes Einblenden nach dem Laden */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Performance Mode: Keine Bild-Transitions */
.performance-mode img {
    transition: none;
}


/* ----- Print Styles ----- */
@media print {
    .sidebar,
    .nav-toggle,
    .sidebar-overlay,
    .footer,
    .btn {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .section {
        padding: 1cm 0;
    }
}
