/* ===================================================
   app.css — Fam-Basner Frontend Design System
   Zentrales Custom-CSS für das Frontend.
   Ladereihenfolge: bootstrap.min.css → styles.css → all.min.css → app.css (LAST)
   =================================================== */
/* ===== 1. Design Tokens ===== */
:root {
    --ui-bg-dark:       #0d1117;
    --ui-accent:        #38bdf8;
    --ui-text-main:     #e2e8f0;
    --ui-silver-border: rgba(203, 213, 225, 0.6);
    --ui-radius:        14px;
    --ui-font:          Inter, "Segoe UI", Roboto, Arial, sans-serif;
    --nav-height:       72px;
}
/* ===== 2. Base Reset ===== */
*,
*::before,
*::after { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}
@supports (overflow: clip) {
    html,
    body {
        overflow-x: clip;
    }
}
body {
    font-family: var(--ui-font);
    color: var(--ui-text-main);
    background-size: cover;
    background-attachment: fixed;
    background-position: center top;
    display: flex;
    flex-direction: column;
}
.frontend-layout {
    min-height: 100vh;
}
/* ===== 3. Page Layout ===== */
#layoutDefault {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}
#layoutDefault_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: var(--nav-height) !important;
    margin-top: 0 !important;
}
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}
#layoutDefault_footer {
    flex-shrink: 0;
    width: 100%;
}
.svg-border-rounded {
    flex-shrink: 0;
    width: 100%;
    line-height: 0;
    margin-top: auto;
}
.svg-border-rounded svg {
    display: block;
    width: 100%;
    height: 10px;
    opacity: 0.95;
}
/* ===== 4. Navbar (Glass) ===== */
.site-glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: var(--nav-height);
    background: linear-gradient(90deg, rgba(13,17,23,0.92) 0%, rgba(15,23,42,0.85) 100%);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(148,163,184,0.15);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}
