/* ===== THEME VARIABLES ===== */
:root {
    --orange: #E8720C;
    --orange-light: #F5922E;
    --orange-dark: #C45E0A;
    --orange-glow: rgba(232, 114, 12, 0.12);
}

[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #0A0A0A;
    --bg-card: #111111;
    --bg-elevated: #1A1A1A;
    --text-primary: #F0F0F0;
    --text-secondary: #A0A0A0;
    --text-muted: #666666;
    --border: #1F1F1F;
    --border-hover: #333333;
    --glass-bg: rgba(17,17,17,0.6);
    --glass-border: rgba(255,255,255,0.08);
}

[data-theme="light"] {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-elevated: #F0F0F0;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #999999;
    --border: #E0E0E0;
    --border-hover: #CCCCCC;
    --glass-bg: rgba(255,255,255,0.6);
    --glass-border: rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover { color: var(--orange-light); }

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

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

/* ===== TOPBAR ===== */
.topbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.topbar a { color: var(--text-secondary); }
.topbar a:hover { color: var(--orange); }

.topbar-contact {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* ===== HEADER ===== */
header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s;
}

[data-theme="dark"] header {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
}

[data-theme="light"] header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo span { color: var(--orange); }

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

nav {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

nav a:hover { color: var(--text-primary); }

/* Theme Toggle - compact with icons inside */
.theme-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.theme-switch input { opacity: 0; width: 0; height: 0; }

.theme-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--orange);
    border-radius: 24px;
    transition: all 0.3s;
}

.theme-slider::before {
    content: '\263D';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
    color: var(--orange);
}

.theme-switch input:checked + .theme-slider { background: var(--orange); }
.theme-switch input:checked + .theme-slider::before { transform: translateX(20px); content: '\2739'; }

.theme-switch-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.theme-icon { display: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
}

.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-light); color: #fff; transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--orange); border: 2px solid var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; }

