/*
 * Grossgaragen Dortmund – Ergänzungen zum bootstrap_package-Theme.
 * Farben/Typografie kommen über die SCSS-Settings des Site Sets (settings.yaml).
 */

/* Deutlich sichtbarer Tastaturfokus (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px #fff;
}

/* ------------------------------------------------------------------
 * Kontakt-Balken (Topbar) über der Navigation
 * ------------------------------------------------------------------ */
.gg-topbar {
    background: #111;
    color: #fff;
    font-size: .875rem;
}
.gg-topbar-list {
    list-style: none;
    margin: 0;
    padding: .4rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .25rem 1.5rem;
}
.gg-topbar-address {
    margin-right: auto;
    color: #ddd;
}
.gg-topbar a:not(.btn) {
    color: #fff;
    text-decoration: none;
}
.gg-topbar a:not(.btn):hover,
.gg-topbar a:not(.btn):focus-visible {
    text-decoration: underline;
}
.gg-topbar-icon {
    vertical-align: -3px;
}
.gg-topbar .btn {
    --bs-btn-padding-y: .2rem;
}

/* ------------------------------------------------------------------
 * Kopfzeile mit eigener Navigation (angelehnt an "Bootstrap 5 Header" von SpeedyUI)
 * Logo (inkl. weißem Rahmen) ragt zu 50 % in den Hero.
 * ------------------------------------------------------------------ */
:root {
    --gg-logo-size: 90px;
    --gg-header-height: 64px;
    --gg-nav-color: #212529;
    --gg-nav-accent: var(--bs-primary, #b35509);
    --gg-nav-accent-dark: #9a4a09;
}
@media (min-width: 992px) {
    :root {
        --gg-logo-size: 130px;
        --gg-header-height: 84px;
    }
}
.gg-header {
    position: relative;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 0 10px rgba(37, 37, 37, .12);
}
.gg-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    min-height: var(--gg-header-height);
}
.gg-logo {
    position: absolute;
    z-index: 1;
    left: calc(var(--bs-gutter-x, 1.5rem) * .5);
    top: calc(var(--gg-header-height) - var(--gg-logo-size) / 2);
    display: block;
    line-height: 0;
}
.gg-logo img {
    width: var(--gg-logo-size);
    height: var(--gg-logo-size);
    border: 5px solid #fff;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

/* Pill-Button mit Wipp-Effekt */
.gg-btn-pill {
    border-radius: 50rem;
    padding: .55rem 1.4rem;
    font-weight: 600;
    transform: translateY(0);
    transition: transform .3s, background-color .3s;
}
.gg-btn-pill:hover {
    transform: translateY(3px);
}

/* --- Menü-Button (mobil) --- */
.gg-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    padding: .5rem .9rem;
    border: 0;
    background: transparent;
    color: var(--gg-nav-color);
    font-weight: 600;
    transition: color .3s;
}
.gg-nav-toggle:hover {
    color: var(--gg-nav-accent);
}
.gg-nav-toggle-icon,
.gg-nav-toggle-icon::before,
.gg-nav-toggle-icon::after {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
}
.gg-nav-toggle-icon {
    position: relative;
}
.gg-nav-toggle-icon::before,
.gg-nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
}
.gg-nav-toggle-icon::before { top: -7px; }
.gg-nav-toggle-icon::after { top: 7px; }
.gg-nav-toggle-icon span { display: none; }

/* --- Navigation: gemeinsame Basis --- */
.gg-nav-list,
.gg-nav-sub {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gg-nav-link,
.gg-nav-sub-link {
    display: block;
    color: var(--gg-nav-color);
    text-decoration: none;
    transition: color .3s, padding .3s;
}
.gg-nav-link:hover,
.gg-nav-sub-link:hover,
.gg-nav-link:focus-visible,
.gg-nav-sub-link:focus-visible,
.gg-nav-sub-link[aria-current="page"] {
    color: var(--gg-nav-accent-dark);
}
.gg-nav-sub-toggle {
    border: 0;
    background: transparent;
    color: var(--gg-nav-color);
}
.gg-nav-sub-toggle::after {
    content: "";
    display: block;
    width: .45em;
    height: .45em;
    border-style: solid;
    border-width: 0 1.5px 1.5px 0;
    transform: translateY(-25%) rotate(45deg);
    transition: transform .3s;
}
.gg-nav-sub-toggle[aria-expanded="true"]::after {
    transform: translateY(25%) rotate(-135deg);
}

/* --- Mobil: Offcanvas-Panel von rechts --- */
.gg-offcanvas-close {
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    position: relative;
    transition: transform .4s ease;
}
.gg-offcanvas-close::before,
.gg-offcanvas-close::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 21px;
    width: 22px;
    height: 2px;
    background: var(--gg-nav-color);
}
.gg-offcanvas-close::before { transform: rotate(45deg); }
.gg-offcanvas-close::after { transform: rotate(-45deg); }
.gg-offcanvas-close:hover {
    transform: rotate(90deg);
}
@media (max-width: 991.98px) {
    .gg-offcanvas {
        --bs-offcanvas-width: min(400px, 100vw);
        transition: transform .6s cubic-bezier(.77, 0, .175, 1);
    }
    .gg-offcanvas-header {
        justify-content: space-between;
        padding: .75rem .75rem .75rem 1.25rem;
        border-bottom: 3px solid var(--gg-nav-accent);
    }
    .gg-offcanvas-body {
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    .gg-nav-item {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid #ededed;
    }
    .gg-nav-link {
        flex: 1 1 auto;
        padding: .95rem 1.25rem;
        font-size: 1.125rem;
        font-weight: 500;
    }
    .gg-nav-item.is-active > .gg-nav-link {
        color: var(--gg-nav-accent-dark);
        box-shadow: inset 3px 0 0 var(--gg-nav-accent);
    }
    .gg-nav-sub-toggle {
        flex: 0 0 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
    }
    .gg-nav-sub {
        flex: 1 1 100%;
        display: none;
        background: #f8f9fa;
    }
    .gg-nav-item.is-open > .gg-nav-sub {
        display: block;
    }
    .gg-nav-sub-link {
        padding: .75rem 1.25rem .75rem 2rem;
        border-top: 1px solid #ededed;
    }
    .gg-nav-sub-link:hover {
        padding-left: 2.5rem;
    }
    .gg-offcanvas-contact {
        margin-top: auto;
        padding: 1.5rem 1.25rem 2rem;
        background: #f8f9fa;
    }
    .gg-offcanvas-contact-title {
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .05em;
        font-size: .875rem;
        color: #6c757d;
        margin-bottom: .5rem;
    }
    .gg-offcanvas-contact a:not(.btn) {
        color: var(--gg-nav-color);
    }
}

/* --- Desktop: horizontale Leiste mit Dropdowns --- */
@media (min-width: 992px) {
    .gg-offcanvas-header {
        display: none;
    }
    /* Mehr Luft zwischen Menü und "Jetzt anfragen" */
    .gg-header-cta {
        margin-left: 1.5rem;
    }
    .gg-nav-list {
        display: flex;
        align-items: stretch;
        gap: 2rem;
    }
    .gg-nav-item {
        position: relative;
        display: flex;
        align-items: center;
        min-height: var(--gg-header-height);
    }
    .gg-nav-link {
        position: relative;
        padding: .5rem 0;
        font-size: 1rem;
        font-weight: 500;
    }
    /* Unterstreichung wächst von links ein */
    .gg-nav-link::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: .2rem;
        border-bottom: 2px solid var(--gg-nav-accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .5s ease;
    }
    .gg-nav-item.is-active > .gg-nav-link::before,
    .gg-nav-link:hover::before,
    .gg-nav-item.is-open > .gg-nav-link::before {
        transform: scaleX(1);
    }
    .gg-nav-sub-toggle {
        width: 1.5rem;
        height: 2rem;
        margin-left: .1rem;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    /* Dropdown: blendet weich ein und gleitet nach oben */
    .gg-nav-sub {
        position: absolute;
        top: 115%;
        left: -1rem;
        min-width: 15rem;
        padding: .5rem 0;
        background: #fff;
        box-shadow: 0 0 10px rgba(37, 37, 37, .12);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s, top .3s, visibility .3s;
    }
    .gg-nav-item.is-open > .gg-nav-sub {
        opacity: 1;
        visibility: visible;
        top: 100%;
    }
    @media (hover: hover) {
        .gg-nav-item:hover > .gg-nav-sub {
            opacity: 1;
            visibility: visible;
            top: 100%;
        }
    }
    .gg-nav-sub-link {
        padding: .45rem 1rem;
        font-size: .95rem;
        font-weight: 500;
        white-space: nowrap;
    }
    .gg-nav-sub-link:hover,
    .gg-nav-sub-link:focus-visible {
        padding-left: 1.5rem;
    }
}

/* ------------------------------------------------------------------
 * Hero (Rahmen "Hero"): großes Hintergrundbild, Platz für das Logo
 * ------------------------------------------------------------------ */
.frame-hero {
    display: flex;
    align-items: center;
    min-height: 240px;
    padding-top: calc(var(--gg-logo-size) / 2 + 3rem);
    padding-bottom: 2.5rem;
}
.frame-hero > .frame-group-container {
    width: 100%;
}
.frame-hero {
    text-align: center;
}
.backendlayout-special_start .frame-hero {
    min-height: 420px;
}
@media (min-width: 992px) {
    .frame-hero {
        min-height: 300px;
    }
    .backendlayout-special_start .frame-hero {
        min-height: 560px;
    }
}
.frame-hero h1 {
    color: #f5a04a; /* helles Orange für große Schrift auf abgedunkeltem Bild */
    font-size: clamp(2.25rem, 6vw, 3.75rem);
    margin-bottom: .5rem;
}
.frame-hero .lead {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}
.frame-hero .lead {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
}
/* Lesbarkeit von Text auf Bild sicherstellen */
.frame-background-dark.frame-has-backgroundimage .frame-backgroundimage-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .65); /* Worst Case: helles Bild -> Kontrast H1 >= 3:1, Fließtext >= 7:1 */
}
/* Text über dem Overlay. Achtung: .frame-group-container/-inner dürfen NICHT positioniert werden,
   sonst bezieht sich der absolut positionierte Bild-Container nicht mehr auf den ganzen Frame. */