.site-glass-nav .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
}
.site-glass-nav .navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    margin-right: 2rem;
    max-width: min(52vw, 360px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.site-glass-nav .navbar-collapse {
    max-width: 100%;
    overflow-x: clip;
}
.site-glass-nav .navbar-nav,
.site-glass-nav .dropdown-menu {
    max-width: 100%;
}
.navbar-collapse {
    flex: 1 1 auto;
}
.navbar-collapse .navbar-nav {
    width: 100%;
}
.site-glass-nav .nav-link {
    color: #c7d2e7 !important;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.18s, background 0.18s;
}
.site-glass-nav .nav-link:hover {
    color: #38bdf8 !important;
}
/* ===== 5. Mobile Toggle Button ===== */
.navbar-toggler-modern {
    position: static !important;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid rgba(148,163,184,0.4);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin: 0 0 0 0.75rem !important;
    flex-shrink: 0;
    z-index: auto;
}
.navbar-toggler-modern:hover {
    border-color: #38bdf8;
    background: rgba(56,189,248,0.12);
}
.navbar-toggler-modern:hover .hamburger-lines span {
    background: #38bdf8;
}
.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}
.hamburger-lines span {
    display: block;
    height: 2px;
    background: #e2e8f0;
    border-radius: 2px;
    transition: transform 0.28s cubic-bezier(.4,0,.2,1), opacity 0.2s;
    transform-origin: center;
}
.hamburger-lines span:nth-child(2) { width: 75%; }
.navbar-toggler-modern[aria-expanded="true"] .hamburger-lines span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar-toggler-modern[aria-expanded="true"] .hamburger-lines span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.navbar-toggler-modern[aria-expanded="true"] .hamburger-lines span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
/* ===== 6. Navbar Collapse (Mobile) ===== */
.navbar-collapse {
    background: rgba(13,17,23,0.98);
    backdrop-filter: blur(16px);
    border-radius: 0 0 14px 14px;
    border: 1px solid rgba(148,163,184,0.18);
    border-top: none;
    margin: 0;
    padding: 1rem 1.25rem;
}
.navbar-collapse .nav-link {
    padding: 0.5rem 0.75rem !important;
    border-radius: 10px;
    transition: background 0.15s;
}
.navbar-collapse .nav-link:hover {
    background: rgba(56,189,248,0.10);
}
/* Desktop */
@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: flex-start !important;
    }
    .navbar-collapse .navbar-nav { flex-direction: row !important; }
    .navbar-collapse .nav-link { padding: 0.5rem 1rem !important; }
    .navbar-toggler-modern { display: none !important; }
}
/* Mobile */
@media (max-width: 991px) {
    .navbar-toggler-modern { display: flex !important; }
    .navbar-collapse .navbar-nav { flex-direction: column !important; }
    .site-glass-nav .container {
        overflow-x: clip;
    }
    .site-glass-nav .navbar-collapse {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }
    .site-glass-nav .dropdown-menu {
        max-width: 100%;
    }
}
/* ===== 7. Dropdown Menus ===== */
.site-glass-nav .dropdown-menu {
    background: rgba(15,23,42,0.96);
    backdrop-filter: blur(16px);
    border: 1px solid var(--ui-silver-border);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    max-width: min(92vw, 860px);
    overflow-x: hidden;
}
.site-glass-nav .dropdown-standard-menu,
.site-glass-nav .dropdown-mega-menu {
    border-color: var(--ui-silver-border);
}
.site-glass-nav .dropdown-mega-menu .row {
    margin-left: 0;
    margin-right: 0;
}
.site-glass-nav .dropdown-item {
    color: #cbd5e1;
    border-radius: 10px;
    transition: background 0.15s;
}
.site-glass-nav .dropdown-item:hover {
    background: rgba(56,189,248,0.12);
    color: #38bdf8;
}
.site-glass-nav .dropdown-header {
    color: #38bdf8 !important;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
/* ===== 8. Search ===== */
.site-search-form {
    min-width: 250px;
    max-width: 320px;
    position: relative;
}
.site-search-wrap {
    position: relative;
    width: 100%;
}
.site-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}
.site-search-input {
    padding-left: 2rem;
    border-radius: 999px;
    border: 1px solid var(--ui-silver-border);
    background: rgba(15,23,42,0.65);
    color: #e2e8f0;
    min-height: 40px;
}
.site-search-input:focus {
    background: rgba(15,23,42,0.8);
    color: #e2e8f0;
    border-color: #cbd5e1;
    box-shadow: 0 0 0 0.2rem rgba(203,213,225,0.2);
}
.site-search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    border: 1px solid var(--ui-silver-border);
    background: rgba(2,6,23,0.96);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1200;
}
.site-search-suggestions a {
    display: block;
    padding: 0.6rem 0.75rem;
    color: #cbd5e1;
    text-decoration: none;
    border-bottom: 1px solid rgba(148,163,184,0.18);
}
.site-search-suggestions a:last-child { border-bottom: 0; }
.site-search-suggestions a:hover {
    background: rgba(56,189,248,0.14);
    color: #e2e8f0;
}
.search-mobile-overlay {
    background: rgba(2,6,23,0.97);
    border-bottom: 1px solid var(--ui-silver-border);
    backdrop-filter: blur(10px);
}
.search-mobile-overlay .offcanvas-header {
    border-bottom: 1px solid rgba(148,163,184,0.25);
}
/* ===== 9. Hero Section ===== */
.site-hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--nav-height));
    width: 100%;
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    position: relative;
}
.site-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.5));
    pointer-events: none;
    z-index: 1;
}
.future-blade-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
}
.legacy-home-fallback {
    min-height: 1px;
}

.dynamic-page-content-readable {
    color: #0f172a;
}

.parallax-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-hero-bg {
    position: absolute;
    inset: -20% 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.parallax-hero-overlay {
    position: absolute;
    inset: 0;
}

.parallax-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 60px 24px;
    max-width: 800px;
}

.parallax-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.parallax-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    opacity: 0.92;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.menu-travel-bg {
    background: linear-gradient(135deg, rgba(14,165,233,0.35), rgba(59,130,246,0.22));
}

