/* 11.08.2026: Gemeinsames Taxi-Passau-Design fuer CMS-Seiten und automatische CMS-Linklisten. */
:root {
    --taxi-yellow: #ffd000;
    --taxi-yellow-dark: #e8b900;
    --taxi-black: #111111;
    --taxi-text: #252525;
    --taxi-muted: #6b6b6b;
    --taxi-surface: #f5f5f3;
}

.cms-site {
    margin: 0;
    color: var(--taxi-text);
    background: var(--taxi-surface);
    font-family: "Poppins", sans-serif;
}

.cms-site-header {
    position: relative;
    z-index: 10;
    background: var(--taxi-black);
    border-bottom: 3px solid var(--taxi-yellow);
}

.cms-header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cms-logo img {
    display: block;
    width: 68px;
    height: 68px;
    object-fit: contain;
}

.cms-header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.cms-header-actions a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.cms-header-actions a:hover,
.cms-site-footer a:hover {
    color: var(--taxi-yellow);
    text-decoration: none;
}

.cms-hero {
    position: relative;
    overflow: hidden;
    padding: 74px 0 82px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 50%, rgba(255, 208, 0, .35), transparent 28%),
        linear-gradient(120deg, #090909 0%, #1d1d1d 68%, #3b3100 100%);
}

.cms-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -170px;
    width: 430px;
    height: 430px;
    border: 78px solid rgba(255, 208, 0, .12);
    border-radius: 50%;
}

.cms-hero .container {
    position: relative;
    z-index: 1;
}

.cms-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
    color: #d0d0d0;
    font-size: 14px;
}

.cms-breadcrumb a {
    color: var(--taxi-yellow);
}

.cms-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #9b7900;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.cms-hero .cms-eyebrow {
    color: var(--taxi-yellow);
}

.cms-hero h1 {
    max-width: 900px;
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.1;
}

.cms-hero p {
    margin: 0;
    color: #ececec;
    font-size: 19px;
}

.cms-content-section {
    padding: 64px 0;
}

.cms-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 32px;
    align-items: start;
}

.cms-content-card,
.cms-contact-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .09);
}

.cms-content-card {
    padding: clamp(25px, 5vw, 58px);
    border-top: 7px solid var(--taxi-yellow);
}

.cms-richtext {
    font-size: 17px;
    line-height: 1.8;
}

.cms-richtext h2,
.cms-richtext h3,
.cms-richtext h4 {
    margin-top: 1.7em;
    margin-bottom: .65em;
    color: var(--taxi-black);
    font-weight: 750;
    line-height: 1.25;
}

.cms-richtext h2:first-child,
.cms-richtext h3:first-child {
    margin-top: 0;
}

.cms-richtext a {
    color: #8a6b00;
    font-weight: 650;
    text-decoration: underline;
    text-decoration-color: var(--taxi-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.cms-richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.cms-richtext hr {
    margin: 32px 0;
    border-color: #ececec;
}

.cms-contact-card {
    position: sticky;
    top: 24px;
    padding: 30px;
    background: var(--taxi-yellow);
}

.cms-contact-card h2 {
    margin-bottom: 14px;
    color: var(--taxi-black);
    font-size: 27px;
    font-weight: 800;
}

.cms-contact-card p {
    line-height: 1.6;
}

.cms-button {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 14px 18px;
    border-radius: 9px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.cms-button-dark {
    color: #fff;
    background: var(--taxi-black);
}

.cms-button-whatsapp {
    color: #fff;
    background: #1fbd63;
}

.cms-button-yellow {
    display: inline-block;
    width: auto;
    margin: 0;
    padding: 11px 17px;
    color: #111 !important;
    background: var(--taxi-yellow);
}

.cms-payment-note {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(0, 0, 0, .18);
    font-size: 13px;
}

.cms-directory {
    padding: 62px 0 70px;
    color: #fff;
    background: var(--taxi-black);
}

.cms-directory h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
}

.cms-directory-intro {
    margin-bottom: 30px;
    color: #bdbdbd;
}

.cms-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cms-directory-grid a {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    color: #fff;
    background: #202020;
    border: 1px solid #343434;
    border-radius: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, background .2s ease;
}

.cms-directory-grid a:hover {
    color: var(--taxi-black);
    background: var(--taxi-yellow);
    border-color: var(--taxi-yellow);
    transform: translateY(-2px);
    text-decoration: none;
}

.cms-directory-grid a span:last-child {
    color: var(--taxi-yellow);
    font-size: 22px;
}

.cms-directory-grid a:hover span:last-child {
    color: var(--taxi-black);
}

.cms-site-footer {
    color: #bdbdbd;
    background: #080808;
    border-top: 1px solid #242424;
}

.cms-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 45px;
    padding-top: 52px;
    padding-bottom: 45px;
}

.cms-footer-logo {
    width: 82px;
    margin-bottom: 18px;
}

.cms-site-footer h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
}

.cms-site-footer a {
    display: block;
    margin: 8px 0;
    color: #d8d8d8;
}

.cms-footer-bottom {
    padding: 18px 0;
    color: #888;
    border-top: 1px solid #242424;
    font-size: 14px;
}

@media (max-width: 991px) {
    .cms-content-layout,
    .cms-footer-grid {
        grid-template-columns: 1fr;
    }

    .cms-contact-card {
        position: static;
    }

    .cms-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .cms-header-inner {
        min-height: 76px;
    }

    .cms-logo img {
        width: 58px;
        height: 58px;
    }

    .cms-header-actions {
        gap: 12px;
        font-size: 13px;
    }

    .cms-header-actions > a:nth-child(2) {
        display: none;
    }

    .cms-button-yellow {
        padding: 9px 12px;
    }

    .cms-hero {
        padding: 50px 0 58px;
    }

    .cms-content-section {
        padding: 32px 0;
    }

    .cms-content-card,
    .cms-contact-card {
        border-radius: 15px;
    }

    .cms-directory {
        padding: 44px 0 50px;
    }

    .cms-directory-grid {
        grid-template-columns: 1fr;
    }
}
