@font-face {
    font-family: 'Italiana';
    src: url('/fonts/Italiana-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'EBGaramond';
    src: url('/fonts/EBGaramond-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'EBGaramond';
    src: url('/fonts/EBGaramond-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: #f8f4ec;
    color: #1a1715;
    font-family: 'EBGaramond', Georgia, 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; }

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ── Hero: hk monogram + HABERLER—KOENIG wordmark + lede ──────────────── */

.hero {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem 1rem;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hk-mark {
    width: clamp(120px, 22vw, 220px);
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
}

/* ── ahakon wordmark in a pill, linking to ahakon.at ─────────────────── */

.ahakon-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 23, 21, 0.12);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 40px -12px rgba(26, 23, 21, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px -12px rgba(26, 23, 21, 0.26);
}

.pill:focus-visible {
    outline: 2px solid #1a1715;
    outline-offset: 3px;
}

.ahakon-wordmark {
    display: block;
    height: clamp(22px, 3.2vw, 34px);
    width: auto;
}

/* ── Centered impressum link ──────────────────────────────────────────── */

.impressum-link {
    display: flex;
    justify-content: center;
    padding: 1.5rem 2rem 3rem;
}

.impressum-link a {
    font-family: 'EBGaramond', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: #2a2520;
    transition: color 0.2s ease;
}

.impressum-link a:hover {
    color: #000;
}

/* ── Mobile ───────────────────────────────────────────────────────────── */

@media (max-width: 700px) {
    .hero {
        padding: 3rem 1.25rem 1rem;
    }
    .hk-mark {
        width: clamp(110px, 34vw, 150px);
    }
    .impressum-link a {
        font-size: 16px;
    }
}
