/* =========================================================
   H2 CHAUFFEURSERVICE
   KONTAKT- UND BUCHUNGSSEITE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    position: relative;

    min-height: 760px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-color: #070707;
}

.contact-hero__background {
    position: absolute;
    inset: 0;

    background-image: url("../images/business-class.png");
    background-position: center 58%;
    background-repeat: no-repeat;
    background-size: cover;

    transform: scale(1.035);
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 4, 4, 0.98) 0%,
            rgba(4, 4, 4, 0.9) 43%,
            rgba(4, 4, 4, 0.42) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.18) 58%,
            rgba(0, 0, 0, 0.76) 100%
        );
}

.contact-hero__content {
    position: relative;
    z-index: 2;

    max-width: 790px;

    padding-top: 150px;
    padding-bottom: 110px;
}

.contact-hero__content h1 {
    max-width: 780px;
}

.contact-hero__text {
    max-width: 650px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 1.05rem;
    line-height: 1.85;
}

.contact-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;

    margin-top: 38px;
}


/* =========================================================
   EINLEITUNG
========================================================= */

.contact-intro {
    padding-bottom: 70px;
}


/* =========================================================
   BUCHUNGSBEREICH
========================================================= */

.booking-section {
    position: relative;

    background-color: #0a0a0a;
    color: #ffffff;
}

.booking-layout {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.72fr)
        minmax(0, 1.28fr);

    gap: 80px;

    align-items: start;
}

.booking-layout__content {
    position: sticky;
    top: 140px;

    max-width: 480px;
}

.booking-layout__content h2 {
    margin-bottom: 24px;
}

.booking-layout__content > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.68);

    line-height: 1.8;
}

.booking-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;

    margin-top: 34px;
    padding: 20px 22px;

    border: 1px solid rgba(201, 164, 92, 0.28);

    background-color: rgba(255, 255, 255, 0.025);
}

.booking-notice__icon {
    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold);

    color: var(--gold);

    font-size: 0.85rem;
}

.booking-notice p {
    margin: 1px 0 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.92rem;
    line-height: 1.65;
}


/* =========================================================
   FORMULAR-CONTAINER
========================================================= */

.booking-form-wrapper {
    padding: 46px;

    border: 1px solid rgba(201, 164, 92, 0.24);

    background-color: #111111;

    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.booking-form {
    width: 100%;
}

.booking-form__section {
    padding-bottom: 42px;
    margin-bottom: 42px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.booking-form__section:last-of-type {
    margin-bottom: 30px;
}

.booking-form__section-heading {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 28px;
}

.booking-form__section-heading span {
    width: 40px;
    height: 40px;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201, 164, 92, 0.48);

    color: var(--gold);

    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.booking-form__section-heading h3 {
    margin: 0;

    color: #ffffff;

    font-size: 1.55rem;
}


/* =========================================================
   FORMULAR-GRIDS
========================================================= */

.form-grid {
    display: grid;
    gap: 24px;
}

.form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* =========================================================
   FORMULARFELDER
========================================================= */

.form-field {
    position: relative;

    display: flex;
    flex-direction: column;

    margin-bottom: 24px;
}

.form-grid .form-field {
    margin-bottom: 0;
}

.form-field label {
    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    outline: none;

    background-color: #0b0b0b;
    color: #ffffff;

    font: inherit;

    transition:
        border-color 220ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.form-field input,
.form-field select {
    min-height: 58px;

    padding: 0 17px;
}

.form-field textarea {
    min-height: 150px;

    padding: 17px;

    resize: vertical;

    line-height: 1.7;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: rgba(201, 164, 92, 0.42);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--gold);

    background-color: #0e0e0e;

    box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.09);
}

.form-field select {
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    padding-right: 46px;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            var(--gold) 50%
        ),
        linear-gradient(
            135deg,
            var(--gold) 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 21px) 26px,
        calc(100% - 15px) 26px;

    background-size:
        6px 6px,
        6px 6px;

    background-repeat: no-repeat;
}

.form-field select option {
    background-color: #111111;
    color: #ffffff;
}

.form-field input[type="date"],
.form-field input[type="time"] {
    color-scheme: dark;
}

.form-field input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.form-field input[type="number"]::-webkit-outer-spin-button,
.form-field input[type="number"]::-webkit-inner-spin-button {
    margin: 0;

    appearance: none;
    -webkit-appearance: none;
}


/* =========================================================
   FEHLERZUSTÄNDE
========================================================= */

.form-field__error {
    display: none;

    margin-top: 8px;

    color: #e3a6a6;

    font-size: 0.78rem;
    line-height: 1.45;
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
    border-color: #c87575;
}

.form-field.is-invalid .form-field__error {
    display: block;
}

.form-field__error--privacy {
    margin-top: 12px;
}

.form-checkbox.is-invalid + .form-field__error--privacy {
    display: block;
}


/* =========================================================
   DATENSCHUTZ-CHECKBOX
========================================================= */

.form-checkbox {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 14px;

    margin-top: 26px;

    cursor: pointer;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.82rem;
    line-height: 1.65;
}

