/* handeln.de Corporate Design – Werte aus docgen theme.py (wissen/tools/handeln-docgen) */
@font-face { font-family: "Source Sans Pro"; font-weight: 400; font-display: swap; src: url(../fonts/SourceSansPro-400.woff2) format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-weight: 600; font-display: swap; src: url(../fonts/SourceSansPro-600.woff2) format("woff2"); }
@font-face { font-family: "Source Sans Pro"; font-weight: 700; font-display: swap; src: url(../fonts/SourceSansPro-700.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url(../fonts/Montserrat-600.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url(../fonts/Montserrat-700.woff2) format("woff2"); }

:root {
  --hd-blue: #3F67A8;        /* Primärblau */
  --hd-dark: #222222;        /* Dunkel / Text */
  --hd-accent: #42B1F9;      /* Akzent */
  --hd-light: #93D0F9;       /* Hellblau */
  --hd-grey: #6B7787;        /* Sekundärtext */
  --hd-line: #DCE6F0;        /* Linien */
  --hd-tint: #E6EEF8;        /* Flächen */
  --hd-gradient: linear-gradient(160deg, var(--hd-blue) 0%, var(--hd-dark) 100%);

  --ink: var(--hd-dark);
  --muted: var(--hd-grey);
  --line: var(--hd-line);
  --bg: #F4F7FB;
  --card: #FFFFFF;
  --red: #B3372F;
  --radius: 10px;
  --font: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Montserrat", var(--font);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.4; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 700; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
/* Einheitliche Form für alle Buttons im Portal: kleiner Radius 6px (auch .tool im Projektplan). Farbe über die Varianten. */
.btn { font: inherit; cursor: pointer; border-radius: 6px; padding: 8px 16px; border: 1px solid transparent; }
.btn-primary { background: var(--hd-blue); color: #fff; font-weight: 600; }
.btn-primary:hover { background: #33568f; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.26); }
.btn-pill { background: var(--hd-accent); color: #fff; padding: 8px 18px; font-weight: 600; }
.btn-pill:hover { background: #2a9fe9; }
.btn-outline { background: var(--card); color: var(--hd-blue); border-color: var(--hd-blue); font-weight: 600; text-decoration: none; display: inline-block; line-height: 1.2; }
.btn-outline:hover { background: var(--hd-tint); }
/* Klein = exakt die Maße von .tool (Werkzeugleiste Projektplan) */
.btn-sm { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; font-size: 12px; line-height: 1; }
/* Umschalter aus mehreren .btn .btn-sm (Ressourcenplanung: Tage|KW, Wochenplanung: Woche|Monat); aktiv = .aktiv */
.segment { display: inline-flex; }
.segment .btn { background: var(--card); color: var(--hd-blue); border-color: var(--hd-blue); font-weight: 600; border-radius: 0; }
.segment .btn + .btn { border-left-width: 0; }
.segment .btn:first-child { border-radius: 6px 0 0 6px; }
.segment .btn:last-child { border-radius: 0 6px 6px 0; }
.segment .btn:hover { background: var(--hd-tint); }
.segment .btn.aktiv { background: var(--hd-blue); color: #fff; }

/* ---------- App-Header (wie Projektplan-Vorlage) ---------- */
.appbar {
  display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding: 0 16px;
  background: linear-gradient(90deg, var(--hd-dark) 0%, var(--hd-blue) 100%);
  border-bottom: 3px solid var(--hd-accent);
  color: #fff;
}
.brand { display: flex; align-items: center; }
.brand img { height: 29px; width: auto; display: block; }
.appbar-sep { width: 1px; height: 28px; background: rgba(255,255,255,.35); }

.tabs { display: flex; padding: 3px; border-radius: 8px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22); }
.tab { padding: 6px 14px; border-radius: 6px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: #fff; text-decoration: none; white-space: nowrap; }
.tab.is-active { background: #fff; color: var(--hd-blue); }
.tab.is-disabled { opacity: .55; cursor: default; }

.env-tag { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: var(--hd-light); color: var(--hd-dark); }

/* Kundenbereich (Kundenzugang): gleiche Kopfzeile, eigene Startseite – Karten wie die Login-Karte */
.kunde-start { max-width: 760px; }
.kunde-start .card { background: var(--card); border-radius: 14px; border-top: 4px solid var(--hd-accent); padding: 24px 28px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.kunde-start .card h2 { margin: 0 0 8px; font-size: 18px; color: var(--hd-dark); }
.kunde-start .card p { margin: 0 0 12px; font-size: 14px; }
.kunde-start .card ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.6; }

.appbar-user { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.user-meta { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.user-name { font-weight: 600; }
.user-sub { font-size: 12px; color: var(--hd-light); }

/* ---------- Unterzeile ---------- */
.subbar { display: flex; align-items: center; gap: 24px; padding: 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.subbar h1 { font-size: 20px; color: var(--hd-blue); }
.subbar-title { display: flex; align-items: center; gap: 12px; }
.subbar p { margin: 2px 0 0; font-size: 14px; }
.subbar-right { margin-left: auto !important; text-align: right; font-size: 13px !important; }
.subbar-right strong { color: var(--hd-blue); }

.content { padding: 16px; }
.empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); }

/* ---------- Login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 16px;
  background: var(--hd-gradient); }
.login-card { width: 100%; max-width: 380px; background: var(--card); border-radius: 14px; padding: 28px;
  box-shadow: 0 20px 50px rgba(20, 35, 80, .25); display: flex; flex-direction: column; gap: 14px; }
.login-logo { width: 200px; height: auto; margin-bottom: 8px; }
.login-card h1 { font-size: 20px; color: var(--hd-dark); }
.login-card { border-top: 4px solid var(--hd-accent); }
.login-hint { margin: -6px 0 0; color: var(--muted); font-size: 13px; }
.login-card label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.login-card input, .login-card select { font: inherit; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.login-card input:focus, .login-card select:focus { outline: 2px solid var(--hd-light); border-color: var(--hd-accent); }
.login-card .login-remember { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 600; color: var(--ink); cursor: pointer; }
.login-card .login-remember input { width: 16px; height: 16px; margin: 1px 0 0; padding: 0; accent-color: var(--hd-blue, #3F67A8); flex: none; }
.login-card .login-remember small { font-weight: 400; color: var(--muted); }
.login-card .btn { margin-top: 4px; padding: 11px; }
.login-env { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }

.msg { padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.msg-error { background: #fbe9e7; color: var(--red); }
.msg-info { background: var(--hd-tint); color: var(--hd-blue); }

/* Fünf Reiter (seit Aufgabencockpit 009972): bei mittlerer Breite enger, notfalls scrollt nur die Reiterleiste, nie die Seite */
.tabs { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 1180px) { .tab { padding: 6px 9px; font-size: 12px; } .appbar { gap: 12px; } .appbar-sep { display: none; } }
@media (max-width: 1100px) { .user-meta { display: none; } }

/* ---------- Schmal ---------- */
@media (max-width: 760px) {
  .appbar { flex-wrap: wrap; padding: 10px 16px; gap: 10px; }
  .appbar-sep, .user-meta { display: none; }
  .tabs { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
}

/* Projektliste (SD 009887 US1) */
.projfilter { margin-left: auto; }
.projfilter input { font: inherit; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; min-width: 280px; }
.projlist { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.projlist th { text-align: left; font-family: var(--font-head); font-size: 12px; color: #fff; background: var(--hd-blue); padding: 8px 12px; }
.projlist td { padding: 8px 12px; border-top: 1px solid var(--line); font-size: 14px; }
.projlist tr:hover td { background: var(--hd-tint); }
.projlist tbody tr { cursor: pointer; }
.projlist a { color: var(--hd-blue); font-weight: 600; text-decoration: none; }
.projlist a:hover { text-decoration: underline; }
.tag-plan { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--hd-tint); color: var(--hd-blue); }
/* Handy: je Projekt eine Karte statt sechs Spalten – Nummer + Plan, darunter Beschreibung, Kunde, Projektmanager; die Seite scrollt nie waagerecht */
@media (max-width: 640px) {
  .projfilter input { min-width: 0; width: 100%; }
  .projlist, .projlist tbody { display: block; }
  .projlist thead { display: none; }
  .projlist tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 12px; border-top: 1px solid var(--line); }
  .projlist tr[hidden] { display: none; }
  .projlist tbody tr:first-child { border-top: 0; }
  .projlist td { display: block; padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
  .projlist td:nth-child(1) { grid-area: 1 / 1; }
  .projlist td:nth-child(6) { grid-area: 1 / 2; font-size: 12px; text-align: right; }
  .projlist td:nth-child(2) { grid-column: 1 / -1; font-weight: 600; }
  .projlist td:nth-child(3) { display: none; }
  .projlist td:nth-child(4), .projlist td:nth-child(5) { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
  .projlist td:nth-child(4):has(> .muted:only-child) { display: none; }
  .projlist td:nth-child(5)::before { content: "Projektmanager: "; }
  .projlist tr:hover { background: var(--hd-tint); }
}
.projlist .kd-nr { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Schreib-Queue: Uhren-Icon + Sidepanel "Änderungen" (SD 009886 US8) ---------- */
.appbar-queue { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 6px 9px; line-height: 0; }
.appbar-queue svg { display: block; }
.appbar-queue.is-sending svg { animation: qp-pulse 1.2s ease-in-out infinite; }
@keyframes qp-pulse { 50% { opacity: .45; } }
.queue-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--hd-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px var(--hd-blue); }
.queue-badge.is-failed { background: var(--red); }
.queue-badge[hidden] { display: none; }

.qp-backdrop { position: fixed; inset: 0; z-index: 990; background: rgba(20, 35, 60, .25); }
.qp { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1000; width: min(420px, 100vw);
  display: flex; flex-direction: column; background: var(--card); color: var(--ink);
  border-left: 3px solid var(--hd-accent); box-shadow: -12px 0 32px rgba(20, 35, 80, .22);
  font-family: var(--font); font-size: 14px; line-height: 1.4; text-align: left; }
.qp[hidden], .qp-backdrop[hidden] { display: none; }
.qp-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff;
  background: linear-gradient(90deg, var(--hd-dark) 0%, var(--hd-blue) 100%); }
.qp-head h2 { font-size: 16px; color: #fff; }
.qp-x { margin-left: auto; font: inherit; font-size: 22px; line-height: 1; color: #fff; background: none; border: 0; cursor: pointer; padding: 2px 6px; border-radius: 6px; }
.qp-x:hover { background: rgba(255,255,255,.18); }
.qp-summary { margin: 0; padding: 8px 16px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.qp-summary:empty { display: none; }
.qp-list { list-style: none; margin: 0; padding: 8px 12px; overflow-y: auto; flex: 1; }
.qp-item { padding: 10px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-left: 4px solid var(--hd-line); border-radius: 8px; background: #fff; }
.qp-item.is-failed  { border-left-color: var(--red); background: #fdf5f4; }
.qp-item.is-sending { border-left-color: var(--hd-accent); }
.qp-item.is-pending { border-left-color: #E0A100; }
.qp-item.is-done    { border-left-color: #2E8B57; opacity: .85; }
.qp-item-head { display: flex; align-items: center; gap: 8px; }
.qp-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .02em; }
.qp-status.st-pending { background: #FFF3CC; color: #7A5A00; }
.qp-status.st-sending { background: var(--hd-tint); color: var(--hd-blue); }
.qp-status.st-done    { background: #E3F4EA; color: #1F6B40; }
.qp-status.st-failed  { background: #fbe9e7; color: var(--red); }
.qp-time { margin-left: auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.qp-label { margin-top: 6px; font-weight: 600; word-break: break-word; }
.qp-meta { margin-top: 2px; font-size: 12px; color: var(--muted); }
.qp-error { margin-top: 6px; font-size: 13px; color: var(--red); word-break: break-word; }
.qp-hinweis { margin-top: 6px; font-size: 13px; color: #7A5A00; word-break: break-word; }
.qp-konflikt { margin-top: 6px; font-size: 13px; color: #833C00; word-break: break-word; }
.qp-item.is-entwurf.konflikt { border-left-color: #C2703A; background: #FDF3EC; }
.qp-gruende { margin: 4px 0 0; padding-left: 18px; }
.qp-gruende li { margin-top: 2px; }
.qp-actions { display: flex; gap: 8px; margin-top: 8px; }
.qp-discard { background: none; color: var(--muted); border-color: var(--line); }
.qp-discard:hover { color: var(--red); border-color: var(--red); }
.qp-empty { padding: 32px 12px; text-align: center; color: var(--muted); }
.qp-foot { padding: 10px 16px; border-top: 1px solid var(--line); text-align: right; }
.qp-foot [hidden] { display: none; }
/* Entwürfe: im Modul geändert, noch nicht gesendet */
.qp-group { margin-bottom: 12px; }
.qp-group-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 4px 2px 8px; }
.qp-group-title { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--hd-blue); margin-right: auto; }
.qp-sublist { list-style: none; margin: 0; padding: 0; }
.qp-item.is-entwurf { border-left-color: var(--hd-accent); border-style: dashed solid dashed solid; }
.qp-status.st-entwurf { background: #E8F5FE; color: #1A6FA8; }
.qp-link { color: var(--hd-blue); font-weight: 600; }
.qp-ok { margin: 4px 0 8px; }
.qp-ok summary { cursor: pointer; padding: 6px 2px; font-size: 13px; color: #1F6B40; }
.qp-ok .qp-sublist { margin-top: 4px; }

/* Anwesenheit (SD 009886 US11): Kreise mit Initialen der anderen Benutzer im selben Projekt */
.presence { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.presence[hidden] { display: none; }
.presence-kreis {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  color: #fff; font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .02em;
  cursor: default; user-select: none; box-shadow: 0 0 0 2px #fff;
}
.presence-kreis.is-inaktiv { opacity: .5; }
.presence-mehr { background: var(--hd-tint); color: var(--hd-blue); }
@media print { .presence { display: none !important; } }

/* Formatierter Text wie im X360-Editor (public/assets/js/richtext.js): Leiste + Feld in einem Rahmen wie die Eingabefelder */
.rt { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.rt:focus-within { border-color: var(--hd-blue); box-shadow: 0 0 0 2px rgba(63, 103, 168, .18); }
.rt-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 4px 6px; border-bottom: 1px solid var(--line); background: var(--bg); border-radius: 6px 6px 0 0; }
.rt-block { font: inherit; font-size: 13px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); height: 30px; }
.rt-trenner { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.rt-gruppe { position: relative; display: inline-flex; }
.rt-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 30px; padding: 0 6px; border: 1px solid transparent; border-radius: 6px; background: none; color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.rt-btn:hover { background: var(--hd-tint); }
.rt-btn[aria-pressed="true"] { background: var(--hd-tint); border-color: var(--hd-light); color: var(--hd-blue); }
.rt-btn.rt-pfeil { min-width: 16px; padding: 0 3px; color: var(--muted); }
.rt-a { font-weight: 700; border-bottom: 3px solid; line-height: 1; padding: 0 2px; }
.rt-menue { position: absolute; top: calc(100% + 2px); left: 0; z-index: 20; display: flex; flex-direction: column; min-width: 150px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(20, 35, 80, .18); }
.rt-menue[hidden] { display: none; }
.rt-menue.rt-rechts { left: auto; right: 0; }
.rt-menue > button { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 0; border-radius: 6px; background: none; font: inherit; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer; }
.rt-menue > button:hover { background: var(--hd-tint); }
.rt-palette { flex-direction: row; flex-wrap: wrap; gap: 4px; min-width: 0; width: 148px; }
.rt-palette > button { width: 24px; height: 24px; padding: 0; border: 1px solid rgba(0, 0, 0, .15); border-radius: 4px; justify-content: center; }
.rt-palette > button:hover { outline: 2px solid var(--hd-blue); outline-offset: 1px; }
.rt-palette > .rt-ohne { background: #fff; color: var(--muted); font-size: 12px; }
.rt-feld { position: relative; min-height: 120px; max-height: 60vh; overflow-y: auto; resize: vertical; padding: 8px 10px; font-size: 14px; line-height: 1.45; color: var(--ink); outline: none; overflow-wrap: anywhere; }
.rt-feld p, .rt-feld h1, .rt-feld h2, .rt-feld h3 { margin: 0 0 6px; }
.rt-feld h1 { font-size: 20px; } .rt-feld h2 { font-size: 17px; } .rt-feld h3 { font-size: 15px; }
.rt-feld ul, .rt-feld ol { margin: 0 0 6px; padding-left: 24px; }
.rt-feld blockquote { margin: 0 0 0 40px; }
.rt-feld.rt-leer::before { content: attr(data-placeholder); position: absolute; color: var(--muted); pointer-events: none; }

/* ---------- Seitenkopf: Aktionen + „…“-Menü; mobil überall dieselbe Reihenfolge ----------
   Markup: .sb-zurueck (Zurück), .hilfe-knopf (i), h1, .sb-chip (Art/Status), .sb-meta (z. B. Projektnummer), .sb-aktionen (Knöpfe).
   Mobil: Zeile 1 Zurück · i · Aktionen, Zeile 2 Überschrift, Zeile 3 Chip + Meta, danach die übrigen Werkzeuge des Moduls.
   Aktionen, die in Zeile 1 nicht passen, legt /assets/js/subbar.js in das „…“-Menü. */
.sb-aktionen { position: relative; display: flex; align-items: center; gap: 12px; }
.sb-nur-mobil { display: none; }
.sb-mehr { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 26px; padding: 0 8px; font-size: 18px; font-weight: 700; line-height: 1; letter-spacing: .08em; }
.sb-aktionen[hidden], .sb-aktionen > [hidden] { display: none !important; }
.sb-menue { position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; display: flex; flex-direction: column; gap: 2px; min-width: 220px; max-width: calc(100vw - 32px);
  padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(20, 35, 80, .18); }
.sb-menue > .btn { display: flex; align-items: center; justify-content: flex-start; width: 100%; height: 38px; padding: 0 12px; border-color: transparent; background: none;
  color: var(--ink); font-size: 14px; font-weight: 400; text-align: left; text-decoration: none; }
.sb-menue > .btn:hover, .sb-menue > .btn:focus-visible { background: var(--hd-tint); color: var(--hd-blue); }
.sb-menue > input { width: 100%; max-width: none; height: 38px; flex: none; margin: 2px 0; }
.sb-menue > label { display: flex; align-items: center; gap: 8px; min-height: 38px; margin: 0; padding: 0 12px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.sb-menue > label:hover { background: var(--hd-tint); }

@media (max-width: 760px) {
  .subbar { flex-wrap: wrap; gap: 8px 10px; padding: 12px 16px; }
  .subbar-title, .subbar div.subbar-right { display: contents; }
  :where(.subbar > *, .subbar-title > *, .subbar div.subbar-right > *) { order: 7; }
  .subbar .sb-zurueck { order: 1; display: inline-block; height: 32px; line-height: 30px; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .subbar .hilfe-knopf, .subbar .wp-hilfe-knopf { order: 2; width: 28px; height: 28px; }
  .sb-aktionen { flex: 1 1 0; min-width: 34px; justify-content: flex-end; }
  .sb-aktionen > * { flex: none; white-space: nowrap; }
  .subbar .sb-aktionen { order: 3; gap: 8px; }
  .subbar .sb-aktionen > .btn { flex: none; height: 32px; padding: 0 12px; font-size: 13px; line-height: 1; white-space: nowrap; display: inline-flex; align-items: center; }
  .subbar .sb-aktionen > input { flex: none; }
  .subbar h1 { order: 4; flex: 0 0 100%; min-width: 0; overflow-wrap: anywhere; }
  .subbar .sb-chip { order: 5; }
  .subbar .sb-meta, .subbar p.subbar-right { order: 6; }
  .subbar p.subbar-right { margin: 0 !important; text-align: left; flex: 0 0 100%; min-width: 0; }
  .sb-nur-mobil { display: inline; }
  .projfilter { margin-left: 0; width: 100%; }
}