/* ===== PAGE CONTENT ===== */
.page-header {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background: url('bilder/evotec-gmbh.de/evotec-luftbild.jpg') center/cover no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.page-header .container { position: relative; }
.page-header h1 { font-size: 2.2rem; margin-bottom: 8px; }
.page-header p { color: var(--text-secondary); }

.page-content {
    padding: 60px 0;
}

.page-content .container {
    max-width: 800px;
}

.page-content h2 {
    font-size: 1.4rem;
    margin: 32px 0 12px;
    color: var(--orange);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.page-content ul, .page-content ol {
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 24px;
    font-size: 0.95rem;
}

.page-content li {
    margin-bottom: 4px;
}

.page-content a {
    color: var(--orange);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('bilder/evotec-gmbh.de/evotec-luftbild.jpg') center/cover no-repeat;
    opacity: 0.15;
    pointer-events: none;
}

[data-theme="light"] .hero-bg { opacity: 0.08; }

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
    border-left: 3px solid var(--orange);
    padding-left: 12px;
}

.hero h1 { font-size: 3rem; font-weight: 700; margin-bottom: 20px; line-height: 1.08; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image { border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
.hero-image img { width: 100%; height: 420px; object-fit: contain; display: block; background: var(--bg-elevated); }

/* ===== STATS ===== */
.stats { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-secondary); }
.stats .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.stat-item { text-align: center; padding: 16px; }
.stat-value { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--orange); margin-bottom: 4px; }
.stat-label { color: var(--text-secondary); font-size: 0.85rem; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2rem; margin-bottom: 12px; }
.section-header p { color: var(--text-secondary); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.section-line { width: 48px; height: 3px; background: var(--orange); margin: 16px auto 0; }

/* ===== CARDS ===== */
.vorteile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vorteil-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 32px; transition: border-color 0.3s; }
.vorteil-card:hover { border-color: var(--orange); }
.vorteil-number { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: var(--orange); opacity: 0.4; margin-bottom: 12px; }
.vorteil-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.vorteil-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== LEISTUNGEN ===== */
.leistungen { background: var(--bg-secondary); }
.leistungen-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.leistungen-text h2 { font-size: 2rem; margin-bottom: 16px; }
.leistungen-text > p { color: var(--text-secondary); margin-bottom: 24px; }
.leistungen-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.leistungen-list li { color: var(--text-secondary); padding-left: 20px; position: relative; font-size: 0.95rem; }
.leistungen-list li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--orange); }
.leistungen-image { border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
.leistungen-image img { width: 100%; height: 400px; object-fit: contain; display: block; background: var(--bg-elevated); }

/* ===== MATERIALIEN ===== */
.material-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.material-card { display: block; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 28px 20px; text-align: center; transition: border-color 0.3s; color: var(--text-primary); }
.material-card:hover { border-color: var(--orange); color: var(--text-primary); }
.material-card h3 { font-size: 1rem; margin-bottom: 6px; }
.material-card p { color: var(--text-muted); font-size: 0.8rem; }

/* ===== GALLERY ===== */
.gallery { background: var(--bg-secondary); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
.gallery-item img { width: 100%; height: 260px; object-fit: contain; display: block; transition: transform 0.4s; background: var(--bg-elevated); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption { padding: 12px 16px; background: var(--bg-card); font-size: 0.85rem; color: var(--text-secondary); }

/* ===== TRADITION ===== */
.tradition-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.tradition-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
}
.tradition-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tradition-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
}
.tradition-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--orange), var(--orange-dark));
    margin: 8px 0;
}
.tradition-year-now {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
}
.tradition-content h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    line-height: 1.2;
}
.tradition-content h2 span { color: var(--orange); }
.tradition-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: 12px;
}
.tradition-tags {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.tradition-tag {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.tradition-tag strong { color: var(--orange); }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.faq-question { padding: 18px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.faq-question:hover { color: var(--orange); }
.faq-arrow { font-size: 0.75rem; color: var(--text-muted); transition: transform 0.3s; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 24px 20px; color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }
.faq-answer-inner a { color: var(--orange); }
.faq-item.active .faq-answer { max-height: 300px; }

/* ===== CROSS LINKS ===== */
.cross-links { background: var(--bg-secondary); }
.cross-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cross-link-card { display: block; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 18px; transition: border-color 0.3s; color: var(--text-primary); }
.cross-link-card:hover { border-color: var(--orange); color: var(--text-primary); }
.cross-link-card h4 { font-size: 0.9rem; margin-bottom: 2px; }
.cross-link-card p { font-size: 0.75rem; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-section { padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: url('bilder/evotec-gmbh.de/evotec-luftbild.jpg') center/cover no-repeat; opacity: 0.1; pointer-events: none; }
.cta-section .container { position: relative; }
.cta-section h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-section > .container > p { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-contact { margin-top: 28px; display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; color: var(--text-secondary); font-size: 0.9rem; }
.cta-contact a { color: var(--text-secondary); }
.cta-contact a:hover { color: var(--orange); }

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h2 { font-size: 1.6rem; margin-bottom: 16px; }
.contact-info p { color: var(--text-secondary); margin-bottom: 16px; font-size: 0.95rem; }

.contact-detail {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.contact-detail strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-detail span, .contact-detail a {
    font-size: 1rem;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 32px;
}

.contact-form h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--orange);
}

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

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

.form-submit {
    margin-top: 8px;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.form-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 4px;
    padding: 16px;
    color: #10B981;
    display: none;
}

/* ===== FOOTER ===== */
footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-about .logo { margin-bottom: 12px; display: inline-block; }
.footer-about p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 12px; }
.footer-col h4 { font-size: 0.85rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-col ul a { color: var(--text-secondary); font-size: 0.85rem; }
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--text-muted); font-size: 0.8rem; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--orange); }
.footer-legal { display: flex; gap: 24px; }

/* ===== MOBILE ===== */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.mobile-toggle span { width: 22px; height: 2px; background: var(--text-primary); transition: all 0.3s; }

@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.2rem; }
    .vorteile-grid { grid-template-columns: repeat(2, 1fr); }
    .material-grid { grid-template-columns: repeat(3, 1fr); }
    .cross-links-grid { grid-template-columns: repeat(3, 1fr); }
    .leistungen-content { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

/* ===== MOBILE SIDEBAR (appended to body by JS) ===== */
.mobile-sidebar-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6); z-index: 10100;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.mobile-sidebar-overlay.active { opacity: 1; visibility: visible; }
.mobile-sidebar {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 280px; max-width: 80vw;
    background: #111; z-index: 10150;
    display: flex; flex-direction: column;
    padding: 24px 0 0; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%); -webkit-transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.4,0,0.2,1);
    border-left: 1px solid #1F1F1F;
}
.mobile-sidebar.active {
    transform: translateX(0); -webkit-transform: translateX(0);
}
.mobile-sidebar-close {
    align-self: flex-end; background: none; border: none;
    color: #F0F0F0; font-size: 1.8rem; padding: 8px 20px;
    cursor: pointer; line-height: 1;
}
.mobile-sidebar a {
    display: block; padding: 16px 24px; color: #F0F0F0;
    text-decoration: none; font-size: 1rem;
    border-bottom: 1px solid #1F1F1F;
    transition: background 0.2s, color 0.2s;
}
.mobile-sidebar a:hover { color: #E8720C; background: rgba(232,114,12,0.08); }
.mobile-sidebar .mobile-sidebar-cta {
    background: #E8720C; color: #fff; text-align: center;
    border-radius: 8px; margin: 16px 24px; border-bottom: none;
    font-weight: 600;
}
.mobile-sidebar .mobile-sidebar-cta:hover { background: #F5922E; }
.mobile-sidebar-footer {
    margin-top: auto; padding: 20px 24px; border-top: 1px solid #1F1F1F;
}
.mobile-sidebar-footer .phone {
    color: #E8720C; font-weight: 600; font-size: 0.95rem;
    display: block; margin-bottom: 8px; text-decoration: none;
}
.mobile-sidebar-footer a { display: inline; padding: 0; border: none; color: #666; font-size: 0.8rem; }
/* Hide on desktop */
@media (min-width: 769px) {
    .mobile-sidebar, .mobile-sidebar-overlay { display: none !important; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; z-index: 10200; margin-left: 12px; flex-shrink: 0; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    nav { display: none !important; }
    body.nav-open { overflow: hidden; }
}
/* Landscape phone fix */
@media (max-width: 1024px) and (max-height: 500px) and (orientation: landscape) {
    .mobile-toggle { display: flex; z-index: 200; position: relative; }
    nav { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--bg-card); z-index: 150; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); flex-direction: column; padding: 60px 0 24px; gap: 0; border-left: 1px solid var(--border); overflow-y: auto; display: flex; }
    nav.active { transform: translateX(0); }
    nav a { display: block; padding: 10px 24px; border-bottom: 1px solid var(--border); font-size: 0.9rem; border-radius: 0; }
    nav a.btn-primary { background: var(--orange); color: #fff; text-align: center; border-radius: 8px; margin: 12px 24px; border: none; }
}
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .stats .container { grid-template-columns: repeat(2, 1fr); }
    .vorteile-grid { grid-template-columns: 1fr; }
    .material-grid { grid-template-columns: repeat(2, 1fr); }
    .cross-links-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .topbar .container { justify-content: center; text-align: center; }
    .topbar-contact { gap: 12px; }
    .form-row { grid-template-columns: 1fr; }
    .tradition-grid { grid-template-columns: 1fr; gap: 24px; }
    .tradition-timeline { flex-direction: row; gap: 16px; }
    .tradition-line { width: 40px; height: 2px; margin: 0; }
    .tradition-year { font-size: 2.5rem; }
    .cursor-glow { display: none !important; }
    .scroll-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .section-header h2 { font-size: 1.5rem; }
    .cross-links-grid { grid-template-columns: 1fr; }
}
/* ===== ANIMATIONS ===== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(232, 114, 12, 0.5);
}

/* Grain Texture */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* Page Load Overlay */
.page-load-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.page-load-overlay.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.page-load-overlay img {
    height: 50px;
    opacity: 0;
    transform: translateY(20px);
    animation: loadFadeIn 0.6s ease forwards 0.2s;
}
.page-load-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0;
    animation: loadFadeIn 0.5s ease forwards 0.5s;
}
.load-bar {
    width: 120px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}
.load-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0%;
    background: var(--orange);
    animation: loadBar 1.2s ease forwards 0.3s;
}
@keyframes loadFadeIn { to { opacity: 1; transform: translateY(0); } }
@keyframes loadBar { to { width: 100%; } }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger Cards */
.vorteil-card { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s; }
.vorteil-card.visible { opacity: 1; transform: translateY(0); }
.vorteil-card:nth-child(1) { transition-delay: 0s; }
.vorteil-card:nth-child(2) { transition-delay: 0.12s; }
.vorteil-card:nth-child(3) { transition-delay: 0.24s; }
.vorteil-card:nth-child(4) { transition-delay: 0.36s; }
.vorteil-card:nth-child(5) { transition-delay: 0.48s; }
.vorteil-card:nth-child(6) { transition-delay: 0.60s; }

