@charset "UTF-8";

/* ==========================================================================
   Schrift: Titillium Web (SIL Open Font License), lokal eingebunden
   ========================================================================== */

@font-face {
    font-family: "Titillium Web";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/titillium-web/titillium-web-v4-latin-regular.woff2") format("woff2");
}

@font-face {
    font-family: "Titillium Web";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/titillium-web/titillium-web-v4-latin-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Titillium Web";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/titillium-web/titillium-web-v4-latin-700.woff2") format("woff2");
}

/* ==========================================================================
   Variablen
   ========================================================================== */

:root {
    --ink: #15120f;
    --ink-raised: #221d19;
    --ink-line: #3b342d;
    --ink-deep: #0c0a08;
    --paper: #f5f2ec;
    --white: #fff;
    --orange: #f70;
    --orange-light: #ff9233;
    /* Orange als Textfarbe auf hellem Grund (Kontrast ≥ 4.5:1) */
    --orange-text: #b34a00;
    --muted: #5a524a;
    --muted-on-dark: #c2bab0;

    --font: "Titillium Web", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --radius: 1.25rem;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --container: 75rem;
    --header-height: 4rem;
    --section-space: clamp(4rem, 10vw, 7.5rem);
    --hero-overlap: clamp(2rem, 7vw, 6rem);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --stripes: repeating-linear-gradient(-45deg, var(--orange) 0 .375rem, transparent .375rem .75rem);
    --focus: var(--ink);
}

/* ==========================================================================
   Basis
   ========================================================================== */

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

