/* FreizeitPaare – Entwurf. Bootstrap 5.3 + eigene Tokens.
   Markenfarben aus dem Markenblatt (logo.png). Keine externen URLs. */

:root {
  --fp-dunkelblau: #0D3B66;
  --fp-blau: #2386D1;
  --fp-gruen: #2E9E5B;
  --fp-gruen-dunkel: #237A46;
  --fp-hellgruen: #8ED081;
  --fp-gruen-flaeche: #EAF6EE;
  --fp-blau-flaeche: #F1F6FB;
  --fp-text: #1D2B3C;
  --fp-text-leise: #5A6A7D;
  --fp-rand: #DCE4EC;
  --fp-warn: #B45309;
  --fp-warn-flaeche: #FFF4E5;
  --fp-radius: 14px;
  --fp-schatten: 0 2px 10px rgba(13, 59, 102, .07);
  --fp-schatten-hover: 0 8px 24px rgba(13, 59, 102, .13);
  /* Bewegung: eigene Kurven statt der schwachen CSS-Standardkurven */
  --fp-ease-out: cubic-bezier(.23, 1, .32, 1);        /* Ein-/Ausblenden, Druck */
  --fp-ease-in-out: cubic-bezier(.77, 0, .175, 1);    /* Bewegung auf der Fläche */

  --bs-body-font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--fp-text);
  --bs-body-bg: #FFFFFF;
  --bs-primary: var(--fp-gruen);
  --bs-primary-rgb: 46, 158, 91;
  --bs-link-color: var(--fp-blau);
  --bs-link-color-rgb: 35, 134, 209;
  --bs-link-hover-color: var(--fp-dunkelblau);
  --bs-border-color: var(--fp-rand);
  --bs-border-radius: 10px;
  --bs-border-radius-lg: var(--fp-radius);
}