/* Section Line Grow */
.section-line { width: 0; transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.section-line.visible { width: 48px; }

/* Glow Cards */
.vorteil-card { position: relative; overflow: hidden; }
.vorteil-card::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(232, 114, 12, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
}
.vorteil-card:hover::before { opacity: 1; }
.vorteil-card:hover { border-color: rgba(232, 114, 12, 0.4); }
.vorteil-card h3, .vorteil-card p, .vorteil-number { position: relative; z-index: 1; }

/* Cross-Link Glow */
.cross-link-card { position: relative; overflow: hidden; }
.cross-link-card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(232, 114, 12, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
}
.cross-link-card:hover::before { opacity: 1; }
.cross-link-card h4, .cross-link-card p { position: relative; z-index: 1; }

/* Magnetic Buttons */
.btn { transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s, color 0.3s; will-change: transform; }
.btn-primary:hover { box-shadow: 0 8px 30px rgba(232, 114, 12, 0.35); }
.btn-outline:hover { box-shadow: 0 8px 30px rgba(232, 114, 12, 0.25); }

/* Image Reveal */
.img-reveal { position: relative; overflow: hidden; }
.img-reveal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--orange);
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2;
}
.img-reveal.visible::after { transform: scaleX(0); }
.img-reveal img {
    transform: scale(1.15);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-reveal.visible img { transform: scale(1); }

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9997;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(232, 114, 12, 0.3);
}
.scroll-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { box-shadow: 0 8px 30px rgba(232, 114, 12, 0.5); transform: translateY(-2px); }
.scroll-top svg { width: 20px; height: 20px; }

