/* =========================================================
  EVENT CATERER – GESAMTES CSS (merged incl. mobile fixes)
  ========================================================= */

@import url('css/bootstrap.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css');
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap');


/* ---------- Root & Basics ---------- */
:root {
    --bg: #0b0d10;
    --panel: #13151a;
    --panel-2: #181b21;
    --muted: #a5adb6;
    --text: #f3f4f6;
    --red: #e4312b;
    --red-700: #c52622;
    --yellow: #f6c453;
    --border: rgba(255, 255, 255, .10);
    --topbar-h: 40px;
    --nav-h: 110px;
    --logo-h: 84px;
    --radius-lg: 14px;
    --radius-md: 12px;
    --radius-sm: 10px;

    /* Mobile safe area */
    --safe-top: env(safe-area-inset-top, 0px);

    /* Gesamthöhe Header (Topbar + Navbar) */
    --header-h: calc(var(--topbar-h) + var(--nav-h));
}

html, body {
    background: var(--bg);
    color: var(--text);
    scroll-behavior: smooth;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-size: 18px;
    overflow-x: hidden; /* Schutz vor horizontalem Scrollen auf XS */
}

h1, h2, h3, h4, .claim-title, .section-title strong {
    font-family: "Bebas Neue", Inter, sans-serif;
    letter-spacing: .02em;
}

a {
    color: inherit;
    text-decoration: none
}

.muted {
    color: var(--muted)
}

.container-wide {
    max-width: 1320px
}

.section {
    padding-block: clamp(3.2rem, 5.5vw, 5.4rem)
}

.kicker {
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .9rem;
    color: #d4d9df
}

/* ---------- Buttons ---------- */
.btn-red {
    --bs-btn-bg: var(--red);
    --bs-btn-border-color: var(--red);
    --bs-btn-hover-bg: var(--red-700);
    --bs-btn-hover-border-color: var(--red-700);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    padding: .8rem 1.3rem;
    font-weight: 700;
    letter-spacing: .02em;
    border-radius: var(--radius-md);
}

.btn-outline-red {
    --bs-btn-color: #fff;
    --bs-btn-border-color: var(--red);
    --bs-btn-hover-bg: var(--red);
    --bs-btn-hover-border-color: var(--red);
    --bs-btn-hover-color: #fff;
    padding: .8rem 1.3rem;
    font-weight: 700;
    letter-spacing: .02em;
    border-radius: var(--radius-md);
}

/* ---------- Topbar ---------- */
.topbar {
    background: #a32020;
    font-size: .95rem;
    min-height: var(--topbar-h);
    display: flex;
    align-items: center;
    padding-top: var(--safe-top);
    position: static; /* scrollt weg */
}

/* Abstand & Wrap-Verhalten im Container */
.topbar .container {
    row-gap: .4rem;
}

/* Standard-Links in der Topbar (Fallback) */
.topbar a {
    color: #fff;
    opacity: .95;
    text-decoration: none;
    transition: opacity .2s ease;
}

.topbar a:hover {
    opacity: 1;
}

/* Spezifische Kontaktlinks links */
.topbar .topbar-link {
    color: #fff;
    opacity: .92;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: opacity .2s ease;
}

.topbar .topbar-link:hover {
    opacity: 1;
}

/* Umschalter rechts (Privat/Geschäft) */
.topbar .topbar-toggle {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    overflow: hidden;
    backdrop-filter: blur(4px);
    display: inline-flex;
}

.topbar .topbar-toggle .btn {
    --pad-x: .85rem;
    color: #fff;
    border: 0;
    background: transparent;
    padding: .25rem var(--pad-x);
    line-height: 1.2;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: .35rem;
}

.topbar .topbar-toggle .btn:not(.active):hover {
    background: rgba(255, 255, 255, .12);
}

.topbar .topbar-toggle .btn.active {
    background: #fff;
    color: #111;
    font-weight: 700;
}