body { font-size: 1.02rem; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .fp-titel { color: var(--fp-dunkelblau); font-weight: 800; letter-spacing: -.01em; }
.text-leise { color: var(--fp-text-leise) !important; }
.fp-gruen { color: var(--fp-gruen); }
.fp-schrift-hand { font-family: "Caveat", cursive; font-weight: 700; }

/* ---------- Buttons ---------- */
/* Fokusring: Bootstrap setzt --bs-btn-focus-shadow-rgb nur in seinen eigenen Varianten,
   ohne den Wert hätten eigene Buttons (.btn-wahl, .btn-hell …) gar keinen Fokusring. */
.btn {
  font-weight: 800; border-radius: 10px; padding: .6rem 1.15rem;
  --bs-btn-focus-shadow-rgb: 46, 158, 91;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 160ms var(--fp-ease-out);
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: .8rem 1.5rem; border-radius: 12px; }
.btn-primary {
  --bs-btn-bg: var(--fp-gruen); --bs-btn-border-color: var(--fp-gruen);
  --bs-btn-hover-bg: var(--fp-gruen-dunkel); --bs-btn-hover-border-color: var(--fp-gruen-dunkel);
  --bs-btn-active-bg: var(--fp-gruen-dunkel); --bs-btn-active-border-color: var(--fp-gruen-dunkel);
  --bs-btn-disabled-bg: var(--fp-gruen); --bs-btn-disabled-border-color: var(--fp-gruen);
  box-shadow: 0 3px 10px rgba(46, 158, 91, .28);
}
.btn-outline-dunkel {
  --bs-btn-color: var(--fp-dunkelblau); --bs-btn-border-color: var(--fp-dunkelblau);
  --bs-btn-bg: #fff; --bs-btn-focus-shadow-rgb: 13, 59, 102;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--fp-dunkelblau); --bs-btn-hover-border-color: var(--fp-dunkelblau);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--fp-dunkelblau);
}
.btn-outline-gruen {
  --bs-btn-color: var(--fp-gruen-dunkel); --bs-btn-border-color: var(--fp-gruen);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--fp-gruen); --bs-btn-hover-border-color: var(--fp-gruen);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--fp-gruen-dunkel);
}
.btn-primary.fp-ruhig {
  /* Speichern ohne Änderungen (data-fp-aenderungen): weiter klickbar, aber zurückhaltend */
  --bs-btn-color: var(--fp-gruen-dunkel); --bs-btn-bg: #fff; --bs-btn-border-color: var(--fp-gruen);
  --bs-btn-hover-color: var(--fp-gruen-dunkel); --bs-btn-hover-bg: var(--fp-gruen-flaeche); --bs-btn-hover-border-color: var(--fp-gruen);
  --bs-btn-active-color: var(--fp-gruen-dunkel); --bs-btn-active-bg: var(--fp-gruen-flaeche); --bs-btn-active-border-color: var(--fp-gruen-dunkel);
  box-shadow: none;
}
/* Beim Seitenaufbau nicht von kräftig zu ruhig überblenden */
html:not(.fp-geladen) [data-fp-speichern] { transition: none; }
.btn-hell { background: #fff; color: var(--fp-dunkelblau); border: 0; box-shadow: var(--fp-schatten); --bs-btn-focus-shadow-rgb: 13, 59, 102; }
.btn-hell:hover { background: #fff; color: var(--fp-gruen-dunkel); }

/* ---------- Kopf ---------- */
.fp-kopf { background: #fff; border-bottom: 1px solid var(--fp-rand); }
.fp-kopf .navbar-brand img { height: 46px; width: auto; }
.fp-kopf .nav-link { color: var(--fp-text); font-weight: 700; padding: .5rem .85rem !important; border-bottom: 3px solid transparent; }
.fp-kopf .nav-link:hover { color: var(--fp-gruen-dunkel); }
.fp-kopf .nav-link.active { color: var(--fp-gruen-dunkel); border-bottom-color: var(--fp-gruen); }
.fp-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--fp-gruen-flaeche); }
.fp-punkt { display: inline-block; min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem; border-radius: 1rem; background: var(--fp-gruen); color: #fff; font-size: .72rem; font-weight: 800; line-height: 1.25rem; text-align: center; vertical-align: middle; }
/* Anzahl (z. B. Paare der Gruppe): Form wie .fp-punkt, aber neutral – Grün steht für „ungelesen“ */
.fp-anzahl { display: inline-block; min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem; border-radius: 1rem; background: var(--fp-rand); color: var(--fp-dunkelblau); font-size: .72rem; font-weight: 800; line-height: 1.25rem; text-align: center; vertical-align: middle; }

/* ---------- Hero ---------- */
/* Foto rechts, per Maske weich in den Himmelston ausgeblendet (keine harte Kante) */
/* senkrecht nicht beschneiden: die Ortsvorschläge dürfen über den Rand ragen */
.fp-hero { position: relative; overflow-x: clip; overflow-y: visible; min-height: 460px; background: linear-gradient(90deg, #FFF3E3 0%, #FBE1C2 45%, #F4C18E 100%); display: flex; align-items: center; }
.fp-hero::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 62%; background: url("../img/hero.33c26ddef516.jpg") right center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
.fp-hero > .container { position: relative; z-index: 1; }
.fp-hero h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 900; line-height: 1.02; }
.fp-hero .fp-unterzeile { font-size: 1.3rem; font-weight: 800; color: var(--fp-dunkelblau); }
.fp-hero p { font-size: 1.12rem; max-width: 30rem; }
.fp-suche { background: #fff; border-radius: 14px; box-shadow: var(--fp-schatten-hover); padding: .5rem; max-width: 34rem; }
.fp-suche .form-control, .fp-suche .form-select { border: 0; box-shadow: none; font-weight: 600; }
.fp-suche .input-group-text { background: transparent; border: 0; color: var(--fp-gruen); }
@media (max-width: 767.98px) {
  .fp-hero { min-height: 0; padding: 2.5rem 0 3rem; }
  .fp-hero::after { width: 100%; opacity: .3; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%); mask-image: linear-gradient(180deg, transparent 0%, #000 60%); }
}

/* ---------- Merkmale ---------- */
.fp-merkmal { display: flex; gap: .9rem; align-items: flex-start; }
.fp-merkmal-icon { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: var(--fp-gruen-flaeche); color: var(--fp-gruen); display: grid; place-items: center; font-size: 1.55rem; }
.fp-merkmal h3 { font-size: 1.02rem; margin: .15rem 0 .2rem; }
.fp-merkmal p { font-size: .92rem; color: var(--fp-text-leise); margin: 0; }

/* ---------- Abschnitte ---------- */
.fp-flaeche { background: var(--fp-blau-flaeche); border-radius: 22px; }
.fp-abschnitt-titel { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: .2rem; }
/* Rechtstexte (Impressum, Datenschutz, Nutzungsbedingungen): gut lesbare Zeilenlänge */
.fp-rechtstext { max-width: 46rem; }
.fp-rechtstext h2 { font-size: 1.15rem; font-weight: 800; color: var(--fp-dunkelblau); margin: 2rem 0 .5rem; }
.fp-rechtstext address { margin-bottom: 1rem; }
.fp-rechtstext li { margin-bottom: .35rem; }
.fp-rechtstext table { font-size: .95rem; }
/* Fragen & Antworten: <details> als ruhige Liste, Pfeil statt Standard-Dreieck */
.fp-faq { border-top: 1px solid var(--fp-rand); }
.fp-faq details { border-bottom: 1px solid var(--fp-rand); }
.fp-faq summary { list-style: none; cursor: pointer; padding: .9rem 2rem .9rem 0; position: relative; font-weight: 700; color: var(--fp-dunkelblau); }
.fp-faq summary::-webkit-details-marker { display: none; }
.fp-faq summary::after { content: "\F282"; font-family: bootstrap-icons; position: absolute; right: .25rem; top: .9rem; color: var(--fp-gruen); transition: transform 200ms ease; }
.fp-faq details[open] summary::after { transform: rotate(180deg); }
.fp-faq summary:focus-visible { outline: 3px solid rgba(46, 158, 91, .45); outline-offset: 2px; border-radius: 4px; }
.fp-faq-antwort { padding: 0 0 1rem; }
@media (prefers-reduced-motion: reduce) { .fp-faq summary::after { transition: none; } }

/* ---------- Aktivitätskarte ---------- */
.fp-karte { background: #fff; border: 1px solid var(--fp-rand); border-radius: var(--fp-radius); overflow: hidden; box-shadow: var(--fp-schatten); height: 100%; display: flex; flex-direction: column; transition: box-shadow 200ms ease, transform 200ms var(--fp-ease-out); }
/* Hover nur mit echter Maus – auf Touch-Geräten bliebe er nach dem Tippen hängen */
@media (hover: hover) and (pointer: fine) {
  .fp-karte:hover { box-shadow: var(--fp-schatten-hover); transform: translateY(-2px); }
}
.fp-karte:active { transform: scale(.99); }
/* Die ganze Karte ist klickbar (a::after), also zeigt auch die ganze Karte den Fokus */
.fp-karte:has(a:focus-visible) { outline: 3px solid rgba(46, 158, 91, .55); outline-offset: 2px; }
.fp-karte h3 a:focus-visible { outline: 0; }
.fp-karte-bild { position: relative; aspect-ratio: 16 / 8; background: var(--fp-blau-flaeche) center / cover no-repeat; }
.fp-karte-bild .fp-kat { position: absolute; left: 12px; bottom: -22px; width: 46px; height: 46px; border-radius: 50%; background: var(--fp-blau); color: #fff; display: grid; place-items: center; font-size: 1.3rem; border: 3px solid #fff; }
.fp-karte-bild .fp-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: .35rem; flex-wrap: wrap; }
.fp-karte-inhalt { padding: 1.9rem 1rem .85rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.fp-karte-inhalt .fp-fehlen { margin-top: auto; }
.fp-karte-inhalt > .fp-zeile:last-of-type { margin-bottom: .6rem; }
.fp-karte h3 { font-size: 1.15rem; font-weight: 800; margin: 0 0 .3rem; }
.fp-karte h3 a { color: inherit; text-decoration: none; }
.fp-karte h3 a::after { content: ""; position: absolute; inset: 0; }
.fp-karte { position: relative; }
.fp-zeile { display: flex; gap: .5rem; align-items: flex-start; font-size: .9rem; color: var(--fp-text-leise); }
.fp-zeile i { color: var(--fp-dunkelblau); width: 1rem; }
/* Fuß der Karte: „Es fehlen noch 3 Paare – Seid ihr dabei?“ als grüne Fläche mit Pfeil (die ganze Karte ist der Link) */
.fp-fehlen { margin-top: auto; display: flex; align-items: center; gap: .7rem; padding: .65rem .85rem; border-radius: 10px; background: var(--fp-gruen-flaeche); color: var(--fp-gruen-dunkel); font-size: .92rem; line-height: 1.3; }
.fp-fehlen > i:first-child { font-size: 1.35rem; color: var(--fp-gruen); }
.fp-fehlen strong { display: block; font-weight: 800; }
.fp-fehlen span { display: block; color: var(--fp-text); font-size: .86rem; }

/* ---------- Badges ---------- */
.fp-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; font-weight: 800; padding: .28rem .6rem; border-radius: 2rem; background: rgba(255, 255, 255, .95); color: var(--fp-dunkelblau); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.fp-badge-aktiv { background: var(--fp-gruen); color: #fff; }
.fp-badge-idee { background: #FFF1C9; color: #7A5200; }
.fp-badge-admin { background: var(--fp-dunkelblau); color: #fff; box-shadow: none; }
.fp-badge-status { background: var(--fp-warn-flaeche); color: var(--fp-warn); box-shadow: none; }

/* ---------- So funktioniert es ---------- */
.fp-schritt { background: #fff; border: 1px solid var(--fp-rand); border-radius: var(--fp-radius); padding: 1.6rem 1.2rem 1.3rem; text-align: center; position: relative; height: 100%; }
.fp-schritt-nr { position: absolute; top: -16px; left: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--fp-gruen); color: #fff; font-weight: 900; display: grid; place-items: center; }
.fp-schritt-icon { font-size: 2.6rem; color: var(--fp-dunkelblau); }
.fp-schritt h3 { font-size: 1.05rem; margin: .5rem 0 .4rem; }
.fp-schritt p { font-size: .92rem; color: var(--fp-text-leise); margin: 0; }
.fp-pfeil { color: var(--fp-dunkelblau); font-size: 1.4rem; }

/* ---------- Privatsphäre ---------- */
.fp-privat-icon { width: 96px; height: 96px; border-radius: 50%; background: var(--fp-gruen-flaeche); color: var(--fp-gruen); display: grid; place-items: center; font-size: 2.6rem; }
.fp-vorher-nachher { background: #fff; border: 1px solid var(--fp-rand); border-radius: var(--fp-radius); padding: 1rem; text-align: center; height: 100%; }
.fp-verschwommen { filter: blur(3px); opacity: .55; }
.fp-kreis { width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center; background: #CCD6E0; color: #fff; font-size: 1.4rem; margin: 0 -6px; border: 3px solid #fff; }
.fp-kreis-farbig { background: var(--fp-blau); }
.fp-kreis-gruen { background: var(--fp-gruen); }

/* ---------- Band unten ---------- */
.fp-band { background: linear-gradient(90deg, rgba(13, 59, 102, .92), rgba(13, 59, 102, .55)), url("../img/hero.33c26ddef516.jpg") center 40% / cover; color: #fff; border-radius: 22px; }
.fp-band .fp-schrift-hand { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.05; }

/* ---------- Fuß ---------- */
.fp-fuss { background: var(--fp-dunkelblau); color: rgba(255, 255, 255, .8); }
.fp-fuss a { color: #fff; text-decoration: none; }
.fp-fuss a:hover { text-decoration: underline; }
.fp-fuss h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Detailseite ---------- */
.fp-fakten { background: #fff; border: 1px solid var(--fp-rand); border-radius: var(--fp-radius); box-shadow: var(--fp-schatten); }
.fp-fakten .fp-zeile { font-size: .98rem; color: var(--fp-text); padding: .45rem 0; }
.fp-fakten .fp-zeile i { color: var(--fp-gruen); font-size: 1.1rem; }
.fp-hinweis { border-radius: 12px; padding: .9rem 1rem; display: flex; gap: .75rem; align-items: flex-start; }
.fp-hinweis i { font-size: 1.3rem; line-height: 1.2; }
.fp-hinweis-gruen { background: var(--fp-gruen-flaeche); color: #174D2D; }
.fp-hinweis-gruen i { color: var(--fp-gruen); }
.fp-hinweis-blau { background: var(--fp-blau-flaeche); color: var(--fp-dunkelblau); }
.fp-hinweis-blau i { color: var(--fp-blau); }
.fp-hinweis-warn { background: var(--fp-warn-flaeche); color: #6B3A06; border: 1px solid #F5D6A8; }
.fp-hinweis-warn i { color: var(--fp-warn); }
.fp-dabei { background: linear-gradient(135deg, var(--fp-gruen), #3DB26E); color: #fff; border-radius: var(--fp-radius); }
.fp-dabei h2 { color: #fff; }

/* Tab-Wechsel wird oft benutzt: sofort umschalten, kein Fade */
.tab-content > .tab-pane.fade { transition: none; }
.nav-tabs.fp-tabs { border-bottom: 2px solid var(--fp-rand); gap: .25rem; }
.fp-tabs .nav-link { border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; color: var(--fp-text-leise); font-weight: 800; }
.fp-tabs .nav-link.active { color: var(--fp-dunkelblau); border-bottom-color: var(--fp-gruen); background: transparent; }
/* Vier Tabs passen auf dem Handy nicht nebeneinander: waagerecht wischen statt umbrechen */
.nav-tabs.fp-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.fp-tabs .nav-link { white-space: nowrap; display: flex; align-items: center; gap: .4rem; }
.fp-tabs .nav-link > .bi { font-size: 1.1rem; }
/* Am Handy passen fünf Tabs nicht nebeneinander: nicht aktive nur als Symbol (Text bleibt für Screenreader) */
@media (max-width: 575.98px) {
  .fp-tabs .nav-link:not(.active) .fp-tab-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .fp-tabs .nav-link { padding-inline: .65rem; }
  .fp-tabs .nav-link > .bi { font-size: 1.3rem; }
}
.fp-punkt-warn { background: var(--fp-warn); }
/* Icon im hellgrünen Kreis vor dem Titel einer Karte (Übersicht der Gruppe) */
.fp-icon-kreis { width: 52px; height: 52px; border-radius: 50%; background: var(--fp-gruen-flaeche); color: var(--fp-gruen); display: grid; place-items: center; font-size: 1.45rem; flex-shrink: 0; }
.fp-icon-kreis-voll { background: var(--fp-gruen); color: #fff; }

/* Kopf einer Aktivität (aktivitaeten/_kopfbild.html): Bild rechts, läuft nach links in die Fläche aus.
   Das Bild beginnt bei 44 %; der Verlauf liegt als eigene Ebene über die ganze Breite und deckt bis 46 % voll –
   so verschwindet die Bildkante, die bei krummen Pixelwerten sonst als feine Linie durchschimmert. */
/* Seiten einer Aktivität: dezent getönt, damit sich die weißen Karten abheben (Entwurf) */
body:has(.fp-kopfbild) { background: #F5F8F6; }
.fp-fakten-getoent { background: #F1F6F3; }
.fp-kopfbild { --fp-kopf-flaeche: #F8F3EC; position: relative; overflow: hidden; background: var(--fp-kopf-flaeche); padding: 1.25rem 0 1.75rem; margin-bottom: 1.25rem; }
.fp-kopfbild::before, .fp-kopfbild::after { content: ""; position: absolute; inset: 0; }
.fp-kopfbild::before { left: 44%; background: var(--fp-bild) center / cover no-repeat; }
.fp-kopfbild::after { background: linear-gradient(90deg, var(--fp-kopf-flaeche) 0%, var(--fp-kopf-flaeche) 46%, color-mix(in srgb, var(--fp-kopf-flaeche) 70%, transparent) 55%, color-mix(in srgb, var(--fp-kopf-flaeche) 0%, transparent) 72%); }
.fp-kopfbild > .container { z-index: 1; }
.fp-kopfbild-titel { font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 34rem; }
.fp-kopfbild-daten { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; color: var(--fp-text); font-weight: 700; }
.fp-kopfbild-daten i { color: var(--fp-gruen); margin-right: .4rem; }
/* Mein Bereich: Begrüßung im Kopf */
.fp-gruss { font-size: clamp(1.4rem, 2.8vw, 2.1rem); font-weight: 800; color: var(--fp-gruen); letter-spacing: -.01em; }
.fp-kopfbild-text { max-width: 30rem; color: var(--fp-text); }
.fp-icon-kreis-weiss { background: #fff; }
/* Mein Bereich: eigene Aktivität als Karte – Bild links (schmal: oben), rechts Titel, Eckdaten, nächstes Treffen */
.fp-mb-karte { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: #fff; border: 1px solid var(--fp-rand); border-radius: var(--fp-radius); box-shadow: var(--fp-schatten); overflow: hidden; }
.fp-mb-bild { position: relative; min-height: 170px; background: center / cover no-repeat var(--fp-blau-flaeche); }
.fp-mb-bild .fp-badge { position: absolute; top: .75rem; left: .75rem; }
.fp-mb-inhalt { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.fp-mb-titel { display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: var(--fp-dunkelblau); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .fp-mb-titel:hover h3 { color: var(--fp-gruen-dunkel); } }
.fp-mb-daten { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; font-size: .9rem; color: var(--fp-text); }
.fp-mb-daten i { color: var(--fp-gruen); margin-right: .35rem; }
.fp-mb-termin { font-weight: 800; font-size: 1.1rem; color: var(--fp-dunkelblau); }
.fp-mb-stand { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .85rem; background: var(--fp-gruen-flaeche); border-radius: 12px; padding: .75rem .9rem; }
/* Reicht der Platz nicht, rutscht „Details ansehen“ unter den Termin statt ihn zusammenzudrücken */
.fp-mb-stand > .flex-fill { flex: 1 1 13rem; }
.fp-mb-stand > .btn { margin-left: auto; }
@media (max-width: 767.98px) { .fp-mb-karte { grid-template-columns: 1fr; } .fp-mb-bild { min-height: 140px; } }
/* „Noch mehr gemeinsam erleben?“ */
.fp-mehr { display: flex; gap: 1rem; align-items: flex-start; border: 2px dashed var(--fp-rand); border-radius: var(--fp-radius); padding: 1.25rem; background: rgba(255, 255, 255, .6); }
/* Neue Nachrichten als Liste */
.fp-neu-zeile { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; text-decoration: none; color: inherit; }
.fp-neu-zeile + .fp-neu-zeile { border-top: 1px solid var(--fp-rand); }
.fp-neu-zeile .fp-icon-kreis { width: 44px; height: 44px; font-size: 1.2rem; }
@media (hover: hover) and (pointer: fine) { .fp-neu-zeile:hover { background: var(--fp-blau-flaeche); } }
/* Profilkarte: Paarfoto groß oben, Kamera führt zu „Foto ändern“ */
.fp-profilkarte-foto { position: relative; aspect-ratio: 16 / 10; background: var(--fp-gruen-flaeche); }
.fp-profilkarte-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-profilkarte-leer { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; color: var(--fp-gruen-dunkel); font-weight: 800; text-decoration: none; }
.fp-profilkarte-leer i { font-size: 2rem; }
.fp-profilkarte-kamera { position: absolute; top: .75rem; right: .75rem; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--fp-dunkelblau); display: grid; place-items: center; box-shadow: var(--fp-schatten); }
.fp-profil-liste { list-style: none; padding: 0; margin: 0; }
.fp-profil-liste li { display: flex; align-items: center; gap: .65rem; padding: .3rem 0; font-size: .95rem; }
.fp-profil-liste-icon { color: var(--fp-text-leise); width: 1.1rem; text-align: center; }
/* Schmal: das Bild als Streifen oben, der Text darunter auf der Fläche */
@media (max-width: 991.98px) {
  .fp-kopfbild { padding-top: 0; }
  .fp-kopfbild::before, .fp-kopfbild::after { left: 0; bottom: auto; height: 170px; }
  .fp-kopfbild::after { background: linear-gradient(180deg, color-mix(in srgb, var(--fp-kopf-flaeche) 0%, transparent) 45%, var(--fp-kopf-flaeche) 100%); }
  .fp-kopfbild > .container { padding-top: 150px; }
  .fp-kopfbild .breadcrumb { display: none; }
}

/* Paare der Gruppe */
.fp-paar { display: flex; gap: .85rem; align-items: center; padding: .7rem; border: 1px solid var(--fp-rand); border-radius: 12px; background: #fff; }
.fp-paar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
a.fp-paar { transition: border-color 150ms ease, transform 160ms var(--fp-ease-out); }
@media (hover: hover) and (pointer: fine) { a.fp-paar:hover { border-color: var(--fp-gruen); } }
a.fp-paar:active { transform: scale(.99); }
.fp-paar-name { font-weight: 800; color: var(--fp-dunkelblau); }
.fp-rueck { font-size: .85rem; font-weight: 700; }
.fp-rueck-ja { color: var(--fp-gruen-dunkel); }
.fp-rueck-nein { color: #B42318; }
.fp-rueck-offen { color: var(--fp-text-leise); }

/* Chat: fremde Nachrichten links mit Foto, eigene rechts hellgrün; Uhrzeit unten in der Blase */
.fp-chat { background: #fff; padding: 1rem 1.25rem; height: 30rem; overflow-y: auto; overscroll-behavior: contain; }
.fp-chat-tag { display: flex; justify-content: center; margin: .5rem 0 .9rem; }
.fp-chat-tag span { font-size: .78rem; font-weight: 700; color: var(--fp-text-leise); background: #F0F3F6; border-radius: 2rem; padding: .2rem .8rem; }
.fp-msg { display: flex; align-items: flex-end; gap: .6rem; max-width: 82%; margin-bottom: .75rem; }
.fp-msg-avatar { width: 36px; height: 36px; flex-shrink: 0; font-size: .95rem; border-width: 0; }
.fp-msg-blase { min-width: 0; background: #F2F5F8; color: var(--fp-text); border-radius: 16px 16px 16px 4px; padding: .55rem .85rem .4rem; overflow-wrap: anywhere; }
.fp-msg-eigen { margin-left: auto; justify-content: flex-end; }
.fp-msg-eigen .fp-msg-blase { background: #DCF1E3; border-radius: 16px 16px 4px 16px; }
.fp-msg-name { font-size: .78rem; font-weight: 800; color: var(--fp-dunkelblau); margin-bottom: .1rem; }
.fp-msg-fuss { display: flex; justify-content: flex-end; align-items: center; gap: .5rem; margin-top: .1rem; }
/* tabellarische Ziffern, damit Uhrzeiten nicht springen */
.fp-msg-zeit { font-size: .72rem; font-weight: 600; color: var(--fp-text-leise); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fp-msg-eigen .fp-msg-zeit { display: block; text-align: right; margin-top: .1rem; color: var(--fp-gruen-dunkel); }
/* Nur für per Centrifugo eintreffende fremde Nachrichten – nicht beim Laden des Verlaufs,
   eigene Nachrichten erscheinen sofort ohne Animation */
.fp-msg-neu {
  transition: opacity 180ms ease, transform 180ms var(--fp-ease-out);
  @starting-style { opacity: 0; transform: translateY(6px); }
}
.fp-msg-geloescht .fp-msg-blase { background: transparent; box-shadow: none; border: 1px dashed var(--fp-rand); color: var(--fp-text-leise); font-style: italic; }

/* Schalter */
.form-switch .form-check-input { width: 3em; height: 1.5em; }
.form-check-input:checked { background-color: var(--fp-gruen); border-color: var(--fp-gruen); }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--fp-gruen); box-shadow: 0 0 0 .2rem rgba(46, 158, 91, .2); }

/* Formular-Schritte */
.fp-schritte { display: flex; gap: .5rem; counter-reset: s; }
.fp-schritte button, .fp-schritte li { flex: 1; border: 0; background: none; padding: .6rem .25rem; border-bottom: 4px solid var(--fp-rand); font-weight: 800; color: var(--fp-text-leise); text-align: left; transition: border-color 200ms ease, color 200ms ease; }
.fp-schritte button.active, .fp-schritte li.active { border-bottom-color: var(--fp-gruen); color: var(--fp-dunkelblau); }
.fp-schritte button.erledigt, .fp-schritte li.erledigt { border-bottom-color: var(--fp-hellgruen); }
.fp-schritte small { display: block; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }
.fp-karte-form { background: #fff; border: 1px solid var(--fp-rand); border-radius: var(--fp-radius); box-shadow: var(--fp-schatten); }
.btn-check + .btn-wahl { border: 1px solid var(--fp-rand); background: #fff; color: var(--fp-text); font-weight: 700; --bs-btn-focus-shadow-rgb: 46, 158, 91; }
.btn-check:checked + .btn-wahl { background: var(--fp-gruen-flaeche); border-color: var(--fp-gruen); color: var(--fp-gruen-dunkel); }
.form-label { font-weight: 800; color: var(--fp-dunkelblau); }

/* Checkliste */
.fp-check { list-style: none; padding: 0; margin: 0; }
.fp-check li { display: flex; gap: .6rem; align-items: center; padding: .45rem 0; font-weight: 700; }
.fp-check .bi-check-circle-fill { color: var(--fp-gruen); }
.fp-check .bi-circle { color: #9AA8B6; }
.fp-check li.offen a { font-weight: 800; }

/* Mobile Tab-Leiste (eingeloggt) */
.fp-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--fp-rand); display: flex; padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom)); }
.fp-tabbar a { flex: 1; text-align: center; font-size: .7rem; font-weight: 800; color: var(--fp-text-leise); text-decoration: none; padding: .2rem 0; position: relative; -webkit-tap-highlight-color: transparent; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; transition: color 150ms ease; }
.fp-tabbar a i { display: block; font-size: 1.35rem; transition: transform 160ms var(--fp-ease-out); }
.fp-tabbar a:active i { transform: scale(.88); }
.fp-tabbar a.active { color: var(--fp-gruen-dunkel); }
.fp-tabbar .fp-plus i { width: 44px; height: 44px; margin: -14px auto 0; border-radius: 50%; background: var(--fp-gruen); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(46, 158, 91, .4); }
.fp-tabbar .fp-punkt { position: absolute; top: 0; left: 55%; }
/* Handy, Betreiber mit eigenem Paar: Verwaltung als Symbol neben dem Avatar */
.fp-kopf-verwaltung { position: relative; color: var(--fp-dunkelblau); }
.fp-kopf-verwaltung .fp-punkt { position: absolute; top: -.35rem; right: -.6rem; }
body.fp-mit-tabbar { padding-bottom: 72px; }
@media (min-width: 992px) { .fp-tabbar { display: none; } body.fp-mit-tabbar { padding-bottom: 0; } }

/* Entwurfs-Navigation */
.fp-entwurf { position: fixed; right: 14px; bottom: 14px; z-index: 1050; }
body.fp-mit-tabbar .fp-entwurf { bottom: 84px; }
@media (min-width: 992px) { body.fp-mit-tabbar .fp-entwurf { bottom: 14px; } }
.fp-entwurf .btn { background: #111827; color: #fff; font-size: .8rem; padding: .45rem .8rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }

/* ---------- Bewegung ---------- */

/* Schubladen (Filter am Handy): iOS-artige Kurve statt ease-in-out */
.offcanvas, .offcanvas-lg { transition-timing-function: cubic-bezier(.32, .72, 0, 1); }
/* Aufklappendes Menü am Handy: kürzer und mit eigener Kurve */
.collapsing { transition: height 250ms var(--fp-ease-out); }

/* Dialoge: zentriert leicht aufzoomen statt von oben hereinfallen; Schließen schneller als Öffnen */
.modal.fade .modal-dialog { transform: scale(.96); transition: transform 200ms var(--fp-ease-out); }
.modal.fade:not(.show) .modal-dialog { transition-duration: 150ms; }
.modal.show .modal-dialog { transform: none; }

/* Per JS eingeblendete Formularteile (hidden entfernt) weich einblenden statt ruckartig.
   Erst ab .fp-geladen, damit beim Seitenaufbau nichts animiert. */
.fp-geladen .fp-einblenden {
  transition: opacity 200ms ease, transform 200ms var(--fp-ease-out);
  @starting-style { opacity: 0; transform: translateY(-4px); }
}

/* „Link kopieren“: beide Beschriftungen liegen übereinander, der Button behält seine Breite */
.fp-wechsel { display: inline-grid; }
.fp-wechsel > span { grid-area: 1 / 1; transition: opacity 200ms ease, filter 200ms ease; }
.fp-wechsel-b, .kopiert .fp-wechsel-a { opacity: 0; filter: blur(2px); }
.kopiert .fp-wechsel-b { opacity: 1; filter: none; }

/* Aktivierung „Eure Gruppe steht!“: seltener Höhepunkt, darf Freude machen.
   Hinweis erscheint, danach tauchen die Paare gestaffelt auf. */
@keyframes fp-auftauchen { from { opacity: 0; transform: translateY(8px); } }
.fp-feier { animation: fp-auftauchen 300ms var(--fp-ease-out) both; }
.fp-gestaffelt > * { animation: fp-auftauchen 300ms var(--fp-ease-out) both; }
.fp-gestaffelt > :nth-child(1) { animation-delay: 150ms; }
.fp-gestaffelt > :nth-child(2) { animation-delay: 200ms; }
.fp-gestaffelt > :nth-child(3) { animation-delay: 250ms; }
.fp-gestaffelt > :nth-child(4) { animation-delay: 300ms; }
.fp-gestaffelt > :nth-child(5) { animation-delay: 350ms; }
.fp-gestaffelt > :nth-child(6) { animation-delay: 400ms; }
.fp-gestaffelt > :nth-child(7) { animation-delay: 450ms; }
.fp-gestaffelt > :nth-child(n+8) { animation-delay: 500ms; }

/* Startseite „Eure Gruppe steht“: Fotos werden beim Hineinscrollen scharf (einmalig).
   Ohne JS bleiben sie einfach scharf. */
.fp-enthuellen img { transition: filter 600ms ease, opacity 600ms ease; }
.fp-enthuellen img:nth-child(2) { transition-delay: 90ms; }
.fp-enthuellen img:nth-child(3) { transition-delay: 180ms; }
.fp-js .fp-enthuellen:not(.ist-sichtbar) img { filter: blur(3px); opacity: .55; }

/* Weniger Bewegung: keine Verschiebungen/Skalierungen, Überblendungen bleiben */
@media (prefers-reduced-motion: reduce) {
  .btn:active, .fp-karte:hover, .fp-karte:active, a.fp-paar:active, .fp-tabbar a:active i,
  .modal.fade .modal-dialog { transform: none; }
  .collapsing { transition: none; }
  .fp-geladen .fp-einblenden, .fp-msg-neu { @starting-style { transform: none; } }
  @keyframes fp-auftauchen { from { opacity: 0; } }
}

/* ---------- Django-Rahmen (aus Inline-Styles des Entwurfs) ---------- */
.fp-sprung:focus { position: absolute; top: .5rem; left: .5rem; z-index: 1100; background: #fff; padding: .5rem 1rem; border-radius: .5rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.fp-avatar-leer { display: inline-grid; place-items: center; background: var(--fp-gruen-flaeche); color: var(--fp-gruen-dunkel); font-size: 1.1rem; }
.fp-avatar-gross { width: 46px; height: 46px; }
.fp-kreis-schloss { background: #fff; color: var(--fp-dunkelblau); border: 2px solid var(--fp-rand); }
/* Burger: Fokusring nur bei Tastaturbedienung, wie bei den Buttons */
.navbar-toggler:focus:not(:focus-visible) { box-shadow: none; }
.navbar-toggler:focus-visible { box-shadow: 0 0 0 .2rem rgba(46, 158, 91, .35); }
/* Nav-Links und Sprunglink: grüner Fokusring statt Bootstrap-Blau */
.fp-kopf .nav-link:focus-visible, .fp-tabbar a:focus-visible, .fp-sprung:focus-visible { outline: 0; box-shadow: 0 0 0 .2rem rgba(46, 158, 91, .35); border-radius: .4rem; }
.fp-sprung:focus { color: var(--fp-dunkelblau); font-weight: 700; }

/* ---------- Ortsauswahl mit Vorschlagsliste (orte/ortsauswahl.html) ---------- */
.fp-ortsauswahl { position: relative; }
/* mindestens so breit wie das Feld, bei schmalen Feldern breiter – aber nie breiter als der Bildschirm */
.fp-vorschlaege { position: absolute; left: 0; min-width: 100%; width: 26rem; max-width: calc(100vw - 2rem); top: calc(100% + 6px); z-index: 1040; margin: 0; padding: .35rem; list-style: none; background: #fff; border: 1px solid var(--fp-rand); border-radius: 12px; box-shadow: var(--fp-schatten-hover); max-height: 20rem; overflow-y: auto; overscroll-behavior: contain; transform-origin: top center; transition: opacity 150ms var(--fp-ease-out), transform 150ms var(--fp-ease-out); }
.fp-vorschlaege[hidden] { display: none; }
@starting-style { .fp-vorschlaege { opacity: 0; transform: translateY(-4px) scale(.98); } }
.fp-vorschlag { padding: .55rem .75rem; border-radius: 8px; cursor: pointer; line-height: 1.3; -webkit-tap-highlight-color: transparent; }
.fp-vorschlag[aria-selected="true"] { background: var(--fp-gruen-flaeche); }
@media (hover: hover) { .fp-vorschlag:hover { background: var(--fp-gruen-flaeche); } }
.fp-vorschlag-name { font-weight: 700; color: var(--fp-text); }
.fp-vorschlag-zusatz { color: var(--fp-text-leise); font-size: .9rem; }
.fp-vorschlag-leer { padding: .55rem .75rem; color: var(--fp-text-leise); }
@media (prefers-reduced-motion: reduce) { .fp-vorschlaege { transition: opacity 150ms ease; } @starting-style { .fp-vorschlaege { transform: none; } } }

/* ---------- Konto-Seiten ---------- */
/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
/* „Mail gesendet an …“: die Adresse gut lesbar, damit ein Tippfehler auffällt */
.fp-mailadresse { font-size: 1.15rem; font-weight: 800; color: var(--fp-dunkelblau); background: var(--fp-blau-flaeche); border-radius: 10px; padding: .6rem .9rem; overflow-wrap: anywhere; }
.fp-honig { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* ALTCHA in den Projektfarben, so breit wie das Formular */
.fp-botschutz altcha-widget { display: block; --altcha-max-width: 100%; --altcha-border-radius: 12px; --altcha-color-border: var(--fp-rand); --altcha-color-border-focus: var(--fp-gruen); --altcha-color-text: var(--fp-text); --altcha-color-base: #fff; --altcha-color-active: var(--fp-gruen); --altcha-color-error-text: #b42318; }

/* ---------- Profil und Mein Bereich ---------- */

/* Foto groß (data-fp-lightbox): ganzes Bild, höchstens 90 % des Fensters; weich auf und zu */
a[data-fp-lightbox] { cursor: zoom-in; border-radius: 50%; }
.fp-lightbox {
  padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; cursor: zoom-out;
  opacity: 0; transition: opacity 200ms var(--fp-ease-out), overlay 200ms allow-discrete, display 200ms allow-discrete;
}
.fp-lightbox[open] { opacity: 1; }
@starting-style { .fp-lightbox[open] { opacity: 0; } }
.fp-lightbox::backdrop { background: rgba(13, 59, 102, 0); transition: background 200ms ease, overlay 200ms allow-discrete, display 200ms allow-discrete; }
.fp-lightbox[open]::backdrop { background: rgba(13, 59, 102, .85); }
@starting-style { .fp-lightbox[open]::backdrop { background: rgba(13, 59, 102, 0); } }
/* Nur das Bild skalieren – ein transform am Dialog würde das feste × mitnehmen */
.fp-lightbox img {
  display: block; max-width: 90vw; max-height: 90vh; border-radius: var(--fp-radius); box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
  transform: scale(.96); transition: transform 200ms var(--fp-ease-out);
}
.fp-lightbox[open] img { transform: none; }
@starting-style { .fp-lightbox[open] img { transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) { .fp-lightbox img, .fp-lightbox[open] img { transform: none; transition: none; } }
.fp-lightbox-zu {
  position: fixed; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--fp-dunkelblau); font-size: 1.1rem; display: grid; place-items: center; box-shadow: var(--fp-schatten);
}
html:has(.fp-lightbox[open]) { overflow: hidden; }
.fp-avatar-profil { width: 64px; height: 64px; font-size: 1.7rem; }
.fp-profil-links a, .fp-profil-links .btn-link { color: var(--fp-text-leise); font-weight: 700; text-decoration: none; }
@media (min-width: 992px) { .fp-profil-links { display: none !important; } }
/* Sprungziele (#foto usw.) nicht unter dem fixierten Kopf verstecken */
html { scroll-padding-top: 5.5rem; }

/* ---------- Aktivität einstellen ---------- */
.fp-zahl { max-width: 6rem; }
/* Mit JavaScript zeigt die Schrittanzeige den Titel – die Überschriften im Formular sind dann doppelt */
.fp-mit-schritten .fp-schritt-titel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fp-schritt-seite + .fp-schritt-seite { margin-top: 2rem; }
.fp-mit-schritten .fp-schritt-seite + .fp-schritt-seite { margin-top: 0; }
/* ---------- Aktivitäts-Detailseite ---------- */
.fp-fakten-klebend { top: 90px; }
.fp-beschreibung p:first-child { font-size: 1.15rem; }

/* ---------- Aktivitätsübersicht (aktivitaeten/uebersicht.html) ---------- */
/* Während HTMX sucht bzw. nachlädt: alte Treffer abdunkeln statt leeren – nichts springt */
.fp-ergebnisse, #weitere { transition: opacity 150ms ease; }
.fp-ergebnisse.htmx-request, #weitere.htmx-request { opacity: .5; }
.fp-filterzahl .badge { font-size: .7rem; }
/* Ohne JavaScript gibt es keine Schublade: Filter am Handy offen unter der Suche */
html:not(.fp-js) .fp-nur-js { display: none !important; }
.fp-js .fp-nur-ohne-js { display: none !important; }
@media (max-width: 991.98px) {
  html:not(.fp-js) .offcanvas-lg { position: static; visibility: visible; transform: none; width: auto; z-index: auto; border: 0; background: transparent; }
  html:not(.fp-js) .offcanvas-lg .offcanvas-header { display: none; }
  html:not(.fp-js) .offcanvas-lg .offcanvas-body { padding: 0; }
}
/* Mein Bereich: Kategoriebild in der Zeile eckig statt rund wie Paarfotos */
.fp-paar img.fp-zeilenbild { border-radius: 10px; flex-shrink: 0; }
.fp-paar .fp-badge { flex-shrink: 0; }
/* Gruppenraum */
.fp-paar .fp-avatar-leer { width: 56px; height: 56px; flex-shrink: 0; font-size: 1.4rem; }
.fp-paar img { flex-shrink: 0; }
.fp-profilfoto { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
span.fp-profilfoto { font-size: 3rem; }
label.fp-auswahl { cursor: pointer; padding: .5rem .7rem; }
label.fp-auswahl img, label.fp-auswahl .fp-avatar-leer { width: 40px; height: 40px; font-size: 1rem; }
label.fp-auswahl:has(input:checked) { border-color: var(--fp-gruen); background: var(--fp-gruen-flaeche); }
/* Kurze Seiten: Fuß unten halten statt mitten im Fenster enden lassen */
body { min-height: 100vh; display: flex; flex-direction: column; }
#inhalt { flex: 1 0 auto; }
/* Melden an Chatnachrichten: leise, erst beim Darüberfahren/Fokus deutlich; auf Touch-Geräten dauerhaft schwach */
.fp-msg-melden { color: var(--fp-text-leise); opacity: .35; font-size: .75rem; text-decoration: none; }
.fp-msg:hover .fp-msg-melden, .fp-msg-melden:focus-visible { opacity: 1; }
@media (hover: none) { .fp-msg-melden { opacity: .55; } }
/* Paarprofil (Konzept §4.5): links Foto und Namen, rechts die Rubriken als Karten – zwei Spalten ab Tablet,
   eine ungerade letzte Karte geht über die ganze Breite */
.fp-profil-seite { background: #fff; border: 1px solid var(--fp-rand); border-radius: var(--fp-radius); box-shadow: var(--fp-schatten); }
.fp-profil-foto { position: relative; display: inline-block; }
.fp-profil-seite .fp-profilfoto { width: 180px; height: 180px; display: grid; place-items: center; }
.fp-profil-seite span.fp-profilfoto { font-size: 4rem; }
.fp-profil-kamera { position: absolute; right: .2rem; bottom: .35rem; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--fp-dunkelblau); display: grid; place-items: center; font-size: 1.15rem; box-shadow: var(--fp-schatten); text-decoration: none; }
.fp-profil-kamera:hover { color: var(--fp-gruen-dunkel); }
.fp-profil-seite .fp-hinweis { font-size: .92rem; }
.fp-profil-seite .fp-hinweis i { color: var(--fp-gruen); }
.fp-rubriken { display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .fp-rubriken { grid-template-columns: 1fr 1fr; }
  .fp-rubriken > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.fp-rubrik { background: #fff; border: 1px solid var(--fp-rand); border-radius: var(--fp-radius); box-shadow: var(--fp-schatten); padding: 1.15rem 1.35rem 1.3rem; min-width: 0; overflow-wrap: anywhere; }
.fp-rubrik > :last-child, .fp-rubrik > p:last-child { margin-bottom: 0; }
.fp-rubrik-kopf { display: flex; align-items: center; gap: .65rem; margin-bottom: .75rem; }
.fp-rubrik-kopf > i { color: var(--fp-gruen); font-size: 1.5rem; line-height: 1; }
.fp-rubrik-kopf h3 { flex: 1; font-size: 1.12rem; font-weight: 800; color: var(--fp-dunkelblau); margin: 0; }
.fp-rubrik-bearbeiten { flex-shrink: 0; display: inline-flex; align-items: center; gap: .3rem; min-height: 2.5rem; padding: 0 .35rem; margin: -.5rem -.35rem -.5rem 0; font-size: .82rem; font-weight: 700; color: var(--fp-text); text-decoration: none; }
.fp-rubrik-bearbeiten:hover, .fp-rubrik-bearbeiten:focus-visible { color: var(--fp-gruen-dunkel); }
.fp-chips { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.fp-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .95rem; border-radius: 2rem; background: var(--fp-gruen-flaeche); color: var(--fp-gruen-dunkel); font-weight: 700; font-size: .95rem; }
.fp-beruf { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.fp-beruf > div:only-child { grid-column: 1 / -1; }
.fp-beruf > div + div { border-left: 1px solid var(--fp-rand); padding-left: 1rem; }
.fp-beruf dt { color: var(--fp-dunkelblau); }
.fp-beruf dt i { color: var(--fp-gruen); margin-right: .4rem; }
.fp-beruf dd { margin: .2rem 0 0 1.4rem; color: var(--fp-text); }
@media (max-width: 575.98px) {
  .fp-profil-seite .fp-profilfoto { width: 150px; height: 150px; }
  .fp-rubrik { padding: 1rem 1.1rem 1.15rem; }
}
/* Auswahl: echte Checkboxen, unsichtbar, aber fokussierbar */
.fp-chip-wahl { position: relative; margin: 0; }
.fp-chip-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fp-chip-wahl span { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem .95rem; border: 1px solid var(--fp-rand); border-radius: 2rem; background: #fff; color: var(--fp-text); font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.fp-chip-wahl input:checked + span { background: var(--fp-gruen-flaeche); border-color: var(--fp-gruen); color: var(--fp-gruen-dunkel); }
.fp-chip-wahl input:checked + span::after { content: "\F272"; font-family: bootstrap-icons; margin-left: .35rem; font-size: 1.05em; line-height: 1; }
.fp-chip-wahl input:focus-visible + span { outline: 3px solid rgba(46, 158, 91, .45); outline-offset: 2px; }
.fp-chip-wahl input:disabled + span { opacity: .45; cursor: not-allowed; }
@media (hover: hover) { .fp-chip-wahl input:not(:checked):not(:disabled) + span:hover { border-color: var(--fp-gruen); } }
/* Chips als Links (Kategorien auf Gemeindeseiten, Gemeinden auf Regionsseiten) – Aussehen wie .fp-chip-wahl */
.fp-chip-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: .4rem .95rem; border: 1px solid var(--fp-rand); border-radius: 2rem; background: #fff; color: var(--fp-text); font-weight: 700; text-decoration: none; transition: border-color 150ms ease; }
.fp-chip-link i { color: var(--fp-gruen); }
.fp-chip-link.aktiv { background: var(--fp-gruen-flaeche); border-color: var(--fp-gruen); color: var(--fp-gruen-dunkel); }
.fp-chip-link:focus-visible { outline: 3px solid rgba(46, 158, 91, .45); outline-offset: 2px; }
.fp-chip-zahl { min-width: 1.5rem; padding: 0 .4rem; border-radius: 1rem; background: var(--fp-gruen-flaeche); color: var(--fp-gruen-dunkel); font-size: .8rem; text-align: center; }
@media (hover: hover) { .fp-chip-link:hover { border-color: var(--fp-gruen); color: var(--fp-text); } }
/* eigene Interessen mit JavaScript: Chips mit × und ein Feld zum Hinzufügen */
.fp-chip button { border: 0; background: none; padding: 0 0 0 .15rem; color: inherit; line-height: 1; font-size: 1.1rem; opacity: .7; }
.fp-chip button:hover, .fp-chip button:focus-visible { opacity: 1; }
/* Profil bearbeiten: zwei Blöcke – „Basisdaten“ (Pflicht, weiß) und „Persönliche Angaben“ (freiwillig, grün getönt) –
   mit Teil-Karten darin; ab Tablet steht der Inhalt einer Teil-Karte eingerückt unter ihrem Titel */
.fp-kopfbild-hinweis { max-width: 26rem; font-size: .92rem; flex-shrink: 0; }
.fp-kopfbild-hinweis i { color: var(--fp-gruen); }
.fp-block { background: #fff; border: 1px solid var(--fp-rand); border-radius: calc(var(--fp-radius) + 4px); box-shadow: var(--fp-schatten); padding: 1.5rem; margin-bottom: 1.5rem; }
.fp-block-frei { background: linear-gradient(180deg, #E6F4EB 0%, #F2F9F4 100%); border-color: #CDE7D6; }
.fp-block-kopf { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.fp-block-kopf h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 900; color: var(--fp-dunkelblau); margin: .2rem 0 .3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; }
.fp-block-kopf p { color: var(--fp-text); margin: 0; }
.fp-block-nr { flex-shrink: 0; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--fp-dunkelblau); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.2rem; }
.fp-block-frei .fp-block-nr { background: var(--fp-gruen); }
.fp-badge-pflicht { background: #FDE8EA; color: #B4232F; box-shadow: none; font-size: .78rem; }
.fp-badge-freiwillig { background: #CDEBD7; color: var(--fp-gruen-dunkel); box-shadow: none; font-size: .78rem; }
.fp-teile { display: grid; gap: 1rem; }
.fp-teil { background: #fff; border: 1px solid var(--fp-rand); border-radius: var(--fp-radius); padding: 1.15rem 1.25rem 1.25rem; scroll-margin-top: 90px; min-width: 0; }
.fp-block-frei .fp-teil { border-color: #D9EBDF; box-shadow: 0 1px 3px rgba(13, 59, 102, .05); }
.fp-teil-kopf { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: .9rem; }
.fp-teil-kopf h3 { font-size: 1.12rem; font-weight: 800; color: var(--fp-dunkelblau); margin: .3rem 0 .15rem; }
.fp-teil-kopf h3 label { cursor: pointer; }
.fp-teil-kopf p { font-size: .88rem; color: var(--fp-text-leise); margin: 0; }
.fp-teil-icon { flex-shrink: 0; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--fp-gruen-flaeche); color: var(--fp-gruen-dunkel); display: grid; place-items: center; font-size: 1.25rem; }
.fp-block:not(.fp-block-frei) .fp-teil-icon { background: var(--fp-blau-flaeche); color: var(--fp-dunkelblau); }
@media (min-width: 768px) {
  .fp-teil-inhalt { margin-left: 3.45rem; }
  .fp-teil-inhalt.row { margin-left: calc(3.45rem - .5 * var(--bs-gutter-x)); }
  .fp-teil-inhalt.form-check { margin-left: 3.45rem; padding-left: 1.5em; }
}
/* Foto: runde Vorschau mit Kamera, daneben die Upload-Fläche (mit JS liegt das Dateifeld unsichtbar über der ganzen Fläche) */
.fp-foto-rahmen { position: relative; align-self: center; }
.fp-foto-vorschau { width: 130px; height: 130px; border-radius: 50%; overflow: hidden; background: var(--fp-gruen-flaeche); color: var(--fp-gruen-dunkel); display: grid; place-items: center; font-size: 2.8rem; box-shadow: var(--fp-schatten); }
.fp-foto-vorschau img { width: 100%; height: 100%; object-fit: cover; }
.fp-foto-vorschau a { display: block; width: 100%; height: 100%; }
.fp-foto-rahmen .fp-profil-kamera { right: -.3rem; bottom: 0; cursor: pointer; }
.fp-upload { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border: 2px dashed var(--fp-rand); border-radius: 12px; background: #FAFCFB; transition: border-color 150ms ease, background-color 150ms ease; }
.fp-upload .fp-icon-kreis { width: 46px; height: 46px; font-size: 1.25rem; box-shadow: var(--fp-schatten); }
.fp-upload-titel { font-weight: 800; color: var(--fp-dunkelblau); display: block; }
.fp-upload input[type=file] { flex-basis: 100%; }
.fp-js .fp-upload input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fp-js .fp-upload { flex-wrap: nowrap; }
.fp-upload > .flex-fill { min-width: 0; overflow-wrap: anywhere; }
.fp-upload:focus-within { outline: 3px solid rgba(46, 158, 91, .45); outline-offset: 2px; }
@media (hover: hover) { .fp-upload:hover { border-color: var(--fp-gruen); } }
.fp-upload.fp-ziehen { border-color: var(--fp-gruen); background: var(--fp-gruen-flaeche); }
.fp-foto-entfernen { display: inline-flex; align-items: center; gap: .45rem; margin-top: .6rem; padding: .35rem 0; border: 0; background: none; color: #B4232F; font-weight: 700; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.fp-personen { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.fp-person { min-width: 0; }
.fp-person + .fp-person { border-left: 1px solid var(--fp-rand); padding-left: 1.25rem; }
.fp-person-titel { float: left; width: 100%; display: flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 600; color: var(--fp-text-leise); margin: 0 0 .4rem; }
.fp-person-titel i { font-size: 1.1rem; color: var(--fp-blau); }
.fp-person-titel + * { clear: left; }
@media (max-width: 400px) { .fp-personen { grid-template-columns: 1fr; } .fp-person + .fp-person { border-left: 0; padding-left: 0; border-top: 1px solid var(--fp-rand); padding-top: 1rem; } }
.fp-feld-icon { position: relative; }
.fp-feld-icon .form-control { padding-right: 2.4rem; }
.fp-feld-icon > i { position: absolute; right: .85rem; top: .6rem; color: var(--fp-dunkelblau); pointer-events: none; }
.fp-feld-fuss { display: flex; justify-content: space-between; gap: 1rem; }
.fp-zaehler { flex-shrink: 0; margin-top: .25rem; font-size: .82rem; color: var(--fp-text-leise); font-variant-numeric: tabular-nums; }
.fp-zaehler.fp-knapp { color: #B4232F; font-weight: 700; }
.fp-speichern-leiste { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 575.98px) {
  .fp-block { padding: 1.1rem .85rem; border-radius: var(--fp-radius); }
  .fp-block-kopf { gap: .75rem; }
  .fp-block-nr { width: 2.3rem; height: 2.3rem; font-size: 1rem; }
  .fp-teil { padding: 1rem; }
  .fp-teil-icon { width: 2.2rem; height: 2.2rem; font-size: 1.05rem; }
  .fp-speichern-leiste { flex-direction: column-reverse; align-items: stretch; gap: .5rem; }
}

/* ---------- Aktivitäten entdecken (/aktivitaeten/) ---------- */
/* Kopfbild über die ganze Breite (Paar rechts), Text links auf aufgehellter Fläche; die Suchleiste ragt hinein */
.fp-kopfbild-voll::before { left: 0; background-position: right 35%; }
.fp-kopfbild-voll::after { background: linear-gradient(90deg, var(--fp-kopf-flaeche) 0%, color-mix(in srgb, var(--fp-kopf-flaeche) 88%, transparent) 32%, color-mix(in srgb, var(--fp-kopf-flaeche) 0%, transparent) 62%); }
.fp-kopfbild-suche { padding-bottom: 4.75rem; margin-bottom: 0; }
.fp-vorteile { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem 0; }
.fp-vorteile li { display: flex; align-items: center; gap: .65rem; max-width: 11rem; padding-right: 1.25rem; margin-right: 1.25rem; border-right: 1px solid rgba(13, 59, 102, .15); font-weight: 700; color: var(--fp-dunkelblau); line-height: 1.25; }
.fp-vorteile li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.fp-vorteile i { font-size: 1.7rem; color: var(--fp-gruen); }
.fp-suchleiste { position: relative; z-index: 2; margin-top: -3.25rem; background: #fff; border-radius: calc(var(--fp-radius) + 4px); box-shadow: var(--fp-schatten-hover); padding: .85rem; }
.fp-suchleiste .form-control, .fp-suchleiste .form-select { height: 3.25rem; border-radius: 10px; font-weight: 600; }
/* Feld mit Symbol links (und optional ×-Knopf rechts) */
.fp-feld-mit-icon { position: relative; }
.fp-feld-mit-icon > i { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); color: var(--fp-gruen); font-size: 1.1rem; pointer-events: none; z-index: 1; }
.fp-feld-mit-icon > .form-control, .fp-feld-mit-icon > .form-select { padding-left: 2.7rem; }
.fp-feld-mit-icon > .form-control:has(~ .fp-feld-leeren) { padding-right: 2.7rem; }
.fp-feld-leeren { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: none; color: var(--fp-text-leise); display: grid; place-items: center; }
.fp-feld-leeren:hover, .fp-feld-leeren:focus-visible { background: var(--fp-blau-flaeche); color: var(--fp-dunkelblau); }
.fp-feld-mit-icon > input:placeholder-shown ~ .fp-feld-leeren { display: none; }
/* Filter-Karte */
.fp-filter { background: #fff; border: 1px solid var(--fp-rand); border-radius: var(--fp-radius); box-shadow: var(--fp-schatten); padding: 1.25rem; }
.fp-filter-titel { align-items: center; gap: .5rem; font-size: 1.2rem; font-weight: 900; color: var(--fp-dunkelblau); margin-bottom: 1rem; }
.fp-filter-titel i { font-size: 1.5rem; color: var(--fp-blau); }
.fp-filter fieldset, .fp-filter-feld { margin-bottom: 1.25rem; }
.fp-filter legend, .fp-filter .form-label { font-size: 1rem; font-weight: 800; color: var(--fp-dunkelblau); margin-bottom: .5rem; }
.fp-wahl-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; }
.fp-filter .btn-wahl { border-radius: 2rem; padding: .35rem .6rem; font-size: .9rem; }
.fp-tageszeit { display: inline-flex; align-items: center; gap: .4rem; }
.fp-tageszeit .bi-sunrise, .fp-tageszeit .bi-sun { color: #E39B1B; }
.fp-tageszeit .bi-moon-stars { color: #6B5FC7; }
.fp-filter-zuruecksetzen { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--fp-text); text-decoration: none; }
.fp-filter-zuruecksetzen:hover { color: var(--fp-gruen-dunkel); text-decoration: underline; }
/* Ergebnisse */
.fp-ergebnis-titel { font-size: 1.15rem; font-weight: 800; color: var(--fp-dunkelblau); }
.fp-sortierung .form-select { width: auto; font-weight: 600; }
.fp-sortierung > i { color: var(--fp-dunkelblau); }
.fp-badge-regelmaessig { color: #1B6AA8; box-shadow: 0 0 0 1.5px var(--fp-blau), 0 1px 4px rgba(0, 0, 0, .12); }
.fp-badge-einmalig { color: var(--fp-gruen-dunkel); box-shadow: 0 0 0 1.5px var(--fp-gruen), 0 1px 4px rgba(0, 0, 0, .12); }
.fp-idee { display: flex; align-items: center; gap: 1rem 1.25rem; padding: 1.1rem 1.4rem; border-radius: var(--fp-radius); background: var(--fp-blau-flaeche); border: 1px solid #D8E6F3; color: var(--fp-text); }
.fp-idee strong { color: var(--fp-dunkelblau); font-size: 1.1rem; }
.fp-idee-icon { font-size: 2rem; color: var(--fp-blau); }
@media (max-width: 991.98px) {
  /* das Paar sitzt unten im Bild – Titel erst darunter */
  .fp-kopfbild-voll > .container { padding-top: 178px; }
  .fp-kopfbild-voll::before { background-position: 72% 40%; }
  .fp-kopfbild-suche { padding-bottom: 3rem; }
  .fp-suchleiste { margin-top: -1.75rem; }
}
@media (max-width: 575.98px) {
  .fp-vorteile { display: none; }
  .fp-suchleiste { padding: .6rem; }
  .fp-idee { flex-wrap: wrap; }
  .fp-idee .btn { width: 100%; }
}

/* ---------- Nachrichten (/nachrichten/) ---------- */
/* Desktop: Liste und Gespräch nebeneinander. Mobil: /nachrichten/ nur die Liste, /nachrichten/<chat>/ nur das Gespräch */
.fp-postfach { display: grid; gap: 1rem; }
@media (min-width: 992px) { .fp-postfach { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); align-items: start; } }
@media (max-width: 991.98px) {
  .fp-postfach:not(.fp-postfach-offen) .fp-postfach-gespraech, .fp-postfach-offen .fp-postfach-liste { display: none; }
}
.fp-postfach-liste, .fp-postfach-gespraech, .fp-gespraech-rahmen { background: #fff; border: 1px solid var(--fp-rand); border-radius: calc(var(--fp-radius) + 2px); box-shadow: var(--fp-schatten); min-width: 0; overflow: hidden; }
.fp-postfach-gespraech, .fp-gespraech-rahmen { overflow: visible; }
.fp-postfach-liste { padding: 1.1rem .7rem .7rem; }
.fp-postfach-titel { font-size: 1.3rem; font-weight: 900; color: var(--fp-dunkelblau); padding: 0 .5rem; margin-bottom: .85rem; }
.fp-postfach-filter { display: flex; gap: .4rem; padding: 0 .5rem .8rem; }
.fp-postfach-filter a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; min-height: 2.5rem; padding: .35rem .6rem; border-radius: 2rem; background: #F1F4F7; color: var(--fp-text); font-weight: 700; font-size: .88rem; text-decoration: none; white-space: nowrap; }
.fp-postfach-filter a.aktiv { background: var(--fp-gruen-flaeche); color: var(--fp-gruen-dunkel); }
@media (hover: hover) { .fp-postfach-filter a:not(.aktiv):hover { background: #E7ECF1; } }
.fp-chatliste { list-style: none; margin: 0; padding: 0; }
.fp-chatliste li + li { border-top: 1px solid #EEF2F5; }
.fp-chatliste-eintrag { display: flex; gap: .85rem; align-items: center; padding: .75rem .6rem; border-radius: 12px; color: inherit; text-decoration: none; }
@media (hover: hover) { .fp-chatliste-eintrag:hover { background: #F6F9F7; } }
.fp-chatliste-eintrag.aktiv { background: var(--fp-gruen-flaeche); }
.fp-chatliste .fp-avatar-gross, .fp-gespraech-kopf .fp-avatar-gross { width: 52px; height: 52px; flex-shrink: 0; font-size: 1.35rem; }
.fp-avatar-gruppe { background: var(--fp-blau-flaeche); color: var(--fp-blau); }
.fp-chatliste-inhalt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .05rem; }
.fp-chatliste-zeile { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-width: 0; }
.fp-chatliste-zeile strong { color: var(--fp-dunkelblau); font-weight: 800; }
.fp-chatliste-zeit { flex-shrink: 0; font-size: .8rem; color: var(--fp-text-leise); }
.fp-chatliste-unter { font-size: .84rem; color: var(--fp-text-leise); }
.fp-chatliste-text { min-width: 0; font-size: .88rem; color: var(--fp-text); }
.fp-chatliste-text b { font-weight: 700; }
.fp-postfach-leer { padding: 5rem 1.5rem; text-align: center; }
/* Gespräch: Kopf mit Foto, Namen und Menü (<details>), Verlauf, Eingabe */
.fp-gespraech { display: flex; flex-direction: column; min-width: 0; }
.fp-gespraech-kopf { display: flex; align-items: center; gap: .85rem; padding: .85rem 1.1rem; border-bottom: 1px solid var(--fp-rand); }
.fp-gespraech-name { font-size: 1.15rem; font-weight: 800; color: var(--fp-dunkelblau); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-gespraech-zurueck { flex-shrink: 0; width: 2.5rem; height: 2.5rem; margin-left: -.5rem; display: grid; place-items: center; border-radius: 50%; color: var(--fp-dunkelblau); font-size: 1.3rem; text-decoration: none; }
.fp-menue { position: relative; flex-shrink: 0; }
.fp-menue summary { list-style: none; cursor: pointer; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; color: var(--fp-dunkelblau); font-size: 1.25rem; }
.fp-menue summary::-webkit-details-marker { display: none; }
.fp-menue[open] summary, .fp-menue summary:hover { background: var(--fp-blau-flaeche); }
.fp-menue-liste { position: absolute; right: 0; top: calc(100% + .35rem); z-index: 20; min-width: 13rem; padding: .35rem; background: #fff; border: 1px solid var(--fp-rand); border-radius: 12px; box-shadow: var(--fp-schatten-hover); }
.fp-menue-liste a { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: 8px; color: var(--fp-text); font-weight: 600; text-decoration: none; }
.fp-menue-liste a:hover, .fp-menue-liste a:focus-visible { background: var(--fp-blau-flaeche); }
.fp-chat-eingabe-leiste { display: flex; align-items: flex-end; gap: .6rem; padding: .75rem 1rem; border-top: 1px solid var(--fp-rand); background: #FAFCFB; border-radius: 0 0 calc(var(--fp-radius) + 2px) calc(var(--fp-radius) + 2px); }
.fp-chat-eingabe { min-height: 2.9rem; border-radius: 1.45rem; padding: .6rem 1.1rem; resize: none; }
.fp-chat-senden { flex-shrink: 0; width: 2.9rem; height: 2.9rem; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; }
@media (min-width: 992px) { .fp-postfach .fp-chat { height: clamp(22rem, calc(100vh - 21rem), 40rem); } }
@media (max-width: 991.98px) {
  /* Gespräch füllt den Bildschirm zwischen Kopf und Tab-Leiste */
  .fp-postfach-offen .fp-chat { height: calc(100dvh - 19.25rem); min-height: 14rem; }
  .fp-chat { padding: .85rem; }
  .fp-msg { max-width: 90%; }
}

/* ---------- Aktivität einstellen / bearbeiten ---------- */
.fp-vorteile-zweizeilig li { max-width: 15rem; }
.fp-vorteile small { display: block; font-weight: 500; font-size: .85rem; color: var(--fp-text); }
.fp-einstellen-karte { position: relative; z-index: 2; margin-top: -3.25rem; background: #fff; border-radius: calc(var(--fp-radius) + 4px); box-shadow: var(--fp-schatten-hover); padding: 1.5rem 2rem 1.75rem; }
/* Schrittanzeige mit Nummernkreisen (die Registrierung nutzt .fp-schritte ohne Kreise) */
.fp-schritte-kreise button { display: flex; align-items: center; gap: .65rem; padding: .4rem .25rem .85rem; font-size: 1rem; color: var(--fp-text-leise); }
.fp-schritt-kreis { flex-shrink: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: #A9B4BF; color: #fff; font-weight: 800; transition: background-color 200ms ease; }
.fp-schritte-kreise button.active .fp-schritt-kreis { background: var(--fp-gruen); }
.fp-schritte-kreise button.active { color: var(--fp-gruen-dunkel); }
.fp-schritte-kreise button.erledigt .fp-schritt-kreis { background: var(--fp-hellgruen); color: var(--fp-dunkelblau); }
.fp-pflicht { color: #C0392B; font-weight: 800; }
.fp-einstellen-fuss { display: flex; align-items: center; gap: 1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--fp-rand); }
.fp-pflicht-hinweis { font-size: .9rem; color: var(--fp-text-leise); }
/* Tippkasten */
.fp-tipps { background: linear-gradient(180deg, #E8F5EC 0%, #F1F9F3 100%); border: 1px solid #D3EADB; border-radius: calc(var(--fp-radius) + 4px); padding: 1.5rem 1.4rem .75rem; }
.fp-tipps-titel { display: flex; gap: .6rem; align-items: flex-start; font-size: 1.3rem; font-weight: 900; color: var(--fp-dunkelblau); margin-bottom: 1.25rem; }
.fp-tipps-titel i { color: var(--fp-gruen); font-size: 1.5rem; }
.fp-tipp { display: flex; gap: .9rem; align-items: flex-start; margin-bottom: 1.15rem; }
.fp-tipp-icon { flex-shrink: 0; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: #fff; color: var(--fp-gruen); display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 2px 6px rgba(13, 59, 102, .08); }
.fp-tipp strong { display: block; color: var(--fp-dunkelblau); font-weight: 800; margin: .15rem 0 .2rem; }
.fp-tipp p { font-size: .9rem; color: var(--fp-text); margin: 0; }
@media (min-width: 992px) { .fp-tipps { margin-top: 1.5rem; } }
@media (max-width: 991.98px) { .fp-einstellen-karte { margin-top: -1.75rem; } }
/* Im Tab „Bearbeiten“ steht die Karte unter den Tabs, nicht im Banner */
.fp-einstellen-karte.fp-einstellen-karte-flach { margin-top: 0; }
@media (max-width: 575.98px) {
  .fp-einstellen-karte { padding: 1.1rem 1rem 1.25rem; }
  .fp-schritte-kreise { gap: .25rem; }
  .fp-schritte-kreise button { flex-direction: column; gap: .3rem; font-size: .85rem; text-align: center; }
  .fp-schritt-kreis { width: 2rem; height: 2rem; }
  .fp-einstellen-fuss { flex-wrap: wrap; }
  .fp-pflicht-hinweis { order: 3; width: 100%; }
}

/* Verwaltung › Kennzahlen */
.fp-kennzahl-wert { font-size: 1.9rem; font-weight: 800; color: var(--fp-dunkelblau); line-height: 1.15; margin: .2rem 0 .1rem; font-variant-numeric: tabular-nums; }
.fp-kennzahl-tabelle td, .fp-kennzahl-tabelle th { font-variant-numeric: tabular-nums; }
.fp-balken { display: flex; align-items: center; gap: .5rem; min-width: 7rem; }
.fp-balken-zahl { min-width: 1.75rem; text-align: right; }
.fp-balken-spur { flex: 1; height: .5rem; border-radius: 4px; background: var(--fp-blau-flaeche); overflow: hidden; }
.fp-balken-spur > span { display: block; height: 100%; border-radius: 4px; background: var(--fp-gruen); }