/* Custom Cursor Glow - DEAKTIVIERT */
.cursor-glow {
    display: none !important;
}


/* Header Shrink on Scroll */
header.scrolled { padding: 10px 0; }
header.scrolled .logo { font-size: 1.2rem; }

/* Form Focus Glow */
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--orange) !important;
    box-shadow: 0 0 0 3px rgba(232, 114, 12, 0.15);
    outline: none;
}

/* ===== COOKIE CONSENT ===== */
.consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.consent-overlay.show { opacity: 1; visibility: visible; }
.consent-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.consent-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.consent-header svg { flex-shrink: 0; color: var(--orange); }
.consent-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
}
.consent-body { padding: 16px 24px; }
.consent-body > p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}
.consent-body > p a { color: var(--orange); }

/* Cookie Categories */
.consent-category {
    border: 1px solid var(--border);
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}
.consent-cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    cursor: pointer;
    background: var(--bg-elevated);
    transition: background 0.2s;
}
.consent-cat-header:hover { background: var(--bg-card); }
.consent-cat-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.consent-cat-left span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}
.consent-cat-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    background: rgba(232,114,12,0.15);
    color: var(--orange);
    font-family: 'Space Grotesk', sans-serif;
}
.consent-cat-desc {
    padding: 0 16px 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: none;
}
.consent-category.open .consent-cat-desc { display: block; }
.consent-cat-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.2s;
}
.consent-category.open .consent-cat-arrow { transform: rotate(180deg); }

