/* SPIEGELBURG IMMOBILIEN - Modern Sidebar Design with Client Color #64645d */

/* CSS Custom Properties */
:root {
    --primary-color: #64645d;
    --primary-light: #7a7a72;
    --primary-dark: #4f4f49;
    --accent-color: #8b8b7e;
    --accent-light: #a5a598;
    --text-primary: #2d2d2a;
    --text-secondary: #5a5a54;
    --text-light: #8b8b7e;
    --background-primary: #ffffff;
    --background-secondary: #f8f9f7;
    --background-accent: #f2f3f1;
    --border-color: #e5e6e3;
    --shadow-sm: 0 2px 4px rgba(100, 100, 93, 0.1);
    --shadow-md: 0 4px 12px rgba(100, 100, 93, 0.15);
    --shadow-lg: 0 8px 25px rgba(100, 100, 93, 0.2);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --sidebar-width: 280px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-secondary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Header */
.header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-top {
    position: relative;
    z-index: 2;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: flex-start;
    padding-left: 0;
}

.logo {
    flex: 0 0 auto;
    margin-right: auto;
    padding-right: 20px;
    padding-left: 0;
}

.contact-info {
    margin-left: auto;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.contact-item i {
    font-size: 16px;
}


/* Main Layout */
.main-layout {
    display: flex;
    min-height: calc(100vh - 300px);
    background: var(--background-primary);
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--background-primary) 0%, var(--background-secondary) 100%);
    border-right: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    height: fit-content;
    min-height: 100vh;
}

.sidebar-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.sidebar-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-nav {
    padding: 20px 0 0 0;
}

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    text-decoration: none;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    font-weight: 500;
    position: relative;
    gap: 12px;
}

.sidebar-nav .nav-link .nav-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    width: 16px;
    text-align: left;
}

.sidebar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: var(--transition);
}

.sidebar-nav .nav-link:hover {
    background: linear-gradient(90deg, rgba(100, 100, 93, 0.05) 0%, transparent 100%);
    color: var(--primary-color);
}

.sidebar-nav .nav-link:hover::before {
    transform: scaleY(1);
}

.sidebar-nav .nav-link:hover .nav-arrow {
    color: var(--primary-color);
}

.sidebar-nav .nav-link.active {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.sidebar-nav .nav-link.active::before {
    transform: scaleY(1);
    background: var(--accent-color);
}

.sidebar-nav .nav-link.active .nav-arrow {
    color: white;
}


/* Main Content */
.main-content {
    flex: 1;
    padding: 0;
    background: var(--background-primary);
}

.content-section {
    padding: 50px 40px;
}

.section-content h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    font-size: 2rem;
}

.section-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--background-accent) 0%, var(--background-secondary) 100%);
    padding: 25px;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    margin: 30px 0;
    box-shadow: var(--shadow-sm);
}

.highlight-box h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0;
    font-weight: 600;
}

/* Services Overview */
.services-overview {
    margin: 50px 0;
}