/* Layout-Feinschliff links/rechts Bereiche */
.topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar-right {
    display: flex;
    align-items: center;
}

/* Responsive: auf XS untereinander, Toggle linksbündig */
/* === Topbar: Mobile-Layout & Luft geben === */
@media (max-width: 575.98px) {
    .topbar {
        padding: .35rem 0 .45rem; /* unten etwas mehr Platz, nichts wird "abgeschnitten" */
    }

    .topbar .container {
        row-gap: .55rem; /* mehr vertikaler Abstand zwischen den Zeilen */
    }

    /* Zwei Zeilen: Toggle oben, Kontakt darunter */
    .topbar-right {
        order: 1;
        width: 100%;
        justify-content: flex-start;
    }

    .topbar-left {
        order: 2;
        width: 100%;
        flex-wrap: wrap;
        gap: .35rem .75rem;
    }

    /* Toggle als volle Breite, Buttons teilen sich den Platz */
    .topbar .topbar-toggle {
        width: 100%;
    }

    .topbar .topbar-toggle .btn {
        --pad-x: .7rem; /* etwas schmaler */
        padding: .4rem var(--pad-x);
        flex: 1 1 0; /* beide Buttons gleich breit */
        justify-content: center;
        min-width: 0; /* verhindert Überlauf */
        font-size: .95rem;
    }

    .topbar .topbar-toggle .btn i {
        margin-right: .35rem;
    }

    /* Kontaktlinks: etwas kleiner & umbrechen erlaubt */
    .topbar .topbar-link {
        font-size: .95rem;
        white-space: nowrap; /* Tel/Email bleiben zusammen */
    }
}


/* ---------- Navbar (Logo mittig) ---------- */
.navbar {
    background: #0f1013;
    border-bottom: 1px solid var(--border);
    height: var(--nav-h);
}

.navbar .container-wide {
    position: relative;
}

.navbar .nav-link {
    color: #e5e7eb;
    font-size: 1rem
}

.navbar .nav-link:hover {
    color: #fff
}

.brand-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    line-height: 0;
    z-index: 2;
}

.brand-center img {
    height: var(--logo-h);
    width: auto;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35))
}

.nav-left, .nav-right {
    display: none
}

@media (min-width: 992px) {
    .nav-left, .nav-right {
        display: flex
    }
}

/* Toggler immer klickbar über Logo */
.navbar .navbar-toggler {
    z-index: 5;
    position: relative;
}

/* ---------- Header-Wrapper ---------- */
.site-header {
    /* kein fixed/sticky hier – normales Dokumenten-Layout */
}

/* ---------- JS-Fallback für Sticky-Nav ---------- */
/* Basis: Navbar ist zunächst NICHT sticky; JS macht sie fixed */
.site-header .navbar {
    position: static;
    z-index: 1060;
}

/* Wenn geklebt werden soll */
.site-header .navbar.is-stuck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    will-change: transform;
}

/* Platzhalter, damit der Content nicht springt */
.nav-spacer {
    height: 0;
}

/* Anker-Offset passt zur Nav-Höhe, wenn sie „stuck“ ist */
section[id] {
    scroll-margin-top: calc(var(--nav-h) + 12px);
}

/* ---------- Pure Video Hero ---------- */
header.hero-video {
    position: relative;
    height: calc(80vh - var(--topbar-h) - var(--nav-h));
    min-height: 540px;
    border-bottom: 1px solid var(--border);
    background: #000;
    overflow: hidden;
}

.hero-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .30), rgba(0, 0, 0, .25));
    pointer-events: none
}

.video-ctrls {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 3;
    display: flex;
    gap: .5rem
}

.video-ctrls .btn {
    --bs-btn-padding-y: .45rem;
    --bs-btn-padding-x: .65rem;
    --bs-btn-font-size: 1rem;
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius-sm);
}