/* Toggle Switch */
.consent-toggle {
    position: relative;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
}
.consent-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.consent-toggle-slider {
    position: absolute;
    inset: 0;
    background: #333;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s;
}
.consent-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.consent-toggle input:checked + .consent-toggle-slider { background: var(--orange); }
.consent-toggle input:checked + .consent-toggle-slider::before { transform: translateX(18px); }
.consent-toggle input:disabled + .consent-toggle-slider { opacity: 0.6; cursor: not-allowed; }

/* Consent Buttons */
.consent-buttons {
    padding: 0 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.consent-btn {
    padding: 12px 20px;
    border-radius: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: all 0.2s;
}
.consent-btn-accept {
    background: var(--orange);
    color: #fff;
}
.consent-btn-accept:hover { background: var(--orange-light); box-shadow: 0 4px 16px rgba(232,114,12,0.3); }
.consent-btn-selected {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.consent-btn-selected:hover { border-color: var(--orange); }
.consent-btn-reject {
    background: transparent;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
}
.consent-btn-reject:hover { color: var(--text-primary); }

/* Consent Footer */
.consent-footer {
    padding: 12px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 8px;
}
.consent-footer a { color: var(--text-muted); text-decoration: underline; }
.consent-footer a:hover { color: var(--orange); }

/* Consent Settings Button (fixed, bottom-left) */
.consent-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    z-index: 9997;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: border-color 0.2s, color 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.consent-settings-btn:hover { border-color: var(--orange); color: var(--orange); }
.consent-settings-btn svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
    .consent-box { border-radius: 0; max-height: 100vh; }
    .consent-buttons { flex-direction: column; }
}
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 8px 20px;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.cookie-accept {
    background: var(--orange);
    color: #fff;
}
.cookie-accept:hover {
    background: var(--orange-light);
}
.cookie-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.cookie-decline:hover {
    border-color: var(--text-muted);
    color: var(--text-primary);
}

/* ===== V2.0 FEATURES ===== */

/* === FEATURE 1: FULLSCREEN HERO + KEN BURNS === */
.hero-fullscreen { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-fullscreen-bg { position: absolute; inset: -10%; width: 120%; height: 120%; background: url('bilder/evotec-gmbh.de/evotec-luftbild.jpg') center/cover no-repeat; animation: kenBurns 20s ease-in-out infinite alternate; }
@keyframes kenBurns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.1) translate(-2%,-1%); } }
.hero-fullscreen-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.7) 60%, var(--bg-primary) 100%); }
[data-theme="light"] .hero-fullscreen-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.6) 60%, var(--bg-primary) 100%); }
.hero-fullscreen-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 24px; }
.hero-fullscreen-content h1 { font-size: 4.5rem; font-weight: 700; line-height: 1.05; margin-bottom: 20px; white-space: nowrap; }
.hero-fullscreen-content h1 span { color: var(--orange); }
.hero-fullscreen-content p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Typewriter Cursor */
.typewriter-cursor { display: inline-block; width: 3px; height: 1em; background: var(--orange); margin-left: 4px; animation: twBlink 0.8s infinite; vertical-align: text-bottom; }
@keyframes twBlink { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

/* Scroll Indicator */
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-indicator span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }
.scroll-indicator svg { animation: scrollBounce 2s ease-in-out infinite; color: var(--orange); }
@keyframes scrollBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* === FEATURE 2: HORIZONTAL SCROLL SHOWCASE === */
.hscroll-section { padding: 80px 0; overflow: hidden; }
.hscroll-track { display: flex; gap: 24px; padding: 0 24px 24px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; cursor: grab; scrollbar-width: none; }
.hscroll-track::-webkit-scrollbar { display: none; }
.hscroll-track:active { cursor: grabbing; }
.hscroll-card { flex: 0 0 340px; scroll-snap-align: start; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.hscroll-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.hscroll-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.hscroll-card-body { padding: 24px; }
.hscroll-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.hscroll-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.hscroll-card a { font-size: 0.85rem; font-weight: 600; }

/* === FEATURE 3: 3D TILT CARDS + GLASSMORPHISM === */
.tilt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1000px; }
.tilt-card { background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 12px; padding: 36px 28px; transition: transform 0.1s ease-out, box-shadow 0.3s; transform-style: preserve-3d; position: relative; overflow: hidden; }
.tilt-card::before { content: ''; position: absolute; width: 250px; height: 250px; background: radial-gradient(circle, rgba(232,114,12,0.15) 0%, transparent 70%); border-radius: 50%; pointer-events: none; transform: translate(var(--mouse-x,-999px), var(--mouse-y,-999px)) translate(-50%,-50%); transition: opacity 0.3s; opacity: 0; }
.tilt-card:hover::before { opacity: 1; }
.tilt-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(232,114,12,0.08); }
.tilt-card-number { font-family: 'Space Grotesk', sans-serif; font-size: 2.5rem; font-weight: 700; color: var(--orange); opacity: 0.25; margin-bottom: 12px; }
.tilt-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.tilt-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* === FEATURE 4: STAT ICONS + PULSE === */
.stat-icon { color: var(--orange); margin-bottom: 8px; opacity: 0.6; }
.stat-icon.pulse { animation: iconPulse 0.5s ease; }
@keyframes iconPulse { 0% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(1); opacity: 0.6; } }
.stat-value.counting { animation: statPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes statPop { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* === FEATURE 6: MATERIAL FLIP CARDS === */
.flip-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; perspective: 800px; }
.flip-card { height: 180px; cursor: pointer; position: relative; transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.flip-card:hover { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 8px; border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.flip-card-front { background: var(--bg-card); }
.flip-card-back { background: var(--orange); transform: rotateY(180deg); color: #fff; }
.flip-card-front h3 { font-size: 1rem; margin-bottom: 4px; }
.flip-card-front .material-texture { width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px; border: 2px solid var(--border); }
.flip-card-front p { color: var(--text-muted); font-size: 0.78rem; }
.flip-card-back p { font-size: 0.85rem; line-height: 1.5; }

/* === FEATURE 7: PROCESS TIMELINE === */
.timeline-section { padding: 80px 0; background: var(--bg-secondary); overflow: hidden; }
.timeline { display: flex; justify-content: space-between; position: relative; max-width: 1000px; margin: 0 auto; padding: 40px 0; }
.timeline::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: var(--border); }
.timeline-line { position: absolute; top: 50%; left: 0; height: 2px; background: var(--orange); width: 0%; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.timeline.visible .timeline-line { width: 100%; }
.timeline-step { position: relative; z-index: 2; text-align: center; flex: 1; opacity: 0; transform: translateY(20px); transition: opacity 0.5s, transform 0.5s; }
.timeline.visible .timeline-step { opacity: 1; transform: translateY(0); }
.timeline.visible .timeline-step:nth-child(2) { transition-delay: 0.15s; }
.timeline.visible .timeline-step:nth-child(3) { transition-delay: 0.3s; }
.timeline.visible .timeline-step:nth-child(4) { transition-delay: 0.45s; }
.timeline.visible .timeline-step:nth-child(5) { transition-delay: 0.6s; }
.timeline.visible .timeline-step:nth-child(6) { transition-delay: 0.75s; }
.timeline.visible .timeline-step:nth-child(7) { transition-delay: 0.9s; }
.timeline-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--bg-primary); border: 3px solid var(--orange); margin: 0 auto 12px; }
.timeline.visible .timeline-dot { animation: dotPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes dotPop { from { transform: scale(0); } to { transform: scale(1); } }
.timeline-step h4 { font-size: 0.85rem; margin-bottom: 4px; }
.timeline-step p { font-size: 0.75rem; color: var(--text-muted); }

/* === FEATURE 8: MASONRY GALLERY + FILTER === */
.gallery-filter { display: flex; gap: 8px; justify-content: center; margin-bottom: 32px; flex-wrap: wrap; }
.gallery-filter button { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); padding: 8px 20px; border-radius: 20px; font-size: 0.85rem; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all 0.3s; }
.gallery-filter button.active, .gallery-filter button:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.masonry-grid { columns: 3; column-gap: 16px; }
.masonry-item { break-inside: avoid; margin-bottom: 16px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); cursor: pointer; position: relative; transition: transform 0.3s, opacity 0.4s; }
.masonry-item:hover { transform: scale(1.02); }
.masonry-item img { width: 100%; display: block; }
.masonry-item-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,0.8)); opacity: 0; transition: opacity 0.3s; display: flex; align-items: flex-end; padding: 16px; }
.masonry-item:hover .masonry-item-overlay { opacity: 1; }
.masonry-item-overlay span { color: #fff; font-size: 0.85rem; font-weight: 500; }
.masonry-item.hidden { display: none; }

/* === FEATURE 9: MEGA FOOTER === */
.mega-footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 60px 0 24px; }
.mega-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.mega-footer-about .logo { margin-bottom: 12px; display: inline-flex; }
.mega-footer-about p { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 8px; }
.mega-footer-col h4 { font-size: 0.8rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange); font-weight: 600; }
.mega-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.mega-footer-col ul a { color: var(--text-secondary); font-size: 0.82rem; transition: color 0.2s, padding-left 0.2s; }
.mega-footer-col ul a:hover { color: var(--orange); padding-left: 4px; }
.mega-footer-domains { border-top: 1px solid var(--border); padding-top: 32px; margin-bottom: 32px; }
.mega-footer-domains h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 16px; text-align: center; }
.domain-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.domain-tag { display: inline-block; padding: 6px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; font-size: 0.75rem; color: var(--text-secondary); transition: all 0.2s; }
.domain-tag:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-glow); }
.mega-footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.8rem; flex-wrap: wrap; gap: 12px; }
.mega-footer-bottom a { color: var(--text-muted); }
.mega-footer-bottom a:hover { color: var(--orange); }

