:root {
    --primary-teal: #14b8a6;
    --soft-cyan: #06b6d4;
    --electric-purple: #7c3aed;
    --energy-orange: #ea580c;
    --gold-accent: #f59e0b;

    /* Dunkle Basis */
    --ultra-dark: #0c1116;
    --dark-slate: #1a202c;
    --mid-dark: #2d3748;
    --light-slate: #4a5568;
    --bg-dark: #0f172a;

    /* Gradienten */
    --primary-gradient: linear-gradient(135deg, var(--primary-teal) 0%, var(--soft-cyan) 100%);
    --purple-gradient: linear-gradient(135deg, var(--electric-purple) 0%, #6366f1 100%);
    --energy-gradient: linear-gradient(135deg, var(--energy-orange) 0%, var(--gold-accent) 100%);
    --dark-gradient: linear-gradient(135deg, var(--ultra-dark) 0%, var(--dark-slate) 100%);
    --nav-gradient: linear-gradient(135deg, rgba(12, 17, 22, 0.98) 0%, rgba(26, 32, 44, 0.98) 100%);

    /* Text */
    --text-light: #f7fafc;
    --text-gray: #a0aec0;
    --text-muted: #718096;
    --text-dark: #1a202c;

    /* Shadows & Effects */
    --shadow-soft: 0 4px 20px rgba(20, 184, 166, 0.15);
    --shadow-purple: 0 6px 25px rgba(124, 58, 237, 0.2);
    --shadow-energy: 0 6px 25px rgba(234, 88, 12, 0.2);
    --shadow-heavy: 0 15px 50px rgba(0, 0, 0, 0.3);
    --shadow-nav: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* Transitions & Borders */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --border-radius: 12px;
    --border-radius-large: 16px;
    --border-radius-xl: 24px;
    /* Header metrics */
    --header-offset: 72px;
    /* Einheitliche Höhe für Navbar-Controls (Desktop) */
    --nav-control-h: 44px;

    /* Spacing Scale (konsistente Abstände) */
    --space-0: 0px;
    --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 */
}

/* Mobile-safe main wrapper to avoid content under fixed header and floating UI */
.main-content {
    padding-top: calc(var(--header-offset) + env(safe-area-inset-top, 0px));
}

@media (max-width: 600px) {
    .main-content {
        /* Reserve bottom space so floating chat button/cookie banner doesn't overlap CTA */
        padding-bottom: clamp(56px, 8vh, 96px);
    }
}

/* iOS safe areas for body bottom in general */
body { padding-bottom: max(env(safe-area-inset-bottom, 0px), 0px); }

/* Header & Navigation tweaks for very small screens */
@media (max-width: 480px) {
    .nav-container { 
        padding: 0 0.75rem; 
        gap: 0.5rem;
        min-height: 60px;
    }
    .logo img { 
        height: 36px; 
        max-width: 36px; 
    }
    .logo-text { 
        font-size: 16px; 
        letter-spacing: 0; 
    }
    .nav-icons { 
        gap: 6px; 
    }
    .login-btn, .user-btn { 
        padding: 8px 12px; 
        font-size: 12px; 
        border-radius: 8px;
        white-space: nowrap;
    }
    .login-btn i, .user-btn i {
        font-size: 14px;
    }
    .search-box input { 
        width: 120px;
        padding: 8px 35px 8px 12px;
        font-size: 13px;
    }
    .search-icon {
        right: 10px;
        font-size: 14px;
    }
    .cart-icon {
        padding: 8px;
        font-size: 18px;
    }
    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }
    /* Hamburger kleiner machen */
    .hamburger {
        width: 26px;
        height: 26px;
    }
    .hamburger span {
        height: 2px;
    }
}

@media (max-width: 360px) {
    .logo-text { 
        display: none; 
    }
    .logo {
        gap: 0;
    }
    .search-box input { 
        width: 100px;
        padding: 6px 30px 6px 10px;
        font-size: 12px;
    }
    .nav-container {
        padding: 0 0.5rem;
        gap: 0.25rem;
    }
    .nav-icons {
        gap: 4px;
    }
    .login-btn, .user-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    /* User Button Text kürzen */
    .user-btn {
        max-width: 120px;
    }
    .user-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Zusätzliche Optimierungen für den Header auf Tablets und kleinen Laptops */
@media (max-width: 768px) {
    .header {
        position: fixed;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .logo img {
        height: 42px;
        max-width: 42px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .search-box input {
        width: 180px;
        padding: 10px 40px 10px 14px;
        font-size: 13px;
    }
    
    .login-btn, .user-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .nav-icons {
        gap: 10px;
    }
}

/* Sehr kleine Geräte Optimierung */
@media (max-width: 360px) {
    .logo-text .logo-line.tnt {
        font-size: 14px;
    }
    
    .logo-text .logo-line.enterprise {
        font-size: 12px;
    }
}

/* Landscape-Modus für sehr kleine Geräte */
@media (max-width: 768px) and (max-height: 450px) {
    .header {
        position: fixed;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo img {
        height: 32px;
        max-width: 32px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .login-btn, .user-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .search-box input {
        padding: 6px 30px 6px 10px;
        font-size: 12px;
    }
}

/* Ensure off-canvas menu sits below safe-area and header height is accounted for */
@media (max-width: 1024px) {
  .nav-menu { top: calc(var(--header-offset) + env(safe-area-inset-top, 0px)); }
}

/* Make long headings scale a bit better on mobile */
@media (max-width: 640px) {
  h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  h2 { font-size: clamp(1.2rem, 4.8vw, 1.6rem); }
}

/* Admin/profile/product wrappers that use main-content already get padding; add fallback for common sections without wrapper */
@media (max-width: 768px) {
  .checkout-container,
  .features-section,
  .contact-hero,
  .contact-methods { scroll-margin-top: calc(var(--header-offset) + 12px); }
}

/* Slightly reduce cart icon hit target horizontal footprint on tiny screens */
@media (max-width: 400px) {
  .cart-icon { padding: 10px; }
}

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

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-gradient);
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: var(--nav-gradient);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-nav);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(20, 184, 166, 0.15);
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 0 2rem;
    gap: 2rem;
    flex-wrap: nowrap;
}

/* Entferne alte Grid-Zuordnungen (waren fehlerhaft für Logo+Sprache) */
/* .logo, #translate-container-anchor { grid-column: 1; } */
/* .nav-menu { grid-column: 2; justify-self: center; } */
/* .nav-icons { grid-column: 3; justify-self: end; margin-left: 0; } */

/* Menü mittig auf Desktop per absoluter Positionierung */
@media (min-width: 1025px) {
  .nav-menu { position: absolute; left: 50%; transform: translateX(-50%); }
}

/* Mobile/Tablet: Off-Canvas übernimmt; Desktop-Zentrierung zurücksetzen */
@media (max-width: 1024px) {
  .nav-container {
    justify-content: space-between;
    padding: 0 1rem;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .nav-menu { position: fixed; left: auto; transform: none; }
}

/* Wrap-Erlaubnis für engere Desktops (Flex-Modus) */
@media (max-width: 1100px) {
  .nav-container { flex-wrap: wrap; }
}

/* Mittlere Tablet-Größe (iPad & ähnliche) */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-container {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }

  .logo img {
    height: 46px;
    max-width: 46px;
  }

  .logo-text {
    font-size: 20px;
  }
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

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

.logo img {
    height: 50px;
    width: auto;
    max-width: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(20, 184, 166, 0.4));
    transition: var(--transition);
    border-radius: 6px;
}

.logo:hover img {
    filter: drop-shadow(0 0 16px rgba(20, 184, 166, 0.6));
    transform: scale(1.1);
}

.logo-text {
    font-size: 22px;
    display: flex;
    flex-direction: column;
    line-height: 1;
    white-space: normal;
    transition: var(--transition);
}

/* Einzelne Zeilen erhalten den Farbverlauf */
.logo-text .logo-line {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.logo-text .logo-line.tnt { font-size: 0.85em; opacity: 0.95; }
.logo-text .logo-line.enterprise { font-size: 0.85em; }

.logo:hover .logo-text {
    transform: translateY(-1px);
}

/* Header: Translate anchor neben dem Logo ausrichten */
.nav-container #translate-container-anchor {
  display: flex;
  align-items: center;
  margin-left: 12px;
}
/* Wenn der Anker in .nav-icons steht, keinen linken Rand */
.nav-icons #translate-container-anchor { margin-left: 0; }

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    background: rgba(20, 184, 166, 0.08);
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(20, 184, 166, 0.12);
    backdrop-filter: blur(10px);
}

/* Gemeinsame Link-Styles (mobil + desktop) für die Seitenauswahl */
.nav-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    opacity: 0.95;
}
.nav-menu .nav-link:hover {
    background: rgba(20, 184, 166, 0.15);
    color: var(--primary-teal);
    transform: translateY(-1px);
}
.nav-menu .nav-link.active,
.nav-menu .nav-link[aria-current="page"] {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--soft-cyan) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
}
.nav-menu .nav-link:focus-visible {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* Desktop-Link-Styling in der Seitenauswahl  */
@media (min-width: 1025px) {
  .nav-menu li { list-style: none; }
  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    opacity: 0.95;
  }
  .nav-menu .nav-link:hover {
    background: rgba(20, 184, 166, 0.15);
    color: var(--primary-teal);
    transform: translateY(-1px);
  }
  /* aktiv: via Klasse oder aria-current */
  .nav-menu .nav-link.active,
  .nav-menu .nav-link[aria-current="page"] {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--soft-cyan) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
  }
  .nav-menu .nav-link:focus-visible {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
  }
}

