/* ==========================================================================
   GIGA Projektmanagement GmbH - Main Stylesheet
   Version: 2.1.0
   Author: GIGA Web Team
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables & Reset
   ========================================================================== */

:root {
    /* Colors */
    --primary-color: #336633;
    --primary-light: #4d8c4d;
    --primary-lighter: #66b366;
    --primary-dark: #264d26;
    --primary-darkest: #1a331a;
    
    /* Text Colors */
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --text-light: #6e6e73;
    --text-inverse: #ffffff;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #fbfbfd;
    --bg-section: #f5f5f7;
    --bg-dark: #1d1d1f;
    
    /* Borders & Shadows */
    --border-light: rgba(0, 0, 0, 0.1);
    --border-lighter: rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 5px -1px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.16);
    
    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
}

/* ==========================================================================
   2. Base Styles & Reset
   ========================================================================== */

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.05;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    line-height: 1.08;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.1;
}

h4 {
    font-size: 1.125rem;
}

p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

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

a:hover {
    opacity: 0.8;
}

strong {
    font-weight: 600;
}

/* ==========================================================================
   4. Layout Components
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

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

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

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--text-inverse);
    padding: var(--spacing-xs) var(--spacing-sm);
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   5. Header & Navigation
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 9999;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
}

nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity var(--transition-fast);
    height: 100%;
}

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

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-fast);
}

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

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

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

/* ==========================================================================
   6. Hero Section
   ========================================================================== */

.hero {
    padding-top: 48px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg-light) 0%, var(--bg-white) 50%);
}

.hero-background {
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

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

.hero-content {
    padding: var(--spacing-3xl) 0;
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(51, 102, 51, 0.08) 0%, transparent 60%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, -30px) scale(1.05); }
    66% { transform: translate(20px, -40px) scale(0.95); }
}

.hero h1 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero h1 .accent {
    color: var(--primary-color);
    display: inline-block;
    animation: colorPulse 4s ease infinite;
}

@keyframes colorPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero .subtitle {
    font-size: 1.125rem;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-inverse);
    padding: 0.875rem 1.75rem;
    border-radius: 980px;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    color: var(--text-inverse);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-background {
        width: 100%;
        right: 0;
        opacity: 0.08;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    }
}

/* ==========================================================================
   7. About Section
   ========================================================================== */

.about {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-white);
    position: relative;
}

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

.about-content h2 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.about-content p {
    font-size: 1.1875rem;
    line-height: 1.4737;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.about-visual {
    position: relative;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ==========================================================================
   8. Contact Section
   ========================================================================== */

.contact {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-white);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.contact-intro {
    font-size: 1.3125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-3xl);
}

.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--bg-light);
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--bg-white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(51, 102, 51, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #dc3545;
}

.error-message {
    display: none;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.form-group.error .error-message {
    display: block;
}

/* Checkbox - Perfekte Ausrichtung */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--bg-white);
    border: 2px solid var(--border-light);
    border-radius: 4px;
    position: relative;
    transition: var(--transition-fast);
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(51, 102, 51, 0.1);
}

.checkbox-label input[type="checkbox"]:hover {
    border-color: var(--primary-color);
}

.checkbox-label span {
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-primary);
}

.checkbox-label span a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-group.error .checkbox-label span {
    color: #dc3545;
}

.form-group.error .checkbox-label input[type="checkbox"] {
    border-color: #dc3545;
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--text-inverse);
    border: none;
    border-radius: 12px;
    font-size: 1.0625rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    margin-top: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-btn .btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline-block;
}

.form-message {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-radius: 8px;
    font-size: 0.875rem;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ==========================================================================
   9. Footer
   ========================================================================== */

.footer-apple {
    background-color: #f5f5f7;
    color: #1d1d1f;
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 400;
    letter-spacing: -0.01em;
    padding-top: 20px;
    position: relative;
    z-index: 1;
}

.footer-main {
    padding: 40px 0;
    border-bottom: 1px solid #d2d2d7;
}

.footer-brand {
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 13px;
    color: #6e6e73;
    font-weight: 400;
}

.footer-directory {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    min-width: 0;
}

.footer-heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9.6px;
}

.footer-links a {
    color: #424245;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

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

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    flex: 1;
}

.footer-legal p {
    color: #6e6e73;
    margin-bottom: 8px;
}

.footer-legal-info {
    font-size: 11px;
    color: #86868b;
}

.footer-legal-info .separator {
    margin: 0 8px;
    color: #d2d2d7;
}

.footer-locale {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #424245;
    font-size: 12px;
}

.footer-locale i {
    font-size: 16px;
}

.footer-links a:focus,
.footer-locale:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ==========================================================================
   10. Legal Pages
   ========================================================================== */

.legal-page {
    padding-top: 48px;
    min-height: 100vh;
    background-color: var(--bg-white);
}

.page-header {
    position: relative;
    padding: 120px 0 60px;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    opacity: 0.1;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    line-height: 1.381;
    color: var(--text-secondary);
}

