/* Global Styles - AegisSight Corporate Design */
:root {
    /* Primärfarben (Logo) */
    --color-navy: #0A1832;
    --color-gold: #C8A851;
    --color-gold-light: #D4B96A;
    --color-gold-dark: #B39645;

    /* Navy-Abstufungen */
    --color-navy-light: #132844;
    --color-navy-dark: #060F20;

    /* Blau-Akzent (abgeleitet von Navy, für Links/Buttons) */
    --color-blue: #0f72b5;
    --color-blue-hover: #0d62a0;

    /* Neutrale Farben */
    --color-white: #FFFFFF;
    --color-gray-50: #F8FAFB;
    --color-gray-100: #f4f4f4;
    --color-gray-200: #e0e0e0;
    --color-gray-600: #666666;
    --color-gray-800: #333333;

    /* Spacing-System (8px-Grid) */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 80px;
    --space-4xl: 96px;

    /* Border-Radius-System */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;

    /* Z-Index-Skala */
    --z-content: 1;
    --z-sticky: 100;
    --z-overlay: 1000;
    --z-modal: 9000;
    --z-cookie: 10000;

    /* Shadows */
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.15);

    /* Legacy Aliases (für Rückwärtskompatibilität) */
    --primary-blue: var(--color-blue);
    --dark-blue: var(--color-blue-hover);
    --accent-gold: var(--color-gold);
    --light-gray: var(--color-gray-100);
    --white: var(--color-white);
    --text-dark: var(--color-gray-800);
    --text-gray: var(--color-gray-600);
    --border-gray: var(--color-gray-200);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Disable text selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--color-navy);
    color: var(--color-gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

#about .section-title {
    color: var(--color-navy);
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Skip Navigation */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
    z-index: var(--z-overlay);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--color-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--color-navy);
    transform: translateY(-2px);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-navy);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-extras {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--color-gray-200);
    color: var(--color-navy);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-toggle:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(15, 114, 181, 0.3);
}

/* Buttons */
.cta-button,
.primary-button,
.secondary-button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-button,
.primary-button {
    background: var(--primary-blue);
    color: var(--white);
}

.cta-button,
.primary-button {
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover::before,
.primary-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover,
.primary-button:hover {
    background: var(--dark-blue);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(15, 114, 181, 0.4);
}

.secondary-button {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.secondary-button:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    background: var(--color-navy);
    overflow: hidden;
}

/* Hero Video Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: var(--color-navy);
}

/* Hero Videos */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    filter: brightness(0.8) contrast(1.1); /* Slightly darker and more contrast like Palantir */
}

.hero-video.active {
    opacity: 0.6; /* Clearly visible like Palantir */
}

.hero-video.fading-out {
    opacity: 0;
}

/* Light Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(20, 20, 20, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

/* Video Indicators removed - clean look without dots */

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    opacity: 0.4;
}

.hero-content {
    text-align: left;
    z-index: 5;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    margin-bottom: 2rem;
    text-align: left;
}

.subtitle {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 400;
    opacity: 0.9;
}

.main-title {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    color: var(--color-white);
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-align: left;
    letter-spacing: 2px;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--white);
    opacity: 0.95;
    text-align: left;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-cta .primary-button,
.hero-cta .secondary-button {
    background: var(--white);
    color: var(--primary-blue);
}

.hero-cta .primary-button:hover {
    background: var(--light-gray);
}

.hero-cta .secondary-button {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-cta .secondary-button:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* About Section */
.about-section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.about-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-gray);
}