/* Right Side Navigation */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-left: auto;
}
/* Einheitliche vertikale Ausrichtung und Höhe der Controls */
@media (min-width: 481px) {
  .nav-icons > .lang-switcher,
  .nav-icons > #translate-container-anchor,
  .nav-icons > .cart-icon,
  .nav-icons > .user-section,
  .nav-icons > .search-trigger-btn,
  .nav-icons > .hamburger {
    height: var(--nav-control-h);
    display: flex;
    align-items: center;
  }

  /* Language Switcher Button füllt die volle Control-Höhe */
  .nav-icons .lang-switcher-btn {
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1; /* vermeidet zusätzliche Zeilenhöhe */
  }

  /* Warenkorb-Icon als perfektes Quadrat mit zentriertem Inhalt */
  .nav-icons .cart-icon {
    height: var(--nav-control-h);
    min-width: var(--nav-control-h);
    padding: 0 12px; /* seitlich etwas Luft, vertikal durch Höhe geregelt */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .nav-icons .cart-icon i { line-height: 1; }

  /* Login/User Buttons exakt ausrichten */
  .nav-icons .login-btn,
  .nav-icons .user-btn {
    height: var(--nav-control-h);
    min-height: var(--nav-control-h);
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 16px;
    padding-right: 16px; /* seitliche Polsterung konstant */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
}
@media (max-width: 1024px) {
  .nav-icons { margin-left: 0; }
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 12px 45px 12px 18px;
    border: 2px solid rgba(20, 184, 166, 0.25);
    border-radius: 20px;
    outline: none;
    width: 250px;
    background: rgba(12, 17, 22, 0.8);
    color: var(--text-light);
    font-weight: 400;
    font-size: 14px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.search-box input:focus {
    border-color: var(--primary-teal);
    background: rgba(12, 17, 22, 0.95);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
    transform: translateY(-1px);
}

.search-box input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.search-icon {
    position: absolute;
    right: 16px;
    color: var(--primary-teal);
    font-size: 16px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.search-box:hover .search-icon {
    color: var(--soft-cyan);
}

/* User Section */
.user-section {
    position: relative;
}

.login-btn, .user-btn {
    background: linear-gradient(135deg, var(--electric-purple) 0%, #6366f1 100%);
    color: var(--text-light);
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.login-btn::before, .user-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    transition: var(--transition);
}

.login-btn:hover::before, .user-btn:hover::before {
    left: 0;
}

.login-btn:hover, .user-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
}

.login-btn i, .user-btn i {
    font-size: 16px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 16px;
    padding: 8px 0;
    display: none;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(45, 212, 191, 0.1);
    min-width: 220px;
    animation: dropdownFade 0.3s ease-out;
}

/* Sichtbar, wenn per JS die Klasse 'show' gesetzt wird */
.dropdown-menu.show {
    display: block;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    border-radius: 2px;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 14px;
    margin: 2px 8px;
    border-radius: 8px;
}

.dropdown-menu a:hover {
    background: rgba(45, 212, 191, 0.1);
    color: var(--primary-teal);
    transform: translateX(4px);
}

.dropdown-menu a i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

/* Logout Button - konsistent mit anderen Dropdown-Links */
.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--text-light);
    background: none;
    border: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 14px;
    margin: 2px 8px;
    border-radius: 8px;
    cursor: pointer;
    width: calc(100% - 16px);
    text-align: left;
}

.logout-btn:hover {
    background: rgba(45, 212, 191, 0.1);
    color: var(--primary-teal);
    transform: translateX(4px);
}

.logout-btn i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

/* ===== SCHÖNES LOGIN MODAL ===== */
.login-modal-content {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.95));
    border: 2px solid rgba(20, 184, 166, 0.3);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 10px 30px rgba(20, 184, 166, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
    margin: auto;
    position: relative;
}

.login-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.5), transparent);
}