.form-checkbox input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.form-checkbox__mark {
    position: relative;

    width: 22px;
    height: 22px;

    flex: 0 0 auto;

    margin-top: 2px;

    border: 1px solid rgba(255, 255, 255, 0.24);

    background-color: #0a0a0a;

    transition:
        border-color 200ms ease,
        background-color 200ms ease;
}

.form-checkbox__mark::after {
    content: "";

    position: absolute;

    left: 7px;
    top: 3px;

    width: 5px;
    height: 10px;

    border-right: 2px solid #111111;
    border-bottom: 2px solid #111111;

    opacity: 0;

    transform: rotate(45deg) scale(0.8);

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.form-checkbox input:checked + .form-checkbox__mark {
    border-color: var(--gold);
    background-color: var(--gold);
}

.form-checkbox input:checked + .form-checkbox__mark::after {
    opacity: 1;

    transform: rotate(45deg) scale(1);
}

.form-checkbox input:focus-visible + .form-checkbox__mark {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.form-checkbox.is-invalid .form-checkbox__mark {
    border-color: #c87575;
}


/* =========================================================
   FORMULAR-AKTIONEN
========================================================= */

.booking-form__actions {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.booking-form__submit,
.button--whatsapp {
    width: 100%;

    justify-content: center;

    cursor: pointer;
}

.button--whatsapp {
    border-color: #3aac68;

    background-color: transparent;
    color: #ffffff;
}

.button--whatsapp:hover {
    border-color: #3aac68;

    background-color: #3aac68;
    color: #ffffff;
}

.booking-form__hint {
    max-width: 640px;

    margin: 20px auto 0;

    color: rgba(255, 255, 255, 0.46);

    font-size: 0.78rem;
    line-height: 1.65;
    text-align: center;
}

.booking-form__success {
    display: none;

    margin-top: 24px;
    padding: 18px 20px;

    border: 1px solid rgba(90, 184, 122, 0.5);

    background-color: rgba(90, 184, 122, 0.08);
    color: #b7e2c4;

    font-size: 0.88rem;
    line-height: 1.6;
}

.booking-form__success.is-visible {
    display: block;
}

.booking-form__success.is-error {
    border-color: rgba(200, 117, 117, 0.55);

    background-color: rgba(200, 117, 117, 0.09);
    color: #edbaba;
}


/* =========================================================
   DIREKTER KONTAKT
========================================================= */

.direct-contact {
    background-color: #f3f0e9;
    color: #111111;
}

.contact-cards {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;

    margin-top: 58px;
}

.contact-card {
    position: relative;

    min-height: 310px;

    padding: 38px 34px;

    border: 1px solid rgba(17, 17, 17, 0.14);

    background-color: rgba(255, 255, 255, 0.4);

    transition:
        transform 280ms ease,
        border-color 280ms ease,
        box-shadow 280ms ease;
}

.contact-card:hover {
    transform: translateY(-6px);

    border-color: rgba(201, 164, 92, 0.62);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.contact-card__number {
    display: block;

    margin-bottom: 54px;

    color: var(--gold-dark, #9c7a3b);

    font-family: var(--font-heading);
    font-size: 1.3rem;
}

.contact-card h3 {
    margin-bottom: 18px;

    color: #111111;
}

.contact-card p {
    margin-bottom: 24px;

    color: rgba(17, 17, 17, 0.64);

    line-height: 1.75;
}

.contact-card a {
    display: inline-block;

    color: #111111;

    font-size: 0.9rem;
    font-weight: 500;

    text-decoration: none;

    border-bottom: 1px solid var(--gold);

    padding-bottom: 5px;

    overflow-wrap: anywhere;

    transition:
        color 200ms ease,
        border-color 200ms ease;
}

.contact-card a:hover {
    color: var(--gold-dark, #9c7a3b);

    border-color: transparent;
}


/* =========================================================
   STANDORT UND VERFÜGBARKEIT
========================================================= */

.location-section {
    background-color: #0b0b0b;
    color: #ffffff;
}

.location-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(340px, 0.92fr);

    gap: 80px;

    align-items: stretch;
}

.location-map {
    min-height: 520px;

    display: flex;

    border: 1px solid rgba(201, 164, 92, 0.24);

    background:
        linear-gradient(
            135deg,
            rgba(201, 164, 92, 0.08),
            transparent 50%
        ),
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.018) 0,
            rgba(255, 255, 255, 0.018) 1px,
            transparent 1px,
            transparent 20px
        ),
        #101010;
}

.location-map__placeholder {
    max-width: 520px;

    margin: auto;

    padding: 50px;
}

.location-map__placeholder > span {
    display: inline-block;

    margin-bottom: 20px;

    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.location-map__placeholder h3 {
    margin-bottom: 22px;

    color: #ffffff;

    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.location-map__placeholder p {
    color: rgba(255, 255, 255, 0.62);

    line-height: 1.8;
}

.location-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-content h2 {
    margin-bottom: 24px;
}

.location-content > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.66);

    line-height: 1.8;
}

.availability-list {
    margin-top: 36px;

    border-top: 1px solid rgba(201, 164, 92, 0.34);
}

.availability-list__item {
    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding: 20px 0;

    border-bottom: 1px solid rgba(201, 164, 92, 0.2);
}

.availability-list__item span {
    color: rgba(255, 255, 255, 0.55);

    font-size: 0.82rem;
}

.availability-list__item strong {
    color: #ffffff;

    font-size: 0.85rem;
    font-weight: 500;
    text-align: right;
}


/* =========================================================
   ABSCHLUSS-CTA
========================================================= */

.contact-cta {
    background-color: #f3f0e9;
    color: #111111;
}

.contact-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

    padding-top: 20px;
    padding-bottom: 20px;
}

.contact-cta__inner > div {
    max-width: 760px;
}

.contact-cta__inner h2 {
    margin-bottom: 20px;
}

.contact-cta__inner p:not(.eyebrow) {
    max-width: 660px;

    color: rgba(17, 17, 17, 0.64);

    line-height: 1.8;
}

.contact-cta__inner .button {
    flex: 0 0 auto;

    color: #111111;
}

.contact-cta__inner .button:hover {
    color: #ffffff;
}


/* =========================================================
   AUTOFILL
========================================================= */

.booking-form input:-webkit-autofill,
.booking-form input:-webkit-autofill:hover,
.booking-form input:-webkit-autofill:focus,
.booking-form textarea:-webkit-autofill,
.booking-form select:-webkit-autofill {
    -webkit-text-fill-color: #ffffff;

    box-shadow: 0 0 0 1000px #0b0b0b inset;

    transition: background-color 9999s ease-in-out 0s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .booking-layout {
        grid-template-columns:
            minmax(260px, 0.68fr)
            minmax(0, 1.32fr);

        gap: 50px;
    }

    .booking-form-wrapper {
        padding: 38px;
    }

    .location-layout {
        gap: 55px;
    }

}


/* =========================================================
   KLEINE TABLETS
========================================================= */

@media (max-width: 960px) {

    .contact-hero {
        min-height: 700px;
    }

    .contact-hero__content {
        padding-top: 130px;
        padding-bottom: 90px;
    }

    .booking-layout {
        grid-template-columns: 1fr;

        gap: 52px;
    }

    .booking-layout__content {
        position: static;

        max-width: 720px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: 0;
    }

    .contact-card__number {
        margin-bottom: 36px;
    }

    .location-layout {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .location-map {
        min-height: 440px;
    }

    .location-content {
        max-width: 720px;
    }

    .contact-cta__inner {
        align-items: flex-start;
        flex-direction: column;

        gap: 32px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    .contact-hero {
        min-height: 720px;
    }

    .contact-hero__background {
        background-position: 67% center;
    }

    .contact-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 4, 4, 0.97) 0%,
                rgba(4, 4, 4, 0.87) 73%,
                rgba(4, 4, 4, 0.52) 100%
            ),
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.16) 0%,
                rgba(0, 0, 0, 0.74) 100%
            );
    }

    .contact-hero__content {
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .contact-hero__text {
        font-size: 1rem;
    }

    .contact-hero__actions {
        align-items: stretch;
        flex-direction: column;

        max-width: 340px;
    }

    .contact-hero__actions .button {
        justify-content: center;
    }

    .contact-intro {
        padding-bottom: 50px;
    }

    .booking-form-wrapper {
        padding: 30px 24px;
    }

    .booking-form__section {
        padding-bottom: 34px;
        margin-bottom: 34px;
    }

    .booking-form__section-heading {
        align-items: flex-start;
    }

    .booking-form__section-heading h3 {
        font-size: 1.35rem;
    }

    .form-grid--two,
    .form-grid--three {
        grid-template-columns: 1fr;
    }

    .form-grid {
        gap: 22px;
    }

    .booking-form__actions {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        margin-top: 42px;
    }

    .contact-card {
        padding: 32px 28px;
    }

    .location-map {
        min-height: 390px;
    }

    .location-map__placeholder {
        padding: 34px 28px;
    }

    .availability-list__item {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }

    .availability-list__item strong {
        text-align: left;
    }

}


/* =========================================================
   KLEINE SMARTPHONES
========================================================= */

@media (max-width: 480px) {

    .contact-hero {
        min-height: 680px;
    }

    .contact-hero__content {
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .booking-form-wrapper {
        margin-left: -4px;
        margin-right: -4px;

        padding: 26px 18px;
    }

    .booking-form__section-heading span {
        width: 36px;
        height: 36px;
    }

    .form-field input,
    .form-field select {
        min-height: 54px;
    }

    .form-checkbox {
        font-size: 0.78rem;
    }

    .contact-card {
        padding: 30px 24px;
    }

    .location-map {
        min-height: 350px;
    }

    .location-map__placeholder {
        padding: 28px 22px;
    }

}


/* =========================================================
   REDUZIERTE BEWEGUNG
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-card,
    .form-field input,
    .form-field select,
    .form-field textarea,
    .form-checkbox__mark,
    .form-checkbox__mark::after {
        transition: none;
    }

    .contact-card:hover {
        transform: none;
    }

}
