/* =========================================================
   H2 CHAUFFEURSERVICE
   Hauptstylesheet
========================================================= */


/* ---------- Reset ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
p,
ul,
ol,
figure {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ---------- Variablen ---------- */

:root {
    --color-black: #090909;
    --color-black-soft: #0f0f0f;
    --color-dark: #151515;
    --color-dark-alt: #1a1a1a;
    --color-gold: #c8a25a;
    --color-gold-light: #e1c184;
    --color-white: #ffffff;
    --color-text: #d6d6d6;
    --color-muted: #9c9c9c;
    --color-border: rgba(200, 162, 90, 0.22);

    --font-heading: "Cormorant Garamond", serif;
    --font-body: "Manrope", sans-serif;

    --container-width: 1320px;
    --header-height: 92px;

    --transition: 0.35s ease;
}


/* ---------- Grundlayout ---------- */

body {
    min-width: 320px;
    overflow-x: hidden;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

body.menu-open {
    overflow: hidden;
}

.container {
    width: min(calc(100% - 48px), var(--container-width));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 130px 0;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.08;
}

h1 {
    font-size: clamp(3.5rem, 7vw, 7.4rem);
    letter-spacing: -0.035em;
}

h2 {
    font-size: clamp(2.7rem, 5vw, 5.2rem);
    letter-spacing: -0.025em;
}

h3 {
    font-size: clamp(1.65rem, 2.2vw, 2.3rem);
}

p {
    color: var(--color-text);
}

.eyebrow {
    margin-bottom: 20px;
    color: var(--color-gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-heading {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(280px, 0.65fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 72px;
}

.section-heading h2 {
    max-width: 850px;
}

.section-heading > p {
    max-width: 460px;
    padding-bottom: 8px;
    color: var(--color-muted);
}

.section-heading.centered {
    display: block;
    max-width: 850px;
    margin-inline: auto;
    text-align: center;
}

.section-footer-link {
    display: flex;
    justify-content: center;
    margin-top: 58px;
}


/* ---------- Buttons ---------- */

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    border: 1px solid var(--color-gold);
    border-radius: 999px;
    background: var(--color-gold);
    color: #111111;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

.button:hover {
    border-color: var(--color-gold-light);
    background: var(--color-gold-light);
    transform: translateY(-2px);
}

.button-small {
    min-height: 46px;
    padding-inline: 24px;
    font-size: 0.8rem;
}

.button-outline {
    background: transparent;
    color: var(--color-gold-light);
}

.button-outline:hover {
    background: var(--color-gold);
    color: #111111;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
}

.text-link span:last-child {
    color: var(--color-gold);
    font-size: 1.2rem;
    transition: transform var(--transition);
}

.text-link:hover {
    color: var(--color-gold-light);
}

.text-link:hover span:last-child {
    transform: translateX(6px);
}


/* ---------- Header ---------- */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    transition:
        background var(--transition),
        border-color var(--transition),
        backdrop-filter var(--transition);
}

.site-header.scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.06);
    background: rgba(7, 7, 7, 0.88);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    grid-template-columns: 220px 1fr auto;
    height: 100%;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    width: fit-content;
    align-items: center;
}

.brand-logo {
    width: 175px;
    max-height: 66px;
    object-fit: contain;
    object-position: left center;
}

.main-navigation {
    justify-self: center;
}

.navigation-list {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation-list a {
    position: relative;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.84rem;
    font-weight: 500;
    transition: color var(--transition);
}

.navigation-list a::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 1px;
    margin: auto;
    background: var(--color-gold);
    content: "";
    transition: width var(--transition);
}

.navigation-list a:hover,
.navigation-list a.active {
    color: var(--color-white);
}

.navigation-list a:hover::after,
.navigation-list a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.35);
}

.language-button {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition);
}

.language-button:hover,
.language-button.active {
    color: var(--color-gold-light);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    margin: 6px auto;
    background: var(--color-white);
    transition:
        transform var(--transition),
        opacity var(--transition);
}


/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-background {
    background:
        url("../images/hero.png")
        center center / cover no-repeat;
    transform: scale(1.02);
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 5, 0.97) 0%,
            rgba(5, 5, 5, 0.85) 39%,
            rgba(5, 5, 5, 0.35) 67%,
            rgba(5, 5, 5, 0.1) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.35) 0%,
            rgba(0, 0, 0, 0) 55%,
            rgba(0, 0, 0, 0.6) 100%
        );
}

.hero-layout {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 70px;
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 80px;
}

.hero-content {
    max-width: 860px;
}

.hero-content h1 {
    max-width: 900px;
}

.hero-description {
    max-width: 650px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 44px;
}

.hero-details {
    display: grid;
    align-self: end;
    gap: 28px;
    padding-bottom: 15px;
}

.hero-detail {
    min-width: 130px;
    padding-left: 18px;
    border-left: 1px solid var(--color-border);
}

.hero-detail-number {
    display: block;
    color: var(--color-gold-light);
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
}