.frame-background-dark.frame-has-backgroundimage .frame-container {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

/* Icons in Primärfarbe */
.texticon-inner-icon,
.icon-group-item-icon {
    color: var(--bs-primary, #b35509);
}

/* Überschriften-Schrift: Oswald (lokal), kräftig */
h1, .h1,
h2, .h2 {
    font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
    font-weight: 600;
    letter-spacing: .01em;
}

/* Lange Wörter (z. B. "Ver- und Entsorgungsstation") auf kleinen Displays umbrechen */
h1, .h1, h2, .h2 {
    hyphens: auto;
    overflow-wrap: break-word;
}

/* ------------------------------------------------------------------
 * Startseite: Garagen-Kacheln einheitlich (Fotos 4:3, Button unten)
 * ------------------------------------------------------------------ */
.card-group-element .card-img-top {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.card-group-element .card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-group-element .card-footer {
    background: transparent;
    border-top: 0;
    padding-top: 0;
}

/* ------------------------------------------------------------------
 * Footer: Listen ohne Punkte, helle Links (Kontrast auf Dunkel)
 * ------------------------------------------------------------------ */
.footer-section-content h2 {
    font-size: 1.35rem;
    hyphens: manual;
}
.footer-section-content ul {
    list-style: none;
    padding-left: 0;
}
.footer-section-content li {
    margin-bottom: .35rem;
}
.footer-section-content a:not(.btn),
.footer-section-meta a:not(.btn) {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .4);
    text-underline-offset: 3px;
}
.footer-section-content a:not(.btn):hover,
.footer-section-content a:not(.btn):focus-visible,
.footer-section-meta a:not(.btn):hover,
.footer-section-meta a:not(.btn):focus-visible {
    color: #f5a04a;
    text-decoration-color: currentColor;
}

/* Karte (2-Klick-Lösung) */
.gg-map-placeholder {
    background: var(--bs-light, #f4f4f4);
    border: 1px solid #ccc;
}
.gg-map-consent iframe {
    border: 0;
}

/* ------------------------------------------------------------------
 * Footer: 4 Spalten ab Desktop, Partnerlogo nur ab 992 px
 * ------------------------------------------------------------------ */
.footer-section-content-column-partner {
    display: none;
}
@media (min-width: 992px) {
    .footer-section-content-column-left,
    .footer-section-content-column-middle,
    .footer-section-content-column-right,
    .footer-section-content-column-partner {
        --section-gaps: 3;
        --section-colspan: 3;
    }
    .footer-section-content-column-partner {
        display: block;
    }
    .footer-section-content-column-partner .gallery-row {
        justify-content: flex-end;
    }
    .footer-section-content-column-partner .gallery-item {
        flex: 0 0 auto;
        width: auto;
    }
    .footer-section-content-column-partner img {
        max-width: 160px;
        height: auto;
        background: #fff;
        padding: .5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gg-offcanvas,
    .gg-nav-sub,
    .gg-btn-pill {
        transition: none !important;
        transform: none !important;
    }
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------------------------------------------------------------------
 * Icons an Buttons: Telefon und Anfrage
 * Automatisch für alle Buttons mit tel:-Link bzw. Link zur Mietanfrage
 * (rein dekorativ, Screenreader lesen nur den Button-Text)
 * ------------------------------------------------------------------ */
.btn[href^="tel:"]::before,
.btn[href*="/kontakt/mietanfrage/"]::before {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin-right: .45em;
    vertical-align: -0.17em;
    background-color: currentColor;
    -webkit-mask: var(--gg-btn-icon) center / contain no-repeat;
    mask: var(--gg-btn-icon) center / contain no-repeat;
}
.btn[href^="tel:"] {
    --gg-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 512 512'%3E%3Cpath d='M415.9 335.5c-14.6-15-56.1-43.1-83.3-43.1-6.3 0-11.8 1.4-16.3 4.3-13.3 8.5-23.9 15.1-29 15.1-2.8 0-5.8-2.5-12.4-8.2l-1.1-1c-18.3-15.9-22.2-20-29.3-27.4l-1.8-1.9c-1.3-1.3-2.4-2.5-3.5-3.6-6.2-6.4-10.7-11-26.6-29l-.7-.8c-7.6-8.6-12.6-14.2-12.9-18.3-.3-4 3.2-10.5 12.1-22.6 10.8-14.6 11.2-32.6 1.3-53.5-7.9-16.5-20.8-32.3-32.2-46.2l-1-1.2c-9.8-12-21.2-18-33.9-18-14.1 0-25.8 7.6-32 11.6-.5.3-1 .7-1.5 1-13.9 8.8-24 20.9-27.8 33.2-5.7 18.5-9.5 42.5 17.8 92.4 23.6 43.2 45 72.2 79 107.1 32 32.8 46.2 43.4 78 66.4 35.4 25.6 69.4 40.3 93.2 40.3 22.1 0 39.5 0 64.3-29.9 26-31.4 15.2-50.6-.4-66.7'/%3E%3C/svg%3E");
}
.btn[href*="/kontakt/mietanfrage/"] {
    --gg-btn-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 512 512'%3E%3Cpath d='m442.8 99.6-30.4-30.4c-7-6.9-18.2-6.9-25.1 0L355.5 101l55.5 55.5 31.8-31.7c6.9-7.1 6.9-18.3 0-25.2m-96.7 10.9L174.1 288 160 352l64-14.1 176.6-173z'/%3E%3Cpath d='M384 256v150c0 5.1-3.9 10.1-9.2 10.1s-269-.1-269-.1c-5.6 0-9.8-5.4-9.8-10V138c0-5 4.7-10 10.6-10H256l32-32H87.4c-13 0-23.4 10.3-23.4 23.3v305.3c0 12.9 10.5 23.4 23.4 23.4h305.3c12.9 0 23.3-10.5 23.3-23.4V224z'/%3E%3C/svg%3E");
}
/* Gleiche Höhe für nebeneinanderstehende Buttons (z. B. im Call-to-Action) */
.btn[href^="tel:"],
.btn[href*="/kontakt/mietanfrage/"] {
    display: inline-flex;
    align-items: center;
}

/* Sprungnavigation und Abschnitte (Seite "Leistungen") */
.gg-jumpnav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
}
.gg-jumpnav a {
    display: inline-block;
    padding: .4rem 1rem;
    border: 1px solid var(--bs-primary, #b35509);
    border-radius: 50rem;
    text-decoration: none;
}
.gg-jumpnav a:hover,
.gg-jumpnav a:focus-visible {
    background: var(--bs-primary, #b35509);
    color: #fff;
}
/* Sprungziele nicht direkt an die Fensterkante setzen */
[id] {
    scroll-margin-top: 1.5rem;
}
.frame-gg-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* ------------------------------------------------------------------
 * Bildergalerien (ab 2 Spalten): einheitliche Höhe (4:3), Bilder vollständig
 * sichtbar, Restfläche neutral aufgefüllt. Bildunterschriften bleiben darunter.
 * ------------------------------------------------------------------ */
.frame-type-image .gallery-item:not(.gallery-item-size-1) .image > a,
.frame-type-image .gallery-item:not(.gallery-item-size-1) .image > picture {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    background: #eef0f2;
    overflow: hidden;
}
.frame-type-image .gallery-item:not(.gallery-item-size-1) .image > a > picture {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.frame-type-image .gallery-item:not(.gallery-item-size-1) .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* Galerien mit 3 Spalten: auf dem Handy 2 Spalten (größere Vorschaubilder) */
@media (max-width: 575.98px) {
    .frame-type-image .gallery-item-size-3 {
        --gallery-columns: 2;
    }
}

/* Nebeneinanderstehende Buttons im Fließtext (z. B. Telefon + "Jetzt anfragen") */
.frame-inner p:has(> .btn + .btn) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
}
.frame-inner p.text-center:has(> .btn + .btn) {
    justify-content: center;
}

/* Kennzeichnung KI-generierter Bilder */
.card-group-element .card-img-top { position: relative; }
.gg-img-note {
    position: absolute; right: .5rem; bottom: .5rem;
    padding: .15rem .5rem; border-radius: .25rem;
    background: rgba(0, 0, 0, .72); color: #fff;
    font-size: .75rem; line-height: 1.4;
}
.frame figcaption.caption { font-size: .8125rem; color: #595959; margin-top: .35rem; }

/* ==================================================================
 * Formulare (EXT:form): Schritte, Bereiche mit Icons, Kacheln, Rückmeldung
 * ================================================================== */
.frame-type-form_formframework {
    --gg-form-border: #d5d9de;
    --gg-form-muted: #5c636a;
    --gg-form-bg: #f6f7f8;
    --gg-error: #b02a37;
    --gg-ok: #1e7b45;
    --gg-i-garage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V9l9-5 9 5v12'/%3E%3Cpath d='M7 21v-9h10v9M7 15h10M7 18h10'/%3E%3C/svg%3E");
    --gg-i-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.6 5.3 5.9.9-4.3 4.1 1 5.8L12 16.4 6.8 19.1l1-5.8L3.5 9.2l5.9-.9z'/%3E%3C/svg%3E");
    --gg-i-clipboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6v3H9z'/%3E%3Cpath d='M8 4.5H5.5V21h13V4.5H16M8.5 11h7M8.5 15h5'/%3E%3C/svg%3E");
    --gg-i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-6.5 8-6.5s8 2.5 8 6.5'/%3E%3C/svg%3E");
    --gg-i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E");
    --gg-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
    --gg-i-calendar: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='16' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E");
    --gg-i-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.8-3.4 8-8 9-4.6-1-8-4.2-8-9V6z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
    --gg-i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    --gg-i-alert: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v5.5M12 16.5h.01'/%3E%3C/svg%3E");
}
.frame-type-form_formframework form { max-width: 960px; margin-inline: auto; }

/* Schrittanzeige */
.gg-steps {
    display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.75rem;
    counter-reset: none;
}
.gg-step {
    flex: 1 1 0; display: flex; align-items: center; gap: .6rem;
    padding-bottom: .75rem; border-bottom: 4px solid var(--gg-form-border);
    color: var(--gg-form-muted); font-weight: 500; min-width: 0;
}
.gg-step-num {
    flex: 0 0 auto; display: inline-grid; place-items: center;
    width: 2rem; height: 2rem; border-radius: 50%;
    border: 2px solid currentColor; font-weight: 700; font-size: .9rem;
}
.gg-step-label { overflow: hidden; text-overflow: ellipsis; }
.gg-step.is-current { color: #212529; border-color: var(--bs-primary); }
.gg-step.is-current .gg-step-num { background: var(--bs-primary); border-color: var(--bs-primary); color: #fff; }
.gg-step.is-done { color: var(--gg-ok); border-color: var(--gg-ok); }
.gg-step.is-done .gg-step-num { font-size: 0; background: var(--gg-ok); border-color: var(--gg-ok); }
.gg-step.is-done .gg-step-num::before {
    content: ""; width: 1rem; height: 1rem; background: #fff;
    -webkit-mask: var(--gg-i-check) center / contain no-repeat; mask: var(--gg-i-check) center / contain no-repeat;
}
@media (max-width: 575.98px) {
    .gg-step { flex-direction: column; align-items: flex-start; gap: .35rem; font-size: .8125rem; }
    .gg-step:not(.is-current) .gg-step-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.gg-form-page-title { margin-bottom: 1rem; }

/* Bereiche (Fieldsets) als Karten mit Icon */
.gg-box {
    border: 1px solid var(--gg-form-border); border-radius: .75rem;
    background: #fff; padding: 1.25rem 1.25rem .5rem; margin: 0 0 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
@media (min-width: 768px) { .gg-box { padding: 1.5rem 1.75rem .75rem; } }
.gg-box > legend {
    float: left; width: 100%; display: flex; align-items: center; gap: .75rem;
    font-size: 1.25rem; font-weight: 600; margin: 0 0 1rem; padding: 0;
}
.gg-box > legend + * { clear: both; }
.gg-box > legend::before {
    content: ""; flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border-radius: .6rem;
    background: rgba(179, 85, 9, .1);
}
.gg-box > legend { position: relative; }
.gg-box > legend::after {
    content: ""; position: absolute; left: .575rem; top: 50%; transform: translateY(-50%);
    width: 1.35rem; height: 1.35rem; background: var(--bs-primary);
    -webkit-mask: var(--gg-icon) center / contain no-repeat; mask: var(--gg-icon) center / contain no-repeat;
}
.gg-ico-garage { --gg-icon: var(--gg-i-garage); }
.gg-ico-star { --gg-icon: var(--gg-i-star); }
.gg-ico-clipboard { --gg-icon: var(--gg-i-clipboard); }
.gg-ico-user { --gg-icon: var(--gg-i-user); }
.gg-ico-mail { --gg-icon: var(--gg-i-mail); }
.gg-ico-pin { --gg-icon: var(--gg-i-pin); }
.gg-ico-calendar { --gg-icon: var(--gg-i-calendar); }
.gg-ico-shield { --gg-icon: var(--gg-i-shield); }
.gg-group-desc { color: var(--gg-form-muted); margin-bottom: 1rem; }

/* Felder */
.frame-type-form_formframework .form-label,
.frame-type-form_formframework .form-group > label { font-weight: 500; margin-bottom: .35rem; }
.frame-type-form_formframework .form-control,
.frame-type-form_formframework .form-select { border-color: #adb5bd; border-radius: .5rem; padding: .6rem .8rem; }
.frame-type-form_formframework .form-control:focus,
.frame-type-form_formframework .form-select:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 .2rem rgba(179, 85, 9, .25); }
.frame-type-form_formframework .form-group { margin-bottom: 1.1rem; }
.frame-type-form_formframework .form-text { color: var(--gg-form-muted); }

/* Mieteinheiten als Kacheln */
.gg-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; padding-bottom: 1.25rem; }
.gg-units > legend, .gg-units > .gg-group-desc, .gg-units > .gg-group-error { grid-column: 1 / -1; margin-bottom: 0; }
.gg-unit {
    display: flex; flex-direction: column; margin: 0 !important;
    border: 2px solid var(--gg-form-border); border-radius: .75rem; padding: 1rem;
    background: var(--gg-form-bg); transition: border-color .2s, background-color .2s;
}
.gg-unit > label { font-weight: 600 !important; order: 0; margin-bottom: .15rem !important; }
.gg-unit > .form-text { order: 1; margin: 0 0 .75rem; font-size: .875rem; }
.gg-unit > input, .gg-unit > .gg-qty { order: 2; margin-top: auto; }
.gg-unit > .invalid-feedback { order: 3; }
.gg-unit.is-selected { border-color: var(--bs-primary); background: #fff7f0; }
.gg-units.gg-has-error .gg-unit { border-color: var(--gg-error); }
.gg-qty { display: flex; align-items: stretch; max-width: 11rem; }
.gg-qty input { text-align: center; border-radius: 0 !important; -moz-appearance: textfield; appearance: textfield; font-weight: 600; }
.gg-qty input::-webkit-outer-spin-button, .gg-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gg-qty-btn {
    flex: 0 0 2.75rem; border: 1px solid #adb5bd; background: #fff; color: var(--bs-primary);
    font-size: 1.35rem; font-weight: 700; line-height: 1;
}
.gg-qty-btn:first-child { border-radius: .5rem 0 0 .5rem; border-right: 0; }
.gg-qty-btn:last-child { border-radius: 0 .5rem .5rem 0; border-left: 0; }
.gg-qty-btn:hover:not(:disabled) { background: var(--bs-primary); color: #fff; }
.gg-qty-btn:disabled { color: #adb5bd; cursor: not-allowed; }

/* Checkboxen/Radios als Auswahl-Kacheln */
.gg-choices { display: grid; gap: .6rem; }
.frame-type-form_formframework .form-check.gg-choice,
.gg-box .form-check {
    position: relative; margin: 0; padding: 0;
}
.gg-box .form-check > label,
.gg-choice > label {
    display: flex; gap: .75rem; align-items: flex-start; cursor: pointer;
    border: 1px solid var(--gg-form-border); border-radius: .6rem; padding: .8rem 1rem;
    background: #fff; transition: border-color .2s, background-color .2s;
}
.gg-box .form-check > label:hover { border-color: var(--bs-primary); }
.gg-box .form-check > label:has(input:checked) { border-color: var(--bs-primary); background: #fff7f0; }
.gg-box .form-check .form-check-input { float: none; flex: 0 0 auto; margin: .15rem 0 0; width: 1.25rem; height: 1.25rem; }
.gg-box .form-check .form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.gg-box .form-check:has(input:focus-visible) > label { outline: 3px solid var(--bs-primary); outline-offset: 2px; }
.gg-box > .form-check + .form-check,
.gg-box > .form-group + .form-check { margin-top: .6rem; }
.gg-box > .form-check:last-child { margin-bottom: 1rem; }
[role="radiogroup"] { display: flex; flex-wrap: wrap; gap: .6rem; }
[role="radiogroup"] .form-check-inline { margin: 0; }
.gg-box fieldset:not(.gg-box) { margin: 1.25rem 0 0; }
.gg-box fieldset:not(.gg-box) > legend { font-family: inherit; font-size: 1rem; font-weight: 600; margin-bottom: .6rem; }

/* Rückmeldung */
.frame-type-form_formframework .invalid-feedback { display: block; color: var(--gg-error); font-weight: 500; }
.frame-type-form_formframework .invalid-feedback::before {
    content: ""; display: inline-block; vertical-align: -.2em; width: 1.05em; height: 1.05em; margin-right: .35em;
    background: currentColor; -webkit-mask: var(--gg-i-alert) center / contain no-repeat; mask: var(--gg-i-alert) center / contain no-repeat;
}
.frame-type-form_formframework .form-control.is-invalid,
.frame-type-form_formframework .form-select.is-invalid { border-color: var(--gg-error); border-width: 2px; }
.frame-type-form_formframework .form-control.is-valid { border-color: var(--gg-ok); }
.gg-box .form-check > label:has(input.is-invalid),
.gg-has-error .form-check > label { border-color: var(--gg-error); }
.gg-group-error { margin-bottom: .25rem !important; }
.gg-error-summary {
    border: 2px solid var(--gg-error); border-left-width: .5rem; border-radius: .5rem;
    background: #fdf3f4; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
}
.gg-error-summary:focus { outline: 3px solid var(--gg-error); outline-offset: 3px; }
.gg-error-summary-title { font-family: inherit; font-size: 1.15rem; font-weight: 700; color: var(--gg-error); margin: 0 0 .5rem; display: flex; align-items: center; gap: .5rem; }
.gg-error-summary-title::before {
    content: ""; width: 1.3em; height: 1.3em; background: currentColor;
    -webkit-mask: var(--gg-i-alert) center / contain no-repeat; mask: var(--gg-i-alert) center / contain no-repeat;
}
.gg-error-summary-list { margin: 0; padding-left: 1.25rem; }
.frame-type-form_formframework .gg-error-summary-list a { color: var(--gg-error); font-weight: 500; }

/* Zusammenfassung */
.gg-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.gg-summary-head h3 { display: flex; align-items: center; gap: .75rem; font-size: 1.15rem; font-weight: 600; margin: 0; position: relative; }
.gg-summary-head h3::before {
    content: ""; flex: 0 0 auto; width: 2.25rem; height: 2.25rem; border-radius: .55rem; background: rgba(179, 85, 9, .1);
}
.gg-summary-head h3::after {
    content: ""; position: absolute; left: .5rem; top: 50%; transform: translateY(-50%); width: 1.25rem; height: 1.25rem;
    background: var(--bs-primary); -webkit-mask: var(--gg-icon) center / contain no-repeat; mask: var(--gg-icon) center / contain no-repeat;
}
.gg-summary-list { margin: 0 0 .75rem; }
.gg-summary-row { display: grid; grid-template-columns: 1fr; gap: .1rem 1.5rem; padding: .5rem 0; border-top: 1px solid #eceef0; }
@media (min-width: 768px) { .gg-summary-row { grid-template-columns: minmax(12rem, 2fr) 3fr; } }
.gg-summary-row dt { font-weight: 500; color: var(--gg-form-muted); }
.gg-summary-row dd { margin: 0; overflow-wrap: anywhere; }
.gg-summary-row dd ul { margin: 0; padding-left: 1.1rem; }
.gg-summary-empty { color: #6c757d; font-style: italic; }

/* Navigation */
.frame-type-form_formframework .form-navigation { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between; margin-top: .5rem; }
.frame-type-form_formframework .form-navigation .btn { padding: .7rem 1.4rem; }
.frame-type-form_formframework .form-navigation .btn-primary:last-child { margin-left: auto; }

/* Einzel-Checkbox (Zustimmungen) als Kachel */
.gg-box .form-element-check { margin-bottom: .75rem !important; }
.gg-box .form-element-check > div:first-child {
    display: flex; gap: .75rem; align-items: flex-start; padding: .8rem 1rem;
    border: 1px solid var(--gg-form-border); border-radius: .6rem; background: #fff;
    transition: border-color .2s, background-color .2s;
}
.gg-box .form-element-check > div:first-child:has(input:checked) { border-color: var(--bs-primary); background: #fff7f0; }
.gg-box .form-element-check > div:first-child:has(input.is-invalid) { border-color: var(--gg-error); }
.gg-box .form-element-check > div:first-child:has(input:focus-visible) { outline: 3px solid var(--bs-primary); outline-offset: 2px; }
.gg-box .form-element-check .form-check-input { float: none; flex: 0 0 auto; margin: .15rem 0 0; width: 1.25rem; height: 1.25rem; }
.gg-box .form-element-check .form-check-input:checked { background-color: var(--bs-primary); border-color: var(--bs-primary); }
.gg-box .form-element-check label { cursor: pointer; color: inherit !important; }
.frame-type-form_formframework .is-invalid ~ .form-check-label,
.frame-type-form_formframework .form-check-input.is-invalid ~ label { color: inherit; }
.gg-static-title { font-family: inherit; font-size: 1.05rem; font-weight: 600; margin: 0 0 .5rem; }
.gg-box .gg-static-title + div { font-size: .9375rem; color: #3d4247; background: var(--gg-form-bg); border-radius: .5rem; padding: .85rem 1rem; margin-bottom: 1rem; }

/* ------------------------------------------------------------------
 * Garagen-Steckbrief (Detailseiten unter „Auswahl treffen“)
 * ------------------------------------------------------------------ */
.gg-factsheet-box {
    border: 1px solid #d5d9de; border-radius: .75rem; overflow: hidden;
    background: #fff; box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .06);
}
@media (min-width: 992px) {
    .gg-factsheet-box { position: sticky; top: 1.5rem; }
}
.gg-factsheet-image { margin: 0; aspect-ratio: 16 / 9; background: #eef0f2; }
.gg-factsheet-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gg-factsheet-body { padding: 1.25rem 1.5rem 1.5rem; }
.gg-factsheet-title { font-size: 1.35rem; margin-bottom: .75rem; }
.gg-factsheet-facts { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.gg-factsheet-facts li {
    position: relative; padding: .35rem 0 .35rem 1.75rem; border-top: 1px solid #eceef0;
}
.gg-factsheet-facts li:first-child { border-top: 0; }
.gg-factsheet-facts li::before {
    content: ""; position: absolute; left: 0; top: .6rem; width: 1.1rem; height: 1.1rem;
    background: var(--bs-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gg-factsheet-price {
    display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
    margin: 0; padding: .85rem 1.25rem .25rem; border-radius: .6rem .6rem 0 0; background: #fff7f0;
    border: 1px solid rgba(179, 85, 9, .25); border-bottom: 0;
}
.gg-factsheet-price-amount { font-family: "Oswald", "Inter", sans-serif; font-size: 2.25rem; font-weight: 600; line-height: 1; color: var(--bs-primary); }
.gg-factsheet-price-unit { font-weight: 600; }
.gg-factsheet-note {
    margin: 0 0 1rem; padding: 0 1.25rem .85rem; font-size: .8125rem; color: #5c636a;
    background: #fff7f0; border: 1px solid rgba(179, 85, 9, .25); border-top: 0; border-radius: 0 0 .6rem .6rem;
}
.gg-factsheet-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.gg-factsheet-actions .btn { flex: 1 1 10rem; justify-content: center; white-space: nowrap; }
.gg-factsheet-text h2:not(:first-child) { margin-top: 2rem; }

/* Icon-Gruppen mit Icon links (Übersicht, Leistungen): Icon oben bündig, Akzentfarbe */
.icongroup-iconposition-left .icongroup-item { align-items: flex-start; }
.icongroup-iconposition-left .icongroup-item-icon { margin-top: .2rem; color: var(--bs-primary); }
.icongroup-iconposition-left .icongroup-item-icon svg { fill: currentColor; }
.icongroup-iconposition-left .icongroup-item-text-header { font-family: inherit; font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }
.icongroup-iconposition-left .icongroup-item-text > :last-child { margin-bottom: 0; }

/* Icon + Text: Zwischenüberschriften (h3) wie in den Icon-Gruppen */
.frame-type-texticon .texticon h3 { font-family: inherit; font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }

/* ------------------------------------------------------------------
 * Standort: Kontaktkarte + Karte (2-Klick bzw. Cookie-Consent)
 * ------------------------------------------------------------------ */
.gg-location-card {
    height: 100%; padding: 1.5rem; border: 1px solid #d5d9de; border-radius: .75rem; background: #fff;
    box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .06);
}
.gg-location-address { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; }
.gg-location-contact { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.gg-location-contact li { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; }
.gg-location-icon { flex: 0 0 auto; color: var(--bs-primary); fill: currentColor; }
.gg-location-route .btn { width: 100%; }
@media (min-width: 576px) { .gg-location-route .btn { width: auto; } }
.gg-location-text { border-top: 1px solid #eceef0; padding-top: 1rem; }
.gg-location-text > :last-child { margin-bottom: 0; }
.gg-map-consent {
    position: relative; height: 100%; min-height: 22rem; border-radius: .75rem; overflow: hidden;
    background: #eef0f2; border: 1px solid #d5d9de;
}
.gg-map-consent.is-loaded iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gg-map-placeholder {
    height: 100%; min-height: 22rem; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .5rem; padding: 2rem; text-align: center;
}
.gg-map-placeholder-icon { color: var(--bs-primary); fill: currentColor; }
.gg-map-placeholder-title { font-weight: 600; font-size: 1.1rem; margin: 0; }
.gg-map-placeholder-text { max-width: 34rem; font-size: .9rem; color: #5c636a; margin: 0 0 .5rem; }

/* ------------------------------------------------------------------
 * Cookie-Consent (we_cookie_consent / Klaro) in den Farben der Website
 * ------------------------------------------------------------------ */
.klaro.we_cookie_consent .cookie-notice,
.klaro.we_cookie_consent .cookie-modal .cm-modal { font-family: inherit; color: #212529; }
.klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cn-body p,
.klaro.we_cookie_consent .cookie-modal p { color: #212529; }
.klaro.we_cookie_consent .cookie-notice a,
.klaro.we_cookie_consent .cookie-modal a { color: var(--bs-link-color, #9a4a09); }
.klaro.we_cookie_consent .cookie-notice .cm-btn,
.klaro.we_cookie_consent .cookie-modal .cm-btn {
    border: 2px solid var(--bs-primary) !important; border-radius: .5rem !important;
    background: #fff !important; color: var(--bs-primary) !important;
}
.klaro.we_cookie_consent .cookie-notice .cm-btn svg,
.klaro.we_cookie_consent .cookie-modal .cm-btn svg { fill: currentColor; color: inherit; }
.klaro.we_cookie_consent .cookie-notice .cm-btn:hover,
.klaro.we_cookie_consent .cookie-modal .cm-btn:hover,
.klaro.we_cookie_consent .cookie-notice .cm-btn.cm-btn-success,
.klaro.we_cookie_consent .cookie-modal .cm-btn.cm-btn-success {
    background: var(--bs-primary) !important; color: #fff !important;
}
.klaro.we_cookie_consent .cookie-notice .cm-btn:focus-visible,
.klaro.we_cookie_consent .cookie-modal .cm-btn:focus-visible { outline: 3px solid #212529; outline-offset: 2px; }
.klaro.we_cookie_consent .cm-list-input:checked + .cm-list-label .slider { background-color: var(--bs-primary) !important; }
/* Icons der Banner-Buttons in Textfarbe (Original: feste dunkelblaue Grafiken) */
#klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cm-link,
#klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cm-link:hover {
    border: 2px solid var(--bs-primary) !important; border-radius: .5rem !important;
    background: #fff !important; color: var(--bs-primary) !important; text-decoration: none;
}
#klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cm-link:hover { background: var(--bs-primary) !important; color: #fff !important; }
#klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cm-link::before,
#klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cm-link:hover::before,
#klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cm-btn.cm-btn-danger::before,
#klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cm-btn.cm-btn-danger:hover::before,
#klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cm-btn.cm-btn-success::before,
#klaro .klaro.we_cookie_consent .cookie-notice:not(.cookie-modal-notice) .cm-btn.cm-btn-success:hover::before {
    content: ""; display: inline-block; width: 1.1em; height: 1.1em; vertical-align: -.2em; margin-right: .5em;
    background: currentColor; -webkit-mask: var(--gg-klaro-icon) center / contain no-repeat; mask: var(--gg-klaro-icon) center / contain no-repeat;
}
#klaro .klaro.we_cookie_consent .cm-link { --gg-klaro-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h4L19 9l-4-4L4 16z'/%3E%3C/svg%3E"); }
#klaro .klaro.we_cookie_consent .cm-btn-danger { --gg-klaro-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 9l6 6M15 9l-6 6'/%3E%3C/svg%3E"); }
#klaro .klaro.we_cookie_consent .cm-btn-success { --gg-klaro-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.8'/%3E%3C/svg%3E"); }

/* Bildunterschriften: Kontrast mind. 4,5:1 (bootstrap_package: #7a7a7a = 4,29:1) */
figcaption, .gallery-item figcaption, .image-caption { color: #595959; }
.table-responsive:focus-visible { outline: 3px solid var(--bs-primary); outline-offset: 2px; }
/* bootstrap_package blendet Bildunterschriften auf 80 % ab -> Kontrast wieder unter 4,5:1 */
figcaption { opacity: 1 !important; }

/* Cookie-Symbol (Datenschutzeinstellungen) halb so groß wie das Original (85 px, per Inline-Style gesetzt) */
.consent-trigger img { width: 42px !important; height: 42px !important; }
/* Hinweis „Bereitgestellt von websedit“ im Einstellungsdialog ausblenden (GPL/BSD-Lizenz erlaubt das; Copyright bleibt in klaro.js) */
.klaro .cm-powered-by { display: none !important; }

/* „Cookie-Einstellungen“ im Footer wie ein Meta-Link */
.gg-consent-link { border: 0; padding: 0; background: none; color: inherit; font: inherit; text-decoration: inherit; cursor: pointer; }
.gg-consent-link:hover, .gg-consent-link:focus-visible { text-decoration: underline; }

/* Sprung-Buttons auf „Unsere Leistungen“ mit denselben Icons wie die Abschnitte (Ionicons, MIT) */
.gg-jumpnav a { display: inline-flex; align-items: center; gap: .45rem; }
.gg-jumpnav a::before { content: ""; flex: 0 0 auto; width: 1.1em; height: 1.1em; background: currentColor; -webkit-mask: var(--gg-jump-icon) center / contain no-repeat; mask: var(--gg-jump-icon) center / contain no-repeat; }
.gg-jumpnav a[href$="#sicherheitskonzept"] { --gg-jump-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='currentColor' viewBox='0 0 512 512'%3E%3Cpath d='M86.4 480h339.2c12.3 0 22.4-9.9 22.4-22.1V246c0-12.2-10-22-22.4-22H404v-30.9c0-41.5-16.2-87.6-42.6-115.4-26.3-27.8-64-45.7-105.3-45.7h-.2c-41.3 0-79 17.9-105.3 45.6C124.2 105.4 108 151.5 108 193v31H86.4C74 224 64 233.9 64 246v211.9c0 12.2 10 22.1 22.4 22.1M161 193.1c0-27.3 9.9-61.1 28.1-80.3v-.3C206.7 93.9 231 83 255.9 83h.2c24.9 0 49.2 10.9 66.8 29.5v.2l-.1.1c18.3 19.2 28.1 53 28.1 80.3V224H161z'/%3E%3C/svg%3E"); }
.gg-jumpnav a[href$="#strom-wlan"] { --gg-jump-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='currentColor' viewBox='0 0 512 512'%3E%3Cpath d='M332.6 266.6c-24.3-10.3-50-15.5-76.6-15.5s-52.4 5.2-76.6 15.5c-19.9 8.4-38.1 19.9-54.2 34.3l54 60.7c21.4-16.1 48-25.6 76.8-25.6s55.4 9.5 76.8 25.6l54-60.7c-16.1-14.3-34.3-25.9-54.2-34.3'/%3E%3Cpath d='M256 352c-24.1 0-47.1 7.6-66.2 21.6l66.2 74.5 66.2-74.5c-19.1-14-42.1-21.6-66.2-21.6m116.2-173.4c-36.8-15.6-75.9-23.4-116.2-23.4s-79.4 7.9-116.2 23.4c-29 12.3-55.6 28.9-79.3 49.5l54.1 60.9c37.6-33.4 87.1-53.8 141.4-53.8s103.8 20.3 141.4 53.8l54.1-60.8c-23.7-20.7-50.3-37.3-79.3-49.6'/%3E%3Cpath d='M256 63.9c-98 0-187.6 36.3-256 96.1l49.9 56.1c55.2-47.9 127.3-77 206.1-77 78.9 0 150.9 29 206.1 77L512 160c-68.5-59.9-158-96.1-256-96.1'/%3E%3C/svg%3E"); }
.gg-jumpnav a[href$="#zugangskarte"] { --gg-jump-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='currentColor' viewBox='0 0 512 512'%3E%3Cpath d='M452 96H60c-15.5 0-27.9 12.5-28 28v264c.2 15.5 12.5 28 28 28h392c15.6 0 28-12.7 28-28.3V124.3c0-15.6-12.4-28.3-28-28.3M77.1 128h357.7c6.9 0 12.1 5.1 13.1 12v20H64v-20.3c1-6.8 6.3-11.7 13.1-11.7m357.8 256H77.1c-6.9 0-12.1-4.9-13.1-11.7V256h384v116c-1 6.9-6.3 12-13.1 12'/%3E%3Cpath d='M96 304h192v16H96zm0 32h96v16H96zm256-32h64v48h-64z'/%3E%3C/svg%3E"); }
.gg-jumpnav a[href$="#waschhalle-entsorgung"] { --gg-jump-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='currentColor' viewBox='0 0 512 512'%3E%3Cpath d='M271 38.6c-.3-.4-.7-.7-.9-1l-.1-.1c-3.6-3.4-8.5-5.5-13.9-5.5-5.5 0-10.4 2.1-13.9 5.5l-.1.1c-.3.3-.6.6-.9 1-6.1 6.3-13.8 14.4-22.4 24.1-17.4 19.7-38.6 46-58.5 76.8-33.4 51.8-62.9 116.1-64.1 183.1 0 1.3-.1 2.7-.1 4 0 19.7 3.9 38.5 10.9 55.8 4.1 10 9.2 19.4 15.2 28.2C150.7 452.4 200 480 256 480c88.4 0 160-68.7 160-153.4 0-127.9-105.2-247.4-145-288M256 424c-15.8 0-30.7-3.7-43.9-10.1 65.9-14.4 118.4-64.7 135.8-129.5 5.2 12.1 8.2 25.5 8.2 39.6-.1 55.2-44.9 100-100.1 100'/%3E%3C/svg%3E"); }
.gg-jumpnav a[href$="#wc-gebaeude"] { --gg-jump-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' fill='currentColor' viewBox='0 0 512 512'%3E%3Cpath d='M349.2 334.8c11.3 3.9-11.2-3.9 0 0'/%3E%3Cpath d='M349.2 334.8c-13.5-4.7-28.1-5-41.6-9.7-4.1-1.4-12.2-3.1-13.9-7.8-1.6-4.6-1.6-10-1.9-14.8q-.3-5.7-.3-11.4c0-2.5 6.4-7.8 7.8-10.1 5.4-9 5.9-21.1 6.9-31.3 8.7 2.4 9.8-13.7 11.3-18.6 1.1-3.4 7.8-26.8-2.6-23.6 2.5-4.4 3.5-9.8 4.2-14.7 2-12.8 2.8-26.8-1.1-39.3-8.1-26-33-40.6-59.3-41.4-26.7-.9-53.5 11.9-63.5 37.8-4.8 12.6-4.4 26.3-2.8 39.5.7 6 1.7 12.7 4.7 18.1-9.7-2.9-4.5 17.7-3.4 21.3 1.6 5.1 3 23.4 12.1 20.9.8 8.1 1.7 16.4 3.9 24.3 1.5 5.3 4.6 9.8 8.2 13.9 1.8 2 2.7 2.2 2.6 4.8-.1 7.8.1 16.2-1.9 23.8s-18.7 10.8-25.4 12.2c-18 3.7-34.6 5.4-49.6 16.6-17.5 12.9-26.6 33-26.6 54.7h278c0-29.5-17.8-55.5-45.8-65.2'/%3E%3Cpath d='m143.3 322.5 1.6-.8c-.3.1-.6.3-.8.4-.3.1-.5.2-.8.4'/%3E%3Cpath d='M143.3 322.5c-3.4 1.7-7.5 3.8.8-.4l.8-.4c6.8-3.2 14.1-4 21.4-4.7 2.8-.3 4.1-2.2 2-4.9-4-5.1-17.8-6.1-23.6-8.4-3.6-1.4-4.6-2.7-4.9-6.7-.1-1.8-1.1-9.8.3-11.1 1-1 7.3-.6 8.7-.8 5.7-.7 11.5-1.9 16.9-4 2.3-.9 4.5-2 6.5-3.4 2.4-1.8-1.8-6.2-2.9-8.6-3.4-7.5-4.9-15.7-5.4-23.9-1-16.1 1.5-32.3-1.5-48.3-4.5-24.5-23.4-36.8-47.5-36.8-14.9 0-29.6 5.1-37.9 18.1-9.2 14.3-8.7 32.1-8.2 48.4.3 9.3.7 18.7-.6 28-.6 4-1.5 7.9-2.9 11.7-1.1 2.9-6.7 10.1-4.5 11.6 8.3 5.9 22.3 7.9 32.3 7.1.3 4.9 1.2 11.2-.6 15.8-2.8 7.2-23.7 9.1-30 11.2C45 317.8 32 332 32 352h79.5c1.3 0 6.3-9.3 7.7-10.8 6.8-7.5 15.1-14 24.1-18.7m306-10.6c-8.1-2.6-23.7-3.4-29.5-10.4-2.9-3.5-1.3-12.4-1-16.6 4.4.4 9.2-.3 13.7-.9 4.1-.6 8.1-1.4 12-2.8 1.8-.7 3.6-1.4 5.3-2.4 3.9-2.3 2.1-2.7.1-6.1-10.9-18.3-6-41.5-6.5-61.6-.4-16.7-4.8-35-20-44.4-13.7-8.5-34-8.8-48.7-2.8-42.4 17-17.4 73.2-31.9 105.4-2.5 5.4-6.1 7.3.2 10.5 3.5 1.8 7.3 3 11.1 3.9 5.8 1.4 11.8 2.2 17.8 2.4 1 0 .3 12.6 0 13.9-1.1 4.9-11.8 6.3-15.8 7.4-4.1 1.1-10.9 1.4-12.9 5.7-3 6.4 9.9 4.8 13.1 5.4 10.3 1.9 19.4 7.6 27.4 14.1 6 4.9 14.1 11.5 16.3 19.5h80.2c-.2-20.1-13.3-34.4-30.9-40.2'/%3E%3C/svg%3E"); }
.frame .gg-jumpnav a:hover,
.frame .gg-jumpnav a:focus-visible { background: var(--bs-primary, #b35509); color: #fff; }

/* ------------------------------------------------------------------
 * Startseite: Flyover-Video hinter dem Seitenkopf
 * ------------------------------------------------------------------ */
.gg-hero-video-wrap { position: relative; overflow: hidden; background: #1a1a1a; }
.gg-hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity .6s ease;
}
/* Erst einblenden, wenn das Skript aktiv ist; sonst bleibt das Hintergrundbild des Seitenkopfs */
.gg-hero-video-wrap.has-video .gg-hero-video { opacity: 1; }
.gg-hero-video-wrap.has-video .frame-hero { background: transparent; }
.gg-hero-video-wrap.has-video .frame-hero .frame-backgroundimage { display: none; }
.gg-hero-video-toggle {
    position: absolute; right: 1rem; bottom: 1rem; z-index: 3;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .8rem; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50rem;
    background: rgba(0, 0, 0, .55); color: #fff; font-size: .8125rem; cursor: pointer;
}
.gg-hero-video-toggle::before {
    content: ""; width: .9em; height: .9em; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='5' width='4' height='14'/%3E%3Crect x='14' y='5' width='4' height='14'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='5' width='4' height='14'/%3E%3Crect x='14' y='5' width='4' height='14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.gg-hero-video-toggle[aria-pressed="true"]::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5v14l12-7z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 5v14l12-7z'/%3E%3C/svg%3E");
}
.gg-hero-video-toggle:hover, .gg-hero-video-toggle:focus-visible { background: rgba(0, 0, 0, .8); }
.gg-hero-video-toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Mietanfrage: Preiszeile in den Mieteinheiten-Kacheln */
.gg-unit-price { display: block; margin-top: .35rem; color: #212529; font-size: .9375rem; }
.gg-unit-price strong { color: var(--bs-primary); font-size: 1.15rem; font-weight: 700; }
.gg-unit-price-note { display: block; font-size: .75rem; color: var(--gg-form-muted, #5c636a); }

/* ------------------------------------------------------------------
 * Google-Bewertungen (Hinweis-Box)
 * ------------------------------------------------------------------ */
.gg-reviews { text-align: center; max-width: 44rem; margin-inline: auto; padding-bottom: 1.5rem; }
.gg-reviews-score { display: inline-flex; align-items: center; gap: .75rem; margin: 0; }
.gg-reviews-value { font-family: "Oswald", "Inter", sans-serif; font-size: 3rem; font-weight: 600; line-height: 1; color: #212529; }
.gg-reviews-stars {
    --gg-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E");
    position: relative; display: inline-block; width: 10rem; height: 2rem;
    background: linear-gradient(90deg, #e8a33d var(--gg-stars, 0%), #d5d9de var(--gg-stars, 0%));
    -webkit-mask: var(--gg-star) left center / 2rem 2rem repeat-x; mask: var(--gg-star) left center / 2rem 2rem repeat-x;
}
.gg-reviews-count { color: #5c636a; margin: .5rem 0 1.25rem; }
.gg-reviews-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; margin: 0; }
.gg-reviews-title { margin-bottom: 1rem; }
/* Ohne eingetragene Note bleibt der Rahmen leer -> komplett ausblenden (keine leere Trennlinie) */
.frame-type-grossgaragen_reviews:not(:has(.gg-reviews)) { display: none; }

/* ------------------------------------------------------------------
 * Tabellen mit Kopfzeile: auf dem Smartphone als Karten (je Zeile eine Karte,
 * Spaltenüberschrift als Beschriftung vor dem Wert)
 * ------------------------------------------------------------------ */
@media (max-width: 575.98px) {
    .gg-table-stack thead {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }
    .gg-table-stack, .gg-table-stack tbody, .gg-table-stack tr, .gg-table-stack td { display: block; width: 100%; }
    .gg-table-stack caption { display: block; caption-side: bottom; }
    .gg-table-stack tr {
        margin-bottom: .75rem; border: 1px solid #d5d9de; border-radius: .6rem; overflow: hidden; background: #fff;
    }
    .gg-table-stack.table-striped > tbody > tr:nth-of-type(odd) > * { --bs-table-bg-type: transparent; }
    .gg-table-stack td {
        display: flex; justify-content: space-between; gap: 1rem; padding: .4rem .9rem;
        border: 0; border-top: 1px solid #eceef0; text-align: right;
    }
    .gg-table-stack td::before { content: attr(data-label); flex: 0 0 42%; font-weight: 600; text-align: left; color: #5c636a; }
    .gg-table-stack td:first-child {
        display: block; border-top: 0; text-align: left; font-weight: 700; font-size: 1.05rem;
        background: #f6f7f8; padding: .6rem .9rem;
    }
    .gg-table-stack td:first-child::before { content: none; }
    .table-responsive:has(.gg-table-stack) { overflow: visible; }
}

/* Schwebendes Cookie-Symbol erst ab 1200 px (darunter überdeckt es den Inhaltsrand);
   die Einstellungen bleiben über „Cookie-Einstellungen“ im Footer jederzeit erreichbar */
@media (max-width: 1199.98px) {
    .consent-cookie { display: none !important; }
}

/* Startseite: die drei Einstiegs-Boxen erst ab Desktop nebeneinander (Tablet: zu schmal für Icon + Text) */
@media (max-width: 991.98px) {
    .backendlayout-special_start .section-row > .section-column-third { flex: 0 0 100%; max-width: 100%; }
}
