/* fahrradlokal Händlerbereich (nutzt die --fl-Tokens aus portal.css) */
.fl-h { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; max-width: 1240px; margin: 0 auto; padding: 24px 24px 72px; align-items: start; }
.fl-h__side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--fl-raised); border: 1px solid var(--fl-line); border-radius: 16px; padding: 12px 8px; max-height: calc(100vh - 32px); overflow-y: auto; }
.fl-h__betrieb { padding: 4px 10px 12px; border-bottom: 1px solid var(--fl-line); display: flex; flex-direction: column; gap: 6px; }
.fl-h__betrieb strong { font-family: var(--fl-head); font-size: 17px; line-height: 1.25; }
.fl-h__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
@media (max-width: 900px) { .fl-h__nav a { min-height: 44px; } }
.fl-h__nav--fuss { border-top: 1px solid var(--fl-line); padding-top: 6px; margin-top: 4px; }
.fl-h__nav a { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 4px 10px; border-radius: 8px; color: var(--fl-ink); text-decoration: none; font-size: 14.5px; }
.fl-h__nav a:hover { background: var(--fl-sunken); color: var(--fl-ink); }
.fl-h__nav a.is-active { background: var(--fl-brand-tint); color: var(--fl-brand-strong); font-weight: 600; }
.fl-h__nav a svg { flex: 0 0 20px; color: var(--fl-muted); }
.fl-h__nav a.is-active svg { color: var(--fl-brand); }
.fl-h__nav a span { flex: 1 1 auto; }
.fl-h__nav a.is-locked { color: var(--fl-subtle); }
.fl-h__nav a small { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; color: var(--fl-subtle); }
.fl-h__nav a small svg { width: 14px; height: 14px; flex-basis: 14px; }
.fl-h-badge { font-style: normal; background: var(--fl-brand); color: #fff; font-size: 12px; font-weight: 600; min-width: 22px; height: 22px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.fl-h-pill { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .3px; padding: 3px 10px; border-radius: 999px; background: var(--fl-sunken); color: var(--fl-muted); }
.fl-h-pill--plus { background: var(--fl-brand-tint); color: var(--fl-brand-strong); }
.fl-h-pill--website, .fl-h-pill--pro { background: var(--fl-signal); color: var(--fl-ink); }

.fl-h__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.fl-h-head { display: flex; flex-direction: column; gap: 6px; }
.fl-h-head h1 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; }
.fl-h-card { background: var(--fl-raised); border: 1px solid var(--fl-line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fl-h-card h2 { font-size: 20px; font-weight: 700; }
.fl-h-card p { margin: 0; line-height: 1.55; color: var(--fl-muted); }
.fl-h-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.fl-h-hint { font-size: 14px; color: var(--fl-subtle) !important; display: flex; gap: 6px; align-items: center; }
.fl-h-inline { display: inline; margin: 0; }
.fl-h-big { font-family: var(--fl-head); font-size: 36px; color: var(--fl-ink); }
.fl-h-meta { font-size: 14px; }

/* Assistent */
.fl-h-wizard { border: 2px solid var(--fl-brand); }
.fl-h-wizard__top { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.fl-h-progress { height: 10px; background: var(--fl-sunken); border-radius: 999px; overflow: hidden; }
.fl-h-progress span { display: block; height: 100%; background: var(--fl-brand); border-radius: 999px; }
.fl-h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; }
.fl-h-steps li { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.fl-h-steps li::before { content: ''; flex: 0 0 18px; height: 18px; border-radius: 999px; border: 2px solid var(--fl-line-strong); }
.fl-h-steps li.is-done::before { background: var(--fl-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--fl-brand); }
.fl-h-steps li.is-done a { color: var(--fl-subtle); text-decoration: line-through; }

/* Kennzahlen */
.fl-h-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.fl-h-kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--fl-surface); border-radius: 12px; }
.fl-h-kpi strong { font-family: var(--fl-head); font-size: 30px; line-height: 1.1; }
.fl-h-kpi span { font-size: 14px; color: var(--fl-muted); }
.fl-h-kpi .fl-h-kpi__diff { font-size: 13px; color: var(--fl-brand); font-weight: 600; }
.fl-h-kpi .fl-h-kpi__diff.is-down { color: #9A3B2B; }
.fl-h-chart { display: flex; align-items: flex-end; gap: 3px; height: 140px; padding-top: 8px; border-bottom: 1px solid var(--fl-line); }
.fl-h-chart span { flex: 1 1 0; background: var(--fl-brand); border-radius: 3px 3px 0 0; min-height: 2px; }
.fl-h-chart__axis { display: flex; justify-content: space-between; font-size: 13px; color: var(--fl-subtle); }

.fl-h-sync { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fl-h-sync li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--fl-surface); border-radius: 10px; font-size: 15px; }
.fl-h-sync em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.fl-h-sync .is-ok em { color: var(--fl-brand); font-weight: 600; }
.fl-h-sync .is-locked em { color: var(--fl-subtle); }
.fl-h-sync svg { width: 16px; height: 16px; }

/* Gesperrt */
.fl-h-lock { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--fl-surface); border: 1.5px dashed var(--fl-line-strong); border-radius: 12px; }
.fl-h-lock > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.fl-h-lock__icon { color: var(--fl-muted); }

