/* ============================================================
   havelio.de — schlanke Coming-Soon-Landingpage
   Design-Tokens 1:1 aus havelio (design-reference/havelio-tokens.css)
   ============================================================ */

:root {
    --slate:      #0B283E;
    --cream:      #FBF6ED;
    --ember:      #C85C24;
    --ember-d:    #B94E1D;
    --gold:       #E0AE4E;
    --sand:       #E8DDD0;

    --slate-70:   rgba(11, 40, 62, 0.72);
    --slate-55:   rgba(11, 40, 62, 0.66);
    --slate-line: rgba(11, 40, 62, 0.30);
    --control-border: rgba(11, 40, 62, 0.52);

    --focus-ring:   #0B283E;
    --focus-ring-2: #FBF6ED;

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:    'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 3px rgba(11, 40, 62, 0.06);
    --shadow-md: 0 2px 8px rgba(11, 40, 62, 0.08);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--slate);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ember);
}

a:hover {
    color: var(--ember-d);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 5px var(--focus-ring-2);
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    background: var(--slate);
    color: var(--cream);
    padding: 11px 18px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: top 150ms ease-out;
}

.skip-link:focus {
    top: 12px;
}

/* ---- Header ---- */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    max-width: 1040px;
    margin: 0 auto;
    width: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-height: 44px;
}

.brand img {
    height: 32px;
    width: auto;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 150ms ease-out, color 150ms ease-out;
}

.btn-primary {
    background: var(--ember);
    color: var(--cream);
}

.btn-primary:hover {
    background: var(--ember-d);
    color: var(--cream);
}

.btn-ghost {
    background: transparent;
    color: var(--slate);
    border: 1px solid var(--control-border);
}

.btn-ghost:hover {
    background: var(--sand);
    color: var(--slate);
}

.header-hint {
    font-size: 13px;
    color: var(--slate-55);
}

/* ---- Hero ----
   main { flex: 1 } gilt seitenweit (sticky-footer: body ist eine
   Flex-Column, main soll den verfügbaren Raum füllen). Die zentrierende
   Flex-Row-Ausrichtung ist bewusst NUR auf .home-main gescoped — als
   nackter Element-Selektor auf main hätte sie auch die Legal-Seiten
   getroffen und deren .legal-section-Blöcke in eine Reihe gezwungen
   statt sie vertikal zu stapeln. */

main {
    flex: 1;
}

.home-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 64px;
}

.hero {
    max-width: 640px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--sand);
    color: var(--slate-70);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
    margin: 0 0 16px;
    color: var(--slate);
}

.hero h1 .claim-accent {
    color: var(--ember);
}

.hero p.lead {
    font-size: 1.125rem;
    color: var(--slate-70);
    margin: 0 auto;
    max-width: 480px;
}

/* ---- Legal pages ---- */

.legal-header {
    background: var(--slate);
    color: var(--cream);
    padding: 48px 24px 32px;
}

.legal-header-inner {
    max-width: 720px;
    margin: 0 auto;
}

.legal-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--cream);
    margin-bottom: 32px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    min-height: 44px;
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}

.legal-header p {
    opacity: 0.7;
    font-size: 14px;
}

.legal-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    width: 100%;
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--sand);
}

.legal-section p {
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-placeholder {
    background: var(--sand);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--slate-70);
    font-style: italic;
}

.legal-link {
    color: var(--ember);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-link:hover {
    color: var(--ember-d);
}

.legal-divider {
    border: none;
    border-top: 1px solid var(--sand);
    margin: 40px 0 32px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ember);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    min-height: 44px;
}

.legal-back:hover {
    color: var(--ember-d);
}

/* ---- Footer ---- */

.site-footer {
    background: var(--slate);
    color: var(--slate-line);
    padding: 20px 24px;
    text-align: center;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(251, 246, 237, 0.7);
    text-decoration: none;
    font-size: 13px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--cream);
}

.site-footer .copyright {
    color: rgba(251, 246, 237, 0.55);
}

.cookie-notice {
    margin: 8px 0 0;
    font-size: 12px;
    color: rgba(251, 246, 237, 0.55);
}

.cookie-notice a {
    color: rgba(251, 246, 237, 0.75);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-notice a:hover {
    color: var(--cream);
}

@media (max-width: 640px) {
    .site-header {
        padding: 16px;
        flex-wrap: wrap;
    }

    .legal-header {
        padding: 32px 16px 24px;
    }

    .legal-header h1 {
        font-size: 1.5rem;
    }

    .legal-content {
        padding: 28px 16px 60px;
    }

    .home-main {
        padding: 24px 16px 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}
