/* ============================================================
   CarpMate Design-System  ·  Palette "Stillwater"
   Mobile-first, responsive, Dark-Mode-fähig
   ============================================================ */

:root {
    /* Markenfarben */
    --teal:        #0F4C5C;
    --teal-600:    #0d4250;
    --teal-700:    #0a3540;
    --reed:        #6B8F5E;
    --amber:       #E8A33D;
    --amber-600:   #d4922e;
    --cream:       #F4F0E6;
    --deep:        #12343B;

    /* Semantische Tokens (Light) */
    --bg:          var(--cream);
    --bg-elevated: #ffffff;
    --surface:     #ffffff;
    --text:        var(--deep);
    --text-muted:  #5d6f73;
    --border:      #e3ddcd;
    --primary:     var(--teal);
    --on-primary:  #ffffff;
    --accent:      var(--amber);
    --on-accent:   #3a2a08;

    /* Maße */
    --radius:      16px;
    --radius-sm:   10px;
    --gap:         16px;
    --header-h:    56px;
    --nav-h:       64px;
    --maxw:        720px;

    --shadow-sm: 0 1px 2px rgba(18,52,59,.06), 0 1px 3px rgba(18,52,59,.08);
    --shadow-md: 0 4px 12px rgba(18,52,59,.10);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg:          #0c1f24;
        --bg-elevated: #12343B;
        --surface:     #143b43;
        --text:        #eaf1f0;
        --text-muted:  #9fb4b6;
        --border:      #1d4a52;
        --on-accent:   #2a1e06;
        --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
        --shadow-md: 0 4px 14px rgba(0,0,0,.35);
    }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--nav-h) + var(--safe-bottom));
}

h1 { font-size: 1.6rem; margin: 0 0 .25em; }
h2 { font-size: 1.15rem; margin: 0 0 .25em; }
p  { margin: 0 0 .5em; }
a  { color: inherit; text-decoration: none; }
.muted { color: var(--text-muted); }

/* ---------- Header ---------- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--header-h);
    display: flex;
    align-items: center;
    padding: 0 var(--gap);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.brand-wordmark { height: 36px; width: auto; display: block; }
@media (prefers-color-scheme: dark) {
    /* Wordmark ist dunkel -> auf dunklem Header aufhellen */
    .brand-wordmark { filter: brightness(0) invert(1) opacity(.92); }
}

/* ---------- Layout ---------- */
.app-main {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: var(--gap);
}

/* ---------- Hero ---------- */
.hero { padding: 12px 4px 20px; }
.hero h1 { letter-spacing: -.02em; }

/* ---------- Karten-Grid ---------- */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap);
    margin-bottom: 28px;
}
@media (min-width: 560px) {
    .card-grid { grid-template-columns: 1fr 1fr; }
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    transition: transform .12s ease, box-shadow .12s ease;
}
.card-action {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
}
.card-action:active { transform: scale(.99); }
@media (hover: hover) {
    .card-action:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
}
.card-action h2 { font-size: 1.05rem; }
.card-action p { margin: 0; color: var(--text-muted); font-size: .9rem; }
.card-action .icon {
    flex: 0 0 auto;
    box-sizing: content-box; /* Padding ADDITIV zum Icon (sonst schrumpft es zum Kreis) */
    width: 26px; height: 26px;
    padding: 12px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--teal) 12%, transparent);
    color: var(--teal);
}
/* Chevron in Aktions-Karten ist KEIN Chip, sondern ein schlichter Pfeil */
.card-action .icon.chevron {
    box-sizing: border-box;
    width: 24px; height: 24px;
    padding: 0;
    border-radius: 0;
    background: none;
    color: var(--text-muted);
}
.card-primary {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--on-primary);
}
.card-primary p { color: rgba(255,255,255,.78); }
.card-primary .icon {
    background: rgba(255,255,255,.16);
    color: #fff;
}

/* ---------- Empty-State ---------- */
.empty-state {
    text-align: center;
    padding: 24px 16px 8px;
}
.empty-illustration {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin: 0 auto 8px;
    display: block;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: filter .12s ease, transform .12s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}
@media (hover: hover) { .btn-primary:hover { filter: brightness(1.04); } }

/* ---------- Floating Action Button ---------- */
.fab {
    position: fixed;
    right: 18px;
    bottom: calc(var(--nav-h) + var(--safe-bottom) + 14px);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    box-shadow: var(--shadow-md);
    z-index: 30;
}
.fab .icon { width: 28px; height: 28px; }
.fab:active { transform: scale(.94); }

