/* rockinnet.org – Siebdruck-Konzertplakat: zwei Druckfarben (Rot + Schwarz bzw. Papier), schmale Grotesk für Köpfe.
   Erkennungszeichen: der Plakatkopf jeder Anfrage mit leicht versetztem Rot (Passer). */
@font-face { font-family: "Big Shoulders"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/big-shoulders-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Big Shoulders"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/big-shoulders-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --grund: #121110;          /* schwarzer Druckgrund */
  --flaeche: #1b1a18;        /* Bogen auf dem Grund */
  --flaeche-2: #252321;
  --tinte: #f1ece2;          /* Papierweiß als Druckfarbe */
  --tinte-2: #b8b0a3;        /* verdünnte Papierfarbe */
  --linie: rgba(241, 236, 226, .14);
  --linie-stark: rgba(241, 236, 226, .32);
  --rot: #fc3030;            /* Logo-Rot */
  --rot-text: #ff5a52;       /* Rot für Schrift auf Schwarz */
  --auf-rot: #121110;
  --rot-hauch: rgba(252, 48, 48, .14);
  --ok: #7fd18b;
  --kopf: "Big Shoulders", "Archivo Narrow", sans-serif;
  --text: "Archivo", system-ui, sans-serif;
  --r: 4px;
  --schatten: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px -12px rgba(0,0,0,.6);
  --leiste-h: 64px;
  --fuss-h: 48px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: light) {
  :root[data-theme="system"] {
    color-scheme: light;
    --grund: #f1ece2; --flaeche: #faf7f1; --flaeche-2: #e8e2d6; --tinte: #141312; --tinte-2: #5b554c;
    --linie: rgba(20, 19, 18, .14); --linie-stark: rgba(20, 19, 18, .34);
    --rot: #fc3030; --rot-text: #c41a22; --auf-rot: #141312; --rot-hauch: rgba(252, 48, 48, .12); --ok: #2d7a3a;
    --schatten: 0 1px 2px rgba(20,19,18,.08), 0 8px 24px -14px rgba(20,19,18,.25);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --grund: #f1ece2; --flaeche: #faf7f1; --flaeche-2: #e8e2d6; --tinte: #141312; --tinte-2: #5b554c;
  --linie: rgba(20, 19, 18, .14); --linie-stark: rgba(20, 19, 18, .34);
  --rot-text: #c41a22; --auf-rot: #141312; --rot-hauch: rgba(252, 48, 48, .12); --ok: #2d7a3a;
  --schatten: 0 1px 2px rgba(20,19,18,.08), 0 8px 24px -14px rgba(20,19,18,.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--linie-stark) transparent; }
body { margin: 0; background: var(--grund); color: var(--tinte); font: 400 16px/1.55 var(--text); -webkit-tap-highlight-color: transparent; min-height: 100dvh; }
::selection { background: var(--rot); color: var(--auf-rot); }
a { color: inherit; text-decoration-color: var(--rot); text-underline-offset: .2em; text-decoration-thickness: 2px; }
a:hover { color: var(--rot-text); }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 2px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--kopf); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .95; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.leise { color: var(--tinte-2); }
.klein { font-size: .875rem; }
.zahl { font-variant-numeric: tabular-nums; }

/* ---------- Gerüst ---------- */
.app { display: grid; grid-template-columns: 1fr; min-height: 100dvh; }
.leiste { position: fixed; inset: auto 0 0 0; height: calc(var(--leiste-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--grund); border-top: 1px solid var(--linie); display: flex; z-index: 20; }
.leiste .marke { display: none; }
.leiste nav { display: flex; flex: 1; }
.leiste nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none;
  color: var(--tinte-2); font: 700 .78rem/1 var(--kopf); text-transform: uppercase; letter-spacing: .06em; position: relative; min-height: 44px; }
.leiste nav a svg { width: 24px; height: 24px; }
.leiste nav a[aria-current="page"] { color: var(--tinte); }
.leiste nav a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; background: var(--rot); }
.punkt { position: absolute; top: 9px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rot); color: var(--auf-rot);
  font: 800 .72rem/18px var(--text); text-align: center; }
.punkt[hidden] { display: none; }
.haupt { padding: 20px 16px calc(var(--leiste-h) + 32px + env(safe-area-inset-bottom)); width: 100%; min-width: 0; }
.kopfzeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; }
.kopfzeile .schriftzug { height: 30px; width: auto; }
.mobil-marke { display: flex; align-items: center; justify-content: space-between; margin: -4px 0 18px; }
.mobil-marke img { height: 28px; width: auto; }