html {
    scroll-padding-top: calc(var(--header-height) + 1rem);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol {
    margin: 0;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.15;
}

ul[class] {
    padding: 0;
    list-style: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

address {
    font-style: normal;
}

a {
    color: inherit;
    text-decoration-thickness: .08em;
    text-underline-offset: .2em;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.nowrap {
    white-space: nowrap;
}

.container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
}

.theme-dark {
    --focus: var(--white);
    color: var(--white);
    background-color: var(--ink);
}

.theme-orange {
    color: var(--ink);
    background-color: var(--orange);
}

.icon {
    flex: none;
    width: 1.25em;
    height: 1.25em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skip-link {
    position: absolute;
    top: 0;
    left: var(--gutter);
    z-index: 100;
    padding: .75rem 1.25rem;
    font-weight: 700;
    color: var(--ink);
    background-color: var(--orange);
    border-radius: 0 0 .75rem .75rem;
    transform: translateY(-110%);
}

.skip-link:focus {
    transform: none;
}

/* ==========================================================================
   Buttons und Links
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    min-height: 3rem;
    padding: .625rem 1.375rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 99rem;
    transition: background-color .2s, border-color .2s, color .2s;
}

.btn--primary {
    color: var(--ink);
    background-color: var(--orange);
}

.btn--primary:hover {
    background-color: var(--orange-light);
}

.btn--ghost {
    border-color: var(--ink-line);
}

.btn--ghost:hover {
    border-color: currentColor;
}

.btn--small {
    min-height: 2.75rem;
    padding-inline: 1.125rem;
}

.btn .icon,
.link-arrow .icon {
    transition: transform .25s var(--ease);
}

.btn:hover .icon--right,
.link-arrow:hover .icon--right {
    transform: translateX(.25rem);
}

.btn:hover .icon--down {
    transform: translateY(.1875rem);
}

.link-arrow:hover .icon--left {
    transform: translateX(-.25rem);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
    font-weight: 700;
}

/* ==========================================================================
   Kopfzeile
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgb(21 18 15 / .92);
    border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: border-color .3s, box-shadow .3s;
}

.site-header.is-stuck {
    border-bottom-color: var(--ink-line);
    box-shadow: 0 .5rem 1.5rem rgb(0 0 0 / .25);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    min-height: 2.75rem;
    text-decoration: none;
}

.brand__mark {
    flex: none;
    width: 2.25rem;
    height: 2.25rem;
}

.brand__name {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .06em;
}

.brand__claim {
    display: none;
    padding-left: .75rem;
    font-size: .875rem;
    line-height: 1.2;
    color: var(--muted-on-dark);
    border-left: 1px solid var(--ink-line);
}

.header-call__number {
    display: none;
}

@media (min-width: 40em) {
    .brand__claim {
        display: block;
    }

    .header-call__label {
        display: none;
    }

    .header-call__number {
        display: inline;
    }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    /* hält den negativen Außenabstand des Fotos im Abschnitt, damit es unten herausragt */
    display: flow-root;
    padding-top: clamp(2.5rem, 8vw, 6rem);
    background-image: radial-gradient(60rem 28rem at 88% -8%, rgb(255 119 0 / .2), transparent 65%);
}

.hero__title {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: .875rem;
    font-size: clamp(.8125rem, 1.5vw, 1rem);
    line-height: 1.4;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
}

.hero__eyebrow::before {
    content: "";
    flex: none;
    width: 2.25rem;
    height: .75rem;
    background-image: var(--stripes);
}

.hero__slogan {
    font-size: clamp(2.75rem, 10vw, 7rem);
    line-height: .95;
    letter-spacing: -.015em;
    text-transform: uppercase;
    text-wrap: balance;
}

.hero__accent {
    color: var(--orange);
}

.hero__lead {
    max-width: 38rem;
    margin-top: clamp(1.25rem, 3vw, 2rem);
    font-size: clamp(1.0625rem, 2vw, 1.3125rem);
    color: var(--muted-on-dark);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

/* Das Foto ragt in den folgenden Abschnitt hinein */
.hero__media {
    position: relative;
    z-index: 1;
    width: min(100% - 2 * var(--gutter), 87.5rem);
    margin: clamp(2.5rem, 7vw, 5rem) auto calc(-1 * var(--hero-overlap));
    overflow: hidden;
    background-color: var(--ink-raised);
    border-radius: var(--radius);
    box-shadow: 0 2rem 4rem -1.5rem rgb(0 0 0 / .6);
}

.hero__media img {
    width: 100%;
}

.hero + .section {
    padding-top: calc(var(--section-space) + var(--hero-overlap));
    /* Sprungziel unterhalb des überlappenden Fotos */
    scroll-margin-top: calc(-1 * var(--hero-overlap) - var(--section-space) / 2);
}

/* ==========================================================================
   Abschnitte
   ========================================================================== */

.section {
    padding-block: var(--section-space);
    scroll-margin-top: -1rem;
}

.section__head {
    max-width: 46rem;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.eyebrow {
    margin-bottom: .75rem;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange-text);
}

.theme-dark .eyebrow {
    color: var(--orange);
}

.theme-orange .eyebrow {
    color: var(--ink);
}

.section__title {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.01em;
    text-transform: uppercase;
    text-wrap: balance;
    hyphens: auto;
}

.section__lead {
    margin-top: 1rem;
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--muted);
}

.theme-dark .section__lead {
    color: var(--muted-on-dark);
}

.theme-orange .section__lead {
    color: var(--ink);
}

/* ==========================================================================
   Mietpark
   ========================================================================== */

.fleet {
    display: grid;
    gap: clamp(.875rem, 2vw, 1.25rem);
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background-color: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius);
    box-shadow: 0 1px 2px rgb(21 18 15 / .06), 0 1rem 2rem -1.25rem rgb(21 18 15 / .25);
}

.card__media {
    position: relative;
    flex: 1 1 auto;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #d8d1c6;
}

.fleet__item--wide .card__media {
    aspect-ratio: 16 / 9;
}

.card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
}

.card__body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.card__title {
    font-size: 1.375rem;
    overflow-wrap: break-word;
}

.card__text {
    margin-top: .375rem;
    color: var(--muted);
}

.card--more {
    justify-content: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    background-color: var(--ink);
}

.more-list {
    margin-top: 1rem;
}

.more-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-block: .875rem;
    font-weight: 700;
    line-height: 1.3;
    border-top: 1px solid var(--ink-line);
    hyphens: auto;
}

.more-list li:last-child {
    padding-bottom: 0;
}

