/* =========================================================
   FERNWEH AUF DEM TELLER
   HERO V4.8
   HTML-NAVIGATION / HTML-TEXT
   ========================================================= */

/* =========================================================
   1. GRUNDEINSTELLUNGEN
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #f4eee4;
    color: #2a2118;
}


/* =========================================================
   2. HERO
   ========================================================= */

.hero {
    position: relative;

    width: 100%;
    height: 100dvh;
    min-height: 100dvh;

    overflow: hidden;

    background-image: url("../images/hero/hero-4.8-clean.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;

    color: #ffffff;
}


/* =========================================================
   3. NAVIGATION
   ========================================================= */

.main-navigation {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    display: flex;
    align-items: center;

    min-height: 92px;
    padding: 0 2.5%;

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}


/* Logo */

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    flex: 0 0 auto;

    color: #e4ad2d;
    text-decoration: none;
    white-space: nowrap;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    color: #d99d18;

    font-size: 28px;
    line-height: 1;
}

.brand-name {
    font-size: clamp(22px, 1.9vw, 34px);
    line-height: 1;
}


/* Hauptmenü */

.nav-links {
    display: flex;
    align-items: center;

    gap: clamp(20px, 2.5vw, 48px);

    margin-left: auto;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    color: #f3ead9;
    text-decoration: none;

    font-size: clamp(15px, 1.25vw, 22px);
    line-height: 1;

    white-space: nowrap;

    transition:
        color .2s ease,
        background-color .2s ease,
        transform .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: #e4ad2d;
}


/* Buch bestellen */

.nav-links .nav-order {
    gap: 8px;

    min-height: 48px;

    margin-left: 2px;
    padding: 0 22px;

    border-radius: 999px;

    background: rgba(211, 157, 45, .95);
    color: #fff8e8;
}

.nav-links .nav-order:hover,
.nav-links .nav-order:focus-visible {
    background: #c58c20;
    color: #fff8e8;
}


/* =========================================================
   4. HERO-INHALT
   ========================================================= */

.hero-content {
    position: absolute;
    inset: 0;

    z-index: 20;

    pointer-events: none;
}

.hero-text {
    position: absolute;

    left: 2.5%;
    top: 27%;

    width: min(42%, 650px);

    color: #ffffff;
}


/* Eyebrow */

.hero-eyebrow {
    margin-bottom: 13px;

    color: #f0c400;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: clamp(11px, 1vw, 17px);
    font-weight: 700;

    line-height: 1.55;
    letter-spacing: .14em;

    text-transform: uppercase;
}


/* Kleine Linie */

.hero-divider {
    display: flex;
    align-items: center;
    gap: 11px;

    width: 78px;
    margin-bottom: 15px;

    color: #f0c400;
}

.hero-divider span {
    flex: 1;
    height: 2px;
    background: #d6a600;
}

.hero-divider b {
    font-size: 15px;
    font-weight: 400;
}


/* Haupttitel */

.hero-text h1 {
    margin: 0;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(54px, 5.1vw, 96px);
    font-weight: 400;

    line-height: .98;
    letter-spacing: -.035em;
}


/* Linie unter dem Titel */

.hero-title-divider {
    display: flex;
    align-items: center;
    gap: 18px;

    width: 390px;
    max-width: 85%;

    margin: 26px 0 22px;

    color: #e5b51e;
}

.hero-title-divider span {
    flex: 1;
    height: 2px;
    background: #d5a900;
}

.hero-title-divider b {
    flex: 0 0 auto;

    font-size: 24px;
    font-weight: 400;
}


/* Beschreibung */

.hero-description {
    max-width: 610px;

    margin: 0;

    color: #f4ede1;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(17px, 1.45vw, 25px);
    line-height: 1.45;
}


/* =========================================================
   5. HERO-BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-top: 34px;

    pointer-events: auto;
}

.hero-buttons .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 56px;
    padding: 0 28px;

    border-radius: 999px;

    text-decoration: none;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(15px, 1.15vw, 20px);

    transition:
        transform .2s ease,
        background-color .2s ease;
}

.hero-buttons .button:hover,
.hero-buttons .button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: #d39b29;
    color: #fff9e9;
    border: 1px solid #d39b29;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: #bb8420;
}

.button-secondary {
    background: rgba(10, 8, 5, .18);
    color: #fff8e8;
    border: 1px solid #d4a625;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(212, 166, 37, .18);
}

.button-icon {
    font-size: 20px;
}
.scroll-hint:hover,
.scroll-icon {
    position: relative;

    display: inline-flex;
    align-items: flex-start;
    justify-content: center;

    width: 31px;
    height: 48px;

    border: 2px solid #e2b400;
    border-radius: 18px;
}

.scroll-icon span {
    display: block;

    width: 3px;
    height: 10px;

    margin-top: 8px;

    border-radius: 3px;

    background: #e2b400;
}

.scroll-arrow {
    position: absolute;

    left: 8px;
    top: 39px;

    font-size: 24px;
    line-height: 1;
}


/* =========================================================
   7. TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .main-navigation {
        padding-left: 2%;
        padding-right: 2%;
    }

    .brand-name {
        font-size: 24px;
    }

    .nav-links {
        gap: 17px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .nav-links .nav-order {
        padding: 0 16px;
    }

    .hero-text {
        top: 28%;
        width: 46%;
    }

    .hero-text h1 {
        font-size: clamp(48px, 5.5vw, 72px);
    }
}


/* =========================================================
   8. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .hero {
        height: auto;
        min-height: 100dvh;

        background-size: cover;
        background-position: 58% center;
    }

    .main-navigation {
        position: absolute;
        padding: 18px 5%;
    }

    .brand-name {
        font-size: 21px;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        position: relative;
        min-height: 100dvh;
    }

    .hero-text {
        left: 7%;
        top: 27%;
        width: 86%;
    }

    .hero-text h1 {
        font-size: clamp(46px, 13vw, 70px);
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;

        gap: 12px;
        margin-top: 26px;
    }

    .hero-buttons .button {
        min-height: 52px;
        padding: 0 23px;
        font-size: 16px;
    }
}


/* =========================================================
   9. KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 480px) {

    .brand-mark {
        width: 28px;
        height: 28px;
        font-size: 23px;
    }

    .brand-name {
        font-size: 18px;
    }

    .hero-text {
        top: 24%;
    }

    .hero-eyebrow {
        font-size: 10px;
    }

    .hero-text h1 {
        font-size: 44px;
    }

    .hero-title-divider {
        margin-top: 20px;
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 16px;
    }
}
