@font-face {
    font-family: 'Styrene B Web';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/StyreneB-Regular-Web.woff2') format('woff2');
}

@font-face {
    font-family: 'Styrene B Web';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/StyreneB-Medium-Web.woff2') format('woff2');
}

@font-face {
    font-family: 'Styrene B Web';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/StyreneB-Bold-Web.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/open-sans-v44-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/open-sans-v44-latin-700.woff2') format('woff2');
}

:root {
    --ctp-orange: #E94E1B;
    --ctp-text: #1d1d1b;
    --ctp-text-muted: #6b6b6b;
    --ctp-bg: #ffffff;
    --ctp-bg-soft: #f5f2ee;
    --ctp-border: #e6e2dc;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Styrene B Web', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ctp-text);
    background-color: var(--ctp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--ctp-orange);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.75;
}

/* === Header === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    display: flex;
    align-items: stretch;
    min-height: 70px;
}

.logo {
    flex: 0 0 auto;
    display: block;
}

.logo img {
    display: block;
    height: 70px;
    width: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 32px;
    gap: 32px;
}

.main-nav a {
    color: var(--ctp-text);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
    color: var(--ctp-orange);
    opacity: 1;
}

.main-nav a.active {
    color: var(--ctp-orange);
    border-bottom-color: var(--ctp-orange);
    opacity: 1;
}

.main-nav a.nav-cta {
    display: inline-block;
    color: #fff;
    background: var(--ctp-orange);
    border: 0;
    border-radius: 4px;
    padding: 12px 22px;
    transition: opacity 0.2s ease;
}

.main-nav a.nav-cta:hover {
    color: #fff;
    opacity: 0.9;
}

.main-nav a.nav-cta.active {
    color: #fff;
    border-bottom-color: transparent;
}

/* === Hero === */
.hero {
    width: 100%;
    height: clamp(220px, 38vh, 380px);
    background-image: url('../img/ctp-duesseldorf.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* === Main content === */
.page {
    max-width: 880px;
    margin: 0 auto;
    padding: 64px 32px 96px;
}

.page-eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ctp-orange);
    margin-bottom: 12px;
}

.page h1 {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 32px;
    color: var(--ctp-text);
}

.page h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--ctp-text);
}

.page h3 {
    font-size: 17px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 8px;
    color: var(--ctp-text);
}

.page p {
    margin-bottom: 16px;
    color: var(--ctp-text);
}

.page ul,
.page ol {
    margin: 0 0 16px 1.25em;
}

.page li {
    margin-bottom: 6px;
}

.page strong {
    font-weight: 700;
}

.placeholder-note {
    background: var(--ctp-bg-soft);
    border-left: 3px solid var(--ctp-orange);
    padding: 16px 20px;
    margin: 24px 0 32px;
    font-size: 14px;
    color: var(--ctp-text-muted);
}

/* === Footer === */
.site-footer {
    background: var(--ctp-bg-soft);
    border-top: 1px solid var(--ctp-border);
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--ctp-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.footer-brand {
    display: block;
}

.footer-brand img {
    display: block;
    height: 56px;
    width: auto;
}

.footer-socials {
    display: flex;
    gap: 14px;
    align-items: center;
}

.footer-socials a {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
}

.footer-socials img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

@media (max-width: 600px) {
    .main-nav {
        padding: 0 16px;
        gap: 16px;
    }
    .main-nav a {
        font-size: 12px;
    }
    .page {
        padding: 40px 20px 64px;
    }
    .site-footer {
        padding: 24px 20px;
    }
}