.modal-header {
    background: linear-gradient(135deg, #14b8a6, #0891b2, #7c3aed);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    padding: 2.5rem 2rem;
    position: relative;
    text-align: center;
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.modal-header h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-header h2 i {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.modal-header .close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal-header .close:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 2.5rem 2rem;
}

.login-form .form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

.login-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.login-form label i {
    color: var(--primary-teal);
    font-size: 1rem;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="date"],
.login-form select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(20, 184, 166, 0.2);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.login-form input[type="text"]:focus,
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: rgba(30, 41, 59, 0.9);
    box-shadow:
        0 0 0 3px rgba(20, 184, 166, 0.1),
        0 4px 12px rgba(20, 184, 166, 0.2);
    transform: translateY(-2px);
}

.login-form input::placeholder {
    color: var(--text-gray);
    font-style: italic;
}

/* Password Input Container */
.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    padding-right: 3.5rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--primary-teal);
    background: rgba(20, 184, 166, 0.1);
    transform: scale(1.1);
}

.password-toggle i {
    font-size: 1.1rem;
}

.login-form input.error,
.login-form select.error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.field-error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.field-error-message i {
    font-size: 0.9rem;
}

.login-form input.error:focus,
.login-form select.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1), 0 4px 12px rgba(239, 68, 68, 0.2);
}

.login-form input[type="date"]:focus,
.login-form select:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1), 0 4px 12px rgba(20, 184, 166, 0.2);
    transform: translateY(-2px);
}


/* Login Button */
.btn-login {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #14b8a6, #0891b2);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
    background: linear-gradient(135deg, #0891b2, #14b8a6);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    font-size: 1rem;
}

/* Form Links */
.form-links {
    text-align: center;
    margin-top: 1.5rem;
}

.forgot-password {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-password::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-teal);
}

.forgot-password:hover::after {
    width: 100%;
}

/* Modal Footer */
.modal-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(20, 184, 166, 0.1);
    margin-top: 1.5rem;
}

.modal-footer p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
}

.register-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.register-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s ease;
}

.register-link:hover::after {
    width: 100%;
}

.register-link:hover {
    color: #0891b2;
}

/* ===== FEATURES SECTION - WARUM TNT ENTERPRISE ===== */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg,
        rgba(12, 17, 22, 0.95) 0%,
        rgba(26, 32, 44, 0.9) 50%,
        rgba(12, 17, 22, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

/* Mobile: Reduzierte Paddings */
@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .features-section {
        padding: 40px 0;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

/* Mobile: Responsive Grid */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        gap: 1.25rem;
    }
}

.feature-card {
    background: linear-gradient(145deg,
        rgba(26, 32, 44, 0.9) 0%,
        rgba(45, 55, 72, 0.8) 100%);
    border: 2px solid rgba(20, 184, 166, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 4px 16px rgba(20, 184, 166, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow:
        0 12px 48px rgba(0, 0, 0, 0.4),
        0 8px 24px rgba(20, 184, 166, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, rgba(20, 184, 166, 0.7) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(20, 184, 166, 0.4);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--bg-dark);
}

.feature-content {
    position: relative;
    z-index: 2;
}

.feature-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
    line-height: 1.3;
}

.feature-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.feature-badge {
    display: inline-block;
    margin-top: 1rem;
}

.feature-badge span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 8px;
    color: var(--primary-teal);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-badge span {
    background: rgba(20, 184, 166, 0.25);
    border-color: rgba(20, 184, 166, 0.5);
}

.feature-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-decoration {
    transform: scale(1.3);
    opacity: 0.8;
}

/* Mobile: Kompaktere Feature-Cards */
@media (max-width: 768px) {
    .feature-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .feature-icon i {
        font-size: 1.8rem;
    }

    .feature-content h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .feature-card {
        padding: 1.25rem;
    }
}

/* Mobile: Touch-Feedback für Feature-Cards */
@media (max-width: 768px) {
    .feature-card:active {
        transform: scale(0.98);
        box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.3),
            0 2px 8px rgba(20, 184, 166, 0.1);
    }
}

/* Mission Section Highlights */
.mission-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(20, 184, 166, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-teal);
    transition: all 0.3s ease;
}

.highlight:hover {
    background: rgba(20, 184, 166, 0.15);
    transform: translateX(5px);
}

.highlight i {
    font-size: 1.5rem;
    color: var(--primary-teal);
    min-width: 24px;
}

.highlight span {
    color: var(--text-light);
    font-weight: 600;
}

.mission-visual {
    position: relative;
}

.visual-element {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.visual-element img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.visual-element:hover img {
    transform: scale(1.05);
}

/* Responsive Design für Features */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .feature-icon i {
        font-size: 1.8rem;
    }

    .feature-content h4 {
        font-size: 1.2rem;
    }

    .mission-highlights {
        margin-top: 1.5rem;
    }

    .highlight {
        padding: 0.75rem;
    }
}

/* ===== WARENKORB STYLES ===== */
.cart-icon {
    position: relative;
    background: rgba(20, 184, 166, 0.1);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(20, 184, 166, 0.3);
}

.cart-icon:hover {
    background: rgba(20, 184, 166, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.cart-icon i {
    color: var(--primary-teal);
    font-size: 18px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--energy-orange);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    animation: bounce 0.3s ease;
}

.cart-count.visible {
    display: flex;
}

/* Warenkorb Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100dvh;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.95));
    backdrop-filter: blur(20px);
    border-left: 2px solid rgba(20, 184, 166, 0.3);
    z-index: 10000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-sidebar.active { right: 0; }

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(20, 184, 166, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin: 0;
}

.close-cart {
    background: rgba(239, 68, 68, 0.2);
    border: none;
    color: #ef4444;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    /* Sanftes Scrollen auf iOS */
    -webkit-overflow-scrolling: touch;
    /* Verhindert, dass der Body im Hintergrund mitscrollt/bounct */
    overscroll-behavior: contain;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(26, 32, 44, 0.8);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(20, 184, 166, 0.1);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.quantity-btn {
    background: var(--primary-teal);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--soft-cyan);
}

.quantity {
    color: var(--text-light);
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-price {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.9rem;
}

.remove-item {
    background: rgba(239, 68, 68, 0.2);
    border: none;
    color: #ef4444;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    background: rgba(239, 68, 68, 0.3);
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid rgba(20, 184, 166, 0.2);
    background: rgba(12, 17, 22, 0.8);
    /* Platz für iOS Home-Bar lassen */
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
}

.cart-total {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--soft-cyan));
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 0.5rem;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

.clear-cart-btn {
    width: 100%;
    padding: 0.75rem;
    background: rgba(107, 114, 128, 0.3);
    border: 1px solid rgba(107, 114, 128, 0.5);
    border-radius: 8px;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.clear-cart-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-gray);
}