/* Fallback-Bild-Layer analog zum Video */
.hero-video .hero-fallback,
.hero-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback standardmäßig unsichtbar – JS/blendet ein */
.hero-video .hero-fallback {
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
    z-index: 1;
}

/* Wenn auf Fallback gewechselt wird */
.hero-video.show-fallback video {
    display: none;
}

.hero-video.show-fallback .hero-fallback {
    opacity: 1;
    visibility: visible;
}

/* Mobile etwas kompakter (falls noch nicht in deinem CSS vorhanden) */
@media (max-width: 767.98px) {
    header.hero-video {
        height: min(58vh, 420px);
        min-height: 0;
    }

    .hero-video video {
        display: none;
    }

    .hero-video .hero-fallback {
        opacity: 1;
        visibility: visible;
    }
}

/* ---------- CTA Strip ---------- */
.cta-strip {
    background: var(--red);
    color: #fff;
    border-block: 1px solid rgba(255, 255, 255, .2);
}

.cta-strip .row {
    --bs-gutter-x: 12px;
}

.cta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .85rem .5rem;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.2;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    white-space: nowrap; /* Standard: alles in einer Zeile */
}

.cta-item i {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: #fff;
    color: #111;
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    border: 2px solid rgba(0, 0, 0, .06);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}

/* ---------- Responsive Fix ---------- */
@media (max-width: 767.98px) {
    .cta-item {
        flex-direction: column; /* Icon oben, Text unten */
        gap: .4rem;
        white-space: normal; /* Text darf umbrechen */
        font-size: .95rem;
        text-align: center;
    }

    .cta-item i {
        margin-bottom: .25rem;
    }
}


/* ---------- Cards / Feature / Menu / Blog / Deals / Footer ---------- */
.feature {
    background: #1a1b1f;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: .2s;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.feature i {
    font-size: 2rem;
    color: #e24c3b;
    display: block;
    margin-bottom: .6rem;
}

.feature .title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .25rem;
}

.feature .subtitle {
    font-size: .9rem;
    color: #aaa;
    display: block;
}

.card.food {
    background: linear-gradient(180deg, #17181c 0%, #101114 100%);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    border-radius: var(--radius-lg)
}

.card.food:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 46px rgba(0, 0, 0, .55);
    border-color: rgba(255, 255, 255, .18)
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}



.menu-tabs .nav-link {
    color: #cfd3d7;
    border: 1px solid var(--border);
    margin-right: .6rem;
    padding: .55rem .9rem;
    font-weight: 600;
    border-radius: var(--radius-sm)
}

.menu-tabs .nav-link.active {
    background: var(--red);
    color: #fff;
    border-color: var(--red)
}

.menu-list .row {
    padding: .75rem .3rem;
    border-bottom: 1px dashed rgba(255, 255, 255, .14)
}

.menu-list .title {
    font-weight: 700
}

.menu-list .dots {
    border-bottom: 1px dashed rgba(255, 255, 255, .22);
    height: 1px;
    margin: 0 .7rem;
    flex: 1
}

/* 1) Preise in Weiß */
.menu-list .price {
    color: #fff !important;
    line-height: 1.05; /* kompakter */
    margin: 0; /* keine Extra-Abstände */
}

.menu-list .price.fw-semibold {
    color: #fff !important; /* Flat-Zeile auch weiß */
}

/* Klammerzusatz (Einzel/Flat) etwas heller */
.menu-list .price small,
.menu-list .text-muted {
    color: rgba(255, 255, 255, .7) !important;
    font-weight: 400;
}

/* zweite Preiszeile sehr dicht unter der ersten */
.menu-list .text-end .price + .price {
    margin-top: 2px;
}

/* 2) Badges näher an den Titel/Preisblock */
.menu-list .menu-item .meta {
    margin-top: .25rem; /* vorher oft .5rem oder größer */
}

.menu-list .menu-item .meta .badge {
    vertical-align: middle; /* verhindert „Absacken“ der Badges */
}