@media (min-width: 900px) {
  .app { grid-template-columns: 232px 1fr; }
  .leiste { position: fixed; top: 0; bottom: 0; left: 0; right: auto; width: 232px; height: auto; padding: 24px 16px; flex-direction: column; border-top: 0; border-right: 1px solid var(--linie); overflow-y: auto; }
  .leiste .marke { display: block; margin: 0 8px 32px; }
  .leiste .marke img { width: 150px; height: auto; }
  .leiste nav { flex-direction: column; flex: 0; gap: 2px; }
  .leiste nav a { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 12px; font-size: 1.05rem; border-radius: var(--r); }
  .leiste nav a:hover { background: var(--flaeche); color: var(--tinte); }
  .leiste nav a[aria-current="page"]::before { top: 8px; bottom: 8px; left: 0; right: auto; width: 3px; height: auto; }
  .leiste nav a[aria-current="page"] { background: var(--flaeche); }
  .punkt { position: static; margin-left: auto; }
  .leiste .unten { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
  .haupt { padding: 40px 48px calc(var(--fuss-h) + 40px); grid-column: 2; }
  .mobil-marke { display: none; }
}
.leiste .unten { display: none; }
@media (min-width: 900px) { .leiste .unten { display: flex; } }

/* ---------- Bedienelemente ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r);
  border: 1px solid var(--linie-stark); background: transparent; color: var(--tinte); font: 700 1rem/1 var(--kopf); text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; cursor: pointer; transition: background-color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease); white-space: nowrap; }
.knopf:hover { border-color: var(--tinte); color: var(--tinte); }
.knopf:active { transform: translateY(1px); }
.knopf.rot { background: var(--rot); border-color: var(--rot); color: var(--auf-rot); }
.knopf.rot:hover { background: color-mix(in srgb, var(--rot) 88%, var(--tinte)); }
.knopf.still { border-color: transparent; color: var(--tinte-2); padding: 0 10px; }
.knopf.still:hover { color: var(--tinte); }
.knopf:disabled { opacity: .45; cursor: not-allowed; }
.knopf svg { width: 18px; height: 18px; }
label { display: block; font-weight: 600; font-size: .92rem; margin: 0 0 6px; }
.feld { margin: 0 0 18px; }
.feld .hilfe { font-size: .85rem; color: var(--tinte-2); margin: 4px 0 0; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=url], input:not([type]), select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--linie-stark); background: var(--flaeche);
  color: var(--tinte); font: 400 16px/1.4 var(--text); caret-color: var(--rot); transition: border-color .16s var(--ease); }
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--tinte-2); opacity: 1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--tinte); }
select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.haken { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.haken input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--rot); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--linie-stark); border-radius: 999px; font-weight: 500; cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease); }
.chips input:checked + span { background: var(--tinte); color: var(--grund); border-color: var(--tinte); }
.chips input:focus-visible + span { outline: 2px solid var(--rot); outline-offset: 2px; }
.reihe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.raster-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .raster-2 { grid-template-columns: 1fr 1fr; } }
.hinweis { padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--linie-stark); margin: 0 0 20px; background: var(--flaeche); }
.hinweis.fehler { border-color: var(--rot); background: var(--rot-hauch); }
.hinweis.ok { border-color: var(--ok); }
.marke-klein { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 3px; border: 1px solid var(--linie-stark); font: 700 .75rem/1.5 var(--kopf);
  text-transform: uppercase; letter-spacing: .08em; color: var(--tinte-2); white-space: nowrap; }
.marke-klein.rot { border-color: var(--rot); color: var(--rot-text); }
.marke-klein.voll { background: var(--rot); border-color: var(--rot); color: var(--auf-rot); }
.bogen { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); padding: 20px; }
.trenn { border: 0; border-top: 1px solid var(--linie); margin: 28px 0; }
.leer { padding: 40px 20px; text-align: center; color: var(--tinte-2); border: 1px dashed var(--linie-stark); border-radius: var(--r); }
.leer p { margin: 0 auto 16px; }

/* ---------- Plakatkopf (Erkennungszeichen) ---------- */
.plakat { font-family: var(--kopf); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: .005em; color: var(--tinte);
  text-shadow: 2px 2px 0 var(--rot); font-size: clamp(1.9rem, 6vw, 2.6rem); margin: 0; }
.plakat-zeile { display: flex; flex-wrap: wrap; gap: 4px 0; font: 700 1rem/1.2 var(--kopf); text-transform: uppercase; letter-spacing: .08em; color: var(--tinte-2); margin: 10px 0 0; }
.plakat-zeile span + span::before { content: "·"; margin: 0 .55em; color: var(--rot); }
@media (prefers-reduced-motion: no-preference) {
  .anfrage:hover .plakat { text-shadow: 3px 3px 0 var(--rot); }
  .plakat { transition: text-shadow .2s var(--ease); }
}

/* ---------- Brett ---------- */
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 24px; }
.filter select { width: auto; flex: 1 1 160px; }
.brett { display: grid; gap: 14px; }
@media (min-width: 760px) { .brett { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); } }
.anfrage { display: block; text-decoration: none; padding: 20px 20px 18px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); color: var(--tinte);
  transition: border-color .16s var(--ease); }