/* Formulare */
.fl-h .fl-form input[type=time], .fl-h .fl-form input[type=date], .fl-h .fl-form input[type=password], .fl-h .fl-form input[type=number], .fl-h .fl-h-inline select, .fl-h-login .fl-form input[type=password] { min-height: 44px; padding: 8px 10px; border: 1.5px solid var(--fl-line-strong); border-radius: 8px; font: inherit; font-size: 16px; background: var(--fl-raised); color: var(--fl-ink); }
.fl-h .fl-form input[type=password], .fl-h-login .fl-form input[type=password] { width: 100%; }
.fl-h-count { font-weight: 400; color: var(--fl-subtle); font-size: 13px; }
.fl-h-details summary { cursor: pointer; font-weight: 600; color: var(--fl-brand); min-height: 32px; }
.fl-h-details[open] summary { margin-bottom: 12px; }
.fl-h-choice { display: flex; flex-wrap: wrap; gap: 10px; }
.fl-h-choice label { flex: 1 1 200px; display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--fl-line-strong); border-radius: 12px; cursor: pointer; }
.fl-h-choice label:has(input:checked) { border-color: var(--fl-brand); background: var(--fl-brand-tint); }
.fl-h-choice input { accent-color: var(--fl-brand); margin-top: 3px; }
.fl-h-choice span { display: flex; flex-direction: column; font-size: 14px; color: var(--fl-muted); }
.fl-h-choice strong { font-size: 16px; color: var(--fl-ink); }
.fl-h-danger { border-color: #E3B8AF; }

/* Öffnungszeiten */
.fl-h-hours { display: flex; flex-direction: column; gap: 6px; }
.fl-h-hours__row { display: grid; grid-template-columns: 110px 130px 1fr 1fr; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--fl-sunken); }
.fl-h-hours__day { font-weight: 600; }
.fl-h-hours__slot { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--fl-subtle); }
.fl-h-hours__slot input { width: 100%; min-width: 0; }
.fl-h-hours__row.is-closed .fl-h-hours__slot { opacity: .35; }
.fl-h-special { display: flex; flex-direction: column; gap: 10px; }
.fl-h-special__row { display: grid; grid-template-columns: 1fr 1fr auto 1.2fr 1.2fr; gap: 10px; align-items: end; padding: 10px; background: var(--fl-surface); border-radius: 10px; }
.fl-h-special__row label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 500; }
.fl-h-special__row .fl-check { flex-direction: row; align-items: center; min-height: 44px; }
.fl-h-special__row input[type=text], .fl-h-special__row input[type=date] { min-height: 40px !important; }
.fl-h-today { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }

/* Fotos */
.fl-h-media { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.fl-h-media img { border-radius: 10px; border: 1px solid var(--fl-line); max-width: 100%; height: auto; }
.fl-h-media--logo img { max-width: 220px; background: #fff; padding: 8px; }
.fl-h-media--wide img { max-height: 280px; width: auto; object-fit: cover; }
.fl-h-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.fl-h-gallery li { display: flex; flex-direction: column; gap: 4px; }
.fl-h-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.fl-h-upload { gap: 10px; }
.fl-h-file input { font: inherit; font-size: 15px; max-width: 100%; }
.fl-h-file span { display: none; }

/* Anfragen */
.fl-h-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.fl-h-filter a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border: 1.5px solid var(--fl-line-strong); border-radius: 999px; color: var(--fl-ink); text-decoration: none; font-size: 15px; background: var(--fl-raised); }
.fl-h-filter a.is-active { background: var(--fl-ink); border-color: var(--fl-ink); color: #fff; }
.fl-h-inbox { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.fl-h-inbox:not(.has-active) { grid-template-columns: 1fr; }
.fl-h-inbox__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fl-h-inbox__list a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--fl-raised); border: 1px solid var(--fl-line); border-radius: 12px; text-decoration: none; color: var(--fl-ink); }
.fl-h-inbox__list li.is-neu a { border-left: 4px solid var(--fl-brand); }
.fl-h-inbox__list li.is-active a { border-color: var(--fl-brand); background: var(--fl-brand-tint); }
.fl-h-inbox__list span { font-size: 14px; color: var(--fl-muted); }
.fl-h-inbox__list small { font-size: 13px; color: var(--fl-subtle); }
.fl-h-empty { padding: 20px; background: var(--fl-raised); border-radius: 12px; color: var(--fl-muted); }
.fl-h-message { padding: 14px 16px; background: var(--fl-surface); border-radius: 12px; line-height: 1.55; }
.fl-h-message--out { background: var(--fl-brand-tint); }
.fl-h-message small { display: block; font-size: 13px; color: var(--fl-subtle); margin-bottom: 4px; }
.fl-h-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fl-h-back { display: none; }
.fl-h-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fl-h-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; background: var(--fl-surface); border-radius: 10px; }
.fl-h-list li div { display: flex; flex-direction: column; }
.fl-h-list li span { font-size: 14px; color: var(--fl-muted); }
.fl-h-list li.is-past { opacity: .6; }