/* (Optional) etwas kompakteres Item-Layout insgesamt */
.menu-list .menu-item {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.feature-split {
    background: #0f1013 url('https://images.unsplash.com/photo-1526318472351-c75fcf070305?q=80&w=1600&auto=format&fit=crop') right/cover no-repeat;
    border-block: 1px solid var(--border)
}

.testimonial {
    max-width: 920px
}

.quote {
    font-size: 1.15rem;
    color: #e7eaee
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover
}

.blog .card-img-top {
    height: 180px
}

/* Footer – hübscheres Styling */
.footer {
    background: #0a0c0f; /* etwas dunkler, wirkt edler */
    border-top: 1px solid var(--border);
}

.footer-logo {
    height: 54px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25));
}

.footer-title {
    font-weight: 800;
    letter-spacing: .2px;
    color: #fff;
}

.footer-heading {
    color: #e7eaee;
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: .35rem;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-list li {
    color: #aeb6c1;
    padding: .25rem 0;
}

.footer-list a {
    color: #cfd3d7;
    text-decoration: none;
    border-bottom: 1px dashed transparent;
    transition: color .2s ease, border-color .2s ease;
}

.footer-list a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .35);
}

.social-pill {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    color: #e9edf2;
    transition: transform .18s ease, background .18s ease;
}

.social-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, .08) !important;
}

.footer-bottom .legal-inline {
    display: flex;
    align-items: center;
    gap: .45rem;
}

.footer-bottom .legal-inline a {
    color: #cfd3d7;
    text-decoration: none;
}

.footer-bottom .legal-inline a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom .legal-inline span {
    color: #6b7280;
}

/* kleine Screens */
@media (max-width: 575.98px) {
    .footer-logo {
        height: 46px;
    }

    .footer-bottom .legal-inline {
        flex-wrap: wrap;
        gap: .35rem .65rem;
        justify-content: center;
    }
}