.menu-pads-bg {
    background: linear-gradient(135deg, rgba(16,185,129,0.3), rgba(59,130,246,0.2));
}

.photoalbum-grid,
.gallery,
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.album-item,
.photo-item,
.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-item:hover,
.photo-item:hover,
.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.2);
}

.album-item img,
.photo-item img,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ===== 10. Footer ===== */
.site-footer {
    background: linear-gradient(180deg, rgba(13,17,23,0.98), #0d1117 100%);
    border-top: 1px solid rgba(148,163,184,0.12);
    color: #94a3b8;
}
.site-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}
.site-footer a:hover { color: #38bdf8; }
.site-footer .row { row-gap: 1rem; }
.site-footer .list-unstyled,
.site-footer a { overflow-wrap: anywhere; }
.icon-list-social {
    display: flex;
    flex-wrap: wrap;
}
.icon-list-social .icon-list-social-link {
    font-size: 1.25rem;
    margin-right: 0.5rem;
}
.icon-list-social .icon-list-social-link svg {
    width: 24px;
    height: 24px;
    display: block;
}
/* ===== 11. Floating Widgets ===== */
.frontend-widget-stack {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1205;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}
.widget-fab {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15,23,42,0.85);
    border: 1px solid rgba(148,163,184,0.3);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.18s;
    pointer-events: auto;
}
.widget-fab:hover {
    transform: translateY(-2px) scale(1.06);
    background: rgba(56,189,248,0.18);
    border-color: #38bdf8;
    box-shadow: 0 12px 28px rgba(56,189,248,0.22);
}
.widget-offcanvas {
    --bs-offcanvas-width: min(380px, 94vw);
    --bs-offcanvas-zindex: 1300;
    background: #0d1117;
    border-left: 1px solid rgba(148,163,184,0.18);
}
.widget-offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(148,163,184,0.15);
    background: rgba(15,23,42,0.8);
    color: #e2e8f0;
}
.widget-offcanvas .form-control {
    background: rgba(255,255,255,0.05);
    border-color: rgba(148,163,184,0.2);
    color: #e2e8f0;
    border-radius: 10px;
}
.widget-offcanvas .form-control:focus {
    background: rgba(56,189,248,0.06);
    border-color: #38bdf8;
    color: #e2e8f0;
}
/* ===== 12. Glass Effect (Glassmorphismus) ===== */
/* Glasshintergrund muss semi-transparent sein – überschreibt Bootstrap .card { background:#fff } */
.future-blade-container .card,
.future-blade-container .alert,
.site-search-suggestions {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px) saturate(155%);
    -webkit-backdrop-filter: blur(10px) saturate(155%);
    border: 1px solid rgba(203,213,225,0.2);
    background: rgba(15,23,42,0.65) !important;
}
/* widget-offcanvas: nur visuelle Glassmorphism-Effekte.
   KEIN position:relative und KEIN overflow:hidden – Bootstrap benötigt position:fixed! */
