/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

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

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 20px;
}

.brand {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    margin-right: 2rem;
    margin-top: 0;
    margin-bottom: 0;
}

.brand-logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    flex: 0 0 auto;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 0.35rem;
    cursor: pointer;
    margin-left: 1rem;
}

.nav-toggle span {
    display: block;
    width: 1.5rem;
    height: 2px;
    margin: 0.3rem 0;
    background: #1e3a8a;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #1e3a8a;
}

.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
#hero {
    background: #f8f9fb;
    padding: 42px 0 30px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    max-width: 860px;
    margin: 0 auto;
}

.headshot {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid #1e3a8a;
}

.hero-text h2 {
    font-size: 2.1rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: #1e3a8a;
}

.hero-text p {
    font-size: 1.08rem;
    margin-bottom: 0.9rem;
}

.hero-text p:last-of-type {
    margin-bottom: 1.1rem;
}

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

.btn {
    display: inline-block;
    padding: 0.56rem 1.18rem;
    background: #1e3a8a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #1e40af;
}

@media (min-width: 900px) {
    #hero {
        padding: 32px 0 22px;
    }

    .hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.4rem;
        max-width: 860px;
    }

    .headshot {
        width: 156px;
        height: 156px;
    }

    .hero-text {
        text-align: left;
        max-width: 500px;
    }

    .hero-text h2 {
        font-size: 1.95rem;
    }

    .hero-text p {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-buttons {
        justify-content: flex-start;
    }
}

.secondary-link {
    color: #6b7280;
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.secondary-link:hover {
    color: #1e3a8a;
}

/* Sections */
section {
    padding: 60px 0;
}

#about,
#focus,
#speaking,
#impressum,
#privacy {
    background: #ffffff;
}

#experience,
#references,
#contact {
    background: #f8f9fb;
}

#experience,
#references,
#contact,
#impressum,
#privacy {
    border-top: 1px solid #f3f4f6;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #1e3a8a;
    text-align: center;
}

section p {
    margin-bottom: 1.5rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

section ul {
    list-style: none;
    padding: 0;
    max-width: 680px;
    margin: 0 auto;
}

section ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

section ul li::before {
    content: '•';
    color: #1e3a8a;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Footer */
footer {
    background: #f9fafb;
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
}

footer p {
    color: #6b7280;
}

/* Mobile Responsiveness */
@media (max-width: 1180px) {
    nav .container {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.5rem 20px;
    }

    .brand-logo {
        width: 220px;
    }

    .nav-toggle {
        display: none;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0.5rem 0 0;
        border-top: 1px solid #e5e7eb;
    }

    .js-enabled .nav-toggle {
        display: block;
        flex: 0 0 auto;
    }

    .js-enabled nav ul {
        display: none;
    }

    .js-enabled nav.nav-open ul {
        display: flex;
    }

    nav ul li a {
        display: block;
        padding: 0.75rem 0;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 899px) {
    .hero-content {
        gap: 1.35rem;
    }

    .headshot {
        width: 120px;
        height: 120px;
    }

    .hero-text h2 {
        font-size: 1.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        text-align: center;
    }
}

/* Wider displays */
@media (min-width: 1200px) {
    .container {
        max-width: 1080px;
    }

    #hero {
        padding: 28px 0 18px;
    }

    .hero-content {
        gap: 1.55rem;
        max-width: 900px;
    }

    .headshot {
        width: 164px;
        height: 164px;
    }

    .hero-text h2 {
        font-size: 2.15rem;
    }

    .hero-text {
        max-width: 540px;
    }

    section p,
    section ul {
        max-width: 760px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1160px;
    }

    .hero-content {
        max-width: 980px;
    }

    .hero-text {
        max-width: 580px;
    }

    section p,
    section ul {
        max-width: 800px;
    }
}