/* ---------- Form Design (Kontakt/Angebot) ---------- */
.form-shell {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.form-dark .form-label {
    color: #dae0e6;
    font-weight: 600
}

.form-dark .form-control, .form-dark .form-select {
    background: #101318;
    border: 1px solid var(--border);
    color: #fff;
    border-radius: var(--radius-md);
    height: 52px;
}

.form-dark textarea.form-control {
    height: 140px;
    padding-top: .8rem
}

.form-dark .form-control::placeholder {
    color: #7f8791
}

.form-dark .input-group-text {
    background: #0e1116;
    color: #aeb6c1;
    border: 1px solid var(--border);
    border-right: 0;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.form-dark .input-group .form-control, .form-dark .input-group .form-select {
    border-left: 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem
}

.chip-group .btn {
    border-radius: 999px;
    padding: .55rem .85rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    color: #e9edf2;
}

.btn-check:checked + .btn {
    border-color: var(--red);
    box-shadow: inset 0 0 0 1px var(--red);
    background: linear-gradient(180deg, rgba(228, 49, 43, .16), rgba(228, 49, 43, .06));
    color: #fff;
}

.chip-group .btn .badge {
    margin-left: .45rem
}

.hint {
    color: #a9b1bb;
    font-size: .95rem
}

.form-actions .btn {
    height: 50px;
    border-radius: var(--radius-md)
}

.call-btn {
    border-radius: 999px;
    background: #20242b;
    border: 1px solid var(--border);
    color: #fff;
    padding: .6rem 1rem
}

.call-btn:hover {
    background: #262b33
}

.small-note {
    font-size: .95rem
}

/* ---------- Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.in {
    opacity: 1;
    transform: none
}

/* ---------- Our Iconic Flats (Cards) ---------- */
.flats-grid .flat-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 18px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.flats-grid .flat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

.flats-grid .flat-title {
    font-weight: 700;
    letter-spacing: .2px;
    color: #9aa3ad;
    margin-bottom: .35rem;
}

.flats-grid .flat-price {
    font-size: 2rem;
    font-weight: 800;
    color: #e24c3b;
    line-height: 1.1;
    margin-bottom: .25rem;
}

.flats-grid .flat-price small {
    color: #6b7280;
    font-weight: 600
}

.flats-grid .flat-sub {
    color: #6b7280;
    font-weight: 600;
    margin-bottom: .75rem
}

.flats-grid ul {
    list-style: none;
    padding-left: 0;
    margin: 0
}

.flats-grid li {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    padding: .45rem 0;
    color: #3a3f45;
    border-bottom: 1px dashed rgba(0, 0, 0, .08);
}

.flats-grid li:last-child {
    border-bottom: 0
}

.flats-grid .dot {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    background: rgba(226, 76, 59, .12);
    display: grid;
    place-items: center;
}

.flats-grid .dot svg {
    width: 12px;
    height: 12px;
    stroke: #e24c3b
}

/* ---------- Menüliste (ruhige Trennung + zweite Meta-Zeile) ---------- */
.menu-list .menu-item {
    padding: 14px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .15)
}

.menu-list .menu-item:first-child {
    border-top: 1px dashed rgba(255, 255, 255, .15)
}

.menu-list .title {
    font-weight: 600;
    letter-spacing: .2px
}

.menu-list .price {
    font-weight: 600;
    white-space: nowrap
}

.menu-list .meta {
    margin-top: .35rem;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    opacity: .9
}

.badge-soft {
    --b: rgba(255, 255, 255, .12);
    background: var(--b);
    border: 1px solid rgba(255, 255, 255, .15)
}

.badge-soft.info {
    --b: rgba(13, 202, 240, .15)
}

.badge-soft.warn {
    --b: rgba(255, 193, 7, .15)
}

/* =========================================================
   MOBILE FIXES (Drop-in)
   ========================================================= */
html, body { /* (bewusst doppelt für Spezifität) */
    overflow-x: hidden;
}

.container-wide {
    padding-inline: 16px;
}

@media (max-width: 991.98px) {
    :root {
        --nav-h: 64px; /* statt 110px */
        --logo-h: 52px; /* statt 84px  */
        --topbar-h: 36px; /* statt 40px  */
        /* --header-h aktualisiert sich automatisch durch Formel */
    }

    body {
        font-size: 16px;
    }

    /* bessere Lesbarkeit */
    .navbar {
        height: var(--nav-h);
        padding-block: .25rem;
    }

    .brand-center img {
        height: var(--logo-h);
    }

    /* Hero: nicht zu hoch, Mindesthöhe raus */
    .hero-video {
        height: min(58vh, 420px);
        min-height: 0;
    }

    .video-ctrls {
        right: .5rem;
        bottom: .5rem;
    }

    .cta-item {
        padding: .8rem 0;
        font-size: .95rem;
    }

    /* Bildhöhen straffen */
    .card-img-top {
        height: 160px;
    }

    .blog .card-img-top {
        height: 140px;
    }

    /* Formularhöhen leicht reduzieren */
    .form-dark .form-control,
    .form-dark .form-select {
        height: 48px;
    }

    .form-actions .btn {
        height: 48px;
    }

    /* Flats Typo etwas kleiner */
    .flats-grid .flat-price {
        font-size: 1.75rem;
    }
}

/* Sehr kleine Phones */
@media (max-width: 375px) {
    .brand-center img {
        height: 46px;
    }

    .kicker {
        font-size: .8rem;
    }
}

/* Sicherstellen, dass Toggler das Logo nicht überdeckt (Spezifität) */
.brand-center {
    z-index: 2;
}

.navbar .navbar-toggler {
    z-index: 5;
}

/* ====== Tab-Bild rechts (Wechsel + Fade) ====== */
.menu-photo-wrap {
    position: relative;
    height: 420px;
    background: #0d0f13; /* Fallback */
}

.menu-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1;
    transition: opacity .28s ease;
}

.menu-photo.is-fading {
    opacity: 0;
}

