/* Fonts */
@font-face {
    font-family: 'Montserrat';
    src: url('./assets/fonts/montserrat/montserrat-v31-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('./assets/fonts/montserrat/montserrat-v31-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('./assets/fonts/montserrat/montserrat-v31-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 9999;
    border-radius: 0 0 4px 4px;
}
.skip-link:focus {
    top: 0;
}
:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Design 9: dark & elegant (Dark Mode Fokus) */
:root {
    --primary-red: #971219;
    --primary-gray: #676a6b;
    --dark-bg: #121212;
    --darker-bg: #0a0a0a;
    --accent-dark: #1e1e1e;
    --white: #ffffff;
    --off-white: #e0e0e0;
    --text-muted: #a0a0a0;
}

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

body {
    font-family: 'Montserrat', -apple-system, sans-serif;
    background-color: var(--dark-bg);
    color: var(--off-white);
    line-height: 1.8;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navbar */
header.navbar {
    padding: 30px 0;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.brand img {
    height: 50px;
    filter: brightness(1.2);
}

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

.nav-links li {
    margin-left: clamp(16px, 2.5vw, 40px);
}

.nav-links a {
    text-decoration: none;
    color: var(--off-white);
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

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

.nav-cta {
    background: var(--primary-red);
    color: var(--white) !important;
    border: none;
    cursor: pointer;
    padding: clamp(10px, 1.2vw, 14px) clamp(18px, 2.5vw, 30px);
    font-family: 'Montserrat', -apple-system, sans-serif;
    font-size: clamp(11px, 1.1vw, 15px);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    clip-path: polygon(0 0, 92% 0, 100% 30%, 100% 100%, 0 100%);
    transition: background 0.2s;
    white-space: nowrap;
    text-decoration: none;
}
.nav-cta:hover {
    background: #6e0d12;
    color: var(--white) !important;
}

/* Hero Section */
.dark-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('./assets/img/skyscraper.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.dark-hero h1 {
    font-size: clamp(3rem, 5.5vw, 4.5rem);
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -2px;
    white-space: nowrap;
}
.mobile-br { display: none; }
.footer-br { display: none; }

.dark-hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.scroll-indicator .line {
    width: 2px;
    height: 50px;
    background: var(--primary-red);
}

/* Sections */
.dark-section {
    padding: clamp(60px, 10vw, 120px) 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 40px;
    position: relative;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--primary-red);
}

/* About Section */
.split-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.text-block {
    text-align: center;
}

.about-photo {
    width: clamp(200px, 50vw, 280px);
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto 30px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    background: none;
}

.about-photo img {
    width: 170%;
    height: 170%;
    object-fit: cover;
    object-position: top;
    margin-left: -35%;
    margin-top: -30%;
}

/* Expertise Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.expertise-item {
    background: var(--accent-dark);
    padding: 28px;
    border-radius: 8px;
    border-bottom: 4px solid var(--primary-red);
}

.expertise-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
}

.expertise-item h3 {
    margin-bottom: 15px;
    color: var(--white);
}

.stat { text-align: center; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 32px;}
.stat-number { font-size: 2rem; font-weight: 800; color: var(--primary-red); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* Testimonials */
.testimonials-section {
    background: var(--darker-bg);
    padding: clamp(60px, 10vw, 120px) 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 550px;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

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

.testimonial-card {
    background: var(--accent-dark);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--primary-red);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card blockquote {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.author-info cite {
    font-style: normal;
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    color: var(--off-white);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stars {
    color: var(--primary-red);
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background: var(--accent-dark);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: border-color 0.3s, transform 0.2s;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}
.contact-row:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
}
.contact-row a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.contact-row .icon {
    font-size: 2rem;
    margin-right: 25px;
    color: var(--primary-red);
    width: 1.5em;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-row .icon svg,
.contact-row .icon img {
    width: 1.5em;
    height: 1.5em;
    display: block;
}
.contact-row .icon img.icon-instagram {
    width: 1.9em;
    height: 1.9em;
}

.contact-row .details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.contact-row .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.contact-row a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    overflow-wrap: break-word;
}

.contact-cta {
    display: inline-block;
    margin-top: 1rem;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.9rem 2rem;
    font-family: 'Montserrat', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    clip-path: polygon(0 0, 92% 0, 100% 30%, 100% 100%, 0 100%);
    transition: background 0.2s;
}
.contact-cta:hover { background: #6e0d12; color: var(--white); }

/* Footer */
.dark-footer {
    padding: 60px 0;
    background-color: var(--darker-bg);
    border-top: 1px solid #222;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.legal a,
.footer-bottom p a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 30px;
}
.footer-bottom p a {
    margin-left: 0;
}

/* Legal Pages (Impressum / Datenschutz) */
.legal-page {
    padding: clamp(130px, 14vw, 160px) 0 clamp(60px, 10vw, 120px);
    min-height: 80vh;
}
.legal-page h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--white);
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}
.legal-page h2 {
    font-size: 1.2rem;
    color: var(--white);
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
}
.legal-page h3 {
    font-size: 1rem;
    color: var(--white);
    margin-top: 1.5rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
}
.legal-page h4 {
    font-size: 0.95rem;
    color: var(--off-white);
    margin-top: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}
.legal-page p,
.legal-page a {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}
.legal-page a {
    text-decoration: none;
}
.legal-page a:hover {
    color: var(--primary-red);
}
.legal-page ul {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-page ul li {
    margin-bottom: 0.4rem;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 3rem;
    transition: color 0.2s;
}
.legal-page .container > .back-link:last-child {
    margin-top: 3rem;
    margin-bottom: 0;
}
.back-link:hover { color: var(--primary-red); }

/* Burger Toggle */
.burger-toggle-input {
    display: none;
}

/* Burger Button */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.2s;
}
.burger-btn:hover { background: rgba(255,255,255,0.08); }
.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--off-white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}
.burger-toggle-input:checked ~ header .burger-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-toggle-input:checked ~ header .burger-btn span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-toggle-input:checked ~ header .burger-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1441px) {
    .about-photo {
        width: 420px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    header.navbar {
        padding: 14px 0;
    }
    .legal-page {
        padding-top: 30px;
    }

    .dark-hero {
        height: 100vh;
        min-height: 100svh;
    }

    .mobile-br { display: inline; }
    .dark-hero h1 { white-space: normal; }
    .contact-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid { gap: 2rem; }

    /* About */
    .split-layout { gap: 2rem; }
    .section-title { font-size: 1.8rem; }
    .intro-text { font-size: 0.95rem; margin-bottom: 24px; }
    .expertise-grid { gap: 1.5rem; }
    .expertise-item { padding: 20px; }
    .stat-row { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 16px 0 16px 0; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.7rem; }
    .contact-row { padding: 14px; gap: 0; }
    .contact-row .icon { margin-right: 14px; font-size: 1.4rem; flex-shrink: 0; }
    .contact-row .icon svg { width: 1.2em; height: 1.2em; }
    .contact-row a { font-size: 0.95rem; }

    .burger-btn { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--darker-bg);
        border-top: 1px solid rgba(255,255,255,0.08);
        border-bottom: 3px solid var(--primary-red);
        padding: 0.5rem 1.5rem 1rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.4);
        gap: 0;
    }
    .burger-toggle-input:checked ~ header .nav-links { display: flex; }
    .nav-links li { margin-left: 0; }
    .nav-links li a {
        display: block;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 1.05rem;
    }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-links li:last-child { padding: 0.75rem 0; }
    .nav-links li .nav-cta {
        display: inline-block;
        font-size: 0.8rem;
        padding: 7px 14px;
    }

    header.navbar { position: relative; }
    .brand img { height: 36px; }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .legal {
        display: flex;
        justify-content: center;
        gap: 16px;
    }

    .legal a {
        margin-left: 0;
    }
}

@media (max-width: 442px) {
    .footer-br { display: inline; }
}