/* === FEATURE 12: BRANCHEN TICKER === */
.ticker-section { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.ticker-track { display: flex; gap: 60px; animation: tickerScroll 30s linear infinite; width: max-content; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; opacity: 0.5; transition: opacity 0.3s; flex-shrink: 0; }
.ticker-item:hover { opacity: 1; color: var(--orange); }
.ticker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); opacity: 0.4; }

/* === FEATURE 13: JOB CARDS === */
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.job-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 28px; position: relative; overflow: hidden; transition: border-color 0.3s; }
.job-card:hover { border-color: var(--orange); }
.job-badge { position: absolute; top: 16px; right: 16px; background: var(--orange); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 12px; animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(232,114,12,0.4); } 50% { box-shadow: 0 0 0 8px rgba(232,114,12,0); } }
.job-card h3 { font-size: 1.05rem; margin-bottom: 8px; padding-right: 80px; }
.job-card p { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 16px; }
.job-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.job-tag { font-size: 0.72rem; padding: 3px 10px; border-radius: 12px; background: var(--bg-elevated); color: var(--text-muted); border: 1px solid var(--border); }

/* === FEATURE 14: CONTACT MAP === */
.contact-map { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); margin-top: 24px; }
.contact-map iframe { width: 100%; height: 350px; border: none; display: block; }