@media (max-width: 991.98px) {
    .menu-photo-wrap {
        height: 320px;
    }
}

@media (max-width: 575.98px) {
    .menu-photo-wrap {
        height: 240px;
    }
}

/* ====== „So funktioniert’s“-Box ====== */
.how-it-works {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.hiw-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.hiw-list {
    list-style: none;
    padding-left: 0;
    margin: .5rem 0 0;
}

.hiw-list li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    padding: .35rem 0;
    line-height: 1.35;
}

.hiw-list li::before {
    content: "";
    width: .65rem;
    height: .65rem;
    margin-top: .45rem;
    flex: 0 0 .65rem;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(228, 49, 43, .95), rgba(228, 49, 43, .55));
    box-shadow: 0 0 0 2px rgba(228, 49, 43, .15);
}

.hiw-tip {
    background: rgba(246, 196, 83, .10);
    border: 1px dashed rgba(246, 196, 83, .45);
    border-radius: var(--radius-md);
    padding: .75rem .9rem;
}

.hiw-examples .hiw-subhead {
    font-weight: 700;
}

.hiw-bullets {
    margin: .35rem 0;
    padding-left: 1.15rem;
}

.hiw-bullets li {
    margin: .15rem 0;
}

/* Section auf volle Breite */
.referenz .container-wide {
    max-width: 100%;
}

/* Abstand für die Dots */
.referenz-swiper {
    padding: 8px 0 84px;
}

/* Karten Layout */
.referenz .ref-card {
    display: grid;
    grid-template-rows:auto auto;
    gap: .5rem;
    background: transparent;
    border: none;
}

.referenz .ref-figure {
    height: clamp(320px, 28vw, 420px);
    background-image: var(--img);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}

.referenz .ref-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, .35) 100%);
}

.referenz .ref-body {
    text-align: center;
    color: #eef1f5;
    padding: 0 6px;
}

.referenz .ref-title {
    margin: 0 0 .35rem;
    font-family: "Bebas Neue", Inter, sans-serif;
    font-size: clamp(1.4rem, 2.1vw, 1.9rem);
    line-height: 1;
    color: #fff;
}

.referenz .ref-meta {
    color: #f6c453;
    font-weight: 800
}

/* Pagination Styling */
.referenz-swiper .swiper-pagination {
    position: static;
    margin-top: 40px
}

.referenz-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: .35
}

.referenz-swiper .swiper-pagination-bullet-active {
    opacity: 1
}

/* Pillar Cards */
.pillar-card {
    background: var(--panel-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    height: 100%; /* WICHTIG: nimmt volle Höhe der Spalte */
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
    border-color: rgba(255, 255, 255, .18);
}

/* Shine Effekt */
.pillar-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .25) 50%,
    rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
}