/* Paketvergleich */
.fl-h-table-wrap { overflow-x: auto; }
.fl-h-compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
.fl-h-compare th, .fl-h-compare td { padding: 10px 12px; border-bottom: 1px solid var(--fl-line); text-align: center; }
.fl-h-compare tbody th { text-align: left; font-weight: 400; color: var(--fl-muted); }
.fl-h-compare thead th { vertical-align: bottom; }
.fl-h-compare thead strong { display: block; font-family: var(--fl-head); font-size: 18px; }
.fl-h-compare thead span { display: block; font-weight: 600; }
.fl-h-compare thead small { display: block; font-weight: 400; color: var(--fl-subtle); font-size: 13px; }
.fl-h-compare .is-current { background: var(--fl-brand-tint); }
.fl-h-yes { color: var(--fl-brand); font-weight: 700; font-size: 18px; }
.fl-h-no { color: var(--fl-line-strong); }
.fl-h-faq { display: flex; flex-direction: column; gap: 10px; }
.fl-h-faq details { padding: 12px 14px; background: var(--fl-surface); border-radius: 10px; }
.fl-h-faq summary { cursor: pointer; font-weight: 600; }
.fl-h-faq p { margin-top: 8px !important; }
.fl-h-badge-preview { padding: 16px; background: var(--fl-surface); border-radius: 12px; }

/* Untere Leiste (Handy) */
.fl-h__bar { display: none; }

/* Login */
.fl-h-login { min-height: 70vh; display: flex; align-items: flex-start; justify-content: center; padding: 48px 16px 72px; }
.fl-h-login__card { width: 100%; max-width: 440px; background: var(--fl-raised); border: 1px solid var(--fl-line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.fl-h-login__brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--fl-brand); }
.fl-h-login h1 { font-size: 32px; font-weight: 800; }
.fl-h-login__foot { font-size: 14px; color: var(--fl-muted); border-top: 1px solid var(--fl-line); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.fl-h-login__foot p, .fl-h-login .fl-h-hint { margin: 0; }
.fl-h-tabs { display: flex; background: var(--fl-sunken); border-radius: 10px; padding: 4px; }
.fl-h-tabs a { flex: 1 1 0; text-align: center; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--fl-muted); text-decoration: none; font-weight: 500; }
.fl-h-tabs a.is-active { background: var(--fl-raised); color: var(--fl-ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.fl-h-login .fl-btn { width: 100%; }

@media (max-width: 900px) {
	.fl-h { grid-template-columns: 1fr; padding: 16px 16px 96px; gap: 16px; }
	.fl-h__side { display: none; position: fixed; inset: auto 0 64px 0; top: auto; max-height: 72vh; border-radius: 18px 18px 0 0; z-index: 60; box-shadow: 0 -10px 40px rgba(0,0,0,.18); }
	.fl-h__side.is-open { display: flex; }
	.fl-h__bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; background: var(--fl-raised); border-top: 1px solid var(--fl-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
	.fl-h__bar a, .fl-h__bar button { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; justify-content: center; font: inherit; font-size: 12px; color: var(--fl-muted); text-decoration: none; background: none; border: 0; cursor: pointer; }
	.fl-h__bar .is-active { color: var(--fl-brand); font-weight: 600; }
	.fl-h__bar .fl-h-badge { position: absolute; top: 2px; left: calc(50% + 4px); height: 18px; min-width: 18px; font-size: 11px; }
	.fl-h-card { padding: 16px; border-radius: 14px; }
	.fl-h-hours__row { grid-template-columns: 1fr auto; }
	.fl-h-hours__slot { grid-column: 1 / -1; }
	.fl-h-special__row { grid-template-columns: 1fr 1fr; }
	.fl-h-inbox, .fl-h-inbox.has-active { grid-template-columns: 1fr; }
	.fl-h-inbox.has-active .fl-h-inbox__list { display: none; }
	.fl-h-back { display: inline-block; font-size: 14px; }
	.fl-h-today { flex-direction: column; align-items: flex-start; }
}