.anfrage:hover { border-color: var(--linie-stark); color: var(--tinte); }
.anfrage .titel { font-size: 1.06rem; font-weight: 600; margin: 14px 0 6px; }
.anfrage .fuss { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: .86rem; color: var(--tinte-2); margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--linie); }
.anfrage.zu { opacity: .6; }

/* ---------- Personen ---------- */
.kopfbild { width: 44px; height: 44px; border-radius: 50%; flex: none; background: var(--flaeche-2); display: grid; place-items: center; overflow: hidden;
  font: 800 1.1rem/1 var(--kopf); text-transform: uppercase; color: var(--tinte); }
.kopfbild img { width: 100%; height: 100%; object-fit: cover; }
.kopfbild.gross { width: 96px; height: 96px; font-size: 2.2rem; }
.leute { display: grid; gap: 10px; }
@media (min-width: 760px) { .leute { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }
.person { display: flex; gap: 14px; align-items: center; text-decoration: none; padding: 14px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--r); }
.person:hover { border-color: var(--linie-stark); color: var(--tinte); }
.person .name { font-weight: 700; }
.person .was { font-size: .88rem; color: var(--tinte-2); }
.profilkopf { display: flex; gap: 20px; align-items: center; margin: 0 0 24px; flex-wrap: wrap; }
.profilkopf h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); }
.angaben { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0 0 24px; }
.angaben dt { font: 700 .9rem/1.6 var(--kopf); text-transform: uppercase; letter-spacing: .08em; color: var(--tinte-2); }
.angaben dd { margin: 0; }
.probe { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linie); flex-wrap: wrap; }
.probe audio { width: 100%; max-width: 420px; height: 40px; }