.hero-detail span:last-child {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.scroll-indicator {
    position: absolute;
    z-index: 3;
    bottom: 32px;
    left: 50%;
    width: 28px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 20px;
    transform: translateX(-50%);
}

.scroll-indicator span {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 3px;
    height: 7px;
    border-radius: 3px;
    background: var(--color-gold);
    transform: translateX(-50%);
    animation: scroll-indicator 1.8s infinite;
}

@keyframes scroll-indicator {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 16px);
    }
}


/* ---------- Leistungen ---------- */

.services-section {
    background: var(--color-black-soft);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.service-card {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    padding: 36px 30px;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.01);
    transition:
        background var(--transition),
        transform var(--transition);
}

.service-card:hover {
    background: rgba(200, 162, 90, 0.055);
    transform: translateY(-5px);
}

.service-number {
    color: var(--color-gold);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.15em;
}

.service-card h3 {
    margin-top: 60px;
}

.service-card p {
    margin-top: 22px;
    color: var(--color-muted);
    font-size: 0.92rem;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 36px;
    color: var(--color-gold-light);
    font-size: 0.82rem;
    font-weight: 600;
    transition: gap var(--transition);
}

.service-card a:hover {
    gap: 16px;
}


/* ---------- Versprechen ---------- */

.promise-section {
    background: var(--color-black);
}

.promise-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.9fr);
    gap: 95px;
    align-items: center;
}

.promise-image {
    position: relative;
}

.promise-image::before {
    position: absolute;
    z-index: 1;
    top: -18px;
    right: -18px;
    width: 120px;
    height: 120px;
    border-top: 1px solid var(--color-gold);
    border-right: 1px solid var(--color-gold);
    content: "";
}

.promise-image img {
    width: 100%;
    min-height: 680px;
    object-fit: cover;
}

.promise-content > p:not(.eyebrow) {
    max-width: 620px;
    margin-top: 28px;
    color: var(--color-muted);
}

.promise-list {
    margin-top: 45px;
    margin-bottom: 42px;
    border-top: 1px solid var(--color-border);
}

.promise-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 22px;
    padding: 27px 0;
    border-bottom: 1px solid var(--color-border);
}

.promise-item > span {
    padding-top: 4px;
    color: var(--color-gold);
    font-size: 0.72rem;
    font-weight: 600;
}

.promise-item h3 {
    font-size: 1.55rem;
}

.promise-item p {
    margin-top: 7px;
    color: var(--color-muted);
    font-size: 0.88rem;
}


/* ---------- Fahrzeugklassen ---------- */

.fleet-section {
    background: var(--color-black-soft);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.fleet-card {
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: var(--color-dark);
}

.fleet-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.fleet-image::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(0, 0, 0, 0.55) 100%
        );
    content: "";
}

.fleet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.fleet-card:hover .fleet-image img {
    transform: scale(1.045);
}

.fleet-content {
    padding: 30px;
}

.fleet-category {
    color: var(--color-gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.fleet-content h3 {
    margin-top: 10px;
    font-size: 2rem;
}

.fleet-content > p:last-child {
    margin-top: 16px;
    color: var(--color-muted);
    font-size: 0.9rem;
}


/* ---------- Ablauf ---------- */

.process-section {
    background: var(--color-black);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 72px;
    border-top: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

.process-step {
    min-height: 300px;
    padding: 36px 28px;
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.process-step > span {
    color: var(--color-gold);
    font-size: 0.74rem;
    font-weight: 600;
}

.process-step h3 {
    margin-top: 75px;
    font-size: 1.8rem;
}

.process-step p {
    margin-top: 15px;
    color: var(--color-muted);
    font-size: 0.88rem;
}


/* ---------- Buchungs-CTA ---------- */

.booking-cta {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.booking-cta-background,
.booking-cta-overlay {
    position: absolute;
    inset: 0;
}

.booking-cta-background {
    background:
        url("../images/booking-background.png")
        center center / cover no-repeat;
}

.booking-cta-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(4, 4, 4, 0.93) 0%,
            rgba(4, 4, 4, 0.77) 46%,
            rgba(4, 4, 4, 0.25) 100%
        );
}

.booking-cta-content {
    position: relative;
    z-index: 2;
}

.booking-cta-content h2 {
    max-width: 900px;
}

.booking-cta-content > p:not(.eyebrow) {
    max-width: 620px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.72);
}

.booking-cta-content .button {
    margin-top: 38px;
}


/* ---------- Footer ---------- */

.site-footer {
    padding-top: 90px;
    background: #070707;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 0.65fr);
    gap: 60px;
    padding-bottom: 70px;
}

.footer-logo {
    width: 190px;
    max-height: 90px;
    object-fit: contain;
    object-position: left center;
}

.footer-brand p {
    max-width: 420px;
    margin-top: 28px;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.footer-column h3 {
    margin-bottom: 26px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-column ul {
    display: grid;
    gap: 13px;
}

.footer-column a,
.footer-column address p {
    color: var(--color-muted);
    font-size: 0.86rem;
    font-style: normal;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--color-gold-light);
}

.footer-column address {
    display: grid;
    gap: 13px;
}

.footer-bottom {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom p,
.footer-bottom a {
    color: #777777;
    font-size: 0.75rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}


/* ---------- Reveal Animation ---------- */

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ---------- Fokus ---------- */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 4px;
}