/* === NAV UNDERLINE ANIMATION === */
nav a { position: relative; }
nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--orange); transition: width 0.3s; }
nav a:hover::after { width: 100%; }

/* === V2.0 RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-fullscreen-content h1 { font-size: 3rem; }
    .tilt-grid { grid-template-columns: repeat(2, 1fr); }
    .flip-grid { grid-template-columns: repeat(3, 1fr); }
    .masonry-grid { columns: 2; }
    .mega-footer-grid { grid-template-columns: 1fr 1fr; }
    .jobs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-fullscreen-content h1 { font-size: 2.2rem; }
    .hero-fullscreen { min-height: 500px; }
    .tilt-grid { grid-template-columns: 1fr; }
    .flip-grid { grid-template-columns: repeat(2, 1fr); }
    .flip-card { height: 160px; }
    .timeline { flex-direction: column; gap: 24px; padding: 20px 0; }
    .timeline::before { display: none; }
    .timeline-line { display: none; }
    .timeline-step { opacity: 1; transform: none; }
    .masonry-grid { columns: 1; }
    .mega-footer-grid { grid-template-columns: 1fr; }
    .hscroll-card { flex: 0 0 280px; }
}
@media (max-width: 480px) {
    .hero-fullscreen-content h1 { font-size: 1.8rem; }
    .flip-grid { grid-template-columns: 1fr; }
    .flip-card { height: 150px; }
}

/* ===== MAP CONSENT PLACEHOLDER (DSGVO) ===== */
.map-consent-placeholder {
    width: 100%;
    min-height: 300px;
    border-radius: 12px;
    background: var(--card-bg, rgba(30,30,30,0.8));
    border: 1px dashed var(--text-muted, rgba(255,255,255,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.map-placeholder-content {
    padding: 2rem;
    color: var(--text-muted, rgba(255,255,255,0.6));
}
.map-placeholder-content svg {
    stroke: var(--orange, #E8720C);
    margin-bottom: 1rem;
}
.map-placeholder-content p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 350px;
}
.map-consent-btn {
    cursor: pointer;
    background: var(--orange, #E8720C);
    color: #fff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}
.map-consent-btn:hover {
    background: var(--orange-light, #F5922E);
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 100000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
    cursor: zoom-out; backdrop-filter: blur(4px);
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay img {
    max-width: 90vw; max-height: 90vh; border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: scale(0.9); transition: transform 0.3s;
}
.lightbox-overlay.active img { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none; color: #fff; font-size: 2rem;
    cursor: pointer; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); }
.lightbox-trigger { cursor: zoom-in; transition: transform 0.3s, box-shadow 0.3s; }
.lightbox-trigger:hover { transform: scale(1.02); box-shadow: 0 8px 30px rgba(232,114,12,0.2); }

/* ===== PHOTO GALLERY GRID ===== */
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 32px; }
.photo-gallery-item {
    border-radius: 12px; overflow: hidden; position: relative;
    aspect-ratio: 4/3; background: var(--bg-card);
}
.photo-gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s; cursor: zoom-in;
}
.photo-gallery-item:hover img { transform: scale(1.05); }
.photo-gallery-item .photo-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 8px 12px; background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff; font-size: 0.85rem; opacity: 0; transition: opacity 0.3s;
}
.photo-gallery-item:hover .photo-caption { opacity: 1; }
@media (max-width: 600px) {
    .photo-gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
    .photo-gallery-item { aspect-ratio: 1; }
}

/* ===== YOUTUBE DSGVO PLACEHOLDER ===== */
.yt-consent-placeholder {
    position: relative; width: 100%; aspect-ratio: 16/9;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 16px;
    text-align: center; padding: 24px; overflow: hidden;
}
.yt-consent-placeholder svg { opacity: 0.5; }
.yt-consent-placeholder p { color: var(--text-secondary); font-size: 0.9rem; max-width: 400px; }
.yt-consent-btn {
    cursor: pointer; background: var(--orange); color: #fff; border: none;
    padding: 0.7rem 1.5rem; border-radius: 8px; font-weight: 600; transition: background 0.3s;
}
.yt-consent-btn:hover { background: var(--orange-light); }

/* ===== CERTIFICATE GRID ===== */
.cert-grid { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.cert-grid .cert-item {
    flex: 1; min-width: 200px; max-width: 320px;
    border-radius: 12px; overflow: hidden; background: #fff;
    padding: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cert-grid .cert-item img { width: 100%; height: auto; border-radius: 8px; }
.cert-grid .cert-label { text-align: center; padding: 8px 0 4px; font-size: 0.85rem; color: var(--text-secondary); }
