/* davidnawee.com: personal look on top of the shared style.css (same building blocks as nawee.net) */
:root {
    --blue: #2b5c9e;        /* links, buttons */
    --blue-dark: #172b45;   /* headlines, dark bands */
    --blue-soft: #eef2f7;
    --yellow: #d9a04a;      /* warm amber accent (underline, eyebrows on dark bands) */
    --ink: #1c2633;
    --line: #e7e2da;
    --soft: #f8f6f2;        /* warm off-white sections */
}

/* header: name as wordmark instead of a logo image */
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: var(--blue-dark);
    text-decoration: none;
}

.brand-name {
    font-family: var(--display);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.brand-role {
    margin-top: 4px;
    color: var(--yellow);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.brand-text:hover .brand-name {
    color: var(--blue);
}

/* footer wordmark */
.footer-wordmark {
    margin: 0 0 6px;
    color: var(--blue-dark);
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-free {
    margin-top: 14px;
    font-size: .9rem;
    color: var(--muted);
}

.footer-free a {
    color: var(--blue);
    font-weight: 600;
}

/* homepage hero: text left, portrait right */
.me-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 80px) 6vw clamp(48px, 6vw, 88px);
}

.me-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
}

.me-hero h1 span {
    display: block;
    margin-top: 10px;
    color: var(--blue);
    font-size: .62em;
    line-height: 1.15;
}

.me-hero-text {
    max-width: 560px;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 1.12rem;
}

.me-hero-trust {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 600;
}

.me-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 30%;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(23, 43, 69, .18);
}

@media (prefers-reduced-motion: no-preference) {
    .me-hero-copy { animation: hero-in .7s ease backwards; }
    .me-hero-photo { animation: hero-fade .9s .2s ease backwards; }
}

@media (max-width: 860px) {
    .me-hero {
        grid-template-columns: 1fr;
    }

    .me-hero-photo {
        order: -1;
        max-width: 420px;
    }
}

/* offer cards on the homepage: link at the bottom */
.offer-card {
    display: flex;
    flex-direction: column;
}

.offer-card ul {
    flex: 1;
}

/* workshops: two topic cards per row, four process steps */
.cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.learn-steps-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1000px) {
    .learn-steps-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .cards-2,
    .learn-steps-4 {
        grid-template-columns: 1fr;
    }
}

/* "Für wen?": three audience cards side by side */
#fuer-wen .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    #fuer-wen .cards {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
}

/* homepage offers: coaching, teaching, workshops side by side */
.cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .cards-3 {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
}

/* coaching ↔ teaching: short pointer under the topic cards */
.offer-switch {
    max-width: 760px;
    margin: 28px auto 0;
    color: var(--muted);
    text-align: center;
}

.offer-switch a {
    color: var(--blue);
    font-weight: 700;
}

.section-soft {
    background: var(--soft);
}

/* four menu items: keep each on one line, tighten on mid-size screens */
.site-header nav > a {
    white-space: nowrap;
}

@media (max-width: 1180px) {
    nav {
        gap: 16px;
    }

    .site-header nav > a:not(.nav-cta) {
        letter-spacing: .06em;
        font-size: .8rem;
    }

    .brand-name {
        white-space: nowrap;
    }
}

@media (max-width: 1040px) {
    nav {
        gap: 12px;
    }

    .site-header nav > a:not(.nav-cta) {
        letter-spacing: .03em;
        font-size: .76rem;
    }

    .nav-cta {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* below 1000px the burger menu takes over (four menu items no longer fit next to the button) */
@media (max-width: 1000px) {
    .site-header nav > a:not(.nav-cta) {
        display: none;
    }

    .language-switch {
        display: none;
    }

    nav .menu-switch {
        display: block;
    }
}

/* free courses (kurse.html / courses.html + homepage teaser): "coming soon" cards */
.course-card {
    display: flex;
    flex-direction: column;
}

.course-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.course-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--soft, #f6efe6);
    font-size: 1.6rem;
}

.course-badge {
    padding: 4px 12px;
    border-radius: 99px;
    background: var(--ink, #1d1d1b);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.course-who {
    color: var(--muted);
    font-style: italic;
}

.course-card .text-link {
    margin-top: auto;
    padding-top: 12px;
}

.course-note {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: .9rem;
    text-align: center;
}

.courses-teaser .course-card h3 {
    margin-bottom: 4px;
}

/* coaching page: pointer to the free Business English course on nawee.net, inside the test band */
.test-band-more {
    margin-top: 12px;
    font-size: .95rem;
    opacity: .9;
}

.test-band-more a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* the band's description is no longer the last paragraph – keep its light color and width */
.test-band-inner > div > p:not(.eyebrow) {
    max-width: 620px;
    color: #d7e3f7;
}

.test-band-inner > div > p:has(+ .test-band-more) {
    margin: 0;
}

/* header: link to nawee.net (free learning platform) */
.site-header nav > a.nav-ext {
    color: var(--blue, #2457a6);
}

/* homepage nawee.net band: what's on the platform */
.nawee-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.nawee-features li {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
}