.cart-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

.cart-empty h3 {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    backdrop-filter: blur(2px);
}

/* Animationen */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-15px,0);
    }
    70% {
        transform: translate3d(0,-7px,0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

.pulse-animation {
    animation: cartPulse 0.6s ease-out;
}

@keyframes cartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar.active { right: 0; }

    /* Bedienelemente etwas größer machen für bessere Touch-Ziele */
    .quantity-btn { width: 32px; height: 32px; font-size: 16px; }
}

/* Body-Scroll-Lock wenn Warenkorb offen (Fallback – Logik in JS) */
body.cart-open {
    overflow: hidden;
    /* Fix gegen Scroll-Jumps auf iOS/Android */
    position: fixed;
    inset: 0; /* top:0; left:0; right:0; bottom:0; */
    width: 100%;
}

/* ===== MODAL STYLES ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.95));
    margin: auto;
    padding: 0;
    border: 2px solid rgba(20, 184, 166, 0.3);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.modal h2 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    padding: 2rem 2rem 0 2rem;
}

.modal form {
    padding: 0 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal input, .modal select {
    width: 100%;
    padding: 1rem;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(20, 184, 166, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.modal input:focus, .modal select:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.modal input::placeholder {
    color: var(--text-gray);
}

.modal button[type="submit"] {
    background: linear-gradient(135deg, var(--primary-teal), var(--soft-cyan));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.modal button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

.modal .close {
    color: var(--text-gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(239, 68, 68, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal .close:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.2);
    transform: rotate(90deg);
}

.modal p {
    color: var(--text-gray);
    text-align: center;
    margin-top: 1rem;
    padding: 0 2rem 1rem 2rem;
}

.modal p a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
}

.modal p a:hover {
    text-decoration: underline;
}

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

/* Animationen für Modals */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }

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

    .modal h2 {
        font-size: 1.5rem;
        padding: 1.5rem 1.5rem 0 1.5rem;
    }

    .modal form {
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

    .modal p {
        padding: 0 1.5rem 1rem 1.5rem;
    }
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: linear-gradient(135deg, rgba(12, 17, 22, 0.98) 0%, rgba(26, 32, 44, 0.98) 100%);
    border-top: 2px solid rgba(20, 184, 166, 0.2);
    margin-top: 4rem;
    backdrop-filter: blur(20px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--primary-teal);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4::before {
    content: '';
    width: 3px;
    height: 20px;
    background: var(--primary-teal);
    border-radius: 2px;
}

.footer-section p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
}

.footer-section ul li a:hover {
    color: var(--primary-teal);
    transform: translateX(5px);
}

.footer-section ul li a::before {
    content: '→';
    color: var(--primary-teal);
    font-weight: bold;
    opacity: 0;
    transition: var(--transition);
}

.footer-section ul li a:hover::before {
    opacity: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(20, 184, 166, 0.3));
    border-radius: 8px;
}

.footer-logo h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(20, 184, 166, 0.1);
    border: 2px solid rgba(20, 184, 166, 0.3);
    border-radius: 50%;
    color: var(--primary-teal);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary-teal);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.4);
}

.footer-bottom {
    background: rgba(12, 17, 22, 0.8);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(20, 184, 166, 0.1);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.5), transparent);
    margin-bottom: 1rem;
}

.footer-bottom p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.9rem;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        padding: 2rem 1rem 1rem 1rem;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        padding: 1rem;
    }
}

/* ===== ÜBER UNS & KONTAKT SEITEN STYLES ===== */
/* About Hero Section */
.about-hero {
    padding: 120px 0 80px 0;
    background: var(--dark-gradient);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Tablet-Optimierungen */
@media (min-width: 769px) and (max-width: 1024px) {
  .mission-section,
  .values-section {
    padding: 60px 0;
  }

  .features-section {
    padding: 80px 0;
  }

  .contact-hero,
  .contact-methods {
    padding: 80px 0;
  }

  /* Produktlisten-Grid für Tablets optimieren */
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }

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

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

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

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* About Hero: H1 sollte nicht zusammenbrechen */
.about-hero .hero-text h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    line-height: 1.2;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

/* --- About-Hero auf kleineren Geräten einspaltig stapeln --- */
@media (max-width: 1024px) {
  .about-hero-content { 
    grid-template-columns: 1fr; 
    gap: var(--space-6); 
  }
  .about-hero .hero-image { justify-self: center; }
}

/* iPad Landscape (1024px) spezielle Anpassungen */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .features-grid {
    gap: 2rem;
  }

  .container {
    padding: 0 2rem;
  }
}

/* Slider Stapelreihenfolge sicherstellen */
.about-hero .image-container { position: relative; }
.about-hero .hero-slider { 
    position: relative; 
    z-index: 10; 
    width: 100%;
    height: 400px;
}
.about-hero .hero-img {
    position: relative;
    z-index: 1;
}
.about-hero .hero-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.about-hero .hero-slide.active {
    display: block;
}

/* Desktop: Slider-Größe */
@media (min-width: 1025px) {
  .about-hero .hero-slider {
    height: 400px;
  }
}

/* Tablet: Slider-Größe */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-hero .hero-slider {
    height: 350px !important;
  }
  .about-hero .image-container {
    width: 100%;
  }
  /* Tablet: H1-Elemente untereinander anzeigen */
  .about-hero .hero-text h1 {
    display: block !important;
  }
}

/* Mobile: Slider-Größe */
@media (max-width: 768px) {
  .about-hero .hero-slider {
    height: 280px !important;
  }
  .about-hero .image-container {
    width: 100%;
  }
  /* Mobile: H1-Elemente untereinander anzeigen */
  .about-hero .hero-text h1 {
    display: block !important;
  }
}

/* About Hero: Desktop Grid-Layout */
@media (min-width: 1025px) {
  .about-hero-content { 
    grid-template-columns: 0.9fr 1.1fr; 
  }
  .about-hero .image-container { 
    width: clamp(560px, 44vw, 700px); 
    max-width: 100%;
  }
  .about-hero .hero-text { margin-left: -12px; }
  /* Desktop: Hero-Text sollte nicht umbrechen */
  .about-hero .hero-text h1 {
    white-space: nowrap;
  }
}