.legal-content {
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 16px;
}

.legal-section p,
.legal-section address,
.legal-section ul {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.legal-section address {
    font-style: normal;
}

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

.legal-section ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.legal-section ul li i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-info-card {
    background-color: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    margin: 32px 0;
}

.legal-info-card h3 {
    margin-top: 0;
}

/* ==========================================================================
   11. Cookie Banner
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.cookie-banner:not([hidden]) {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.cookie-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cookie-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.cookie-accept {
    background-color: var(--primary-color);
    color: var(--text-inverse);
    border: none;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cookie-accept:hover {
    background-color: var(--primary-dark);
}

.cookie-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-decoration: underline;
}

/* ==========================================================================
   12. Animations
   ========================================================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-inverse);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   13. Responsive Design
   ========================================================================== */

@media (max-width: 1068px) {
    .footer-directory {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 48px;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo img {
        height: 32px;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .about-visual {
        height: 300px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .page-header {
        padding: 80px 0 40px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .legal-section h2 {
        font-size: 20px;
    }
    
    .legal-section h3 {
        font-size: 16px;
    }
    
    .legal-section p,
    .legal-section address,
    .legal-section ul {
        font-size: 15px;
    }
    
    .footer-apple {
        font-size: 12px;
    }
    
    .footer-main {
        padding: 32px 0;
    }
    
    .footer-directory {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-column {
        border-bottom: 1px solid #d2d2d7;
        padding-bottom: 24px;
    }
    
    .footer-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-legal-info {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .footer-legal-info .separator {
        display: none;
    }
    
    /* Checkbox mobile */
    .checkbox-label {
        align-items: flex-start;
    }
    
    .checkbox-label input[type="checkbox"] {
        margin-top: 2px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.875rem;
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ==========================================================================
   14. Print Styles
   ========================================================================== */

@media print {
    header,
    footer,
    .cookie-banner,
    .cta-button,
    .submit-btn,
    .theme-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .hero {
        min-height: auto;
        padding: 2cm 0;
    }
    
    .hero-background {
        display: none;
    }
}

/* ==========================================================================
   15. Accessibility & Dark Mode
   ========================================================================== */

:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --primary-color: #003300;
        --text-primary: #000000;
        --text-secondary: #333333;
        --bg-white: #ffffff;
        --bg-light: #f0f0f0;
        --border-light: #000000;
    }
    
    .cta-button,
    .submit-btn {
        border: 2px solid currentColor;
    }
}

[data-theme="dark"] {
    --text-primary: #f5f5f7;
    --text-secondary: #a1a1a6;
    --bg-white: #000000;
    --bg-light: #1d1d1f;
    --bg-section: #2d2d30;
    --border-light: rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] header {
    background: rgba(29, 29, 31, 0.72);
}

[data-theme="dark"] .footer-apple {
    background-color: #1d1d1f;
    color: #f5f5f7;
}

[data-theme="dark"] .footer-links a {
    color: #a1a1a6;
}

[data-theme="dark"] .legal-info-card {
    background-color: #2d2d30;
}

[data-theme="dark"] .cookie-banner {
    background-color: #1d1d1f;
    border-top-color: rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background-color: #2d2d30;
    border-color: rgba(255, 255, 255, 0.16);
    color: #f5f5f7;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    background-color: #1d1d1f;
    border-color: var(--primary-lighter);
}

[data-theme="dark"] .checkbox-label input[type="checkbox"] {
    background-color: #2d2d30;
    border-color: rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .checkbox-label span {
    color: #f5f5f7;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-light);
    border: 2px solid var(--border-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.theme-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle {
    background-color: #2d2d30;
    border-color: rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
    color: #ffd700;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

.accessibility-info {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: var(--bg-light);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    pointer-events: none;
    z-index: 999;
}

.theme-toggle:hover + .accessibility-info,
.theme-toggle:focus + .accessibility-info {
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .accessibility-info {
    background-color: #2d2d30;
    color: #f5f5f7;
}

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

@media (max-width: 768px) {
    .theme-toggle {
        bottom: 70px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .accessibility-info {
        display: none;
    }
}

/* ==========================================================================
   11. Cookie Banner & Theme Notification
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform var(--transition);
}

.theme-notification {
    position: fixed;
    bottom: 80px;
    right: 20px;
    max-width: 320px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    z-index: 9998;
    opacity: 1;
    transition: var(--transition);
    animation: slideInRight 0.4s ease;
}

.theme-notification p {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-sm) 0;
    padding-right: 24px;
}

.notification-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.notification-close:hover {
    background-color: var(--bg-light);
    color: var(--text-primary);
}

.notification-close:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

[data-theme="dark"] .theme-notification {
    background-color: #2d2d30;
    border-color: rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .theme-notification p {
    color: #f5f5f7;
}

[data-theme="dark"] .notification-close {
    color: #a1a1a6;
}

[data-theme="dark"] .notification-close:hover {
    background-color: #1d1d1f;
    color: #f5f5f7;
}