/*
 * global-appartements Design-System für das BusinessOS-Skelett (GA-Lighthouse).
 * Tokens & Look gemessen an der Live-Site global-appartements.de:
 * Akzent #627AFE (Periwinkle), Headings Rubik (light), Body Nunito Sans, Seite #F6F8FF.
 * Fonts lokal vendored (lib/fonts). Ergänzt Bootstrap (das GA ebenfalls nutzt), überschreibt Marke/Farben.
 */
:root {
    --ga-accent: #627afe;
    --ga-accent-dark: #4c60e0;
    --ga-accent-soft: #eef1ff;
    --ga-ink: #041c2c;      /* Überschriften — dunkles Navy */
    --ga-text: #212529;     /* Fließtext */
    --ga-muted: #6c757d;    /* sekundär */
    --ga-line: #e6e9f2;
    --ga-bg: #f6f8ff;       /* Seitenhintergrund */
    --ga-surface: #fff;
    --ga-radius: 12px;
    --ga-radius-sm: 6px;
    --ga-shadow: 0 2px 6px rgba(4, 28, 44, .07);
    --ga-shadow-lg: 0 12px 32px rgba(4, 28, 44, .12);
    --ga-head: 'Rubik', system-ui, sans-serif;
    --ga-body: 'Nunito Sans', system-ui, sans-serif;
}

/* ── Base ──────────────────────────────────────────────────────────────────── */
html, body {
    font-family: var(--ga-body);
    background: var(--ga-bg);
    color: var(--ga-text);
}

h1, h2, h3, h4, .ga-head {
    font-family: var(--ga-head);
    color: var(--ga-ink);
    letter-spacing: -0.01em;
}

h1 { font-weight: 300; }
h2, h3, h4 { font-weight: 500; }