/* About Hero: Desktop 1500px+ - Fixe Größe */
@media (min-width: 1500px) {
  .about-hero .image-container { 
    width: 700px !important;
    max-width: 700px !important;
  }
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background: rgba(26, 32, 44, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Einspaltige Variante wenn keine zweite Spalte (Bild) vorhanden ist */
.mission-content--single {
    grid-template-columns: 1fr !important;
    gap: 2rem;
}

.mission-text {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.mission-text h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.mission-text p {
    margin-bottom: 1.5rem;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: rgba(26, 32, 44, 0.8);
    padding: 2.5rem;
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(20, 184, 166, 0.2);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-teal);
    box-shadow: 0 20px 40px rgba(20, 184, 166, 0.2);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Contact Hero */
.contact-hero {
    padding: 120px 0 80px 0;
    background: linear-gradient(135deg,
        rgba(12, 17, 22, 0.95) 0%,
        rgba(26, 32, 44, 0.9) 50%,
        rgba(12, 17, 22, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

/* --- Contact-Hero auf kleineren Geräten einspaltig --- */
@media (max-width: 1024px) {
  .contact-hero .contact-hero-content { 
    grid-template-columns: 1fr !important; 
    gap: 2rem;
  }
  .contact-hero .hero-visual { 
    justify-content: center; 
  }
  
  /* Stat-Cards anpassen */
  .contact-stats {
    max-width: 100%;
  }
}

/* Tablet: Stat-Cards nebeneinander */
@media (min-width: 768px) and (max-width: 1024px) {
  .contact-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-card.image-card {
    height: 150px;
  }
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(26, 32, 44, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(20, 184, 166, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(26, 32, 44, 0.8);
    border-color: var(--primary-teal);
    transform: translateX(5px);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 1.5rem;
    color: white;
}

.highlight-content {
    display: flex;
    flex-direction: column;
}

.highlight-title {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.highlight-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 300px;
}

.stat-card {
    background: linear-gradient(145deg,
        rgba(26, 32, 44, 0.9) 0%,
        rgba(45, 55, 72, 0.8) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(20, 184, 166, 0.3);
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-teal);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Methods Section */
.contact-methods {
    padding: 100px 0;
    background: rgba(26, 32, 44, 0.3);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* --- Mobile: prevent clipping of contact cards on narrow screens --- */
@media (max-width: 480px) {
  .contact-grid { 
    grid-template-columns: minmax(0, 1fr); 
    gap: 1.25rem; 
  }
  
  .contact-card-header h3 { 
    font-size: clamp(1.1rem, 4vw, 1.3rem); 
  }
}
@media (max-width: 400px) {
  /* reduce inner padding only for this section so a 360px viewport fits without overflow */
  .contact-methods .container { 
    padding: 0 clamp(12px, 3vw, 20px); 
  }
  .contact-card { 
    padding: 1.25rem; 
    border-radius: 14px; 
  }
  .contact-icon { 
    width: 56px; 
    height: 56px; 
  }
  .contact-icon i { 
    font-size: 1.4rem; 
  }
  .contact-card-header h3 { 
    font-size: clamp(1rem, 4.5vw, 1.2rem); 
  }
  .availability { 
    font-size: 0.7rem; 
    padding: 2px 8px; 
  }
  .contact-btn { 
    padding: 0.75rem 0.875rem; 
    font-size: 0.9rem; 
  }
}

.contact-card {
    background: linear-gradient(145deg,
        rgba(26, 32, 44, 0.95) 0%,
        rgba(45, 55, 72, 0.9) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(20, 184, 166, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-teal);
    box-shadow: 0 20px 50px rgba(20, 184, 166, 0.2);
}

.contact-card.priority {
    border-color: var(--primary-teal);
    background: linear-gradient(145deg,
        rgba(20, 184, 166, 0.1) 0%,
        rgba(26, 32, 44, 0.95) 30%);
}

.contact-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.contact-icon.phone {
    background: linear-gradient(135deg, #10b981, #059669);
}

.contact-icon.email {
    background: linear-gradient(135deg, var(--primary-teal), var(--soft-cyan));
}

.contact-icon.location {
    background: linear-gradient(135deg, var(--electric-purple), #6366f1);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-card-header h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.availability {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(20, 184, 166, 0.1);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-item strong {
    color: var(--primary-teal);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.info-item span,
.info-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-teal);
}

.contact-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.contact-btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.contact-btn.secondary {
    background: linear-gradient(135deg, var(--primary-teal), var(--soft-cyan));
    color: white;
}

.contact-btn.tertiary {
    background: linear-gradient(135deg, var(--electric-purple), #6366f1);
    color: white;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: var(--dark-gradient);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg,
        rgba(26, 32, 44, 0.95) 0%,
        rgba(45, 55, 72, 0.9) 100%);
    border-radius: 24px;
    padding: 3rem;
    border: 2px solid rgba(20, 184, 166, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    font-size: 2.5rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.form-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.modern-contact-form {
    display: grid;
    gap: 1.5rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--primary-teal);
    width: 16px;
}

.modern-contact-form input,
.modern-contact-form select,
.modern-contact-form textarea {
    padding: 1rem 1.25rem;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(20, 184, 166, 0.2);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    resize: vertical;
}

.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
    transform: translateY(-2px);
}

.modern-contact-form input::placeholder,
.modern-contact-form textarea::placeholder {
    color: var(--text-gray);
}

/* --- Kontaktformular: schöner "Nachricht senden" Button --- */
.contact-form-section .form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.contact-form-section .submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 1.5rem;
  border-radius: 12px;
  border: 2px solid rgba(20, 184, 166, 0.35);
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--soft-cyan) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.contact-form-section .submit-btn:hover {
  background: linear-gradient(135deg, var(--soft-cyan) 0%, var(--primary-teal) 100%);
  border-color: var(--primary-teal);
}
.contact-form-section .submit-btn:active { box-shadow: 0 6px 18px rgba(20,184,166,0.25); }
.contact-form-section .submit-btn:focus-visible { outline: 3px solid rgba(20,184,166,0.35); outline-offset: 3px; }
.contact-form-section .submit-btn[disabled] {
  opacity: .65;
  cursor: not-allowed;
  filter: grayscale(15%);
  box-shadow: none;
}
.contact-form-section .submit-btn .btn-text i { font-size: 1rem; }

/* --- Neu: Robuste Ausrichtung für Checkbox + Label (Kontaktformular) --- */
.contact-form-section .checkbox-group {
   display: grid;
   grid-template-columns: 22px 1fr;
   align-items: flex-start;
   gap: var(--space-3);
 }
.contact-form-section .checkbox-group input[type="checkbox"] {
   width: 20px;
   height: 20px;
   margin-top: 2px;
   flex: none;
 }
.contact-form-section .checkbox-label {
   display: block;
   line-height: 1.5;
   color: var(--text-light);
 }
.contact-form-section .checkbox-label a {
   color: var(--primary-teal);
   text-decoration: underline;
 }
.contact-form-section .checkbox-label a:hover { color: var(--soft-cyan); }
.contact-form-section .checkbox-label a:focus-visible { outline: 2px solid var(--primary-teal); }

/* --- Mobile/iPhone Fixes: Contact Form --- */
@media (max-width: 640px) {
  /* Verhindert iOS-Zoom beim Fokussieren (min. 16px) und sorgt für größere Touch-Ziele */
  .modern-contact-form input,
  .modern-contact-form select,
  .modern-contact-form textarea {
    font-size: 16px;
    min-height: 48px;
    line-height: 1.35;
  }
  /* iOS: eigenes Dropdown-Pfeilchen und genügend Innenabstand rechts */
  .modern-contact-form select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a0aec0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 2.25rem;
  }
  /* Fokus-Animationen auf sehr kleinen Screens deaktivieren, um Layout-Jumps zu verhindern */
  .modern-contact-form input:focus,
  .modern-contact-form select:focus,
  .modern-contact-form textarea:focus { transform: none; }
  /* Checkboxen auf Mobil besser ausrichten und gut berührbar machen */
  .contact-form-section .checkbox-group { grid-template-columns: 20px 1fr; gap: 0.75rem; }
  .contact-form-section .checkbox-group input[type="checkbox"] { width: 20px; height: 20px; margin-top: 2px; }
}

/* Sehr schmale Geräte: Innenabstände kompakter, um Überlauf zu vermeiden */
@media (max-width: 380px) {
  .form-container { margin: 0 12px; padding: 1.5rem; }
  .form-header h2 { font-size: clamp(1.1rem, 5.6vw, 1.4rem); }
}

/* iOS Rendering-Feinheiten */
html, body { -webkit-text-size-adjust: 100%; }

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

.checkout-container h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Progress Bar */
.checkout-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--dark-gradient);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-soft);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
 top: 25px;
    left: 60%;
    width: 80%;
    height: 2px;
    background: var(--light-slate);
    z-index: 1;
}

.progress-step.completed:not(:last-child)::after,
.progress-step.active:not(:last-child)::after {
    background: var(--primary-gradient);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-slate);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.progress-step.active .step-number {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-soft);
}

.progress-step.completed .step-number {
    background: var(--primary-teal);
    color: white;
}

.step-label {
    color: var(--text-gray);
    font-weight: 500;
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--text-light);
    font-weight: 600;
}

/* Checkout Steps */
.checkout-step {
    display: none;
    background: var(--dark-gradient);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.checkout-step.active {
    display: block;
}

.checkout-step h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Cart Items */
.checkout-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--mid-dark);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.checkout-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.checkout-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-right: 1.5rem;
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-info h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.item-quantity {
    color: var(--text-gray);
    margin-bottom: 0.25rem;
}

.item-price {
    color: var(--primary-teal);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Cart Summary */
.cart-summary {
    background: var(--mid-dark);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.summary-row.total {
    border-top: 1px solid var(--light-slate);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Address Styles */
.no-addresses, .address-warning {
    text-align: center;
    padding: 2rem;
    background: var(--mid-dark);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.no-addresses p, .address-warning p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.address-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.address-section h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.address-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--mid-dark);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.address-option:hover {
    border-color: var(--primary-teal);
    transform: translateY(-2px);
}

.address-option input[type="radio"] {
    margin-right: 1rem;
    accent-color: var(--primary-teal);
}

.address-details {
    color: var(--text-gray);
    line-height: 1.4;
}

/* Order Summary */
.order-summary {
    background: var(--mid-dark);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.summary-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-slate);
}

.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-section h3 {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.address-summary {
    background: var(--dark-slate);
    padding: 1rem;
    border-radius: var(--border-radius);
    color: var(--text-gray);
    line-height: 1.4;
}

.order-item-summary {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.order-item-summary:last-child {
    border-bottom: none;
}

.final-total {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--primary-teal);
    color: var(--text-light);
    font-size: 1.3rem;
}

/* Checkout Actions */
.checkout-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

/* ===== MODERNE BUTTON STYLES FÜR CHECKOUT ===== */
.modern-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.modern-btn:hover::before {
    left: 100%;
}

.modern-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 184, 166, 0.4);
}

.modern-btn:active {
    transform: translateY(-1px);
}

.modern-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.modern-btn:hover i {
    transform: scale(1.1);
}

/* Primary Button (Weiter/Zur Adresse/Bestellung aufgeben) */
.btn-primary.modern-btn {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--soft-cyan) 100%);
    color: white;
}

.btn-primary.modern-btn:hover {
    background: linear-gradient(135deg, var(--soft-cyan) 0%, var(--primary-teal) 100%);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

/* Secondary Button (Zurück/Weiter einkaufen) */
.btn-secondary.modern-btn {
    background: linear-gradient(135deg, var(--light-slate) 0%, var(--mid-dark) 100%);
    color: var(--text-light);
    border: 2px solid rgba(20, 184, 166, 0.3);
}

.btn-secondary.modern-btn:hover {
    background: linear-gradient(135deg, var(--mid-dark) 0%, var(--light-slate) 100%);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2);
}

/* Checkout Actions Container */
.checkout-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Alle anderen Checkout-Buttons modernisieren */
.checkout-step .btn-secondary:not(.modern-btn),
.checkout-step .btn-primary:not(.modern-btn) {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.checkout-step .btn-primary:not(.modern-btn) {
    background: linear-gradient(135deg, var(--primary-teal) 0%, var(--soft-cyan) 100%);
    color: white;
}

.checkout-step .btn-primary:not(.modern-btn):hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--soft-cyan) 0%, var(--primary-teal) 100%);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
}

.checkout-step .btn-secondary:not(.modern-btn) {
    background: linear-gradient(135deg, var(--light-slate) 0%, var(--mid-dark) 100%);
    color: var(--text-light);
    border: 2px solid rgba(20, 184, 166, 0.3);
}

.checkout-step .btn-secondary:not(.modern-btn):hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, var(--mid-dark) 0%, var(--light-slate) 100%);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2);
}