/* ---------- Chat ---------- */
.gespraeche { display: grid; gap: 2px; }
.gespraech-zeile { display: flex; gap: 14px; align-items: center; padding: 14px 12px; text-decoration: none; border-radius: var(--r); }
.gespraech-zeile:hover { background: var(--flaeche); color: var(--tinte); }
.gespraech-zeile .mitte { flex: 1; min-width: 0; }
.gespraech-zeile .vorschau { color: var(--tinte-2); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gespraech-zeile.neu .name { color: var(--tinte); }
.gespraech-zeile.neu .vorschau { color: var(--tinte); font-weight: 600; }
.chat { display: flex; flex-direction: column; height: calc(100dvh - var(--leiste-h) - 60px - env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .chat { height: calc(100dvh - 80px - var(--fuss-h)); } }
.chat-kopf { display: flex; gap: 12px; align-items: center; padding: 0 0 14px; border-bottom: 1px solid var(--linie); }
.chat-verlauf { flex: 1; overflow-y: auto; padding: 16px 2px; display: flex; flex-direction: column; gap: 6px; overscroll-behavior: contain; }
.blase { max-width: min(78%, 560px); padding: 9px 13px; border-radius: 14px 14px 14px 4px; background: var(--flaeche-2); align-self: flex-start; overflow-wrap: anywhere; white-space: pre-wrap; }
.blase.ich { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--tinte); color: var(--grund); }
.blase.ich a { color: var(--grund); }
.blase .wer { display: block; font: 700 .78rem/1.4 var(--kopf); text-transform: uppercase; letter-spacing: .06em; color: var(--rot-text); }
.blase .zeit { display: block; font-size: .72rem; opacity: .65; margin-top: 3px; }
.blase .anhang { display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; font-weight: 600; }
.tag-trenner { align-self: center; font: 700 .78rem/1 var(--kopf); text-transform: uppercase; letter-spacing: .1em; color: var(--tinte-2); margin: 10px 0; }
.chat-eingabe { display: flex; gap: 8px; align-items: flex-end; padding-top: 12px; border-top: 1px solid var(--linie); }
.chat-eingabe textarea { min-height: 46px; max-height: 160px; resize: none; }
.chat-eingabe .knopf { flex: none; }
.datei-wahl { position: relative; }
.datei-wahl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.datei-name { font-size: .85rem; color: var(--tinte-2); margin: 6px 0 0; }

/* ---------- Tabellen (Moderation) ---------- */
.tabelle { width: 100%; border-collapse: collapse; font-size: .94rem; }
.tabelle th { text-align: left; font: 700 .8rem/1.2 var(--kopf); text-transform: uppercase; letter-spacing: .08em; color: var(--tinte-2); padding: 8px 10px; border-bottom: 1px solid var(--linie-stark); }
.tabelle td { padding: 12px 10px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle-huelle { overflow-x: auto; }
.reiter { display: flex; gap: 4px; flex-wrap: wrap; margin: 0 0 24px; border-bottom: 1px solid var(--linie); }
.reiter a { padding: 10px 14px; text-decoration: none; font: 700 1rem/1 var(--kopf); text-transform: uppercase; letter-spacing: .06em; color: var(--tinte-2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.reiter a[aria-current="page"] { color: var(--tinte); border-bottom-color: var(--rot); }

/* ---------- Eingang (nicht angemeldet) ---------- */
.eingang { min-height: 100dvh; display: grid; place-items: center; padding: 32px 16px; }
.eingang-inhalt { width: 100%; max-width: 440px; }
.eingang-marke { display: flex; gap: 16px; align-items: center; margin: 0 0 36px; }
.eingang-marke .baer { width: 72px; height: 72px; }
.eingang-marke .schriftzug { width: 200px; height: auto; }
.eingang h1 { margin: 0 0 16px; text-shadow: 3px 3px 0 var(--rot); }
.eingang .bogen { margin-top: 28px; }
.fusszeile { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; font-size: .85rem; color: var(--tinte-2); }
.fusszeile a { color: var(--tinte-2); }
.schalter-thema { display: none; }
[data-nur="dunkel"] { display: none; }
@media (prefers-color-scheme: light) { :root[data-theme="system"] [data-nur="hell"] { display: none; } :root[data-theme="system"] [data-nur="dunkel"] { display: block; } }
:root[data-theme="light"] [data-nur="hell"] { display: none; }
:root[data-theme="light"] [data-nur="dunkel"] { display: block; }
.text-seite h2 { margin: 32px 0 12px; font-size: 1.6rem; }
.text-seite ul { padding-left: 1.2em; max-width: 68ch; }
.text-seite li { margin: 0 0 6px; }
.verborgen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ich-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
@media (min-width: 900px) { .ich-links { display: none; } }

/* ---------- Feste Fußzeile, schwebende Knöpfe, Chat-Seitenfeld (Olav 05.12.) ---------- */
@media (min-width: 900px) {
  .app .fusszeile { position: fixed; left: 232px; right: 0; bottom: 0; height: var(--fuss-h); margin: 0; padding: 0 48px; display: flex; align-items: center; gap: 20px;
    background: color-mix(in srgb, var(--grund) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--linie); z-index: 15; }
}
.schwebend { position: fixed; right: 24px; z-index: 18; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--linie-stark); cursor: pointer;
  background: var(--flaeche); color: var(--tinte); box-shadow: var(--schatten); transition: transform .2s var(--ease), opacity .2s var(--ease), background-color .16s var(--ease); }
.schwebend:hover { background: var(--flaeche-2); }
.schwebend:active { transform: scale(.96); }
.schwebend svg { width: 22px; height: 22px; }
.nach-oben { width: 44px; height: 44px; bottom: calc(var(--fuss-h) + 76px); }
.nach-oben[data-weg] { opacity: 0; transform: translateY(8px); pointer-events: none; }
@media (max-width: 899px) { .nach-oben { right: 16px; bottom: calc(var(--leiste-h) + 16px + env(safe-area-inset-bottom)); } }

/* Chat-Leiste rechts (Vorbild rockinCLOUD): Lasche unten rechts, Leiste zwischen oben und Fußzeile; breit schiebt sie den Inhalt */
:root { --chat-b: 380px; }
.chat-lasche { position: fixed; right: 24px; bottom: calc(var(--fuss-h) + 16px); z-index: 19; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border: 0; border-radius: 999px; background: var(--rot); color: var(--auf-rot); font: 800 1.05rem/1 var(--kopf); text-transform: uppercase; letter-spacing: .06em; cursor: pointer;
  box-shadow: var(--schatten); transition: transform .16s var(--ease), background-color .16s var(--ease); }
.chat-lasche:hover { background: color-mix(in srgb, var(--rot) 88%, var(--tinte)); }
.chat-lasche:active { transform: scale(.97); }
.chat-lasche svg { width: 22px; height: 22px; }
.chat-lasche .punkt { position: static; margin: 0; background: var(--tinte); color: var(--grund); }
.chat-lasche[hidden] { display: none; }
body.chat-auf .nach-oben { right: calc(var(--chat-b) + 24px); }
@media (max-width: 899px) { .chat-lasche { display: none; } }
.chat-hg { position: fixed; inset: 0; z-index: 29; background: rgba(0,0,0,.45); }
.cl { position: fixed; right: 0; top: 0; bottom: var(--fuss-h); width: var(--chat-b); z-index: 20; display: flex; flex-direction: column; background: var(--grund);
  border-left: 1px solid var(--linie-stark); }
.cl[hidden] { display: none; }
@media (min-width: 1280px) {
  body.chat-auf .haupt { padding-right: calc(var(--chat-b) + 48px); }
  body.chat-auf .app .fusszeile { right: 0; }
}
@media (max-width: 1279px) {
  .cl { top: 0; bottom: 0; z-index: 30; width: min(400px, 100vw); box-shadow: -24px 0 60px -20px rgba(0,0,0,.6); }
}
@media (prefers-reduced-motion: no-preference) { .cl:not([hidden]) { animation: cl-ein .24s var(--ease); } }
@keyframes cl-ein { from { transform: translateX(24px); opacity: 0; } }
.cl-kopf { display: flex; align-items: center; gap: 6px; padding: 12px 10px 10px 14px; border-bottom: 1px solid var(--linie); }
.cl-reiter { display: flex; flex: 1; gap: 2px; padding: 3px; border-radius: var(--r); background: var(--flaeche); min-width: 0; }
.cl-reiter button { flex: 1; min-width: 0; border: 0; background: none; color: var(--tinte-2); padding: 8px 6px; border-radius: 3px; cursor: pointer; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; font: 700 .95rem/1 var(--kopf); text-transform: uppercase; letter-spacing: .06em; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.cl-reiter button[aria-selected="true"] { background: var(--flaeche-2); color: var(--tinte); box-shadow: inset 0 -2px 0 var(--rot); }
.cl-reiter .punkt { position: static; margin: 0; min-width: 16px; height: 16px; line-height: 16px; font-size: .66rem; }
.cl-zu { flex: none; }
.cl-teil { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cl-teil[hidden] { display: none; }
.cl-ortkopf { margin: 0; padding: 8px 14px; font-size: .84rem; color: var(--tinte-2); border-bottom: 1px solid var(--linie); }
.cl-ortkopf a { color: var(--tinte); font-weight: 600; }
.cl-liste { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 5px; overscroll-behavior: contain; }
.cl-liste .blase { max-width: 88%; font-size: .94rem; }
.cl-leer { color: var(--tinte-2); font-size: .9rem; margin: 14px 2px; }
.cl-eingabe { display: flex; gap: 6px; align-items: flex-end; padding: 10px 12px 12px; border-top: 1px solid var(--linie); }
.cl-eingabe textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 140px; resize: none; }
.cl-eingabe .knopf { padding: 0 12px; flex: none; }
.cl-kontakte { flex: 1; overflow-y: auto; padding: 6px 8px; }
.cl-kontakt { display: flex; gap: 12px; align-items: center; width: 100%; padding: 9px 8px; border: 0; background: none; color: var(--tinte); text-align: left; border-radius: var(--r);
  cursor: pointer; font: inherit; }
.cl-kontakt:hover { background: var(--flaeche); }
.cl-kontakt .kopfbild { width: 38px; height: 38px; font-size: .95rem; position: relative; overflow: visible; }
.cl-kontakt .kopfbild img { border-radius: 50%; }
.cl-kontakt .mitte { flex: 1; min-width: 0; }
.cl-kontakt .name { font-weight: 600; display: block; }
.cl-kontakt .vorschau { display: block; font-size: .82rem; color: var(--tinte-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-kontakt.neu .vorschau { color: var(--tinte); font-weight: 600; }
.status { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--grund); }
.status.online { background: var(--ok); } .status.abwesend { background: #e0b341; }
.cl-dmkopf { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--linie); }
.cl-dmkopf a { text-decoration: none; font-weight: 700; }
.cl-dmkopf .leise { font-size: .8rem; }