.about-tab {
    background: transparent;
    border: none;
    color: var(--text-gray);
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.about-tab.active {
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
}

.about-tab:hover {
    color: var(--primary-blue);
    background: var(--light-gray);
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.about-panel.active {
    display: block;
}

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

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.panel-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.panel-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 4px;
    margin-top: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.location-badge:hover {
    background: var(--dark-blue);
    color: var(--white);
}

.location-badge img {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(82%) saturate(723%) hue-rotate(178deg) brightness(98%) contrast(92%);
    transition: filter 0.3s ease;
}

.location-badge:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.shield-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-animation svg {
    width: 300px;
    height: 300px;
}

/* Mission & Values */
.mission-grid {
    text-align: center;
}

.mission-statement h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.value-card {
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(15, 114, 181, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.value-card:hover::before {
    animation: shimmer 0.6s;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(10, 24, 50, 0.12);
    background: linear-gradient(135deg, var(--color-gray-100) 0%, rgba(10, 24, 50, 0.03) 100%);
}

.value-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--primary-blue);
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.principle-note {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: left;
}

/* Competencies */
.competencies-list {
    display: grid;
    gap: 1.5rem;
}

.competency-item {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.competency-item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(10px);
}

.competency-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.3;
}

.competency-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Why AegisSight */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.why-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    transition: left 0.6s;
}

.why-card:hover::before {
    left: 100%;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(10, 24, 50, 0.12);
    border-color: var(--color-navy);
    background: linear-gradient(135deg, var(--color-white) 0%, rgba(10, 24, 50, 0.02) 100%);
}

.why-card:hover .why-icon {
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.why-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Products Section */
.products-section {
    padding: var(--space-4xl) 0;
    background: var(--color-gray-100);
}

.product-showcase {
    background: var(--white);
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

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

.product-header h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.product-description {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--text-gray);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

.tools-grid.collapsed {
    max-height: 0;
    margin-bottom: 0;
    opacity: 0;
}

.expand-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.expand-button:hover {
    background: var(--primary-blue);
    color: white;
}

.expand-button .expand-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.expand-button[data-expanded="true"] .expand-icon {
    transform: rotate(180deg);
}

.tool-card {
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.tool-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 114, 181, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.tool-card:hover::after {
    opacity: 1;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(10, 24, 50, 0.15);
    border-color: rgba(10, 24, 50, 0.2);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-100) 100%);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(15, 114, 181, 0.3));
}

.tool-icon {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.tool-icon svg {
    width: 100%;
    height: 100%;
}

.tool-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.tool-features ul {
    list-style: none;
    padding: 0;
}

.tool-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.tool-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.product-cta {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Protected Product */
.product-protected {
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
}

.protected-header {
    margin-bottom: 2rem;
}

.lock-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.lock-icon svg {
    width: 100%;
    height: 100%;
}

.protected-header h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.protected-notice {
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.protected-content {
    color: var(--text-gray);
}

/* Contact Section */
.contact-section {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-form-wrapper h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    color: var(--color-gray-800);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(15, 114, 181, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
}

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

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.contact-items {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--primary-blue);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-details h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-blue);
}

.secure-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.security-notice {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-blue);
    border-radius: 4px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.notice-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    color: var(--primary-blue);
}

.notice-icon svg {
    width: 100%;
    height: 100%;
}

.notice-text h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-banner .primary-button,
.cta-banner .secondary-button {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-banner .secondary-button {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-banner .secondary-button:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.certifications {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cert-icon {
    width: 50px;
    height: 50px;
    opacity: 0.8;
}

.cert-icon svg {
    width: 100%;
    height: 100%;
    color: var(--white);
}

.cert-name {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Legal Section */
.legal-section {
    padding: var(--space-4xl) 0;
    background: var(--color-gray-100);
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.legal-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
}

.legal-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.legal-content {
    line-height: 1.8;
    color: var(--text-dark);
}

.legal-content h4 {
    color: var(--primary-blue);
    margin: 1.5rem 0 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--color-navy-dark);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-gold);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title .main-title {
        font-size: 2rem;
    }
    
    .about-tabs {
        flex-wrap: wrap;
    }
    
    .panel-grid,
    .values-grid,
    .why-grid,
    .contact-grid,
    .legal-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons,
    .hero-cta {
        flex-direction: column;
    }
}

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

@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Germany Map Styles */
.germany-map-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.germany-base-map {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.95) contrast(1.05);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-overlay .langenfeld-pin,
.map-overlay .nrw-highlight {
    pointer-events: all;
}

.nrw-highlight {
    animation: dashAnimation 20s linear infinite;
    transition: all 0.3s ease;
}

@keyframes dashAnimation {
    to {
        stroke-dashoffset: -30;
    }
}

.nrw-highlight:hover {
    stroke-width: 4;
    stroke: #ff0000;
}

.langenfeld-pin {
    cursor: pointer;
    transition: all 0.3s ease;
}

.langenfeld-pin:hover {
    transform: translate(210px, 420px) scale(1.15);
}

.langenfeld-pin .pulse-ring {
    animation: pulse 2s infinite;
    transform-origin: center;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(2);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.city-markers text {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    fill: #6c757d;
    pointer-events: none;
}

.map-legend {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #495057;
}

.legend-box {
    width: 20px;
    height: 12px;
    border: 2px solid #dc3545;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 2px;
}

.legend-pin {
    width: 12px;
    height: 12px;
    background: #dc3545;
    border-radius: 50%;
    position: relative;
}

.legend-pin::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: #dc3545;
}

/* Panel visual adjustments for map */
.panel-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .germany-map-container {
        padding: 10px;
    }
    
    .germany-map {
        max-width: 280px;
    }
    
    .map-legend {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    z-index: 30;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.8;
}

.scroll-text {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.scroll-arrow {
    width: 32px;
    height: 32px;
    color: #0A1832;
    animation: bounceArrow 2s infinite;
    background: rgba(10, 24, 50, 0.15);
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(10, 24, 50, 0.3);
}

.scroll-arrow svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(8px);
    }
    60% {
        transform: translateY(4px);
    }
}

/* Hide scroll indicator when scrolled */
.hero.scrolled .scroll-indicator {
    opacity: 0;
    pointer-events: none;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
/* Hide mobile menu button on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Ensure mobile menu is hidden by default */
.nav-menu-mobile,
.mobile-menu-overlay {
    display: none;
}

/* Show only on mobile screens */
@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu-mobile {
        display: block;
    }
}