a { color: var(--ga-accent); text-decoration: none; }
a:hover { color: var(--ga-accent-dark); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.ga-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .6rem 1.4rem;
    border: 0;
    border-radius: var(--ga-radius-sm);
    background: var(--ga-accent);
    color: #fff;
    font-family: var(--ga-body);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s ease, transform .1s ease;
}
.ga-btn:hover { background: var(--ga-accent-dark); color: #fff; }
.ga-btn:active { transform: translateY(1px); }
.ga-btn--sm { padding: .4rem .9rem; font-size: .85rem; font-weight: 600; }
.ga-btn--ghost {
    background: #fff; color: var(--ga-accent); border: 1px solid var(--ga-line);
}
.ga-btn--ghost:hover { background: var(--ga-accent-soft); color: var(--ga-accent-dark); border-color: var(--ga-accent); }
/* Verbindliche Buchung (GA-Grün). */
.ga-btn--book { background: #2e9e5b; }
.ga-btn--book:hover { background: #25814a; color: #fff; }

/* ── Formularfelder ────────────────────────────────────────────────────────── */
.ga-field { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.ga-field > label, .ga-label {
    font-size: .74rem; font-weight: 700; color: var(--ga-muted);
    text-transform: uppercase; letter-spacing: .03em;
}
.ga-input, .ga-app input:not([type=checkbox]):not([type=radio]),
.ga-app select, .ga-app textarea {
    padding: .55rem .7rem; border: 1px solid var(--ga-line); border-radius: var(--ga-radius-sm);
    font: inherit; font-family: var(--ga-body); color: var(--ga-text); background: #fff;
    width: 100%; min-width: 0; box-sizing: border-box;
}
.ga-app input:focus, .ga-app select:focus, .ga-app textarea:focus {
    outline: 0; border-color: var(--ga-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ga-accent) 20%, transparent);
}

/* ── App-Shell (Top-Nav-Portal) ────────────────────────────────────────────── */
.ga-app { min-height: 100vh; display: flex; flex-direction: column; }
.ga-main { flex: 1; }
.ga-container { max-width: 1180px; margin: 0 auto; padding: 2rem 1.25rem; }

.ga-footer {
    border-top: 1px solid var(--ga-line); background: #fff;
    color: var(--ga-muted); font-size: .85rem;
}
.ga-footer__inner {
    max-width: 1180px; margin: 0 auto; padding: 1.5rem 1.25rem;
    display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}

/* ── Hero + Suche (Property-Index) ─────────────────────────────────────────── */
.ga-hero {
    position: relative;
    /* Echtes GA-Hero-Foto (jumbo.webp) mit dunklem Verlauf für Text-Lesbarkeit. */
    background:
        linear-gradient(90deg, rgba(4, 28, 44, .60) 0%, rgba(4, 28, 44, .30) 45%, rgba(4, 28, 44, .10) 100%),
        url('/img/hero.webp') center / cover no-repeat;
    color: #fff;
    padding: clamp(2.5rem, 7vw, 5rem) 1.25rem clamp(3rem, 8vw, 6rem);
    overflow: hidden;
}
.ga-hero__inner { position: relative; max-width: 1180px; margin: 0 auto; display: grid;
    grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.ga-hero__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 300; color: #fff; margin: 0 0 .6rem; line-height: 1.08; }
.ga-hero__sub { font-size: 1.05rem; opacity: .92; margin: 0; max-width: 34rem; }

.ga-search {
    background: #fff; border-radius: var(--ga-radius); box-shadow: var(--ga-shadow-lg);
    padding: 1.25rem 1.35rem; color: var(--ga-text);
}
.ga-search__h { font-family: var(--ga-head); font-weight: 500; font-size: 1.2rem; color: var(--ga-ink); margin: 0 0 1rem; }
.ga-search__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 1rem; }
.ga-search__wide { grid-column: 1 / -1; }
.ga-search__actions { grid-column: 1 / -1; display: flex; gap: .75rem; align-items: center; margin-top: .25rem; }

@media (max-width: 860px) {
    .ga-hero__inner { grid-template-columns: 1fr; }
}

/* ── Ergebnis-Grid + Karten ────────────────────────────────────────────────── */
.ga-results__meta { color: var(--ga-muted); margin: 0 0 1.25rem; }
.ga-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.35rem;
    list-style: none; padding: 0; margin: 0;
}
.ga-card {
    background: var(--ga-surface); border-radius: var(--ga-radius); overflow: hidden;
    box-shadow: var(--ga-shadow); border: 1px solid var(--ga-line);
    display: flex; flex-direction: column;
    transition: box-shadow .15s ease, transform .15s ease;
}
.ga-card:hover { box-shadow: var(--ga-shadow-lg); transform: translateY(-3px); }
.ga-card__media {
    display: block; height: 180px; overflow: hidden; background: var(--ga-accent-soft);
}
.ga-card__media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .25s ease;
}
.ga-card:hover .ga-card__media img { transform: scale(1.04); }
.ga-card__body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.ga-card__title { font-family: var(--ga-head); font-weight: 500; font-size: 1.1rem; color: var(--ga-ink); margin: 0; }
.ga-card__loc { color: var(--ga-muted); font-size: .9rem; margin: 0; }
.ga-card__facts { color: var(--ga-muted); font-size: .85rem; margin: 0; }
.ga-card__facts strong { color: var(--ga-text); }
.ga-card__price { margin: .1rem 0 0; font-weight: 700; color: var(--ga-ink); }
.ga-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: .6rem; }

.ga-empty {
    padding: 2rem 1.5rem; text-align: center; color: var(--ga-muted);
    background: #fff; border: 1px solid var(--ga-line); border-radius: var(--ga-radius);
}

