/* =====================================================================
   Ansichten der Angebotsverwaltung (Bedienkonzept: doku/UX-KONZEPT.md)
   Handy zuerst. Drei Größen: bis 719 px Handy, 720 bis 1099 px mittig (höchstens 720 px), ab 1100 px zwei Spalten bzw. Tabelle.
   Tippflächen mindestens 48 px, Hauptknopf 56 px, Schrift mindestens 16 px. Farben nur über die Variablen aus app.css.
   Lage und Höhe nur über Klassen (kein style-Attribut).
   ===================================================================== */

/* ---------------------------------------------------------------------
   Kopf und Bereich „Angebote“ (die einzige Seite in der Navigation)
   --------------------------------------------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: var(--ink); color: var(--on-dark);
  border-bottom: 3px solid var(--orange);
}
.kopf__innen { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.kopf__marke, .kopf__zurueck { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; color: inherit; text-decoration: none; }
.kopf__logo { height: 34px; width: auto; }
.kopf__zurueck { border: 0; background: none; font: inherit; font-size: 16px; font-weight: 650; cursor: pointer; padding: 0 12px 0 0; }
.kopf__konto { margin-left: auto; min-height: 48px; display: inline-flex; align-items: center; padding: 0 4px; color: var(--on-dark-muted); font-size: 14px; text-decoration: none; }
.kopf__konto:hover { color: var(--on-dark); }
/* Knopf oben rechts (zum Beispiel „Mehr“ auf der Kundenseite), vor „Konto“ */
.kopf__aktion { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 10px; border: 0; background: none; color: var(--on-dark); font: inherit; font-size: 16px; font-weight: 650; cursor: pointer; border-radius: 10px; }
.kopf__aktion:hover { background: rgba(255, 255, 255, .08); }
.kopf__aktion + .kopf__konto { margin-left: 0; }
.kopf__nav a { color: var(--on-dark-muted); text-decoration: none; display: flex; align-items: center; justify-content: center; font-weight: 650; }
.kopf__nav a[aria-current='page'] { color: var(--orange-2); }
.kopf__nav a svg { flex: 0 0 auto; }
.kopf a:focus-visible, .kopf button:focus-visible { box-shadow: 0 0 0 3px rgba(255, 154, 46, .5); }

.haupt { padding: 20px 0 calc(32px + env(safe-area-inset-bottom)); }
.container { max-width: 720px; }
body[data-layout='voll'] .container { max-width: none; }