/* ---------- Bottom-Navigation ---------- */
.bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 25;
    height: calc(var(--nav-h) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    display: flex;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
}
.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: .7rem;
    color: var(--text-muted);
    min-height: 44px;
}
.nav-item .icon { width: 22px; height: 22px; }
.nav-item.is-active { color: var(--primary); }
@media (prefers-color-scheme: dark) {
    .nav-item.is-active { color: var(--amber); }
}

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; }

/* ============================================================
   Gewässer & Spots – Listen, Formulare, Detail, Karte
   ============================================================ */

/* ---- Seiten-/Abschnitts-Köpfe ---- */
.page-head, .section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 16px;
}
.page-head h1 { flex: 1; margin: 0; font-size: 1.4rem; letter-spacing: -.02em; }
.section-head { margin-top: 26px; }
.section-head h2 { flex: 1; margin: 0; }
.sub { margin: -8px 0 14px; display: flex; align-items: center; gap: 6px; }
.sub .icon { width: 16px; height: 16px; }
.link { color: var(--primary); font-weight: 600; font-size: .9rem; }
@media (prefers-color-scheme: dark) { .link { color: var(--amber); } }

/* ---- Icon-Button ---- */
.icon-btn {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    color: var(--text);
    border: 1px solid var(--border);
    background: var(--surface);
}
.icon-btn:active { transform: scale(.95); }

/* ---- Buttons Varianten ---- */
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .9rem; gap: 4px; }
.btn-sm .icon { width: 18px; height: 18px; }
.btn-danger { background: #c4453b; border-color: #c4453b; color: #fff; }
@media (hover: hover) { .btn-danger:hover { filter: brightness(1.05); } }

/* ---- Listen ---- */
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .12s ease, box-shadow .12s ease;
}
.list-item:active { transform: scale(.99); }
@media (hover: hover) { .list-item:hover { box-shadow: var(--shadow-md); } }
.list-item.is-inactive { opacity: .55; }
.list-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.list-body strong { font-weight: 600; }
.list-body small { font-size: .82rem; }
.list-item .chevron { color: var(--text-muted); flex: 0 0 auto; }

.thumb {
    flex: 0 0 auto;
    width: 52px; height: 52px;
    border-radius: 12px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--teal) 10%, transparent);
    color: var(--teal);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .icon { width: 24px; height: 24px; }
@media (prefers-color-scheme: dark) { .thumb { color: var(--reed); } }