.more-list .icon {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--orange);
    stroke-width: 1.75;
}

/* Bilder und Texte benachbarter Karten enden auf gleicher Höhe */
@supports (grid-template-rows: subgrid) {
    .fleet__item,
    .card {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 2;
        row-gap: 0;
    }

    .card__media {
        place-self: stretch;
    }

    .card--more {
        display: flex;
    }
}

@media (hover: hover) {
    .card:hover .card__media img {
        transform: scale(1.04);
    }
}

@media (min-width: 40em) {
    .fleet {
        grid-template-columns: repeat(2, 1fr);
    }

    .fleet__item--wide {
        grid-column: 1 / -1;
    }
}

@media (min-width: 64em) {
    .fleet {
        grid-template-columns: repeat(12, 1fr);
    }

    .fleet__item {
        grid-column: span 4;
    }

    .fleet__item--wide {
        grid-column: span 8;
    }
}

/* ==========================================================================
   Abholung und Lieferung
   ========================================================================== */

.split {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
}

.split .section__head {
    margin-bottom: 0;
}

.options {
    display: grid;
    gap: 1rem;
}

.option {
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    background-color: var(--ink);
    border: 1px solid transparent;
    border-radius: var(--radius);
}

.option__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    color: var(--ink);
    background-color: var(--orange);
    border-radius: 50%;
}

.option__title {
    font-size: 1.375rem;
}

.option__text {
    margin-top: .375rem;
    color: var(--muted-on-dark);
}

@media (min-width: 36em) {
    .options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 60em) {
    .split {
        grid-template-columns: 5fr 6fr;
        align-items: center;
    }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */

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

.contact-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem 1rem;
    height: 100%;
    padding: 1.5rem;
    text-decoration: none;
    background-color: var(--ink-raised);
    border: 1px solid var(--ink-line);
    border-radius: var(--radius);
    transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}

.contact-card__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.25rem;
    color: var(--ink);
    background-color: var(--orange);
    border-radius: 50%;
}

.contact-card__arrow {
    font-size: 1.125rem;
    color: var(--muted-on-dark);
    transition: transform .25s var(--ease), color .25s;
}

.contact-card__text {
    grid-column: 1 / -1;
}

.contact-card__label {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted-on-dark);
}

.contact-card__value {
    display: block;
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.contact-card--primary {
    color: var(--ink);
    background-color: var(--orange);
    border-color: var(--orange);
}

.contact-card--primary .contact-card__icon {
    color: var(--orange);
    background-color: var(--ink);
}

.contact-card--primary .contact-card__label,
.contact-card--primary .contact-card__arrow {
    color: var(--ink);
}

@media (hover: hover) {
    .contact-card:hover {
        border-color: var(--orange);
        transform: translateY(-.1875rem);
    }

    .contact-card--primary:hover {
        background-color: var(--orange-light);
        border-color: var(--orange-light);
    }

    .contact-card:hover .contact-card__arrow {
        color: inherit;
        transform: translate(.1875rem, -.1875rem);
    }
}

.contact-address {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.5rem;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
    border-top: 1px solid var(--ink-line);
}

.contact-address address {
    flex: 1 1 16rem;
    color: var(--muted-on-dark);
}

.contact-address strong {
    color: var(--white);
}

.contact-address .link-arrow {
    color: var(--orange);
}

@media (min-width: 48em) {
    .contact-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Fußzeile
   ========================================================================== */

.site-footer {
    --focus: var(--white);
    color: var(--muted-on-dark);
    background-color: var(--ink-deep);
}

.site-footer::before {
    content: "";
    display: block;
    height: .5rem;
    background-image: var(--stripes);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 2rem;
}

.site-footer__copy {
    font-size: .9375rem;
}

.site-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
    padding: 0;
    list-style: none;
}

.site-footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    color: var(--white);
    text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a[aria-current] {
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-decoration-thickness: .125em;
}

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutz) und Fehlerseite
   ========================================================================== */