.services-overview h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-item {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.service-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Stats Section */
.stats-section {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-lg);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    margin: 50px 0;
    padding: 40px;
    background: var(--background-accent);
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.cta-content h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.4rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn.linkedin {
    background: #0077b5;
    color: white;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 30px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-content a:hover {
    color: white;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.mobile-menu-toggle.active {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

/* Mobile Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -280px !important;
        width: 280px !important;
        height: 100vh !important;
        z-index: 1000 !important;
        transition: left 0.3s ease !important;
        box-shadow: var(--shadow-lg) !important;
        background: linear-gradient(180deg, var(--background-primary) 0%, var(--background-secondary) 100%) !important;
        border-right: 1px solid var(--border-color) !important;
        overflow-y: auto !important;
        display: block !important;
    }
    
    .sidebar.mobile-open {
        left: 0 !important;
        transform: translateX(0) !important;
    }
    
    .sidebar-overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 999 !important;
        opacity: 0 !important;
        transition: opacity 0.3s ease !important;
    }
    
    .sidebar-overlay.active {
        display: block !important;
        opacity: 1 !important;
    }
    
    .sidebar-nav {
        display: flex;
        flex-direction: column;
        padding: 20px 0 0 0;
    }
    
    .sidebar-nav .nav-link {
        display: flex;
        align-items: center;
        padding: 18px 25px;
        text-decoration: none;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border-color);
        border-right: none;
        transition: var(--transition);
        font-weight: 500;
        position: relative;
        gap: 12px;
        min-width: auto;
        justify-content: flex-start;
        white-space: nowrap;
    }
    
    .sidebar-nav .nav-link .nav-arrow {
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--accent-color);
        width: 16px;
        text-align: left;
    }
    
    .sidebar-nav .nav-link:hover {
        background: linear-gradient(90deg, rgba(100, 100, 93, 0.05) 0%, transparent 100%);
        color: var(--primary-color);
    }
    
    .sidebar-nav .nav-link:hover .nav-arrow {
        color: var(--primary-color);
    }
    
    .sidebar-nav .nav-link.active {
        background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
        color: white;
    }
    
    .sidebar-nav .nav-link.active .nav-arrow {
        color: white;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .logo {
        padding-right: 60px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 15px;
        padding: 0 10px;
    }
    
    .logo {
        flex: 0 0 auto;
        padding-right: 10px;
        margin-right: auto;
    }
    
    .mobile-menu-toggle {
        margin-left: auto;
    }
    
    .logo h1 {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .contact-info {
        display: none; /* Hide contact info on mobile to save space */
    }
    
    .mobile-menu-toggle {
        display: block;
        padding: 12px;
        font-size: 1.3rem;
        min-width: 44px;
        min-height: 44px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-item {
        padding: 25px 20px;
        text-align: center;
    }
    
    .service-icon {
        margin: 0 auto 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .social-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-left,
    .footer-right {
        width: 100%;
    }
    
    .footer-left p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .footer-right p {
        font-size: 1rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
    }
}

@media (max-width: 480px) {
    /* Enhanced mobile typography */
    .logo h1 {
        font-size: 1.2rem;
        font-weight: 700;
    }
    
    .tagline {
        font-size: 0.75rem;
    }
    
    .section-content h2 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .lead {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    /* Improved mobile navigation */
    .sidebar {
        width: 100%;
        max-width: 320px;
    }
    
    .sidebar-nav {
        flex-direction: column;
        padding: 15px 0 0 0;
    }
    
    .sidebar-nav .nav-link {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        min-width: auto;
        justify-content: flex-start;
        padding: 20px 25px;
        font-size: 1.1rem;
        min-height: 56px; /* Better touch target */
    }
    
    .sidebar-nav .nav-link .nav-arrow {
        font-size: 1.3rem;
        width: 20px;
    }
    
    .sidebar-header {
        padding: 20px;
    }
    
    .sidebar-header h3 {
        font-size: 1.1rem;
    }
    
    /* Mobile content improvements */
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .content-section {
        padding: 25px 20px;
    }
    
    .section-content h2::after {
        width: 60px;
        height: 3px;
    }
    
    /* Enhanced service items for mobile */
    .service-item {
        padding: 25px 20px;
        margin-bottom: 15px;
    }
    
    .service-item h4 {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .service-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .service-icon i {
        font-size: 1.3rem;
    }
    
    /* Mobile stats grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Mobile highlight box */
    .highlight-box {
        padding: 20px;
        margin: 25px 0;
    }
    
    .highlight-box h3 {
        font-size: 1.2rem;
    }
    
    /* Mobile CTA section */
    .cta-section {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    /* Mobile footer improvements */
    .footer {
        padding: 25px 0;
    }
    
    .footer-left p {
        font-size: 0.85rem;
        line-height: 1.7;
    }
    
    .footer-right p {
        font-size: 0.9rem;
        margin-top: 10px;
    }
    
    /* Mobile button improvements */
    .mobile-menu-toggle {
        min-width: 48px;
        min-height: 48px;
        padding: 14px;
        font-size: 1.2rem;
    }
    
    /* Container padding for mobile */
    .container {
        padding: 0 15px;
    }
    
    /* Mobile header improvements */
    .header-top {
        padding: 15px 0;
    }
    
    .header-content {
        padding: 0 5px;
    }
}

/* About Us Page Styles */
.about-content {
    width: 100%;
}

.experience-section {
    margin: 50px 0;
}

.experience-section h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.6rem;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.experience-item {
    background: white;
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.experience-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.experience-icon i {
    font-size: 1.8rem;
    color: white;
}

.experience-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.experience-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Service Areas */
.service-areas {
    margin: 50px 0;
}

.service-areas h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.6rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.area-item {
    background: linear-gradient(135deg, var(--background-accent) 0%, var(--background-secondary) 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.area-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.area-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.area-item span {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
.nav-link:focus,
.social-btn:focus,
.footer-content a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Contact Page Styles */
.contact-content {
    width: 100%;
}

.email-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    font-size: 1.2rem;
}

.email-contact i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.email-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.email-contact a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.contact-card {
    background: white;
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid var(--primary-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-card p a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card p a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.contact-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.contact-btn.email-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.contact-btn.phone-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-btn i {
    font-size: 1.2rem;
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .email-contact {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Impressum Page Styles */
.impressum-content {
    width: 100%;
    margin-bottom: 50px;
}

.company-info {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.company-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.company-info p {
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-details, .legal-info {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.contact-row, .legal-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-label, .legal-label {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 120px;
    margin-right: 15px;
}

.contact-value, .legal-value {
    color: var(--text-primary);
    flex: 1;
}

.contact-value a, .legal-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-value a:hover, .legal-value a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.privacy-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.privacy-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
    font-size: 2rem;
}

.privacy-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.privacy-intro {
    background: var(--background-accent);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-color);
}

.privacy-intro p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.privacy-intro p:last-child {
    margin-bottom: 0;
}

.privacy-sections {
    margin-bottom: 40px;
}

.privacy-item {
    background: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    transition: var(--transition);
}

.privacy-item:hover {
    box-shadow: var(--shadow-md);
}

.privacy-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.privacy-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.privacy-item p:last-child {
    margin-bottom: 0;
}

.responsible-party {
    background: var(--background-secondary);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    border-left: 3px solid var(--accent-color);
}

.responsible-party p {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.responsible-party a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.responsible-party a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.contact-privacy {
    margin-top: 40px;
}

.privacy-contact {
    margin-top: 20px;
}

.privacy-contact p {
    color: var(--text-primary);
    line-height: 1.6;
}

.privacy-contact i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 16px;
}

.privacy-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.privacy-contact a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Responsive adjustments for impressum page */
@media (max-width: 768px) {
    .contact-row, .legal-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .contact-label, .legal-label {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .company-info, .contact-details, .legal-info, .privacy-item {
        padding: 20px;
    }
    
    .privacy-intro {
        padding: 20px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

.cookie-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: var(--transition);
}

.cookie-text a:hover {
    color: white;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cookie-btn.accept {
    background: white;
    color: var(--primary-color);
}

.cookie-btn.accept:hover {
    background: var(--background-secondary);
    transform: translateY(-1px);
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cookie-btn.settings {
    background: var(--accent-color);
    color: white;
}

.cookie-btn.settings:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .cookie-btn {
        min-width: 120px;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Privacy Page Additional Styles */
.privacy-content {
    width: 100%;
}

.definition-list {
    margin: 20px 0;
}

.definition-item {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
}

.definition-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.definition-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.legal-notice {
    margin-top: 40px;
    padding: 20px;
    background: var(--background-accent);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent-color);
}

.legal-notice p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.legal-notice a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.legal-notice a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--background-accent) 0%, var(--background-secondary) 100%);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.cookie-modal-header h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: var(--transition);
}

.cookie-modal-close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-modal-body > p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.cookie-category {
    background: var(--background-secondary);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-color);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cookie-category p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Cookie Switch Styles */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--transition);
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--primary-color);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    background-color: var(--accent-color);
    cursor: not-allowed;
}

input:disabled + .cookie-slider:before {
    background-color: #f0f0f0;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    background: var(--background-accent);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

/* Cookie Modal Responsive */
@media (max-width: 768px) {
    .cookie-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cookie-switch {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .cookie-modal-content {
        width: 98%;
        margin: 10px;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 15px;
    }
}

/* Modern Mobile-First Enhancements */
@media (max-width: 768px) {
    /* Improved touch interactions */
    .nav-link,
    .social-btn,
    .contact-btn,
    .cookie-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better spacing for mobile */
    .services-overview {
        margin: 40px 0;
    }
    
    .services-overview h3 {
        font-size: 1.4rem;
        margin-bottom: 25px;
    }
    
    /* Mobile-optimized animations */
    .service-item:hover {
        transform: translateY(-2px);
    }
    
    /* Improved mobile readability */
    body {
        font-size: 16px;
        line-height: 1.7;
    }
    
    /* Better mobile form elements */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px;
        border-radius: var(--border-radius);
    }
}

@media (max-width: 480px) {
    /* Ultra-mobile optimizations */
    .services-grid {
        gap: 15px;
    }
    
    /* Improved mobile typography hierarchy */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.2rem; }
    
    /* Better mobile spacing */
    .main-content {
        padding-top: 0;
    }
    
    /* Mobile-first button styling */
    .social-btn,
    .contact-btn {
        padding: 16px 20px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    /* Improved mobile navigation experience */
    .sidebar-nav .nav-link {
        font-size: 1rem;
        padding: 18px 20px;
    }
    
    /* Better mobile content flow */
    .content-section {
        padding: 20px 15px;
    }
    
    .section-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* Modern Mobile Utilities */
@media (max-width: 768px) {
    /* Hide elements that are not essential on mobile */
    .desktop-only {
        display: none !important;
    }
    
    /* Show mobile-specific elements */
    .mobile-only {
        display: block !important;
    }
    
    /* Improved mobile scrolling */
    html {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Better mobile tap highlights */
    * {
        -webkit-tap-highlight-color: rgba(100, 100, 93, 0.2);
    }
    
    /* Improved mobile focus states */
    .nav-link:focus,
    .social-btn:focus,
    .contact-btn:focus,
    .cookie-btn:focus {
        outline: 3px solid var(--accent-color);
        outline-offset: 2px;
    }
}

/* Modern Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce motion for better performance on mobile */
    .service-item,
    .experience-item,
    .contact-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    /* Optimize animations for mobile */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Modern Mobile Accessibility */
@media (max-width: 768px) {
    /* Ensure sufficient color contrast */
    .text-light {
        color: var(--text-secondary);
    }
    
    /* Better focus indicators for mobile */
    button:focus,
    a:focus,
    input:focus,
    textarea:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
    
    /* Improved mobile text selection */
    ::selection {
        background-color: var(--primary-color);
        color: white;
    }
    
    ::-moz-selection {
        background-color: var(--primary-color);
        color: white;
    }
}