/* Vermieter-Landing: Kachel-Übersicht (BOS-6). */
.ga-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.ga-tile {
    display: block; text-decoration: none; text-align: center; padding: 1.6rem 1rem;
    background: #fff; border: 1px solid var(--ga-line); border-radius: var(--ga-radius);
    color: var(--ga-ink); transition: border-color .15s, box-shadow .15s;
}
.ga-tile:hover { border-color: var(--ga-accent, #c8a24a); box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.ga-tile__n { font-family: var(--ga-head); font-size: 2rem; font-weight: 600; line-height: 1; }
.ga-tile__l { margin-top: .4rem; color: var(--ga-muted); }

/* ── Detailseite ───────────────────────────────────────────────────────────── */
.ga-detail { max-width: 980px; }

/* Foto-Galerie (Detailseite) — CSS-only Umschaltung über versteckte Radios, kein JS. */
.ga-gallery { margin: 0 0 1.5rem; }

/* Mosaik-Slider: der Viewport trägt Rundung/Schatten; der Track schiebt die Seiten waagerecht. */
.ga-pg-r { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.ga-gallery__viewport {
    position: relative; overflow: hidden; border-radius: var(--ga-radius); box-shadow: var(--ga-shadow);
}
.ga-gallery__track { display: flex; transition: transform .35s ease; }
.ga-gallery__slide { position: relative; flex: 0 0 100%; }
.ga-pg-r--0:checked ~ .ga-gallery__viewport .ga-gallery__track { transform: translateX(0); }
.ga-pg-r--1:checked ~ .ga-gallery__viewport .ga-gallery__track { transform: translateX(-100%); }
.ga-pg-r--2:checked ~ .ga-gallery__viewport .ga-gallery__track { transform: translateX(-200%); }
.ga-pg-r--3:checked ~ .ga-gallery__viewport .ga-gallery__track { transform: translateX(-300%); }

/* Mosaik-Raster je Seite (GA-Look): 1 großes Bild links + 2×2 kleine rechts (ab 5 Fotos). */
.ga-gallery__grid { display: grid; gap: .5rem; height: clamp(280px, 46vw, 460px); }
.ga-gallery__grid--hero {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.ga-gallery__grid--hero .ga-gallery__cell:first-child {
    grid-column: 1; grid-row: 1 / span 2;
}
/* Weniger als 5 Fotos: gleichmäßige Reihe. */
.ga-gallery__grid--few {
    grid-auto-flow: column; grid-auto-columns: 1fr;
}
.ga-gallery__cell {
    position: relative; overflow: hidden; display: block; background: var(--ga-line); cursor: zoom-in;
}
.ga-gallery__cell img {
    width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease;
}
.ga-gallery__cell:hover img { transform: scale(1.04); }

/* Blätter-Pfeile (liegen im jeweiligen Slide → am Viewport-Rand, wenn die Seite sichtbar ist). */
.ga-gallery__arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 2.6rem; height: 2.6rem; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .85); color: var(--ga-ink); font-size: 1.7rem; line-height: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.ga-gallery__arrow:hover { background: #fff; }
.ga-gallery__arrow--prev { left: 1rem; }
.ga-gallery__arrow--next { right: 1rem; }

/* Seiten-Punkte. */
.ga-gallery__dots { display: flex; gap: .45rem; justify-content: center; margin: .7rem 0 0; }
.ga-gallery__dot {
    width: .55rem; height: .55rem; border-radius: 50%; background: var(--ga-line); cursor: pointer;
    transition: background .2s ease;
}
.ga-gallery__dot:hover { background: var(--ga-muted); }
.ga-pg-r--0:checked ~ .ga-gallery__dots .ga-gallery__dot:nth-child(1),
.ga-pg-r--1:checked ~ .ga-gallery__dots .ga-gallery__dot:nth-child(2),
.ga-pg-r--2:checked ~ .ga-gallery__dots .ga-gallery__dot:nth-child(3),
.ga-pg-r--3:checked ~ .ga-gallery__dots .ga-gallery__dot:nth-child(4) { background: var(--ga-ink); }

/* Lightbox — CSS-only über versteckte Radios + Labels (kein #-Fragment → kein Blazor-Nav-Konflikt). */
.ga-lb-r { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.ga-lightbox {
    display: none; position: fixed; inset: 0; z-index: 1000;
    background: rgba(0, 0, 0, .9); align-items: center; justify-content: center;
}
/* Das gecheckte Foto-Radio blendet die zugehörige Lightbox ein (enumeriert bis MaxLightbox=12). */
.ga-lb-r--0:checked ~ .ga-lb--0,
.ga-lb-r--1:checked ~ .ga-lb--1,
.ga-lb-r--2:checked ~ .ga-lb--2,
.ga-lb-r--3:checked ~ .ga-lb--3,
.ga-lb-r--4:checked ~ .ga-lb--4,
.ga-lb-r--5:checked ~ .ga-lb--5,
.ga-lb-r--6:checked ~ .ga-lb--6,
.ga-lb-r--7:checked ~ .ga-lb--7,
.ga-lb-r--8:checked ~ .ga-lb--8,
.ga-lb-r--9:checked ~ .ga-lb--9,
.ga-lb-r--10:checked ~ .ga-lb--10,
.ga-lb-r--11:checked ~ .ga-lb--11 { display: flex; }
.ga-lightbox__backdrop { position: absolute; inset: 0; cursor: zoom-out; }
.ga-lightbox__img {
    position: relative; max-width: 92vw; max-height: 70vh; object-fit: contain;
    margin-bottom: 5.5rem; /* Platz für Caption-Bar + Thumbnail-Leiste */
    border-radius: 6px; box-shadow: 0 12px 48px rgba(0, 0, 0, .5);
}
.ga-lightbox__nav, .ga-lightbox__close {
    position: absolute; z-index: 2; color: #fff; text-decoration: none; user-select: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.ga-lightbox__nav {
    top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%;
    font-size: 2rem; background: rgba(0, 0, 0, .35);
}
.ga-lightbox__nav:hover { background: rgba(0, 0, 0, .6); }
.ga-lightbox__prev { left: 1.25rem; }
.ga-lightbox__next { right: 1.25rem; }
.ga-lightbox__close { top: 1.1rem; right: 1.4rem; font-size: 2.2rem; line-height: 1; }

/* Info-Bar (Caption + Zähler, wie GA) über der Thumbnail-Leiste. */
.ga-lightbox__bar {
    position: absolute; bottom: 4.3rem; left: 0; right: 0; z-index: 2;
    display: flex; justify-content: center; align-items: baseline; gap: .9rem;
    color: #fff; padding: 0 1rem; text-align: center;
}
.ga-lightbox__cap { font-size: .95rem; font-weight: 600; }
.ga-lightbox__count { font-size: .85rem; opacity: .8; }

/* Thumbnail-Leiste (Slidebar): direktes Springen; scrollt bei vielen Fotos. */
.ga-lightbox__strip {
    position: absolute; bottom: .8rem; left: 0; right: 0; z-index: 2;
    display: flex; gap: .4rem; justify-content: center; align-items: center;
    padding: 0 1rem; overflow-x: auto; scrollbar-width: thin;
}
.ga-lightbox__thumb {
    flex: 0 0 auto; width: 64px; height: 44px; border-radius: 5px; overflow: hidden; cursor: pointer;
    opacity: .5; outline: 2px solid transparent; outline-offset: -2px;
    transition: opacity .2s ease, outline-color .2s ease;
}
.ga-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ga-lightbox__thumb:hover { opacity: .85; }
.ga-lightbox__thumb.is-current { opacity: 1; outline-color: #fff; }

@media (max-width: 640px) {
    .ga-gallery__grid { height: auto; }
    .ga-gallery__grid--hero {
        grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 30vw;
    }
    .ga-gallery__grid--hero .ga-gallery__cell:first-child {
        grid-column: 1 / span 2; grid-row: auto; height: 46vw;
    }
}
.ga-detail__title { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 .25rem; }
.ga-detail__loc { color: var(--ga-muted); margin: 0 0 1.25rem; }
.ga-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ga-facts li { font-weight: 600; color: var(--ga-muted); display: inline-flex; align-items: center; gap: .35rem; }
.ga-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.ga-chip {
    font-size: .82rem; color: var(--ga-text); background: #fff; border: 1px solid var(--ga-line);
    border-radius: 999px; padding: .28rem .8rem;
}
.ga-panel {
    background: #fff; border: 1px solid var(--ga-line); border-radius: var(--ga-radius);
    box-shadow: var(--ga-shadow); padding: 1.25rem 1.35rem; margin: 0 0 1.5rem;
}
.ga-panel__h { font-family: var(--ga-head); font-weight: 500; font-size: 1.2rem; color: var(--ga-ink); margin: 0 0 .9rem; }
.ga-map { border-radius: var(--ga-radius); overflow: hidden; box-shadow: var(--ga-shadow); }

/* „Weitere Unterkünfte"-Sektion (Detailseite) */
.ga-other { padding-top: 0; }
.ga-other__title { font-family: var(--ga-head); font-weight: 500; font-size: 1.4rem; color: var(--ga-ink); margin: 0 0 1.1rem; }

/* Kopf-Block: Titel · Ort · Fakten-Zeile · Aktionen (wie GA-Detailkopf). */
.ga-detail__head { margin: 0 0 1.25rem; }
.ga-detail__sub { color: var(--ga-text); font-weight: 600; margin: .1rem 0 .9rem; }
.ga-detail__actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

/* Merken: CSS-only Herz-Toggle (versteckte Checkbox + Label). Noch nicht persistiert — siehe
   „Meine Traumdomizile"/Bookmark als eigene Story. */
.ga-like__cb { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.ga-like { cursor: pointer; }
.ga-like__heart { color: var(--ga-muted); font-size: 1.05rem; transition: color .15s ease; }
.ga-like__cb:checked + .ga-like { border-color: #e0607e; color: #c0395a; background: #fff0f3; }
.ga-like__cb:checked + .ga-like .ga-like__heart { color: #e0325a; }
.ga-like__cb:focus-visible + .ga-like { outline: 2px solid var(--ga-accent); outline-offset: 2px; }

/* Teilen: natives <details>-Dropdown (JS-frei). */
.ga-share { position: relative; }
.ga-share > summary { list-style: none; }
.ga-share > summary::-webkit-details-marker { display: none; }
.ga-share__menu {
    position: absolute; z-index: 20; top: calc(100% + .4rem); left: 0; min-width: 11rem;
    background: #fff; border: 1px solid var(--ga-line); border-radius: var(--ga-radius-sm);
    box-shadow: var(--ga-shadow); padding: .35rem; display: flex; flex-direction: column;
}
.ga-share__menu a {
    padding: .5rem .7rem; border-radius: 6px; color: var(--ga-ink); text-decoration: none; font-size: .9rem;
}
.ga-share__menu a:hover { background: var(--ga-accent-soft); color: var(--ga-accent-dark); }

/* ── Medien: Fotos/Karte als Tab (CSS-only, kein JS) ───────────────────────── */
.ga-media { margin: 0 0 1.75rem; }
.ga-media__r0, .ga-media__r1 { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.ga-media__tabs { display: inline-flex; gap: .35rem; margin: 0 0 .6rem; }
.ga-media__tab {
    padding: .4rem 1.1rem; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .9rem;
    color: var(--ga-muted); background: #fff; border: 1px solid var(--ga-line); transition: all .2s ease;
}
.ga-media__r0:checked ~ .ga-media__tabs .ga-media__tab:first-child,
.ga-media__r1:checked ~ .ga-media__tabs .ga-media__tab:last-child {
    background: var(--ga-ink); color: #fff; border-color: var(--ga-ink);
}
.ga-media__stage { position: relative; }
.ga-media__panel { transition: opacity .25s ease; }
/* Fotos-Panel bleibt im Fluss (definiert die Höhe); Karten-Panel liegt absolut darüber, behält aber
   die Layout-Größe → Leaflet initialisiert auch im Hintergrund korrekt (kein display:none). */
.ga-media__panel--map { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.ga-media__r1:checked ~ .ga-media__stage .ga-media__panel--photos { opacity: 0; pointer-events: none; }
.ga-media__r1:checked ~ .ga-media__stage .ga-media__panel--map { opacity: 1; pointer-events: auto; }
.ga-media .ga-gallery { margin: 0; }
.ga-media .property-map, .ga-media .property-map > * { height: 100%; margin: 0; }
.ga-media__panel--map .property-map {
    box-shadow: var(--ga-shadow); border: 1px solid var(--ga-line); border-radius: var(--ga-radius); overflow: hidden;
}

/* Full-bleed-Variante (Detailseite): Galerie randlos über die ganze Breite, ganz oben; der Titel
   folgt darunter. Fotos/Karte-Umschalter als Overlay unten rechts (wie GA). */
.ga-media--full { position: relative; margin: 0 0 0; }
.ga-media--full .ga-gallery__viewport,
.ga-media--full .ga-media__panel--map .property-map {
    border-radius: 0; box-shadow: none; border-left: 0; border-right: 0;
}
.ga-media--full .ga-gallery__grid,
.ga-media--full .ga-media__panel--map .property-map { height: clamp(300px, 52vw, 540px); }
.ga-media--full .ga-media__stage { min-height: clamp(300px, 52vw, 540px); }
.ga-media--full .ga-media__tabs {
    position: absolute; right: 1rem; bottom: 1rem; z-index: 3; margin: 0;
    background: rgba(0, 0, 0, .28); padding: .3rem; border-radius: 999px; backdrop-filter: blur(2px);
}

/* „i"-Icon oben rechts in einer Mosaik-Kachel (nur wenn das Foto eine Beschreibung hat). Text kommt
   per nativem title-Tooltip (die Kachel ist overflow:hidden — kein eigenes Bubble hier). */
.ga-photo-i {
    position: absolute; top: .5rem; right: .5rem; z-index: 2;
    width: 1.5rem; height: 1.5rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, .55); color: #fff; font-style: italic; font-weight: 700; font-size: .85rem;
    font-family: Georgia, "Times New Roman", serif; cursor: help;
}
.ga-photo-i:hover { background: rgba(0, 0, 0, .8); }

/* „i"-Icon in der Lightbox: oben rechts (neben ×), Hover blendet die Beschreibung ein. */
.ga-lightbox__info { position: absolute; top: 1.15rem; right: 4.6rem; z-index: 3; }
.ga-lightbox__info-btn {
    display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%;
    background: rgba(255, 255, 255, .18); color: #fff; font-style: italic; font-weight: 700;
    font-family: Georgia, "Times New Roman", serif; cursor: help;
}
.ga-lightbox__info:hover .ga-lightbox__info-btn { background: rgba(255, 255, 255, .32); }
.ga-lightbox__info-text {
    position: absolute; top: 2.5rem; right: 0; width: min(20rem, 70vw);
    background: rgba(20, 20, 20, .95); color: #fff; padding: .7rem .9rem; border-radius: 8px;
    font-size: .88rem; line-height: 1.4; box-shadow: 0 8px 28px rgba(0, 0, 0, .5);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease;
}
.ga-lightbox__info:hover .ga-lightbox__info-text { opacity: 1; visibility: visible; transform: translateY(0); }

/* ── Detail-Sektionen (Basisangaben/Beschreibung/Räume/Lage/Saison/Kontakt/Buchen) ── */
.ga-section { margin: 0 0 1.75rem; }
.ga-section__h {
    font-family: var(--ga-head); font-weight: 500; font-size: 1.35rem; color: var(--ga-ink);
    margin: 0 0 .9rem; padding-bottom: .4rem; border-bottom: 1px solid var(--ga-line);
}
.ga-prose p { line-height: 1.7; color: var(--ga-text); margin: 0 0 .8rem; }

.ga-basics__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .6rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.ga-basics__list li { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--ga-text); }
.ga-basics__ico { font-size: 1.15rem; }

.ga-rooms__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.ga-room { background: #fff; border: 1px solid var(--ga-line); border-radius: var(--ga-radius); padding: 1rem 1.1rem; }
.ga-room__name { font-family: var(--ga-head); font-weight: 500; font-size: 1.05rem; color: var(--ga-ink); margin: 0 0 .2rem; }
.ga-room__meta { color: var(--ga-muted); font-size: .85rem; margin: 0 0 .6rem; }
.ga-room__equip { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.ga-room__equip li { font-size: .8rem; color: var(--ga-text); background: var(--ga-accent-soft); border-radius: 6px; padding: .18rem .5rem; }

.ga-lage__block { margin: 0 0 1.1rem; }
.ga-lage__block h3 { font-size: 1rem; font-weight: 700; color: var(--ga-ink); margin: 0 0 .35rem; }
.ga-lage__block p { line-height: 1.7; color: var(--ga-text); margin: 0; }

.ga-seasons__scroll { overflow-x: auto; }
.ga-seasons__table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ga-seasons__table th, .ga-seasons__table td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--ga-line); white-space: nowrap; }
.ga-seasons__table th { color: var(--ga-muted); font-weight: 600; }

.ga-booking__hint { color: var(--ga-muted); margin: 0 0 1rem; line-height: 1.6; }

/* ── Preisrechner (Baustein) — Ein-Spalten-Panel wie die GA-Live-Seite ──────── */
.ga-pricecalc__hint { color: var(--ga-muted); font-size: .9rem; margin: 0 0 .6rem; }
.ga-pricecalc__row { display: flex; flex-wrap: wrap; gap: .75rem; margin: .75rem 0; }
.ga-pricecalc__row .ga-field { flex: 1 1 150px; }

/* Enthaltene Leistungen: 2-spaltige Klartext-Liste „X inklusive". */
.ga-pricecalc__incl { list-style: none; padding: 0; margin: 1rem 0; columns: 2; column-gap: 2rem; color: var(--ga-text); }
.ga-pricecalc__incl li { padding: .22rem 0; break-inside: avoid; }

/* Zusatzleistungen: 2-spaltiges Box-Raster (feste Gebühr = getönt, sonst mit Anzahl-Feld). */
.ga-pricecalc__opts { display: grid; grid-template-columns: 1fr; gap: .75rem; margin: 1rem 0; }
@media (min-width: 620px) { .ga-pricecalc__opts { grid-template-columns: 1fr 1fr; } }
.ga-pricecalc__opt {
    display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem;
    background: #fff; border: 1px solid var(--ga-line); border-radius: 10px; padding: .8rem 1rem; min-height: 60px;
}
.ga-pricecalc__opt.is-fixed { background: var(--ga-accent-soft); }
.ga-pricecalc__opt-name { flex: 1 1 auto; color: var(--ga-text); font-weight: 600; font-size: .9rem; }
.ga-pricecalc__opt-qty { display: flex; flex-direction: column; gap: .1rem; font-size: .7rem; color: var(--ga-muted); }
.ga-pricecalc__opt-qty .ga-input { width: 70px; padding: .3rem .5rem; }
.ga-pricecalc__opt-price { margin-left: auto; font-weight: 700; color: var(--ga-ink); white-space: nowrap; }

/* Grüne Preis-Zeile (GA). */
.ga-pricecalc__preis {
    display: flex; justify-content: space-between; align-items: baseline;
    background: #7fe6c0; color: #0d3b2e; border-radius: 10px; padding: .85rem 1.2rem; margin: 1.1rem 0 .4rem; font-weight: 600;
}
.ga-pricecalc__preis-val { font-size: 1.5rem; font-weight: 800; }
.ga-pricecalc__breakdown { color: var(--ga-muted); font-size: .82rem; margin: 0 0 1rem; line-height: 1.5; }

.ga-pricecalc__notes { margin: 1rem 0; }
.ga-pricecalc__notes-h { display: block; font-weight: 700; color: var(--ga-ink); margin: 0 0 .4rem; font-size: .95rem; }
.ga-pricecalc__notes ul { margin: 0; padding-left: 1.1rem; color: var(--ga-muted); font-size: .85rem; }
.ga-pricecalc__notes li { padding: .1rem 0; }

.ga-pricecalc__contact { margin-top: 1rem; border-top: 1px solid var(--ga-line); padding-top: 1.1rem; display: flex; flex-direction: column; gap: .6rem; }
.ga-pricecalc__cta { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1rem; }
.ga-pricecalc__submit { align-self: flex-end; }

/* Anfrage-Formular (GA: „Anfrage" klappt das vollständige Kontaktformular inline auf). */
.ga-anfrageform {
    display: flex; flex-direction: column; gap: .7rem;
    margin-top: 1.2rem; border-top: 1px solid var(--ga-line); padding-top: 1.3rem;
}
.ga-anfrageform__h {
    font-family: var(--ga-head); font-weight: 500; font-size: 1.2rem; text-align: center; color: var(--ga-ink);
    background: var(--ga-surface); padding: .6rem; border-radius: var(--ga-radius-sm); margin-bottom: .3rem;
}
.ga-anfrageform__agb { display: flex; align-items: flex-start; gap: .5rem; font-size: .88rem; color: var(--ga-ink); cursor: pointer; }
.ga-anfrageform__agb input { margin-top: .2rem; flex: 0 0 auto; width: auto; }
.ga-anfrageform__agb a { color: var(--ga-accent); text-decoration: underline; }

/* Vermieter-Profil: Kontakt/Ansprechpartner (BOS-13) + AGB-/Datenschutz-Links je Vermieter. */
.ga-profil { margin-bottom: 1.1rem; }
.ga-profil__form { display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.ga-profil__form .ga-field { width: 100%; }
.ga-profil__sub {
    font-family: var(--ga-head); font-weight: 500; font-size: 1rem; color: var(--ga-ink);
    margin: .8rem 0 .1rem; padding-top: .6rem; width: 100%; border-top: 1px solid var(--ga-line);
}
.ga-profil__sub:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.ga-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .6rem; width: 100%; }
.ga-field em { font-weight: 400; color: var(--ga-muted); font-style: normal; font-size: .85em; }
/* Telefon-Zeilen: Art | Vorwahl | Nummer | von | bis */
.ga-phones { display: flex; flex-direction: column; gap: .35rem; width: 100%; }
.ga-phones__head, .ga-phones__row {
    display: grid; grid-template-columns: 1.1fr .8fr 1.6fr .7fr .7fr; gap: .4rem; align-items: center;
}
.ga-phones__head { font-size: .78rem; color: var(--ga-muted); text-transform: uppercase; letter-spacing: .02em; }
.ga-phones__row .ga-input { width: 100%; }
@media (max-width: 640px) {
    .ga-phones__head { display: none; }
    .ga-phones__row { grid-template-columns: 1fr 1fr; }
}
.ga-anfrageform__submit { width: 100%; margin-top: .5rem; }
.ga-anfrageform__note { text-align: center; color: var(--ga-muted); font-size: .8rem; margin: .4rem 0 0; }

/* Objekt-Liste: Lifecycle-Status + Anlegen/Aktionen (BOS-14). */
.ga-objekte__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ga-objekte__new { display: flex; gap: .5rem; align-items: center; }
.ga-objekte__new .ga-input { min-width: 220px; }
.ga-objekte__new .ga-btn { white-space: nowrap; } /* „Neue Seite anlegen" sonst zweizeilig (Page-Builder-Liste). */
.ga-objekte__actions { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.ga-inline-form { display: inline; margin: 0; }
.ga-status {
    display: inline-block; padding: .15rem .55rem; border-radius: 999px; font-size: .78rem; font-weight: 600;
    border: 1px solid transparent; white-space: nowrap;
}
.ga-status--online { background: #e7f4ec; color: #1c5a35; border-color: #bfe3cd; }
.ga-status--offline { background: #f3e7e7; color: #8a2b2b; border-color: #e3bfbf; }
.ga-status--pending { background: #fdf3e0; color: #8a5a1c; border-color: #eed9b3; }
.ga-status--draft { background: #eef0f5; color: #4a5266; border-color: #d9dde8; }
.ga-btn--danger { background: #fff; color: #8a2b2b; border: 1px solid #e3bfbf; }
.ga-btn--danger:hover { background: #f7ecec; }

/* Detailseite: Kontakt/Anbieter-Block (BOS-13). */
.ga-contact__logo { max-height: 56px; width: auto; margin-bottom: .5rem; display: block; }
.ga-contact__name { margin: 0 0 .1rem; }
.ga-contact__company { margin: 0 0 .4rem; color: var(--ga-muted); }
.ga-contact__intro { margin: .2rem 0 .6rem; font-size: .92rem; }
.ga-contact__phones { list-style: none; margin: .3rem 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; font-size: .92rem; }
.ga-contact__kind { font-weight: 600; }
.ga-contact__avail { color: var(--ga-muted); font-size: .85em; }
.ga-contact__langs { margin: .5rem 0 .2rem; font-size: .92rem; }
.ga-contact__web { margin: .3rem 0 0; }

/* ── Anfrage / Erfolg / Fehler ─────────────────────────────────────────────── */
.ga-alert-ok {
    padding: 1rem 1.25rem; background: #e7f4ec; border: 1px solid #bfe3cd; border-radius: var(--ga-radius); color: #1c5a35;
}
.ga-alert-err { color: #8a2b2b; font-weight: 600; margin: .4rem 0 0; }

/* ── Vermieter-Postfach (BOS-5) ────────────────────────────────────────────── */
.ga-leads { width: 100%; border-collapse: collapse; }
.ga-leads th, .ga-leads td { text-align: left; padding: .7rem .6rem; vertical-align: top; }
.ga-leads thead th { font-family: var(--ga-head); font-weight: 500; color: var(--ga-muted); border-bottom: 2px solid var(--ga-line); }
.ga-leads tbody tr + tr td { border-top: 1px solid var(--ga-line); }
.ga-leads tbody tr:hover { background: var(--ga-surface); }
/* Detail-Definitionsliste (dt/dd) — im Gegensatz zu .ga-facts (li) */
dl.ga-facts { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0; }
dl.ga-facts dt { font-weight: 600; color: var(--ga-muted); }
dl.ga-facts dd { margin: 0; }