/* ---- Cover-Bild & Detail ---- */
.cover {
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 14px;
    border: 1px solid var(--border);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
    font-size: .8rem;
    padding: 5px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--teal) 10%, transparent);
    color: var(--teal);
    font-weight: 600;
}
@media (prefers-color-scheme: dark) { .chip { color: #cfe3df; background: rgba(255,255,255,.08); } }
.notes { white-space: pre-wrap; color: var(--text); background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }

.facts { display: grid; grid-template-columns: 1fr; gap: 1px; margin: 0 0 16px;
    background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); }
.facts dt { color: var(--text-muted); margin: 0; }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

/* ---- Karte ---- */
.map {
    height: 240px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 18px;
    overflow: hidden;
    z-index: 0;
}
.carp-pin span {
    display: flex; align-items: center; justify-content: center;
    width: 26px; height: 26px;
    background: var(--teal);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 12px; font-weight: 700; line-height: 1;
    box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.carp-pin.has-catch span { background: var(--amber); color: #3a2a08; }

/* ---- Formulare ---- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.field-row { display: flex; gap: 12px; }
.field input[type=text], .field input[type=number], .field input[type=email],
.field input[type=password], .field input[type=tel], .field input[type=search],
.field input[type=datetime-local], .field select, .field textarea,
.field input[type=file] {
    width: 100%;
    font-size: 1rem;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    -webkit-appearance: none;
    appearance: none;
}
.field textarea { resize: vertical; font-family: inherit; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 22%, transparent);
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d6f73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.field-group { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.field-group legend { font-size: .85rem; font-weight: 600; color: var(--text-muted); padding: 0 6px; }

.checkrow { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 9px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
    user-select: none; font-size: .92rem; }
.check input { width: 18px; height: 18px; accent-color: var(--teal); }
.check:has(input:checked) { background: color-mix(in srgb, var(--teal) 12%, transparent); border-color: var(--teal); }
.switch { align-self: flex-start; }

#gps-btn { align-self: flex-start; }
#gps-status { display: block; }

.form-actions { display: flex; gap: 10px; margin-top: 4px; }
.form-actions .btn { flex: 1; }

.alert { background: #fde8e6; color: #8a2620; border: 1px solid #f3c2bc;
    padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; }
@media (prefers-color-scheme: dark) { .alert { background: #3a201d; color: #f3b9b2; border-color: #5c2e29; } }

.danger-zone { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); }
.danger-zone .btn { width: 100%; }

.empty-state.small { padding: 16px; }
.empty-state.small .empty-illustration { max-width: 220px; }

/* Interaktive Standort-Karte im Spot-Formular */
.map-pick { height: 300px; margin-bottom: 8px; cursor: crosshair; }
.map-pick .leaflet-container { cursor: crosshair; }

/* ---- Futtermischungen ---- */
.mix-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.mix-row select { flex: 1 1 auto; min-width: 0; padding: 10px 12px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: .95rem; -webkit-appearance: none; appearance: none; }
.mix-row .amount { flex: 0 0 72px; width: 72px; }
.mix-row .unit { flex: 0 0 84px; width: 84px; }
.mix-row input { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--surface); color: var(--text); font-size: .95rem; }
.mix-row .row-remove { flex: 0 0 auto; width: 38px; height: 38px; color: #c4453b; }
.mix-row .row-remove .icon { width: 18px; height: 18px; }
#add-row { align-self: flex-start; }

.mix-table { width: 100%; border-collapse: collapse; margin-bottom: 16px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.mix-table th, .mix-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mix-table th { font-size: .8rem; color: var(--text-muted); font-weight: 600; }
.mix-table tr:last-child td { border-bottom: none; }
.mix-table td:last-child, .mix-table th:last-child { text-align: right; white-space: nowrap; }

/* ---- Session/Ruten/Fänge ---- */
.row-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.row-actions .icon-btn { width: 36px; height: 36px; }
.row-actions form { margin: 0; }
.inline-form { margin: 0 0 18px; }
.hint { display: flex; align-items: flex-start; gap: 6px; font-size: .85rem;
    background: color-mix(in srgb, var(--teal) 8%, transparent); padding: 10px 12px; border-radius: var(--radius-sm); }
.hint .icon { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
input[type=datetime-local] { width: 100%; font-size: 1rem; padding: 11px 14px;
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }

/* Overflow-Schutz: Formularfelder dürfen in Flex-Reihen schrumpfen */
.field { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
input[type=datetime-local] { min-width: 0; }
@media (max-width: 460px) {
    .field-row { flex-wrap: wrap; }
    .field-row > .field { flex: 1 1 140px; }
}

/* ---- Foto-Lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none;
    background: rgba(0,0,0,.92); touch-action: none; }
.lightbox.open { display: block; }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    overflow: hidden; touch-action: none; }
.lb-img { max-width: 100%; max-height: 100%; transform-origin: 0 0; will-change: transform;
    user-select: none; -webkit-user-drag: none; cursor: grab; }
.lb-close { position: absolute; top: calc(env(safe-area-inset-top,0px) + 10px); right: 14px; z-index: 2;
    width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.15);
    color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.catch-thumb, [data-zoom] { cursor: zoom-in; }

/* ---- Fang-Form: Ruten-Info & Foto-Vorschau ---- */
.rod-info { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 2px;
    padding: 10px 12px; border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--teal) 9%, transparent); }
.rod-info span { font-size: .85rem; font-weight: 600; color: var(--teal); }
@media (prefers-color-scheme: dark) { .rod-info span { color: #cfe3df; } }
.photo-preview { width: 100%; max-height: 280px; object-fit: cover; border-radius: var(--radius);
    border: 1px solid var(--border); margin-bottom: 6px; }

/* ============================================================
   Statistik
   ============================================================ */
.stat-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.sumcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px 10px; text-align: center; box-shadow: var(--shadow-sm); }
.sumcard .num { display: block; font-size: 1.5rem; font-weight: 700; color: var(--teal); letter-spacing: -.02em; }
.sumcard .lbl { display: block; font-size: .72rem; color: var(--text-muted); margin-top: 2px; }
@media (prefers-color-scheme: dark) { .sumcard .num { color: var(--amber); } }

.biggest { background: color-mix(in srgb, var(--amber) 16%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--border));
    border-radius: var(--radius); padding: 12px 14px; margin-bottom: 20px; font-size: .95rem; }

.stat-block { margin: 22px 0; }
.stat-block h2 { font-size: 1.05rem; margin-bottom: 2px; }
.small { font-size: .82rem; }
.footnote { margin-top: 24px; }

.stat-row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.stat-row:last-child { border-bottom: none; }
.stat-label { font-weight: 600; font-size: .92rem; }
.stat-track { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--teal) 10%, transparent); overflow: hidden; }
.stat-fill { display: block; height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--reed)); }
.stat-meta { font-size: .8rem; color: var(--text-muted); }
.stat-meta strong { color: var(--text); }

