/* Layout: Infoleiste, Navigation, Footer (löst nav.css und die alten Header-/Footer-Regeln ab) */
body .flex-container-header { display: block; padding: 0; margin: 0; background: #100e0f; border: 0; width: 100%; z-index: 61; position: relative; }
body .flex-container-nav { display: block; position: sticky; top: 0; z-index: 60; min-height: 0; width: 100%; }
body .flex-container-footer { display: block; padding: 0; background: var(--dark); color: #d6d3d1; margin: 0; width: 100%; }
body .flex-container-main { padding-top: 28px; }

/* ---------- Infoleiste ---------- */
.tb { color: #cfcac7; font-size: .84rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.tb-in { max-width: 1100px; margin: 0 auto; padding: 0 20px; height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 6px 20px; min-width: 0; }
.tb-item, .tb-hours summary { display: inline-flex; align-items: center; gap: 7px; color: #cfcac7; text-decoration: none; cursor: pointer; line-height: 1; white-space: nowrap; }
.tb a.tb-item:hover, .tb-hours summary:hover { color: var(--brand); }
.tb svg { color: var(--brand); flex: none; }
.tb-addr { cursor: default; }
.tb-hours { position: relative; }
.tb-hours summary { list-style: none; }
.tb-hours summary::-webkit-details-marker { display: none; }
.tb-pop { position: absolute; right: 0; top: calc(100% + 12px); z-index: 70; min-width: 250px; background: #fff; color: var(--ink); border-radius: 14px; padding: 16px 18px; box-shadow: 0 16px 40px rgba(0,0,0,.35); font-size: .92rem; line-height: 1.55; white-space: normal; }
.tb-pop::before { content: ""; position: absolute; right: 24px; top: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.tb-pop strong { display: block; margin-bottom: 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.tb-pop p { margin: 0; color: var(--ink); text-align: left; }

/* ---------- Navigation ---------- */
.nv { position: relative; background: var(--dark); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.nv-in { max-width: 1100px; margin: 0 auto; padding: 0 20px; height: 72px; display: flex; align-items: center; gap: 18px; }
.nv-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: 0 1 auto; min-width: 0; }
.nv-logo { flex: none; }
.nv-brand:hover { color: #fff; }
.nv-logo { display: block; width: 38px; height: 46px; margin: 0; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.nv-name { font-weight: 750; font-size: .98rem; line-height: 1.15; letter-spacing: -.005em; }
.nv-name small { display: block; margin-top: 2px; font-weight: 500; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.nv-menu { display: flex; align-items: stretch; height: 100%; margin-left: auto; }
.nv-link { display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 15px; border: 0; border-bottom: 3px solid transparent; background: none; color: rgba(255,255,255,.82); font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.nv-link:hover, .nv-dd:hover > .nv-link, .nv-dd:focus-within > .nv-link { color: #fff; background: rgba(255,255,255,.06); border-bottom-color: var(--brand); }
.nv-link:focus-visible, .nv-sub a:focus-visible, .nv-cta:focus-visible, .nv-burger:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.nv-caret { width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; border-bottom-width: 0; opacity: .8; }
.nv-dd { position: relative; display: flex; }
.nv-sub { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border-radius: 0 0 14px 14px; padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.nv-dd:hover > .nv-sub, .nv-dd:focus-within > .nv-sub { display: block; }
.nv-sub a { display: block; padding: 11px 14px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 550; }
.nv-sub a:hover { background: #fff3cc; color: var(--ink); }
.nv-cta { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 999px; background: var(--brand); color: #1c1a1b; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.nv-cta:hover { background: var(--brand-dark); color: #1c1a1b; transform: translateY(-1px); }
.nv-cta-m { display: none; }
.nv-burger { display: none; flex: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); cursor: pointer; padding: 0; position: relative; }
.nv-bars, .nv-bars::before, .nv-bars::after { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; content: ""; transition: transform .2s, opacity .2s; }
.nv-bars { top: 22px; left: 12px; right: 12px; }
.nv-bars::before { top: -7px; left: 0; right: 0; }
.nv-bars::after { top: 7px; left: 0; right: 0; }
.nv--open .nv-bars { background: transparent; }
.nv--open .nv-bars::before { transform: translateY(7px) rotate(45deg); }
.nv--open .nv-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) { .nv-name small { display: none; } .nv-link { padding: 0 11px; } .nv-cta-d { padding: 9px 14px; } }
@media (max-width: 860px) {
    .nv-in { height: 64px; }
    .nv-cta-d { display: none; }
    .nv-burger { display: block; }
    .nv-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; height: auto; margin: 0; flex-direction: column; background: var(--dark); padding: 8px 16px 18px; box-shadow: 0 18px 30px rgba(0,0,0,.35); border-top: 1px solid rgba(255,255,255,.08); max-height: calc(100vh - 110px); overflow-y: auto; }
    .nv--open .nv-menu { display: flex; }
    .nv-link { height: auto; padding: 14px 8px; border-bottom: 0; border-radius: 10px; font-size: 1.05rem; width: 100%; }
    .nv-link:hover, .nv-dd:hover > .nv-link { background: rgba(255,255,255,.07); }
    .nv-dd { display: block; }
    .nv-btn { pointer-events: none; color: var(--brand); text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; padding-bottom: 4px; }
    .nv-caret { display: none; }
    .nv-sub { display: block; position: static; background: none; box-shadow: none; padding: 0 0 6px 10px; min-width: 0; border-left: 2px solid rgba(255,189,0,.4); margin: 0 0 6px 8px; }
    .nv-sub a { color: #e7e5e4; padding: 11px 12px; }
    .nv-sub a:hover { background: rgba(255,255,255,.07); color: var(--brand); }
    .nv-cta-m { display: flex; margin-top: 12px; padding: 14px; }
}
@media (max-width: 640px) {
    .tb-addr { display: none; }
    .tb-in { padding: 0 16px; }
    .tb-pop { right: -8px; }
    .nv-in { padding: 0 16px; }
    .nv-name { font-size: .92rem; }
}

/* ---------- Footer ---------- */
.ft { position: relative; background: var(--dark); color: #d6d3d1; border-top: 4px solid var(--brand); margin-top: 20px; }
.ft-in { max-width: 1100px; margin: 0 auto; padding: 44px 20px 22px; }
.ft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px 36px; }
.ft-brand { grid-column: span 1; }
.ft h3 { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); text-align: left; }
.ft h3::after { display: none; }
.ft p { margin: 0; text-align: left; }
.ft a { color: #e7e5e4; text-decoration: none; }
.ft a:hover { color: var(--brand); }
.ft-logo { display: flex; align-items: center; gap: 12px; font-weight: 750; line-height: 1.2; color: #fff !important; margin-bottom: 14px; }
.ft-logo img { display: block; width: 38px; height: 46px; margin: 0; border-radius: 8px; }
.ft-addr { line-height: 1.65; color: #d6d3d1; margin-bottom: 14px !important; }
.ft-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ft-btn { display: inline-flex; padding: 9px 16px; border-radius: 999px; background: var(--brand); color: #1c1a1b !important; font-weight: 700; font-size: .9rem; }
.ft-btn:hover { background: var(--brand-dark); color: #1c1a1b !important; }
.ft-btn-alt { background: rgba(255,255,255,.08); color: #fff !important; border: 1px solid rgba(255,255,255,.2); font-weight: 600; }
.ft-btn-alt:hover { background: rgba(255,255,255,.16); color: #fff !important; }
.ft-text { line-height: 1.7; color: #d6d3d1; font-size: .95rem; }
.ft-note .ft-text { padding: 14px 16px; border-left: 3px solid var(--brand); background: rgba(255,189,0,.08); border-radius: 0 12px 12px 0; color: #f3efe9; }
.ft-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft-regions { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.ft-regions p { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-regions a { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .85rem; transition: background .15s, color .15s; }
.ft-regions a:hover { background: var(--brand); color: #1c1a1b; border-color: var(--brand); }
.ft-regions .ft-more { background: transparent; color: var(--brand); border-style: dashed; }
.ft-bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; font-size: .84rem; color: #a8a29e; padding-bottom: 6px; }
.ft-copy { color: inherit !important; text-decoration: none; }
.ft-legal { display: flex; gap: 18px; }
.ft-legal a { color: #d6d3d1; }
@media (max-width: 640px) { .ft-in { padding: 34px 16px 90px; } .ft-bottom { flex-direction: column; } }

/* ---------- Einheitliche Unterseiten (Verwaltung, Profil, Admin, Konto, Rechtliches, Orte) ---------- */
.svc-hero.slim { padding: 30px 36px; }
.svc-hero.slim::after { width: 180px; height: 180px; right: -40px; bottom: -70px; border-width: 26px; }
.svc-hero.slim h1 { margin-bottom: 8px; font-size: clamp(1.7rem, 4vw, 2.3rem); }
.svc-hero.slim p { font-size: 1rem; }
@media (max-width: 640px) { .svc-hero.slim { padding: 24px 20px; } }
.svc-hero h1.title::after, .svc-hero h1::after { display: none; }

body .flex-container-main.adm-page, body .flex-container-main.adm-page:has(.adm-wrap) { max-width: 1100px; padding-left: 20px; padding-right: 20px; }
.adm-page > .flex-item-box { flex: 0 0 100%; width: 100%; max-width: none; margin: 0; padding: 0 0 22px; text-align: left; box-sizing: border-box; }
.adm-page > .flex-item-box .adm-msg { margin: 18px 0 0; }
.flex-container-main.prof-page .flex-item-box { max-width: none; margin: 0; text-align: left; }
.adm-page > .adm-wrap { padding-bottom: 8px; }

.legal { padding: 30px 34px; line-height: 1.75; text-align: left; }
.legal p, .legal .txt_data { margin: 0 0 12px; color: var(--ink); font-size: 1rem; text-align: left; }
.legal span { font-size: inherit !important; }
.legal a { color: var(--brand-ink); }
.legal strong, .legal b { color: var(--ink); }
@media (max-width: 640px) { .legal { padding: 22px 18px; } }

.auth-card { max-width: 480px; width: 100%; margin: 0 auto; padding: 28px; text-align: left; }
.auth-card .flex-item-message { width: 100%; max-width: none; padding: 0; margin: 0; }
.auth-card .flex-item-message:empty, .auth-card .flex-item-message p.txt:only-child { display: none; }
.auth-card .flex-item-col-0 { width: 100%; max-width: none; padding: 0; margin: 0; text-align: left; }
.auth-card .auth-h { margin: 0 0 14px; font-size: 1.3rem; text-align: left; }
.auth-card form { max-width: none; text-align: left; }
.auth-card input.txtbox { display: block; width: 100%; margin: 0 0 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; text-align: left; font-size: 1rem; box-sizing: border-box; }
.auth-card input.txtbox:focus { outline: none; border-color: var(--brand-dark); box-shadow: 0 0 0 4px rgba(255,189,0,.28); }
.auth-card input[type=submit], .auth-card .btn-passkey { display: block; width: 100%; border-radius: 999px; padding: 14px 20px; margin: 8px 0 0; box-sizing: border-box; }

.ct-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-chips a { padding: 9px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; transition: background .15s; }
.ct-chips a:hover { background: var(--brand); border-color: var(--brand); color: #1c1a1b; }
.ct-chips a.more { background: transparent; border-style: dashed; color: var(--brand-ink); }
.svc-split:has(> .svc-card) { align-items: stretch; }
.auth-card form br { display: none; }
.adm-wrap.adm-cols { align-items: stretch; }