/* Disabled Button State */
.checkout-step .btn-primary:disabled,
.checkout-step .btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    background: var(--light-slate) !important;
    color: var(--text-gray) !important;
    border-color: var(--light-slate) !important;
}

/* Modal Button Container */
.modal-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}

/* Modal Button Styles */
.modal-actions .btn-primary,
.modal-actions .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.modal-actions .btn-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--soft-cyan));
    color: white;
}

.modal-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.3);
}

.modal-actions .btn-secondary {
    background: rgba(var(--light-slate), 0.3);
    color: var(--text-light);
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.modal-actions .btn-secondary:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: var(--primary-teal);
    color: var(--primary-teal);
    transform: translateY(-2px);
}

/* Notification System - Fixed Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: var(--transition);
    pointer-events: none;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.notification-content {
    background: rgba(12, 17, 22, 0.95);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    backdrop-filter: blur(20px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 2px solid transparent;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Success Notifications - Single Green Border */
.notification-success .notification-content {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

/* Error Notifications - Single Red Border */
.notification-error .notification-content {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2);
}

/* Info Notifications - Single Purple Border */
.notification-info .notification-content {
    border-color: var(--electric-purple);
    background: rgba(124, 58, 237, 0.1);
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.2);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    position: relative;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: scale(1.1);
}