.pillar-card:hover::before {
    animation: shine 1s forwards;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

.pillar-head {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .5rem;
}

.pillar-ico {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    color: #e9edf2;
    font-size: 1.1rem;
}

.pillar-title {
    margin: 0;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.pillar-text {
    color: #cfd3d7;
    line-height: 1.55;
    margin: 0;
    font-size: .98rem;
}
/* kleine Inline-Ergänzung für die Flats (nur Preisgröße am kleinsten BP) */
@media (max-width: 575.98px) {
    .flats-grid .flat-price {
        font-size: 1.75rem
    }
}

.egate{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:rgba(8,9,12,.92);backdrop-filter:blur(4px);opacity:1;transition:opacity .25s ease,visibility .25s ease}
.egate.is-hidden{opacity:0;visibility:hidden}
html.egate-lock,body.egate-lock{overflow:hidden}
.egate-card{width:min(92vw,720px);text-align:center;color:#fff;background:#14161a;border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:28px 20px 24px;box-shadow:0 10px 40px rgba(0,0,0,.45)}
.egate-logo{height:56px;margin-bottom:8px;opacity:.95}
.egate h1{font:700 1.6rem/1.2 "Inter",system-ui;margin:8px 0 6px}
.egate-sub{opacity:.8;margin:0 0 18px}
.egate-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.egate-btn{display:inline-flex;align-items:center;gap:.5rem;border:1px solid rgba(255,255,255,.16);background:#1b1e23;color:#fff;padding:12px 18px;border-radius:14px;font-weight:600;font-size:1.05rem;transition:transform .08s ease, background .2s ease, border-color .2s ease}
.egate-btn:hover{background:#21252b;transform:translateY(-1px)}


/* ========= Kompakter, responsiver Hero mit Bild (per <img>) ========= */
.hero-compact{
    position: relative;
    --hero-darkness: .45;     /* Standard-Dunkelheit (0–1) */

    display: flex;
    align-items: flex-end; /* Text unten links wie im Screenshot */
    min-height: clamp(180px, 26vw, 320px);  /* klein auf Handy, moderat auf Desktop */
    border-bottom: 1px solid var(--border, rgba(255,255,255,.08));
    overflow: hidden;
    background: #000; /* Fallback, bevor Bild lädt */
}
.hero-compact::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,var(--hero-darkness)); /* Schwarz mit variabler Deckkraft */
    pointer-events: none;      /* Klicks gehen durch */
    z-index: 0;
}
.hero-compact .hero-media,
.hero-compact .hero-bg{
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    user-select: none;
}
.hero-compact .hero-bg{
    object-fit: cover;         /* Bild füllt den Bereich, schneidet bei Bedarf */
    object-position: center;   /* Fokus mittig; bei Bedarf anpassen */
    filter: none;
    display: block;
}
/* Text horizontal zentrieren */
.hero-compact.hero-centered .inner{
    text-align: center;      /* Überschrift/Zeilen zentriert */
    margin-inline: auto;     /* Block selbst mittig */
}

/* optional: wenn du auch VERTIKAL mittig willst */
@media (min-width: 0){
    .hero-compact.hero-centered { align-items: center; }  /* statt default: flex-end */
}
/* dezentes Bottom-Gradient für bessere Lesbarkeit */
.hero-compact::before{
    content:""; position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 80%);
}
.hero-compact .inner{
    position: relative; z-index: 1;
    width: 100%;
    padding: clamp(18px, 4vw, 36px) 0;
    color: #fff;
}
.hero-compact .kicker{
    text-transform: uppercase;
    letter-spacing:.08em;
    font-weight:600;
    opacity:.85;
    font-size: clamp(.8rem, 1.6vw, .95rem);
    margin-bottom:.25rem;
}
.hero-compact h1{
    font-family: "Bebas Neue", system-ui, -apple-system, Segoe UI, Roboto, "Inter", sans-serif;
    line-height: .95;
    margin: 0 0 .25rem 0;
    font-size: clamp(1.6rem, 5vw, 2.4rem); /* ähnlich deinem Screenshot */
    letter-spacing: .02em;
    text-transform: uppercase;
}
.hero-compact p{
    margin: 0;
    font-size: clamp(.9rem, 1.6vw, 1rem);
    opacity: .95;
}

/* ========= Impressum Abschnitt (Dark, passend zu deiner Seite) ========= */
.section-impressum{
    background: var(--panel, #0f1013);
    color: #e9ecef;
    padding: clamp(28px, 6vw, 56px) 0;
}
.section-impressum h1,
.section-impressum h2,
.section-impressum h3{
    color:#fff;
    margin-bottom:.5rem;
}
.section-impressum address{
    font-style: normal;
    line-height: 1.6;
}
.prose small{
    color: rgba(255,255,255,.85);
    line-height: 1.6;
    display:inline-block;
}
.impressum-card{
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1rem;
    padding: clamp(16px, 3vw, 24px);
}
.impressum-card + .impressum-card{ margin-top: 1rem; }
a.link-light{ color:#cfe8ff; text-decoration: underline; }