.legal {
    padding-block: clamp(2rem, 6vw, 4rem) var(--section-space);
    line-height: 1.7;
    overflow-wrap: break-word;
    hyphens: auto;
}

.legal__inner {
    width: min(100% - 2 * var(--gutter), 48rem);
    margin-inline: auto;
}

.legal .link-arrow {
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}

.legal h1 {
    margin-block: 1.5rem clamp(2rem, 5vw, 3rem);
    font-size: clamp(1.5rem, 7.4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -.01em;
    text-transform: uppercase;
    hyphens: manual;
}

.legal h2 {
    margin-top: clamp(3rem, 7vw, 4.5rem);
    font-size: clamp(1.5rem, 4vw, 2.125rem);
    line-height: 1.2;
    letter-spacing: -.005em;
}

.legal h1 + h2 {
    margin-top: 0;
}

.legal h3 {
    margin-top: 2.25rem;
    font-size: clamp(1.1875rem, 2.5vw, 1.375rem);
    line-height: 1.3;
}

.legal h2 + h3 {
    margin-top: 1.5rem;
}

.legal p,
.legal ul {
    margin-top: 1rem;
}

.legal a {
    font-weight: 700;
    color: var(--orange-text);
    text-decoration-thickness: .1em;
    hyphens: none;
}

.legal ul:not([class]) {
    padding-left: 1.25rem;
}

.legal li + li {
    margin-top: .375rem;
}

/* Anschrift und Kontaktdaten als Karte mit Akzentkante */
.legal__card {
    margin-top: 1.25rem;
    padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2rem);
    background-color: var(--white);
    border-left: .25rem solid var(--orange);
    border-radius: 0 var(--radius) var(--radius) 0;
    hyphens: manual;
}

.legal__card > * + * {
    margin-top: 1rem;
}

.legal__card + p {
    margin-top: 1.5rem;
}

/* Kontaktdaten: Bezeichnung links, Wert rechts */
.legal__facts {
    display: grid;
    gap: .625rem;
    margin: 1.5rem 0 0;
    hyphens: manual;
}

.legal__facts div {
    display: grid;
    grid-template-columns: clamp(5.5rem, 28%, 9rem) 1fr;
    gap: 1rem;
}

.legal__facts dt {
    color: var(--muted);
}

.legal__facts dd {
    margin: 0;
    font-weight: 700;
}

@media (min-width: 40em) {
    .legal {
        font-size: 1.125rem;
    }
}

.error-page {
    display: grid;
    place-items: center;
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100svh - var(--header-height));
    padding-block: var(--section-space);
    text-align: center;
}

.error-page__code {
    font-size: clamp(6rem, 28vw, 14rem);
    font-weight: 700;
    line-height: .9;
    letter-spacing: -.02em;
    color: var(--orange);
}

.error-page__title {
    margin-top: 1rem;
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    text-transform: uppercase;
    text-wrap: balance;
}

.error-page__text {
    max-width: 34rem;
    margin: 1rem auto 2rem;
    color: var(--muted-on-dark);
}

/* ==========================================================================
   Bewegung: nur, wenn das System keine reduzierte Bewegung verlangt
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    @view-transition {
        navigation: auto;
    }

    .skip-link {
        transition: transform .2s;
    }

    .hero__eyebrow,
    .hero__slogan,
    .hero__lead,
    .hero__actions {
        animation: rise .8s var(--ease) both;
    }

    .hero__slogan {
        animation-delay: .08s;
    }

    .hero__lead {
        animation-delay: .16s;
    }

    .hero__actions {
        animation-delay: .24s;
    }

    /* Das Foto bleibt sichtbar und rückt nur an seinen Platz */
    .hero__media {
        animation: settle 1s var(--ease) both;
    }

    /* Die Klasse .reveal setzt js/main.js nur für Elemente unterhalb des sichtbaren Bereichs */
    .reveal {
        opacity: 0;
        transform: translateY(1.5rem);
        transition: opacity .7s var(--ease), transform .7s var(--ease);
    }

    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
}

@keyframes settle {
    from {
        transform: translateY(2.5rem) scale(.97);
    }
}
