/* Deep Sapphire, Premium Amber, Off-White. Inter liegt lokal unter Public/Fonts, SIL Open Font License. */

@font-face {
    font-family: Inter;
    src: url("../Fonts/Inter-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url("../Fonts/Inter-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url("../Fonts/Inter-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --sapphire: #0b2545;
    --sapphire-deep: #07182c;
    --ink: #16324f;
    --muted: #5c6b7a;
    --amber: #c6a15b;
    --amber-deep: #a7843e;
    --paper: #f7f4ef;
    --mist: #e8e4dc;
    --white: #fffcf8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100svh - 4rem);
    display: flex;
    align-items: center;
    background: var(--sapphire-deep);
    color: var(--white);
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-poster,
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 24, 44, 0.96), rgba(7, 24, 44, 0.82) 55%, rgba(7, 24, 44, 0.55));
}

.hero-copy {
    position: relative;
    width: min(72rem, 100%);
    margin-inline: auto;
    padding: 6rem 1.5rem 4rem;
}

.hero-eyebrow {
    margin: 0;
    color: var(--amber);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 46rem;
    margin: 1rem 0 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 44rem;
    margin-top: 2rem;
}

.hero-actions p {
    display: contents;
}

.hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 252, 248, 0.35);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.hero-actions a:first-child {
    border-color: var(--amber);
    background: var(--amber);
    color: var(--sapphire-deep);
}

.hero-actions a:first-child:hover {
    background: #d4b56e;
}

.hero-actions a:hover {
    border-color: var(--white);
}

.content-block {
    width: min(72rem, calc(100% - 3rem));
    margin: 0 auto;
    padding: 4rem 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--sapphire-deep);
    color: var(--white);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(72rem, 100%);
    min-height: 4rem;
    margin-inline: auto;
    padding: 0 1.5rem;
}

.logo {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.nav-desktop {
    display: none;
}

.nav-desktop a,
.nav-mobile a {
    color: rgba(255, 252, 248, 0.82);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.nav-desktop a:hover,
.nav-mobile a:hover {
    color: var(--white);
}

.nav-mobile summary {
    min-height: 2.75rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 252, 248, 0.2);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.nav-mobile summary::-webkit-details-marker {
    display: none;
}

.nav-mobile nav {
    position: absolute;
    top: 4rem;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 1.5rem 1rem;
    background: var(--sapphire-deep);
}

.nav-mobile a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
}

.nav-mobile {
    position: static;
}

.band {
    scroll-margin-top: 5rem;
}

.band-muted {
    background: var(--mist);
}

.wrap {
    width: min(72rem, calc(100% - 3rem));
    margin-inline: auto;
    padding: 4rem 0;
}

.eyebrow {
    margin: 0;
    color: var(--sapphire);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.band h2,
.content-block h1,
.price-row h2 {
    max-width: 46rem;
    margin: 0.75rem 0 0;
    color: var(--sapphire);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
}

.lead,
.lead p,
.country-text,
.country-text p {
    max-width: 42rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.lead p,
.country-text p {
    margin: 0.75rem 0 0;
}

.missing {
    margin: 1rem 0 0;
    color: var(--muted);
}

.country-grid {
    columns: 1;
    column-gap: 1rem;
    margin-top: 2rem;
}

.country-card {
    display: inline-block;
    width: 100%;
    margin: 0 0 1rem;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--white);
    break-inside: avoid;
}

.country-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.country-photo {
    overflow: hidden;
}

.country-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.country-card-body,
.phase-card {
    padding: 1rem 1.1rem 1.25rem;
}

.country-flag {
    margin: 0 0 0.55rem;
    line-height: 0;
}

.country-flag svg {
    display: block;
    width: 2.1rem;
    height: auto;
    border-radius: 0.15rem;
    box-shadow: 0 0 0 1px rgba(7, 24, 44, 0.18);
}

.country-card h3,
.phase-card h3 {
    margin: 0;
    color: var(--sapphire);
    font-size: 1.25rem;
    line-height: 1.3;
}

.country-facts p,
.phase-card p {
    margin: 0.6rem 0 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.phase-grid {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    overflow-x: auto;
}

.phase-card {
    flex: 1 0 min(100%, 18rem);
    border-radius: 1rem;
    background: var(--white);
}

.phase-index {
    margin: 0 0 0.4rem;
    color: var(--amber-deep);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.guarantee {
    padding: 1.5rem 1.4rem;
    border-left: 4px solid var(--amber);
    border-radius: 0.5rem;
    background: var(--sapphire);
    color: var(--paper);
}

.guarantee h2 {
    color: var(--paper);
}

.guarantee-text,
.guarantee-text p {
    max-width: 46rem;
    margin: 0;
    color: var(--paper);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.country-badge {
    max-width: 46rem;
    margin: 1.25rem 0 0;
    padding: 0.9rem 1rem;
    border-left: 4px solid var(--amber);
    background: var(--sapphire);
    color: var(--paper);
    font-size: 0.98rem;
    line-height: 1.6;
}

.price-row {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--mist);
}

.price-row h2 {
    margin-top: 0;
    font-size: 1.35rem;
}

.price-amount {
    margin: 0.7rem 0 0;
    color: var(--sapphire);
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
}

.price-note,
.price-note p {
    max-width: 42rem;
    margin: 0.45rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.contact-grid {
    display: grid;
    gap: 2rem;
}

.contact-form form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 2.75rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid #cfc6b8;
    border-radius: 0.75rem;
    font: inherit;
    font-size: 1rem;
    color: var(--sapphire-deep);
    background: var(--white);
}

.contact-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.contact-form button {
    min-height: 2.75rem;
    border: 0;
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: var(--amber);
    color: var(--sapphire-deep);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
}

.contact-form button:hover {
    background: #d4b56e;
}

.site-footer {
    background: var(--sapphire-deep);
    color: rgba(255, 252, 248, 0.82);
}

.site-footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: min(72rem, calc(100% - 3rem));
    margin-inline: auto;
    padding: 2rem 0;
}

.site-footer p {
    margin: 0;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-footer a {
    color: var(--white);
    font-size: 0.875rem;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}

@media (min-width: 40rem) {
    .country-grid {
        columns: 2;
    }
}

@media (min-width: 48rem) {
    .nav-desktop {
        display: flex;
        gap: 1.25rem;
    }

    .nav-mobile {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .site-footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 64rem) {
    .country-grid {
        columns: 3;
    }

    .phase-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
    }

    .phase-card {
        flex: none;
    }
}

@media (max-width: 47.99rem) {
    .hero-copy {
        padding: 3rem 1.25rem 2.5rem;
    }

    .hero-poster,
    .hero-video {
        object-position: center center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .country-card {
        transition: transform 180ms ease;
    }

    .country-card:hover {
        transform: translateY(-6px);
    }

    @supports (animation-timeline: view()) {
        .country-photo img {
            animation: country-drift linear both;
            animation-timeline: view();
            animation-range: entry 0% exit 100%;
        }
    }
}

@keyframes country-drift {
    from {
        transform: translateY(-3%) scale(1.08);
    }

    to {
        transform: translateY(3%) scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-video {
        display: none;
    }

    .country-card,
    .country-photo img {
        animation: none;
        transition: none;
        transform: none;
    }
}