/* Der eine Bereich steht oben neben dem Zeichen (keine Leiste unten mehr). Auf Kunden- und Kontoseite ersetzt „Zurück“ ihn am Handy. */
.kopf__nav { display: flex; gap: 4px; margin-left: 4px; }
.kopf__nav a { flex-direction: row; gap: 8px; padding: 0 14px; min-height: 48px; border-radius: 10px; font-size: 16px; }
.kopf__nav a:hover { background: rgba(255, 255, 255, .07); }
.kopf__nav a[aria-current='page'] { background: rgba(245, 127, 0, .18); }
@media (max-width: 1099px) {
  .kopf__innen--zurueck .kopf__nav { display: none; }
  .toasts { bottom: calc(16px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1100px) {
  .container { max-width: 1280px; }
  body[data-layout='voll'] .container { max-width: none; }
  .haupt { padding-bottom: 48px; }
  .kopf__nav { margin-left: 12px; }
  .kopf__nav a { padding: 0 16px; }
}

.abstand-oben { margin-top: 16px; }

/* ---------------------------------------------------------------------
   Knöpfe: Maße und Zusätze (Grundform in app.css)
   --------------------------------------------------------------------- */
.btn { min-height: 48px; font-size: 16px; padding: 10px 18px; }
.btn--klein { min-height: 48px; font-size: 15px; }
.btn--gross { min-height: 56px; font-size: 17px; padding: 12px 24px; border-radius: 14px; }
.btn--text { border: 0; background: none; color: var(--link); padding: 10px 8px; font-weight: 650; }
.btn--text:hover:not(:disabled) { background: var(--bg-2); border-color: transparent; }
.btn--aus { opacity: .5; cursor: not-allowed; border-style: dashed; }
.btn--gefahr { --b-fg: var(--err); }
.btn svg { flex: 0 0 auto; }
.toast__aktion { margin-left: auto; border: 0; background: none; color: var(--orange-2); font: inherit; font-weight: 750; min-height: 40px; padding: 0 8px; cursor: pointer; }
.toast { align-items: center; }

.knopf-hinweis { display: flex; flex-direction: column; gap: 6px; }
.knopf-hinweis__text { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.4; }
.hinweis-zeile { margin: 0; font-size: 15px; color: var(--muted); }
.rot { color: var(--err); }
.quelle { display: inline-block; border: 1px solid var(--line-2); border-radius: 99px; padding: 1px 9px; color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }

/* ---------------------------------------------------------------------
   Bereiche: Heute, Kunden, Termine (links Liste, rechts Kundenseite ab 1100 px)
   --------------------------------------------------------------------- */
.bereich__liste { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bereich__liste > h1, .kunden-kopf h1, .kopfzeile h1 { font-size: 30px; }
.bereich__datum { margin: -10px 0 0; }
.bereich__satz { margin: 0; font-size: 17px; font-weight: 650; }
.bereich__unter { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.bereich__mehr { margin: 6px 0 0; text-align: center; }
.detail-spalte { display: none; }
@media (min-width: 1100px) {
  .bereich { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 36px; align-items: start; }
  .detail-spalte { display: block; position: sticky; top: 76px; max-height: calc(100dvh - 96px); overflow-y: auto; padding-right: 4px; }
  .bereich__liste > h1, .kunden-kopf h1 { font-size: 28px; }
}

.link-zeile { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; color: var(--link); font-weight: 650; text-decoration: none; }
.hinweis-alt { background: var(--warn-bg); color: var(--warn); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 600; }

/* Karte „Als Nächstes“ */
.naechste { background: var(--orange-tint); border: 1px solid var(--orange); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.kasten__titel { margin: 0; font-size: 12.5px; font-weight: 750; letter-spacing: .09em; color: var(--muted); }
.naechste__text { display: flex; flex-direction: column; gap: 3px; color: inherit; text-decoration: none; }
.naechste__kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.naechste__name { font-size: 20px; line-height: 1.25; overflow-wrap: anywhere; }
.naechste__ort { color: var(--muted); font-size: 16px; }
.naechste__grund { font-size: 16px; }

/* Zeilen: die ganze Zeile ist der Link, rechts „›“, keine Knöpfe in der Zeile */
.zeilen { display: flex; flex-direction: column; }
.zeile-link { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px 8px 12px 14px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.zeile-link:hover { background: var(--card-2); }
.zeile-link svg { flex: 0 0 auto; color: var(--subtle); }
.zeile-link__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.zeile-link__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.zeile-link__kopf strong { font-size: 17px; overflow-wrap: anywhere; }
.zeile-link__neben { color: var(--muted); font-size: 16px; }
.zeile-link__grund { font-size: 15.5px; color: var(--text); overflow-wrap: anywhere; display: flex; align-items: center; gap: 8px; }
.zeile-link__grund--rot { color: var(--err); font-weight: 600; }
.zeile-link__grund--grau { color: var(--muted); }
.zeile-link__plaketten { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.zeile-link--aktiv { background: var(--orange-tint); box-shadow: inset 4px 0 0 var(--orange); }
.punkt { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; background: var(--subtle); }
.punkt--rot { background: var(--err); }
.erledigt { opacity: .85; }
.ampel { font-size: 15px; }
.ampel--grau { color: var(--muted); } .ampel--grau::before { background: var(--subtle); }
.ampel--gelb { color: var(--warn); }

/* Kunden */
.kunden-kopf { display: flex; flex-direction: column; gap: 12px; }
.suchfeld { position: relative; display: flex; align-items: center; }
.suchfeld > svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.eingabe--suche { padding-left: 44px; min-height: 56px; font-size: 17px; border-radius: 14px; border-width: 2px; }
.eingabe--suche:focus { border-color: var(--orange); }
.zeigen { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.zeigen .auswahl { flex: 1 1 auto; }
.kunden-ergebnis { display: flex; flex-direction: column; gap: 12px; }

/* Termine */
.kopfzeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tag-gruppe__titel { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 10px 0 2px; }

/* Platzhalter beim Laden (Form der späteren Zeilen) */
.platzhalter { display: flex; flex-direction: column; gap: 14px; }
.platzhalter__zeile { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.platzhalter__titel, .platzhalter__text, .platzhalter__klein, .platzhalter__gross, .platzhalter__knopf { display: block; height: 18px; }
.platzhalter__titel { width: 55%; height: 20px; }
.platzhalter__text { width: 80%; }
.platzhalter__klein { width: 30%; height: 12px; }
.platzhalter__gross { width: 60%; height: 26px; }
.platzhalter__knopf { width: 100%; height: 56px; border-radius: 14px; }
.platzhalter--karte { background: var(--orange-tint); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 16px; }

.leer { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 28px 16px; }
.leer .btn { margin-top: 6px; }

/* ---------------------------------------------------------------------
   Kundenseite
   --------------------------------------------------------------------- */
.kunde { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.kunde__spalte { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
@media (min-width: 1100px) {
  .kunde--direkt { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; }
}
.kunde-kopf { display: flex; flex-direction: column; gap: 6px; position: relative; }
.kunde-kopf__mehr { position: absolute; top: -6px; right: -8px; }
.kunde-name { font-size: 26px; font-weight: 780; overflow-wrap: anywhere; }
.kunde-firma { margin: 0; }
.kunde-ort { margin: 0; font-size: 17px; }
.kunde-plaketten { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kunde-zeile { margin: 0; font-size: 15px; }

.kasten { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-1); }
.kasten--problem { border-color: var(--err); border-left-color: var(--err); background: var(--err-bg); }
.kasten__satz { margin: 0; font-size: 17px; line-height: 1.45; }

.leiste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.leiste--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.leiste__knopf { flex-direction: column; min-height: 72px; gap: 4px; padding: 10px 6px; font-size: 14.5px; line-height: 1.2; text-align: center; }
.leiste__hinweis { margin: 6px 0 0; font-size: 14px; }
.leiste-block { display: flex; flex-direction: column; }

.abschnitt { display: flex; flex-direction: column; gap: 8px; }
.abschnitt h2 { font-size: 20px; margin-bottom: 2px; }
.abschnitt h3 { font-size: 16px; }
.worum__zeile { margin: 0; font-size: 17px; }
.ki { margin-top: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ki__text { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: var(--text); }
.ki__details { align-self: stretch; }
.ki__details > summary { display: flex; align-items: center; min-height: 48px; cursor: pointer; font-weight: 650; color: var(--link); }
.ki__details[open] > summary { display: none; }
.ki:has(.ki__details[open]) .ki__kurz { display: none; }

.erinnerung-zeile { display: flex; align-items: center; gap: 14px; min-height: 56px; width: 100%; cursor: pointer; }
.erinnerung-zeile input { width: 26px; height: 26px; accent-color: var(--orange); flex: 0 0 auto; }
.liste__zeile--haken[aria-busy='true'] { opacity: .65; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste > li + li { border-top: 1px solid var(--line); }
.liste__zeile { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; min-height: 56px; }
.liste__zeile--aktion { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
.liste__link { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.liste__haupt { font-weight: 700; overflow-wrap: anywhere; }
.liste__neben { font-size: 15px; color: var(--muted); }
.liste__neben.rot { color: var(--err); font-weight: 600; }
.zeile-link--pdf { min-height: 56px; border: 1px solid var(--line); border-radius: 12px; margin-top: 4px; }

.angebot { display: flex; flex-direction: column; gap: 4px; }
.angebot h3 { font-size: 18px; }
.angebot__zeile { margin: 0; }
.angebot--frueher { padding: 12px 0; border-top: 1px solid var(--line); }
/* Kunde mit mehreren Angeboten: ein Abschnitt je Karte (Teilobjekt als Überschrift) */
.vorgang { padding-top: 16px; border-top: 2px solid var(--line-2); gap: 12px; }
.vorgang__titel { font-size: 22px; }
.vorgang__mehr { margin: 0; }
.frueher { margin-top: 6px; }
.frueher > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; font-weight: 650; color: var(--muted); list-style: none; }
.frueher > summary::-webkit-details-marker { display: none; }
.frueher[open] > summary svg { transform: rotate(180deg); }
.pdf-block { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.pdf-ort:empty { display: none; }
.pdf-ort { display: flex; }

/* Verlauf: ein Satz je Eintrag, nach Tagen */
.verlauf { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.verlauf__gruppe { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.verlauf__gruppe h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 8px; }
.verlauf__eintrag { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.verlauf__satz { font-size: 16px; overflow-wrap: anywhere; }
.verlauf__stand { font-size: 14.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.verlauf__eintrag--ok .verlauf__stand { color: var(--ok); }
.verlauf__eintrag--fehler .verlauf__stand, .verlauf__eintrag--abgelehnt .verlauf__stand { color: var(--err); }
.verlauf__haken { color: var(--ok); display: inline-flex; }
.verlauf__text { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.verlauf__text summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-size: 16px; color: var(--muted); }
.verlauf__text summary:hover { color: var(--text); }
.verlauf__text[open] summary { color: var(--text); }
.verlauf__text p { margin: 6px 0 0; }

/* Reiter am Rechner (Eintragen): der Reiter nennt schon das Formular, die Überschrift des Blatts entfällt */
.reiter-inhalt .blatt-seite__titel { display: none; }
.reiter { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.reiter__tab { border: 0; background: none; font: inherit; font-size: 16px; font-weight: 650; color: var(--muted); padding: 12px 16px; border-bottom: 3px solid transparent; margin-bottom: -1px; cursor: pointer; min-height: 48px; }
.reiter__tab[aria-selected='true'] { color: var(--text); border-bottom-color: var(--orange); }
.eintragen-kasten { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }

/* ---------------------------------------------------------------------
   Auswahl (Ergebnis, Tag, Uhrzeit, Wann): zählt nicht als Knopf
   --------------------------------------------------------------------- */
.auswahl-gruppe { display: flex; flex-wrap: wrap; gap: 8px; }
.auswahl-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 8px 16px;
  border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--text); font: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
}
.auswahl-knopf:hover { border-color: var(--subtle); }
.auswahl-knopf[aria-checked='true'] { border: 2px solid var(--orange); background: var(--orange-tint); font-weight: 750; padding: 7px 15px; }
.auswahl-knopf:focus-visible { box-shadow: var(--focus); outline: none; }
.auswahl-gruppe--gross { flex-direction: column; flex-wrap: nowrap; }
.auswahl-gruppe--gross .auswahl-knopf { min-height: 56px; justify-content: flex-start; padding-left: 18px; font-size: 17px; }
.auswahl-gruppe--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.auswahl-gruppe--scroll .auswahl-knopf { flex: 0 0 auto; scroll-snap-align: start; }
.auswahl-gruppe--raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.auswahl-gruppe--raster .auswahl-knopf { padding-left: 4px; padding-right: 4px; min-width: 0; text-align: center; }

/* ---------------------------------------------------------------------
   Blatt und Dialog
   --------------------------------------------------------------------- */
dialog.dialog { border: 0; padding: 0; border-radius: var(--radius-l); background: var(--card); color: var(--text); width: min(480px, calc(100vw - 32px)); box-shadow: var(--shadow-2); }
dialog.dialog::backdrop { background: rgba(14, 11, 10, .55); backdrop-filter: blur(2px); }
.dialog__innen { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.dialog__aktionen { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }
.dialog__innen h2 { font-size: 20px; }

dialog.dialog--blatt {
  width: 100%; max-width: none; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 90dvh; overflow: hidden;
  animation: blatt-hoch .22s ease-out;
}
dialog.dialog--blatt[open] { display: flex; flex-direction: column; }
@keyframes blatt-hoch { from { transform: translateY(40px); opacity: .6; } }
.blatt__innen { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; max-height: 90dvh; transition: transform .12s; }
.dialog--zieht .blatt__innen { transform: translateY(18px); opacity: .92; }
.blatt__griff { flex: 0 0 auto; display: flex; justify-content: center; padding: 10px 0 6px; touch-action: none; cursor: grab; }
.blatt__griff span { width: 44px; height: 5px; border-radius: 99px; background: var(--line-2); }
.blatt__zurueckort:empty { display: none; }
.blatt__zurueck { display: inline-flex; align-items: center; gap: 4px; min-height: 48px; margin: 0 12px; padding: 0 8px; border: 0; background: none; color: var(--link); font: inherit; font-size: 16px; font-weight: 650; cursor: pointer; }
.blatt__inhalt { overflow-y: auto; flex: 1 1 auto; min-height: 0; padding: 0 20px env(safe-area-inset-bottom); overscroll-behavior: contain; }
/* Blatt „Mehr“ am Handy: so hoch wie sein Inhalt (höchstens 90 dvh wie jedes Blatt), damit alle Zeilen ohne Scrollen sichtbar sind */

@media (min-width: 720px) {
  dialog.dialog--blatt { width: 480px; margin: auto; border-radius: 22px; max-height: 88dvh; animation: none; }
  dialog.dialog--blatt-angebot { width: 520px; }
  dialog.dialog--blatt-mehr { width: 400px; max-height: 80dvh; }
  dialog.dialog--blatt-mehr .blatt__innen { max-height: 80dvh; }
  .blatt__griff { display: none; }
  .blatt__inhalt { padding-top: 12px; }
}

.blatt-seite { display: flex; flex-direction: column; gap: 14px; padding-bottom: 4px; }
.blatt-seite__titel { font-size: 21px; line-height: 1.25; overflow-wrap: anywhere; }
.blatt-seite__titel:focus { outline: none; box-shadow: none; }
.blatt-seite__unter { margin: -8px 0 0; }
.blatt__meldung:empty { display: none; }
.blatt__nochmal { margin: 8px 0 0; }
.blatt__fuss {
  position: sticky; bottom: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: var(--card); padding: 12px 0 calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); margin-top: 4px;
}
.blatt__haupt { min-height: 56px; padding: 12px 18px; font-size: 16.5px; }
.blatt__fuss .btn { padding-left: 14px; padding-right: 14px; font-size: 16px; }
.blatt__fuss .blatt__haupt { padding-left: 18px; padding-right: 18px; }
.blatt__haupt-gruppe { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.zusammen-zeile { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--orange-tint); font-size: 16px; font-weight: 700; }
.blatt__extras { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.blatt__extras:empty { display: none; }
.blatt__ausweg { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.blatt__ausweg p { margin: -4px 0 0 8px; font-size: 14.5px; }
.blatt__frage { display: flex; flex-direction: column; gap: 16px; padding: 8px 0 20px; }
.blatt__knoepfe { display: flex; flex-direction: column; gap: 8px; }
.grosse-nummer { margin: 0; font-size: 30px; font-weight: 780; letter-spacing: .01em; }

.frage { display: flex; flex-direction: column; gap: 8px; }
.frage__label { margin: 0; font-weight: 700; font-size: 16px; }
.frage__zeile { display: flex; gap: 8px; }
.frage__zeile > * { flex: 1 1 0; min-width: 0; }
.fuer-zeile { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.konkret { margin: 0; font-size: 15.5px; }
.hand-beginn { margin: 0; padding: 10px 12px; border-radius: var(--radius); background: var(--bg-2); color: var(--muted); font-size: 15px; line-height: 1.45; }
.hand-beginn--da { background: var(--navy-tint); color: var(--text); font-weight: 650; }
.haken-zeile { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 16px; cursor: pointer; }
.haken-zeile input { width: 24px; height: 24px; accent-color: var(--orange); flex: 0 0 auto; }
.kv { margin: 0; font-size: 17px; overflow-wrap: anywhere; }
.textfeld--gross { min-height: 140px; }
.wahl-liste, .wahl-block { display: flex; flex-direction: column; gap: 6px; }
.wahl-zeile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 56px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); color: var(--text); font: inherit; font-size: 16px; text-align: left; cursor: pointer; }
.wahl-zeile:hover { border-color: var(--subtle); }

/* Mehr */
.mehr-liste { display: flex; flex-direction: column; gap: 6px; }
.mehr-gruppe { display: flex; flex-direction: column; gap: 6px; }
.mehr-gruppe + .mehr-gruppe { margin-top: 8px; }
.mehr-gruppe__titel { font-size: 12.5px; letter-spacing: .09em; color: var(--muted); font-weight: 750; margin: 6px 0 0; }
.mehr-zeile { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 8px 10px; border: 0; border-radius: 12px; background: none; color: var(--text); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.mehr-zeile:hover { background: var(--bg-2); }
.mehr-zeile svg { flex: 0 0 auto; color: var(--muted); }
.mehr-zeile__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mehr-zeile__text strong { font-size: 16.5px; }
.mehr-zeile__text small { font-size: 14px; color: var(--muted); line-height: 1.35; }
.mehr-zeile--rot { color: var(--err); margin-top: 16px; }
.mehr-zeile--rot svg, .mehr-zeile--rot small { color: var(--err); }
.mehr-zeile[aria-busy='true'] { opacity: .6; }

/* Leiste „Anruf festhalten?“ (Handy: Anruf wurde gewählt, die Seite blieb sichtbar) */
.festhalten {
  position: fixed; left: 12px; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: var(--ink); color: var(--on-dark); border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow-2);
}
.festhalten__text { flex: 1 1 100%; font-weight: 650; }
.festhalten .btn--geist { color: var(--on-dark); border-color: rgba(255, 255, 255, .3); }
.festhalten .btn--text { color: var(--on-dark-muted); }
@media (min-width: 1100px) { .festhalten { left: auto; right: 24px; bottom: 24px; width: 420px; } }

/* ---------------------------------------------------------------------
   Konto
   --------------------------------------------------------------------- */
.konto { max-width: 560px; margin: 0 auto; }
.konto__name { margin: 0; font-size: 22px; font-weight: 750; }
.konto__ich p { margin: 0; }
.konto__auf > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; cursor: pointer; font-weight: 650; list-style: none; }
.konto__auf > summary::-webkit-details-marker { display: none; }
.konto__auf[open] > summary svg { transform: rotate(180deg); }
.konto__infos p { margin: 0; }
.schalter-zeile { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 16px; cursor: pointer; }
.schalter-zeile input { width: 24px; height: 24px; accent-color: var(--orange); }

/* ---------------------------------------------------------------------
   Angebot erstellen
   --------------------------------------------------------------------- */
.angebot-seite { display: flex; flex-direction: column; gap: 20px; }
.angebot-seite__form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.angebot-seite__rechts { display: none; }
.angebot-seite__aendern { margin: 0; }
@media (min-width: 1100px) {
  .angebot-seite { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; }
  .angebot-seite__rechts { display: block; position: sticky; top: 76px; }
}
.pruef { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 600; }
.pruef .spinner { width: 20px; height: 20px; border-width: 3px; }
.pruef--ok { color: var(--ok); }
.pruef-ort:empty, .meldung-ort:empty { display: none; }
.fehlt-block h2 { font-size: 20px; }
.fehlt-liste { margin: 0; padding-left: 20px; color: var(--err); }
.da-block { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 0 14px; }
.da-block > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 10px 0; cursor: pointer; list-style: none; }
.da-block > summary::-webkit-details-marker { display: none; }
.da-block[open] > summary svg { transform: rotate(180deg); }
.da-block[open] { padding-bottom: 14px; display: flex; flex-direction: column; gap: 14px; }
.da-block__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.da-block__zeile { font-size: 15px; font-weight: 400; overflow-wrap: anywhere; }
.feld-zeile { display: flex; flex-direction: column; gap: 6px; }
.feld-zeile__kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.feld-zeile .feld__label { font-size: 16px; }
.fehlt-tag { color: var(--err); font-weight: 700; font-size: 14px; }
.feld-zeile--fehlt .eingabe { border-color: var(--err); }
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); align-self: flex-start; }
.stepper__knopf { width: 56px; height: 56px; border: 0; background: none; font: inherit; font-size: 26px; font-weight: 600; color: var(--text); cursor: pointer; border-radius: 12px; }
.stepper__knopf:hover { background: var(--bg-2); }
.stepper__wert { min-width: 48px; text-align: center; font-size: 22px; font-weight: 750; }
.aenderung { margin: 0; font-size: 15px; }
.erstellen-leiste {
  position: sticky; bottom: env(safe-area-inset-bottom); z-index: 5; display: flex; flex-direction: column; gap: 6px;
  background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(6px); padding: 12px 0 10px; border-top: 1px solid var(--line);
}
@media (min-width: 1100px) { .erstellen-leiste { bottom: 0; } }
.fertig-block { display: flex; flex-direction: column; gap: 12px; }
.fertig-block__knoepfe { display: flex; flex-direction: column; gap: 8px; }
.zusammen__zeile { margin: 0; font-size: 16px; }

/* ---------------------------------------------------------------------
   Kleine Hilfen
   --------------------------------------------------------------------- */
.stapel--eng:empty { display: none; }
.muted { color: var(--muted); }
