




/* ── GrapesJS editor-state class suppression — belt-and-suspenders ──────────
   PHP strips these classes server-side (FrontendMenuTrait::stripGjsClasses)
   but this CSS guard prevents any edge-case leakage from making UI artefacts
   visible to end users. Never applies inside .gjs-frame (the real canvas). */
[class*="gjs-"]:not(.gjs-frame *) {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
    pointer-events: auto !important;
}

.m-iframe-preview { width:700px; min-height:500px; border:none; background:#fff; display:block; }
.m-progress-w { transition:width .3s; }
.m-badge-conn { background:#3a0ca3; color:#fff; padding:2px 8px; border-radius:4px; }
.m-badge-disc { background:#dc3545; color:#fff; padding:2px 8px; border-radius:4px; }
.m-badge-2fa-on { background:#198754; color:#fff; padding:4px 10px; border-radius:4px; }
.m-badge-2fa-off { background:#6c757d; color:#fff; padding:4px 10px; border-radius:4px; }
.m-row-crit { background:#fff5f5; }
.m-row-warn { background:#fffbe6; }
.m-row-ok { background:#fff; }
.m-bal-pos { color:#2d6a4f; }
.m-bal-neg { color:#c0392b; }
.m-bal-bo-pos { border-color:#2d6a4f; }
.m-bal-bo-neg { border-color:#c0392b; }
.m-bal-fs16 { font-size:16px; }
.m-alert-ok { color:#10b981; }
.m-alert-err { color:#ef4444; }
.m-swatch { display:inline-block; border-radius:3px; }
.m-swatch-35 { width:35px; height:35px; }
.m-swatch-30 { width:30px; height:30px; }
.m-icon-xl { font-size:64px; margin:12px 0; }
.m-branding-btn { color:white; padding:8px 15px; border-radius:4px; }
.m-btn-primary { border:none; padding:10px 20px; border-radius:6px; color:#fff; }
.m-sticky-nav { position:sticky; top:0; z-index:1000; width:100%; box-shadow:0 2px 4px rgba(0,0,0,.1); }
.m-dynamic-alert { padding:12px; border-radius:6px; margin-bottom:20px; font-size:14px; }
.m-meta-icon { width:120px; height:120px; }
.m-loading-overlay { position:absolute; top:0; left:0; width:100%; height:600px; background:rgba(0,0,0,.8); display:none; z-index:100; }

/* ── Admin Guest Page (Login) ── */
.m-admin-guest-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0f172a;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full-page centering wrapper */
.m-page-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 2rem;
}

/* Login card container */
.m-s-066 {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
}

/* Login page heading */
.m-s-067 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.25rem;
    text-align: center;
}

/* Login submit button */
.m-s-068 {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: var(--color-primary, #1a1a1a);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.m-s-068:hover { opacity: 0.88; }

/* Form label */
.m-label-block {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}

/* Full-width text/password inputs */
.m-input-full {
    display: block;
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.m-input-full:focus {
    outline: none;
    border-color: var(--color-primary, #1a1a1a);
    box-shadow: 0 0 0 3px rgba(0,0,0,.12);
}

/* Error message in forms */
.m-alert-error {
    padding: 0.75rem 1rem;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    color: #c0392b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Small muted text (login sub-title) */
.m-text-muted-sm {
    color: #888;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Navbar dropdown section header */
.m-s-194 { font-weight: 600; font-size: 0.8rem; }

/* Navbar dropdown muted info item */
.m-s-195 { font-size: 0.8rem; }

/* Navbar avatar images */
.m-s-196,
.m-s-197 { width: 32px; height: 32px; object-fit: cover; }

/* Navbar login button */
.m-s-198 { white-space: nowrap; }

/* Footer — dark background with top divider */
.m-s-199 {
    background: #1a1a2e;
    color: #fff;
}

/* Footer logo */
.m-s-200 { max-height: 48px; width: auto; }

/* ── Login portal: navigation links below the submit button ──────────────── */
.login-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.25rem;
    text-align: center;
}
.login-link {
    font-size: 0.875rem;
    color: var(--color-primary, #1a1a1a);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.15s ease;
}
.login-link:hover {
    opacity: 1;
    text-decoration: underline;
}
.login-link--back {
    margin-top: 0.35rem;
    color: #555;
    font-size: 0.82rem;
}

/* ── Frontend Homepage Sections (m-s-001 … m-s-028) ──────────────────────── */

/* Hero banner — full-width gradient background */
.m-s-001 {
    background: linear-gradient(135deg, var(--color-primary, #1a1a2e) 0%, var(--color-secondary, #16213e) 100%);
    color: #fff;
    padding: 5rem 1rem;
    text-align: center;
}

/* Hero icon wrapper — rounded circle */
.m-s-002 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 1.5rem;
}

/* Hero icon size */
.m-s-003 {
    font-size: 2.5rem;
    color: #fff;
}

/* Hero heading */
.m-s-004 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Hero subtitle */
.m-s-005 {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero button group */
.m-s-006 {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Hero button — primary (inherits Bootstrap btn btn-light) */
.m-s-007 {
    min-width: 180px;
}

/* Hero button — secondary outline (inherits Bootstrap btn btn-outline-light) */
.m-s-008 {
    min-width: 180px;
}

/* Features section vertical spacing */
.m-s-009 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Features section heading */
.m-s-010 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary, #1a1a2e);
}

/* Features section subtitle */
.m-s-011 {
    text-align: center;
    color: var(--bs-secondary-color, #6c757d);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Feature card */
.m-s-012 {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    padding: 2rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.m-s-012:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Feature card icon circle */
.m-s-013 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.1);
    margin: 0 auto 1.25rem;
}

/* Feature card icon */
.m-s-014 {
    font-size: 1.75rem;
    color: var(--color-primary, var(--bs-primary, #0d6efd));
}

/* Feature card title */
.m-s-015 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary, #1a1a2e);
}

/* Feature card body text */
.m-s-016 {
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Alternating background section */
.m-s-017 {
    background-color: var(--bs-tertiary-bg, #f8f9fa);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Info card (hours / contact) */
.m-s-018 {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    padding: 1.75rem;
    height: 100%;
}

/* Info card heading */
.m-s-019 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary, #1a1a2e);
    border-bottom: 2px solid var(--bs-border-color, #dee2e6);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

/* Info card heading icon */
.m-s-020 {
    color: var(--color-primary, var(--bs-primary, #0d6efd));
}

/* Hours list container */
.m-s-021 {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Hours list row */
.m-s-022 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--bs-border-color-translucent, rgba(0,0,0,.08));
    font-size: 0.95rem;
}

/* Day name label */
.m-s-023 {
    font-weight: 500;
}

/* Last hours row (e.g. Sunday — Geschlossen) */
.m-s-024 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--bs-secondary-color, #6c757d);
}

/* Contact info container */
.m-s-025 {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Contact paragraph */
.m-s-026 {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Contact links */
.m-s-027 {
    color: var(--color-primary, var(--bs-primary, #0d6efd));
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.m-s-027:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Last contact paragraph (e-mail, no extra bottom margin) */
.m-s-028 {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}
