/* CSS Variables & Theme */
:root {
    --brand-yellow: #EBA820;
    --brand-yellow-light: #FAD02C;
    --brand-yellow-dark: #9e6b00;
    --gradient-primary: linear-gradient(135deg, var(--brand-yellow-light) 0%, var(--brand-yellow) 100%);

    --dark-bg: #0B132B;
    --dark-surface: #1C2541;

    --text-dark: #1A1A1A;
    --text-light: #F8F9FA;
    --text-muted: #CBD5E1;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Public Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #FAFAFA;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    /* font-family: 'Lora', serif; */
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--dark-bg);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--dark-bg);
    color: #fff;
    padding: 10px 15px;
    z-index: 2000;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.tel-link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    color: var(--dark-bg);
    font-weight: 600;
}

.tel-link:hover {
    color: var(--brand-yellow-dark);
    text-decoration-color: var(--brand-yellow-dark);
}

.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
}

/* HEADER & NAVIGATION */
header {
    position: fixed;
    top: 4px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    height: 76px;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
    /* Stay above mobile menu */
}

.logo-accent {
    color: var(--brand-yellow-dark);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    font-weight: 600;
    color: var(--dark-bg);
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

nav a:hover {
    color: var(--brand-yellow-dark);
}

/* HAMBURGER MENU BUTTON */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-bg);
    padding: 5px;
    z-index: 1001;
    /* Stay above mobile menu */
}

.hero {
    position: relative;
    padding: 160px 5% 100px;
    background: var(--gradient-primary);
    color: var(--text-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: 'S';
    position: absolute;
    bottom: -20%;
    right: 5%;
    /* font-family: 'Lora', serif; */
    font-size: 50vw;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-pretitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid var(--dark-bg);
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--dark-bg);
}

.section-padding {
    padding: 5rem 5%;
}

.section-padding-bg {
    background-color: #F0F4F8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-bg);
    margin-bottom: 0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.profile-image-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background-color: #E2E8F0;
    position: sticky;
    top: 100px;
}

.profile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-bottom: 6px solid var(--brand-yellow);
}

.profile-content {
    font-size: 1.05rem;
}

.membership-list {
    list-style: none;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-left: 4px solid var(--brand-yellow);
    margin-bottom: 2rem;
}

.membership-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.membership-list li:last-child {
    margin-bottom: 0;
}

.membership-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-yellow-dark);
    font-weight: bold;
    font-size: 1.2rem;
}

.info-block {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--dark-bg);
}

.info-block h4 {
    font-family: 'Public Sans', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tag {
    display: inline-block;
    background: #e2e8f0;
    color: var(--dark-bg);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    border-left: 5px solid var(--brand-yellow);
    transition: var(--transition);
    height: 100%;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-left-color: var(--brand-yellow-dark);
}

.expertise-card h3 {
    color: var(--dark-bg);
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.expertise-card h3 svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--brand-yellow-dark);
    margin-top: 2px;
}

.expertise-card ul {
    list-style: none;
    margin-top: 1rem;
}

.expertise-card ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.8rem;
    color: #222;
}

.expertise-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-yellow-dark);
    font-weight: bold;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
}

.contact-item:hover {
    border-color: var(--brand-yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

footer {
    background-color: var(--dark-bg);
    color: var(--text-muted);
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--brand-yellow);
}

.footer-subtitle {
    /* font-family: 'Lora', serif; */
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-links a {
    color: #fff;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--brand-yellow);
    text-decoration: underline;
}

.copyright {
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

#back-to-top {
    position: fixed;
    bottom: -50px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--dark-bg);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    opacity: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top.show {
    bottom: 30px;
    opacity: 1;
}

#back-to-top:hover {
    background: var(--brand-yellow-dark);
    color: #fff;
    transform: translateY(-3px);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================== */
/* RESPONSIVE DESIGN & MOBILE MENU            */
/* ========================================== */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 76px;
        /* Start direkt unter dem Header */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;

        /* Animation Setup */
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    /* Wenn die Klasse "open" per JS hinzugefügt wird */
    nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    nav a {
        font-size: 1.2rem;
        /* Größer für leichteres Antippen */
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 4rem 5%;
    }

    .profile-image-container {
        max-width: 400px;
        margin: 0 auto;
        position: static;
    }
}