.notification-close:active {
    transform: scale(0.95);
}

/* --- Enhanced Language Switcher Dropdown --- */
.lang-switcher { position: relative; }
.lang-switcher-btn { background: linear-gradient(135deg, rgba(20,184,166,0.18) 0%, rgba(14,165,233,0.15) 100%); border:1px solid rgba(20,184,166,0.35); color: var(--text-light); padding:8px 12px; border-radius:10px; font-size:12px; font-weight:600; display:flex; align-items:center; gap:6px; cursor:pointer; backdrop-filter: blur(8px); transition: var(--transition-fast); }
.lang-switcher-btn:hover, .lang-switcher-btn[aria-expanded='true'] { border-color: var(--primary-teal); box-shadow:0 4px 14px rgba(20,184,166,0.35); transform:translateY(-2px); }
.lang-switcher-btn .globe { font-size:14px; filter: drop-shadow(0 0 4px rgba(20,184,166,0.5)); }
/* New: emoji flag in button */
.lang-switcher-btn .flag { font-size:16px; line-height:1; }
.lang-switcher-btn .caret { font-size:10px; opacity:.8; }
.lang-switcher-menu { list-style:none; margin:6px 0 0 0; padding:6px; position:absolute; top:100%; left:0; right:auto; min-width:170px; background:rgba(15,23,42,0.95); border:1px solid rgba(20,184,166,0.35); border-radius:12px; box-shadow:0 12px 32px rgba(0,0,0,0.4); display:none; backdrop-filter:blur(14px); z-index:1200; }
.lang-switcher-menu.open { display:block; animation: fadeInLang .18s ease; }
@keyframes fadeInLang { from { opacity:0; transform:translateY(-4px);} to {opacity:1; transform:translateY(0);} }
.lang-switcher-item { display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:8px; font-size:12px; cursor:pointer; color: var(--text-gray); transition: var(--transition-fast); position:relative; }
/* New: emoji flag in menu items */
.lang-switcher-item .ls-flag { font-size:16px; min-width:22px; text-align:center; }
/* Legacy class kept for compatibility; not used by new UI */
.lang-switcher-item .ls-code { font-weight:700; color: var(--primary-teal); min-width:36px; text-align:center; }
.lang-switcher-item.active { background: linear-gradient(135deg, rgba(20,184,166,0.25) 0%, rgba(14,165,233,0.25) 100%); color: var(--text-light); }
.lang-switcher-item:hover { background: rgba(20,184,166,0.18); color: var(--text-light); }
.lang-switcher-item.active .ls-code { color:#fff; }
.lang-switcher-item:focus { outline:2px solid var(--primary-teal); outline-offset:2px; }

/* Override: Pfeilchen des Language-Menüs links positionieren, wenn es nach rechts ausklappt */
.lang-switcher-menu::before { left: 20px; right: auto; }

/* Place translate container nicely inside nav-icons too */
.nav-icons #translate-container.translate-embedded { position:static !important; background:transparent !important; border:none !important; box-shadow:none !important; padding:0 !important; gap:8px; }
.nav-icons #translate-container.translate-embedded select#gt-language-select,
.nav-icons #translate-container.translate-embedded select.goog-te-combo { background:rgba(20,184,166,0.12) !important; border:1px solid rgba(20,184,166,0.35) !important; border-radius:8px !important; color:var(--text-light) !important; font-size:13px !important; padding:6px 10px !important; outline:none; backdrop-filter:blur(6px); min-width:110px; font-weight:500; height: calc(var(--nav-control-h) - 2px) !important; }
/* Kompakter: gleiche Höhe wie andere Controls */
@media (min-width: 481px) {
  .nav-icons #translate-container.translate-embedded { height: var(--nav-control-h); display:flex; align-items:center; }
  .nav-icons #translate-container.translate-embedded select { height: calc(var(--nav-control-h) - 2px); }
}

/* Dark Theme override */
.dark-theme.nav-icons #translate-container.translate-embedded select#gt-language-select,
.dark-theme.nav-icons #translate-container.translate-embedded select.goog-te-combo { background:rgba(51,65,85,0.4) !important; border:1px solid rgba(148,163,184,0.35) !important; }

/* Mobile: gleiche Höhe für Sprache, Warenkorb und Login */
@media (max-width: 480px) {
  :root { --nav-control-h: 36px; }
  /* Container auf einheitliche Höhe bringen */
  .nav-icons > .lang-switcher,
  .nav-icons > #translate-container-anchor,
  .nav-icons > .cart-icon,
  .nav-icons > .user-section,
  .nav-icons > .search-trigger-btn,
  .nav-icons > .hamburger,
  .nav-container #translate-container-anchor {
    height: var(--nav-control-h);
    display: flex;
    align-items: center;
  }
  /* Button/Select-Elemente vertikal zentrieren und auf Höhe clampen */
  .nav-icons .lang-switcher-btn,
  .lang-switcher-btn {
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
  }
  .nav-icons .cart-icon {
    height: var(--nav-control-h);
    min-width: var(--nav-control-h);
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .nav-icons .login-btn,
  .nav-icons .user-btn {
    height: var(--nav-control-h);
    min-height: var(--nav-control-h);
    padding: 0 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  /* Falls der Google-Translate-Select eingesetzt wird */
  .nav-icons #translate-container.translate-embedded select#gt-language-select,
  .nav-icons #translate-container.translate-embedded select.goog-te-combo,
  #translate-container.translate-embedded select#gt-language-select,
  #translate-container.translate-embedded select.goog-te-combo {
    height: calc(var(--nav-control-h) - 2px) !important;
  }
}

/* Compact height alignment in nav */
.nav-icons #translate-container.translate-embedded { height:44px; display:flex; align-items:center; }
.nav-icons #translate-container.translate-embedded select { height:42px; }

/* MwSt-Hinweise klein und dezent */
.mwst-hint,
.cart-item-mwst-hint,
.checkout-mwst-hint,
.product-mwst-hint {
  display: block;
  font-size: 0.8em; /* generell kleiner */
  color: var(--text-muted);
  margin-top: 4px;
}

/* Warenkorb: noch etwas kleiner */
.cart-item-mwst-hint { font-size: 0.75em; color: #94a3b8; }

/* Checkout: kleine, dezente Darstellung */
.checkout-mwst-hint { font-size: 0.78em; color: #94a3b8; }

/* Produkt-Preis groß + Hinweis darunter */
.product-price-large .mwst-hint { font-size: 0.85rem; color: var(--text-muted); margin-top: 6px; }

/* Produktkarten-Preis + Hinweis darunter */
.product-price .mwst-hint { font-size: 0.75em; color: var(--text-muted); margin-top: 2px; }

/* ===== Mobile Navigation (Hamburger + Off-Canvas) ===== */
.hamburger {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile overlay for off-canvas menu */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 999; /* just under the header (1000) and nav menu (1001) */
}

/* Off-canvas menu base (reusing .nav-menu) */
@media (max-width: 1024px) {
  .nav-container { padding: 0 1rem; }
  .nav-icons { gap: 12px; }
  .nav-menu {
    position: fixed;
    top: calc(var(--header-offset) + env(safe-area-inset-top, 0px));
    right: 0;
    height: calc(100vh - (var(--header-offset) + env(safe-area-inset-top, 0px)));
    width: 82vw;
    max-width: 360px;
    background: rgba(15, 23, 42, 0.98);
    border-left: 1px solid rgba(45, 212, 191, 0.18);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    transform: translateX(100%);
    transition: transform .28s ease;
    z-index: 1001;
  }
  .nav-menu li { width: 100%; }
  .nav-link { width: 100%; justify-content: flex-start; font-size: 15px; padding: 14px 16px; }

  /* Show hamburger, hide inline menu initially */
  .hamburger { display: inline-block; }
}

/* Mobile Layout: Logo + User oben, Icons darunter */
@media (max-width: 768px) {
  .nav-container {
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
  }

  /* Erste Reihe: Logo */
  .logo {
    order: 1;
    flex: 1;
  }

  .nav-icons {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(20, 184, 166, 0.15);
  }

  /* Sprachauswahl mobil sichtbar und kompakter neben dem Logo */
  #translate-container-anchor {
    display: flex;
    align-items: center;
    order: 2;
    margin-left: 0;
  }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
  .nav-container {
    gap: 0.5rem;
  }

  .nav-icons {
    gap: 10px;
    padding-top: 0.5rem;
  }

  /* User Button kompakter machen */
  .user-section .login-btn,
  .user-section .user-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .user-btn span {
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .nav-icons {
    gap: 8px;
  }

  /* Noch kompakter für sehr kleine Bildschirme */
  .user-section .login-btn,
  .user-section .user-btn {
    padding: 6px 10px;
    font-size: 11px;
  }

  .login-btn span:not(.fa-user) {
    display: none;
  }

  .user-btn span:not(.fa-user-circle):not(.fa-chevron-down) {
    display: none;
  }
}

/* Open state controlled via body.nav-open */
body.nav-open { overflow: hidden; }
body.nav-open .nav-menu { transform: translateX(0); }
body.nav-open .mobile-nav-overlay { opacity: 1; pointer-events: auto; }

/* Tweak: reduce hero padding under smaller screens to free space below fixed header */
@media (max-width: 640px) {
  .header .navbar { padding: .75rem 0; }
}

/* Mobile fixes: long headings and chat bubble spacing on Contact */
@media (max-width: 640px) {
  /* Prevent long German headings like “Kontaktmöglichkeiten” from being clipped */
  .section-header h2 { font-size: clamp(1.35rem, 6.5vw, 1.8rem); line-height: 1.2; overflow-wrap: anywhere; word-break: normal; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  /* Contact form title a bit smaller on phones */
  .form-header h2 { font-size: clamp(1.2rem, 6vw, 1.6rem); line-height: 1.25; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  /* Ensure CTA isn’t hidden behind floating chat bubble on small screens */
  .contact-form-section .form-container { padding-bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 72px)); }
  .contact-form-section .form-actions { padding-bottom: 8px; }
}

/* --- Mobile Fix: Contact hero single-column to avoid right-side clipping --- */
@media (max-width: 1024px) {
  .contact-hero .contact-hero-content { 
    grid-template-columns: 1fr !important; 
  }
  .contact-hero .hero-visual { 
    justify-content: center; 
  }
  .contact-hero .contact-stats { 
    max-width: 100%; 
    width: 100%; 
  }
}

/* Große Tablets: Hero bleibt 2-spaltig */
@media (min-width: 1025px) and (max-width: 1366px) {
  .contact-hero-content {
    gap: 3rem;
  }

  .about-hero-content {
    gap: 3rem;
  }
}

/* --- Kontaktformular: Grid auf Mobilgeräten einspaltig und Overflow-Fix --- */
.form-group { min-width: 0; }

/* Tablet: 2-spaltig beibehalten, aber schmaler */
@media (min-width: 769px) and (max-width: 1024px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .contact-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .form-grid { 
    grid-template-columns: 1fr; 
  }
}

.contact-card { min-width: 0; }

/* Spinner Animation für Loading States */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    animation: spin 0.8s linear infinite;
}

/* --- FAQ Section (Kontakt) --- */
.faq-section { padding: var(--space-16) 0; }
.faq-section .section-header { text-align: center; margin-bottom: var(--space-8); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(26, 32, 44, 0.6);
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 14px;
  overflow: hidden;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.faq-item:hover { background: rgba(26, 32, 44, 0.75); border-color: var(--primary-teal); transform: translateY(-1px); }
.faq-item.active { border-color: var(--primary-teal); box-shadow: var(--shadow-soft); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
}
.faq-question h4 {
  margin: 0;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.35;
  flex: 1;
  overflow-wrap: anywhere;
}
.faq-question i {
  color: var(--text-gray);
  transition: transform .25s ease, color .2s ease;
  flex-shrink: 0;
  margin-left: var(--space-2);
}
.faq-item.active .faq-question i { color: var(--primary-teal); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 var(--space-5);
  color: var(--text-gray);
  transition: max-height .3s ease, padding-top .25s ease, color .2s ease;
  will-change: max-height;
}
.faq-item.active .faq-answer { padding-top: var(--space-2); }

/* FAQ: mehr Luft unten in geöffneten Antworten, ohne andere Styles zu ändern */
.faq-item.active .faq-answer {
  padding: var(--space-2) var(--space-5) var(--space-4); /* top | sides | bottom */
}

@media (max-width: 640px) {
  .faq-grid { gap: var(--space-2); }
  .faq-question { padding: var(--space-3) var(--space-4); }
  .faq-question h4 { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer { transition: none; }
  .faq-question i { transition: none; }
}

/* ===== ÜBER UNS HERO SLIDER (Cross-Fade) ===== */
/* Diese Regel ist jetzt in Zeile 2198 definiert und überschreibt diese hier */
/*.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: none;
}*/

/* --- Desktop: Hamburger-Icon sicher ausblenden (überschreibt .nav-icons-Regel) --- */
@media (min-width: 1025px) {
  .hamburger { display: none !important; }
}

/* Contact FAQ: etwas mehr Abstand zum unteren Container-Rand */
.faq-section {
  padding-bottom: calc(var(--space-16) + var(--space-6));
}