/* Stunden-Histogramm */
.hourchart { display: flex; align-items: flex-end; gap: 2px; height: 130px; margin-top: 8px; }
.hourbar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.hourbar .hourcount { font-size: .6rem; color: var(--text-muted); height: 12px; }
.hourbar .hourtrack { width: 100%; flex: 1; display: flex; align-items: flex-end;
    background: color-mix(in srgb, var(--teal) 7%, transparent); border-radius: 4px; overflow: hidden; }
.hourbar .hourfill { width: 100%; background: linear-gradient(180deg, var(--reed), var(--teal)); border-radius: 4px 4px 0 0; min-height: 0; }
.hourbar small { font-size: .58rem; color: var(--text-muted); margin-top: 3px; }

/* ============================================================
   Auth (Login/Registrierung/Passwort)
   ============================================================ */
.auth-body { background: var(--deep); }
.auth-main {
    min-height: 100dvh;
    display: flex; align-items: center; justify-content: center;
    padding: 24px 16px;
    background-image:
        linear-gradient(180deg, rgba(18,52,59,.20), rgba(18,52,59,.38)),
        url("/static/img/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.auth-card { width: 100%; max-width: 400px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: 0 12px 44px rgba(0,0,0,.32); padding: 26px 22px; }
.auth-logo-link { display: block; margin: 0 auto 18px; }
.auth-logo { display: block; height: 40px; width: auto; margin: 0 auto; }
@media (prefers-color-scheme: dark) { .auth-logo { filter: brightness(0) invert(1) opacity(.92); } }
.auth-title { text-align: center; font-size: 1.3rem; margin-bottom: 18px; }
.auth-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.btn-block { width: 100%; }
.notice { background: #e3f3ea; color: #1f5b3a; border: 1px solid #b8e0c8;
    padding: 12px 14px; border-radius: var(--radius-sm); margin-bottom: 14px; font-size: .92rem; }
@media (prefers-color-scheme: dark) { .notice { background: #163528; color: #aee3c4; border-color: #265b40; } }

/* ---- Nav: 5 Items + Badge ---- */
.nav-item { font-size: .64rem; }
.nav-account { position: relative; }
.nav-badge { position: absolute; top: 6px; right: 22%; min-width: 16px; height: 16px; padding: 0 4px;
    border-radius: 999px; background: #d4453b; color: #fff; font-size: .62rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; line-height: 1; }

/* ---- Konto ---- */
.account-card { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.account-avatar { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--teal); }
.account-card strong { display: block; }
.account-card small { display: block; }
.account-card .chip { margin-top: 4px; }
.badge-pill { flex: 0 0 auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px;
    background: #d4453b; color: #fff; font-size: .78rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; }

/* ---- Admin-Benutzerliste ---- */
.user-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.user-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 14px; box-shadow: var(--shadow-sm); }
.user-card.is-pending { border-color: color-mix(in srgb, var(--amber) 50%, var(--border)); }
.user-card.is-reset { border-color: #d4453b; }
.user-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.user-head strong { display: block; }
.user-head small { display: block; }
.user-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.user-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.user-actions form { margin: 0; }
.user-pw { display: flex; gap: 6px; }
.user-pw input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font-size: .9rem; }
.user-pw.highlight input { border-color: #d4453b; }
.chip-warn { background: color-mix(in srgb, var(--amber) 22%, transparent); color: #8a5a08; }
.chip-danger { background: #f7d9d6; color: #8a2620; }
@media (prefers-color-scheme: dark) {
    .chip-warn { color: #e8c07a; }
    .chip-danger { background: #3a201d; color: #f3b9b2; }
}

/* ---- Dezentes Hero-Banner auf der Startseite ---- */
.hero-banner {
    position: relative;
    min-height: 140px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    color: #fff;
    background-image:
        linear-gradient(180deg, rgba(18,52,59,.15), rgba(18,52,59,.62)),
        url("/static/img/background.png");
    background-size: cover;
    background-position: center 80%;
    border: 1px solid var(--border);
}
.hero-banner h1 { color: #fff; margin: 0; letter-spacing: -.02em; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-banner p { color: rgba(255,255,255,.92); margin: 4px 0 0; font-size: .9rem; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* ---- Rechtstexte (Impressum/Datenschutz) ---- */
.legal { max-width: 760px; padding-bottom: 40px; }
.prose { font-size: .95rem; line-height: 1.6; }
.prose h2 { font-size: 1.05rem; margin: 22px 0 6px; }
.prose p { margin: 0 0 10px; color: var(--text); }
.legal-back { margin-top: 18px; }
.legal-links { justify-content: center; gap: 18px; margin-top: 14px;
    padding-top: 14px; border-top: 1px solid var(--border); }
/* Footer-Links im Konto */
.account-legal { display: flex; gap: 16px; justify-content: center; margin-top: 22px; }

/* ---- Luftdruck-Sparkline ---- */
.pressure-box { background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.pressure-head { font-size: .82rem; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; }
.pressure-chart { width: 100%; height: 90px; color: var(--teal); display: block; }
@media (prefers-color-scheme: dark) { .pressure-chart { color: var(--amber); } }
.pc-label { font-size: 9px; fill: var(--text-muted); }

/* ---- Wetter-Vorhersage ---- */
.fc-current { display: flex; align-items: center; gap: 14px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.fc-cur-icon { font-size: 2.4rem; line-height: 1; }
.fc-cur-temp { font-size: 1.8rem; font-weight: 700; }
.fc-cur-meta { color: var(--text-muted); font-size: .9rem; }
.fc-list { list-style: none; margin: 0; padding: 0; }
.fc-day { display: grid; grid-template-columns: 44px 32px 1fr auto; align-items: center; gap: 10px;
    padding: 11px 4px; border-bottom: 1px solid var(--border); }
.fc-day:last-child { border-bottom: none; }
.fc-label { font-weight: 600; font-size: .9rem; }
.fc-icon { font-size: 1.3rem; text-align: center; }
.fc-name { color: var(--text-muted); font-size: .85rem; min-width: 0; }
.fc-temp { white-space: nowrap; font-size: .95rem; }

/* ---- Mondkalender ---- */
.moon-big { font-size: 2rem; line-height: 1; }
.moon-list { list-style: none; margin: 0; padding: 0; }
.moon-day { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--border); }
.moon-day:last-child { border-bottom: none; }
.moon-day.is-today { background: color-mix(in srgb, var(--teal) 7%, transparent); border-radius: var(--radius-sm); }
.moon-icon { font-size: 1.5rem; width: 30px; text-align: center; }
.moon-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.moon-rating { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.rating-Top { background: color-mix(in srgb, var(--amber) 26%, transparent); color: #8a5a08; }
.rating-Gut { background: color-mix(in srgb, var(--reed) 24%, transparent); color: #3f5e35; }
.rating-Normal { background: color-mix(in srgb, var(--text-muted) 16%, transparent); color: var(--text-muted); }
@media (prefers-color-scheme: dark) {
    .rating-Top { color: #e8c07a; } .rating-Gut { color: #bcd6ab; }
}

/* Wetter-SVG-Icons */
.wx { width: 100%; height: 100%; display: block; }
.fc-cur-icon .wx { width: 44px; height: 44px; }
.fc-icon .wx { width: 26px; height: 26px; }

/* ---- Statistik: Filter, PBs, Monats-Trend ---- */
.stat-filter { display: flex; gap: 10px; margin-bottom: 16px; }
.stat-filter select { flex: 1; min-width: 0; padding: 10px 12px; font-size: .92rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text);
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d6f73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 10px center; padding-right: 34px; }

.pb-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pb-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pb-thumb { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--amber) 18%, transparent); color: var(--amber-600); }
.pb-thumb img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.pb-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pb-weight { font-weight: 700; color: var(--teal); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .pb-weight { color: var(--amber); } }

.monthchart { display: flex; align-items: flex-end; gap: 4px; height: 140px; margin: 8px 0 4px; overflow-x: auto; }
.monthbar { flex: 1 0 26px; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; }
.monthbar .mb-count { font-size: .62rem; color: var(--text-muted); height: 12px; }
.monthbar .mb-track { width: 70%; flex: 1; display: flex; align-items: flex-end;
    background: color-mix(in srgb, var(--teal) 8%, transparent); border-radius: 4px; overflow: hidden; }
.monthbar .mb-fill { width: 100%; background: linear-gradient(180deg, var(--reed), var(--teal)); border-radius: 4px 4px 0 0; }
.monthbar small { font-size: .58rem; color: var(--text-muted); margin-top: 3px; white-space: nowrap; }

/* Angelplatz-Marker (Distanzmessung) */
.bank-pin span {
    display: block; width: 18px; height: 18px;
    background: var(--reed); border: 2px solid #fff; border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* ---- Foto-Galerie ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gal-item { margin: 0; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gal-item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; cursor: zoom-in; }
.gal-item figcaption { padding: 8px 10px; }
.gal-item figcaption strong { display: block; font-size: .85rem; }
.gal-item figcaption small { display: block; font-size: .72rem; }

/* eingeholte Rute auf der Karte gedimmt */
.carp-pin.is-removed span { opacity: .5; }
/* mehrere Ruten am selben Spot: Pill mit allen Nummern */
.carp-pin.multi span { width: 100%; border-radius: 13px; padding: 0 6px; letter-spacing: .5px; }

/* ---- Bisse / Runs ---- */
.run-form { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.run-row { display: flex; gap: 8px; }
.run-row select, .run-row input[type=datetime-local] { flex: 1; min-width: 0; padding: 10px 12px;
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg); color: var(--text);
    -webkit-appearance: none; appearance: none; font-size: .92rem; }
.run-row .btn { flex: 0 0 auto; }
.run-list .row-actions { gap: 8px; }
.run-thumb { background: color-mix(in srgb, var(--amber) 16%, transparent); color: var(--amber-600); }
.chip-success { background: #e3f3ea; color: #1f5b3a; }
@media (prefers-color-scheme: dark) { .chip-success { background: #163528; color: #aee3c4; } }

/* Luftdruck-Chart: Uhrzeit-Achse */
.pressure-chart { height: 112px; }
.pc-grid { stroke: var(--border); stroke-width: 1; }
.pc-tick { font-size: 8px; fill: var(--text-muted); }

/* ---- Startseite: quadratische Kacheln ---- */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 26px; }
@media (min-width: 520px) { .tile-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.tile {
    aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 9px; text-align: center; padding: 8px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); color: var(--text);
    transition: transform .12s ease, box-shadow .12s ease;
}
.tile:active { transform: scale(.97); }
@media (hover: hover) { .tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); } }
.tile .icon { width: 30px; height: 30px; color: var(--teal); }
.tile span { font-size: .76rem; font-weight: 600; line-height: 1.15; }
.tile-primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.tile-primary .icon { color: #fff; }
.tile-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tile-accent .icon { color: var(--on-accent); }
@media (prefers-color-scheme: dark) { .tile .icon { color: var(--reed); } }

/* ---- Beiß-Prognose ---- */
.prog-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.prog-day { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 12px 14px; box-shadow: var(--shadow-sm); border-left: 4px solid var(--border); }
.prog-day.rating-Top { border-left-color: var(--amber); }
.prog-day.rating-Gut { border-left-color: var(--reed); }
.prog-day.rating-Normal { border-left-color: var(--text-muted); }
.prog-day.rating-Mau { border-left-color: var(--border); }
.prog-main { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prog-info strong { display: block; }
.prog-info small { display: block; }
.prog-score { text-align: center; flex: 0 0 auto; }
.prog-num { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--teal); }
.prog-rate { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); }
.rating-Top .prog-num, .rating-Top .prog-rate { color: var(--amber-600); }
.rating-Gut .prog-num, .rating-Gut .prog-rate { color: #3f5e35; }
@media (prefers-color-scheme: dark) { .rating-Top .prog-num,.rating-Top .prog-rate { color: var(--amber); } .rating-Gut .prog-num,.rating-Gut .prog-rate { color: #bcd6ab; } }
.prog-spot { margin-top: 8px; font-size: .85rem; display: flex; align-items: center; gap: 5px; color: var(--text-muted); }
.prog-spot .icon { width: 15px; height: 15px; }

/* ============================================================
   Landingpage (öffentlich, /)  – Marketing
   ============================================================ */
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }

.landing-body { background: var(--bg); }
.lp-header {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 10px 16px;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid var(--border);
}
.lp-brand img { height: 42px; display: block; }
@media (prefers-color-scheme: dark) { .lp-brand img { filter: brightness(0) invert(1) opacity(.92); } }
.lp-nav { display: flex; gap: 8px; }
.lp-main { display: block; }

/* Hero */
.lp-hero {
    background:
        linear-gradient(165deg, rgba(15,76,92,.80) 0%, rgba(10,53,64,.90) 100%),
        url("/static/img/lp-hero.jpg") center / cover no-repeat;
    color: #fff; text-align: center;
    padding: 76px 20px 84px;
}
.lp-hero-inner { max-width: 780px; margin: 0 auto; }
.lp-hero h1 {
    font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.12; margin: 0 0 16px;
    letter-spacing: -.02em;
}
.lp-lead { font-size: clamp(1rem, 2.6vw, 1.2rem); line-height: 1.6; color: rgba(255,255,255,.9); margin: 0 auto 26px; max-width: 620px; }
.lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lp-hero .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
@media (hover: hover) { .lp-hero .btn-ghost:hover { background: rgba(255,255,255,.12); } }
.lp-trust { margin: 18px 0 0; font-size: .9rem; color: rgba(255,255,255,.75); }

/* Sections */
.lp-section { max-width: 1080px; margin: 0 auto; padding: 56px 20px; }
.lp-h2 { font-size: clamp(1.5rem, 4vw, 2rem); text-align: center; margin: 0 0 8px; letter-spacing: -.01em; }
.lp-sub { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 34px; }

.lp-features { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 560px) { .lp-features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .lp-features { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.lp-feature {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow-sm);
}
.lp-feature .icon { width: 30px; height: 30px; color: var(--teal); }
@media (prefers-color-scheme: dark) { .lp-feature .icon { color: var(--amber); } }
.lp-feature h3 { margin: 12px 0 6px; font-size: 1.05rem; }
.lp-feature p { margin: 0; color: var(--text-muted); font-size: .93rem; line-height: 1.5; }

/* Screenshots */
.lp-shots-section { background: var(--bg-elevated); max-width: none; }
.lp-shots-section > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.lp-shots { display: grid; grid-template-columns: 1fr; gap: 22px; justify-items: center; }
@media (min-width: 720px) { .lp-shots { grid-template-columns: repeat(3, 1fr); } }
.lp-shot { margin: 0; text-align: center; width: 100%; max-width: 260px; }
.lp-shot img, .lp-shot-ph {
    width: 100%; aspect-ratio: 9 / 18; border-radius: 22px;
    border: 1px solid var(--border); box-shadow: var(--shadow-md); object-fit: cover; background: var(--surface);
}
.lp-shot-ph {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    color: var(--text-muted); border-style: dashed;
    background: linear-gradient(160deg, color-mix(in srgb, var(--teal) 8%, var(--surface)), var(--surface));
}
.lp-shot-ph .icon { width: 40px; height: 40px; color: var(--teal); }
.lp-shot-ph span { font-weight: 600; font-size: .95rem; }
.lp-shot figcaption { margin-top: 12px; color: var(--text-muted); font-size: .9rem; }

/* FAQ */
.lp-faq { max-width: 760px; }
.lp-faq-list { display: flex; flex-direction: column; gap: 10px; }
.lp-faq-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 4px 16px;
}
.lp-faq-item summary {
    cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none;
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.lp-faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--text-muted); }
.lp-faq-item[open] summary::after { content: "–"; }
.lp-faq-item p { margin: 0 0 16px; color: var(--text-muted); line-height: 1.55; }

/* Final CTA */
.lp-final {
    background: linear-gradient(160deg, var(--teal) 0%, var(--teal-700) 100%);
    color: #fff; text-align: center; padding: 56px 20px;
}
.lp-final h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 8px; }
.lp-final p { margin: 0 auto 22px; color: rgba(255,255,255,.9); max-width: 480px; }

/* Footer */
.lp-footer {
    background: var(--deep); color: #cfe0e2; text-align: center;
    padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.lp-footer-logo { width: 48px; height: 48px; border-radius: 12px; }
.lp-footer-tag { margin: 0; color: #9fb4b6; font-size: .92rem; }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.lp-footer-links .link { color: #cfe0e2; }

/* Impressionen-Bildreihe (Landing) */
.lp-imp { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .lp-imp { grid-template-columns: 1fr 1fr 1fr; } }
.lp-imp img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
    border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.lp-imp-note, .lp-footer-note {
    margin: 14px 0 0; text-align: center; font-size: .8rem; color: var(--text-muted);
}
.lp-footer-note { color: #7d9498; margin-top: 4px; }

/* Landing-Header: mobil kompakt gegen horizontales Überlaufen */
@media (max-width: 480px) {
    .lp-header { padding: 9px 12px; gap: 8px; }
    .lp-brand { min-width: 0; }
    .lp-brand img { height: 38px; }
    .lp-nav { gap: 6px; flex: 0 0 auto; }
    .lp-nav .btn { min-height: 38px; padding: 0 12px; font-size: .82rem; }
}
@media (max-width: 360px) {
    .lp-nav .btn-ghost { display: none; }
}

/* Screenshot-Carousel (Landing) */
.lp-carousel { position: relative; }
.lp-car-track {
    display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; padding: 6px 4px 14px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.lp-car-track::-webkit-scrollbar { display: none; }
.lp-car-item { flex: 0 0 auto; width: 240px; scroll-snap-align: center; margin: 0; text-align: center; }
.lp-car-item img {
    width: 100%; height: auto; display: block; border-radius: 22px;
    border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--surface);
}
.lp-car-item figcaption { margin-top: 12px; color: var(--text-muted); font-size: .9rem; }
.lp-car-nav {
    position: absolute; top: 42%; transform: translateY(-50%); z-index: 3;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
    background: var(--surface); color: var(--text); cursor: pointer;
    display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
}
.lp-car-nav .icon { width: 22px; height: 22px; }
.lp-car-prev { left: 4px; } .lp-car-next { right: 4px; }
@media (min-width: 760px) {
    .lp-car-nav { display: flex; }
    .lp-car-track { padding-left: 44px; padding-right: 44px; }
}

/* Honeypot-Feld (unsichtbar für Menschen) */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Fehlerseiten (404/500) */
.error-page { text-align: center; padding: 40px 20px; max-width: 480px; margin: 0 auto; }
.error-logo { width: 72px; height: 72px; border-radius: 16px; margin: 0 auto 14px; display: block; box-shadow: var(--shadow-sm); }
.error-code { font-size: 3rem; font-weight: 800; color: var(--teal); margin: 0; letter-spacing: -.02em; line-height: 1; }
@media (prefers-color-scheme: dark) { .error-code { color: var(--amber); } }
.error-heading { font-size: 1.4rem; margin: 6px 0 10px; }
.error-msg { color: var(--text-muted); margin: 0 0 22px; }

/* Hero-Badge + Scroll-Hinweis */
.lp-hero { position: relative; }
.lp-badge {
    display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32);
    color: #fff; font-size: .82rem; font-weight: 600;
}
.lp-scroll {
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    color: rgba(255,255,255,.7); animation: lp-bounce 1.8s infinite;
}
.lp-scroll svg { width: 28px; height: 28px; display: block; }
@keyframes lp-bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .lp-scroll { animation: none; } }

/* Trust-Leiste */
.lp-trustbar {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px;
    padding: 16px 20px; background: var(--bg-elevated); border-bottom: 1px solid var(--border);
}
.lp-chip {
    display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600;
    color: var(--text); background: var(--surface); border: 1px solid var(--border);
    border-radius: 999px; padding: 7px 14px;
}

/* In 3 Schritten */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .lp-steps { grid-template-columns: 1fr 1fr 1fr; } }
.lp-step {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px 20px 20px; box-shadow: var(--shadow-sm); text-align: center;
}
.lp-step-no {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 10px;
}
@media (prefers-color-scheme: dark) { .lp-step-no { background: var(--amber); color: var(--on-accent); } }
.lp-step h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.lp-step p { margin: 0; color: var(--text-muted); font-size: .92rem; line-height: 1.5; }

/* Barrierefreiheit: Skip-Link (nur bei Tastatur-Fokus sichtbar) */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--teal); color: #fff; padding: 10px 16px;
    border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Tastatur-Fokus sichtbar machen (nur :focus-visible -> für Maus-Klicks unsichtbar) */
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: var(--amber); } }