.widget-offcanvas {
    backdrop-filter: blur(10px) saturate(155%);
    -webkit-backdrop-filter: blur(10px) saturate(155%);
    border: 1px solid rgba(203,213,225,0.2) !important;
    background: rgba(15,23,42,0.65) !important;
}
/* Glanzschicht (Pseudo-Element) */
.future-blade-container .card::before,
.future-blade-container .alert::before,
.widget-offcanvas::before,
.site-search-suggestions::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.20) 0%,
        rgba(255,255,255,0.06) 32%,
        rgba(255,255,255,0.02) 68%,
        rgba(255,255,255,0.12) 100%
    );
    pointer-events: none;
    opacity: 0.52;
    z-index: 0;
}
/* Karteninhalt über Glanzschicht */
.future-blade-container .card > *,
.future-blade-container .alert > * {
    position: relative;
    z-index: 1;
}
.widget-offcanvas > * {
    position: relative;
    z-index: 1;
}
/* ===== 13. Buttons & Forms ===== */
.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #3b82f6);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(56,189,248,0.3);
}
.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(56,189,248,0.4);
}
.btn-primary:active { transform: translateY(0); }
.form-control {
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.2);
    background: rgba(255,255,255,0.05);
    color: #e2e8f0;
    transition: all 0.2s;
}
.form-control:focus {
    border-color: #38bdf8;
    background: rgba(56,189,248,0.06);
    color: #e2e8f0;
    box-shadow: 0 0 0 0.2rem rgba(56,189,248,0.15);
}
.form-control::placeholder { color: #64748b; }
.form-label {
    color: #cbd5e1;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
/* ===== 14. Alerts ===== */
.alert {
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.2);
}
.alert-success {
    background: rgba(74,222,128,0.1) !important;
    border-color: rgba(74,222,128,0.3) !important;
    color: #4ade80 !important;
}
.alert-danger {
    background: rgba(239,68,68,0.1) !important;
    border-color: rgba(239,68,68,0.3) !important;
    color: #ef4444 !important;
}
/* ===== 15. Cookie Consent ===== */
.lcc-modal {
    position: fixed;
    z-index: 1202;
    background: linear-gradient(145deg, rgba(15,23,42,0.86), rgba(15,23,42,0.74)) !important;
    border: 1px solid rgba(203,213,225,0.34);
    box-shadow: 0 16px 50px rgba(2,6,23,0.54);
    border-radius: 16px;
    color: #e2e8f0 !important;
    overflow: hidden;
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.lcc-modal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,
        rgba(255,255,255,0.24) 0%,
        rgba(255,255,255,0.08) 32%,
        rgba(255,255,255,0.03) 67%,
        rgba(255,255,255,0.16) 100%);
    opacity: 0.45;
    pointer-events: none;
}
.lcc-modal--alert {
    left: max(20px, env(safe-area-inset-left));
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    max-width: 760px;
    margin: 0 auto;
}
.lcc-modal--settings {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}
.lcc-glass-header,
.lcc-modal__content,
.lcc-modal__actions {
    position: relative;
    z-index: 1;
}
.lcc-glass-header { padding: 1rem 1.1rem 0.2rem; }
.lcc-modal__content { padding: 0.6rem 1.1rem 1rem; }
.lcc-modal__actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    padding: 0 1.1rem 1.1rem;
}
.lcc-modal__actions--banner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    margin-top: 0.9rem;
    padding: 0;
}
.lcc-modal__section {
    background: rgba(15,23,42,0.45);
    border: 1px solid rgba(203,213,225,0.18);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
    margin-top: 0.65rem;
}
.lcc-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
    background: rgba(15,23,42,0.65);
    border: 1px solid rgba(203,213,225,0.35);
    color: #e2e8f0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    line-height: 1;
}
.lcc-label {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 600;
}
.lcc-label input[type='checkbox'] {
    accent-color: #38bdf8;
    width: 18px;
    height: 18px;
}
.lcc-button {
    border: 1px solid rgba(203,213,225,0.45) !important;
    color: #e2e8f0 !important;
    border-radius: 10px !important;
    transition: all 0.2s;
    background: rgba(15,23,42,0.5) !important;
    padding: 0.5rem 0.88rem;
}
.lcc-button--primary {
    background: linear-gradient(135deg, rgba(56,189,248,0.35), rgba(129,140,248,0.35)) !important;
    border-color: rgba(125,211,252,0.75) !important;
}
.lcc-button--ghost {
    background: rgba(15,23,42,0.22) !important;
    border-color: rgba(203,213,225,0.4) !important;
}
.lcc-button--secondary {
    background: rgba(56,189,248,0.12) !important;
    border-color: rgba(125,211,252,0.5) !important;
}
.lcc-button:hover {
    transform: translateY(-1px);
    border-color: rgba(125,211,252,0.95) !important;
    box-shadow: 0 8px 20px rgba(56,189,248,0.2);
}
.lcc-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2,6,23,0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1201;
    transition: opacity .22s ease;
}
/* ===== 16. Star Rating ===== */
.star-rating {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    font-size: 28px;
    flex-direction: row-reverse;
}
.star-rating input { display: none; }
.star-rating label {
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.15s cubic-bezier(.4,0,.2,1);
    line-height: 1;
    padding: 2px;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #fbbf24;
    text-shadow: 0 0 2px rgba(251,191,36,0.5);
    transform: scale(1.15);
}
.star-rating input:checked ~ label {
    text-shadow: 0 0 6px rgba(251,191,36,0.8);
}
/* ===== 17. Responsive ===== */
@media (max-width: 991.98px) {
    .site-glass-nav { height: 64px; }
    #layoutDefault_content { padding-top: 64px !important; }
    section.site-hero-section { min-height: calc(100vh - 64px); }
    body,
    .site-hero-section {
        background-position: center 22%;
        background-attachment: scroll;
    }
    .navbar-brand { font-size: 1.1rem; }
    main, section.site-hero-section { min-height: auto; }
    .future-blade-container { padding: 1.5rem 0.75rem !important; }
    .container, .container-sm, .container-md,
    .container-lg, .container-xl, .container-xxl {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    img { max-width: 100%; height: auto; display: block; }
    iframe, video { max-width: 100%; height: auto; }
}
@media (min-width: 577px) and (max-width: 991.98px) {
    .future-blade-container { padding: 1.5rem 1rem !important; }
    .container, .container-sm, .container-md,
    .container-lg, .container-xl, .container-xxl {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
@media (max-width: 576px) {
    .site-glass-nav .navbar-brand { max-width: 62vw; font-size: 0.95rem; }
    .site-glass-nav .container { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
    .navbar-brand { font-size: 1rem; margin-right: 1rem !important; }
    .future-blade-container { padding: 1rem 0.5rem !important; }
    section.site-hero-section { min-height: auto; padding: 0; }
    .container, .container-sm, .container-md,
    .container-lg, .container-xl, .container-xxl {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    .row { margin-left: -0.5rem; margin-right: -0.5rem; }
    [class*="col-"] { padding-left: 0.5rem; padding-right: 0.5rem; }
    .text-lg-start { text-align: center !important; }
    .text-lg-end   { text-align: center !important; }
    .mb-5 { margin-bottom: 1rem !important; }
    .mt-5 { margin-top:    1rem !important; }
    .py-5 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
    .px-5 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
    hr { margin: 0.5rem 0; }
    .dropdown-menu { min-width: auto !important; max-width: 100vw !important; }
    .svg-border-rounded svg { height: 8px; }
    .photoalbum-grid,
    .gallery,
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }
    .btn { font-size: 0.875rem; padding: 0.5rem 1rem; }
    .form-control { font-size: 16px; padding: 0.75rem; }
    .site-footer .col-lg-3,
    .site-footer .col-md-6 { margin-bottom: 0.5rem; }
    .lcc-modal__actions { flex-direction: column; }
    .lcc-modal__actions--banner { grid-template-columns: 1fr; }
    .lcc-button { width: 100%; }
}

@media (min-width: 577px) and (max-width: 992px) {
    .photoalbum-grid,
    .gallery,
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}
/* ===== 18. Accessibility ===== */
:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}
/* ===== 19. Print ===== */
@media print {
    .frontend-widget-stack,
    .site-glass-nav { display: none !important; }
}

/* Kritischer Header-Feinschliff fuer 320/360/390/412px */
@media (max-width: 412px) {
    .site-glass-nav .container {
        padding-left: 0.35rem !important;
        padding-right: 0.35rem !important;
        max-width: 100vw;
    }
    .site-glass-nav .navbar-brand {
        max-width: calc(100vw - 118px);
    }
    .navbar-toggler-modern {
        margin-left: 0.4rem !important;
        width: 42px;
        height: 42px;
    }
    .site-glass-nav .navbar-collapse {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .site-glass-nav .dropdown-menu {
        left: 0;
        right: 0;
    }
}

