.leise { margin: 0; color: var(--leise); font-size: 0.875rem; }
.leise.gross { font-size: 1rem; max-width: 56ch; }


.reiter {
  display: flex;
  gap: 2px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 999px;
}
.reiter button {
  min-height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--leise);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.reiter button[aria-current="page"] {
  background: var(--karte);
  color: var(--tinte);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(23, 35, 43, 0.08), 0 2px 8px rgba(23, 35, 43, 0.06);
}
@media (hover: hover) and (pointer: fine) {
  .reiter button:not([aria-current="page"]):hover { color: var(--tinte); }
}

.werkzeuge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}
.reiter[hidden] + .werkzeuge { margin-left: auto; }

.rund, .abmelden {
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: var(--karte);
  box-shadow: inset 0 0 0 1px var(--linie);
  transition: transform 160ms var(--aus), background-color 200ms ease, color 200ms ease;
}
.rund { width: 36px; color: var(--leise); }
.rund svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.rund[aria-pressed="true"] { background: var(--blau-zart); color: var(--blau-text); box-shadow: none; }
.abmelden { padding: 0 14px; white-space: nowrap; }
.rund:active, .abmelden:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) {
  .abmelden:hover, .rund:not([aria-pressed="true"]):hover { background: var(--feld); }
}
.ich { padding: 0 4px; font-weight: 600; white-space: nowrap; }
.ich small { font-weight: 500; color: var(--leise); margin-left: 6px; }

.anmeldung {
  padding: 72px var(--rand);
  display: grid;
  grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 160px);
  align-items: center;
}
.anmelde-karte { padding: 36px 32px 28px; display: grid; gap: 18px; }
.anmelde-karte h1 { margin: 0; font-size: 1.75rem; letter-spacing: -0.025em; font-weight: 700; }
.anmelde-karte .leise { margin-top: -10px; }
.anmelde-karte .knopf { margin-top: 4px; }
.fehlertext { margin: 0; color: var(--rot); font-size: 0.9375rem; text-align: center; }
.fehlertext:empty { display: none; }

.demo-zugaenge h2 { margin: 0; font-size: 1.25rem; letter-spacing: -0.015em; }
.demo-zugaenge > p { margin: 8px 0 0; color: var(--leise); max-width: 46ch; }
.demo-zugaenge code {
  font: 600 0.875rem/1 ui-monospace, "SF Mono", Menlo, monospace;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--karte);
  box-shadow: inset 0 0 0 1px var(--linie);
}
.demo-liste {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.demo-liste button {
  display: grid;
  justify-items: start;
  gap: 2px;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--karte);
  box-shadow: var(--schatten);
  text-align: left;
  transition: transform 160ms var(--aus), box-shadow 240ms ease;
}
.demo-liste button:active { transform: scale(0.97); }
.demo-liste b { font-weight: 600; }
.demo-liste span { font-size: 0.8125rem; color: var(--leise); }
@media (hover: hover) and (pointer: fine) { .demo-liste button:hover { box-shadow: var(--schatten-hoch); } }
.tipp { margin-top: 22px !important; font-size: 0.875rem; }

.arbeit {
  padding: 32px var(--rand) 72px;
}
.arbeit.schmal { display: grid; gap: 16px; align-content: start; }
.arbeit.schmal .leise.gross { margin: -8px 0 4px; }
.arbeit h1 { margin: 0; font-size: 2.25rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }

.titelzeile {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.zahlen { margin: 6px 0 0; color: var(--leise); font-variant-numeric: tabular-nums; }
.zahlen b { color: var(--tinte); font-weight: 600; }

.suche { position: relative; flex: 0 1 320px; }
.suche svg {
  position: absolute; left: 12px; top: 50%;
  width: 18px; height: 18px; translate: 0 -50%;
  fill: none; stroke: var(--hauch); stroke-width: 1.8; stroke-linecap: round;
}
.suche input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px 0 38px;
  border: 0;
  border-radius: 999px;
  font-size: 0.9375rem;
}
.suche input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--blau); }

body {
  background:
    radial-gradient(60rem 40rem at 8% -10%, rgba(0, 158, 224, 0.16), transparent 60%),
    radial-gradient(50rem 36rem at 100% 20%, rgba(0, 158, 224, 0.09), transparent 65%),
    var(--grund);
  background-attachment: fixed;
}

.glas, .tage, .filter, .reiter, .tabelle, .suche input, .block, .anmelde-karte {
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(23, 35, 43, 0.05),
    0 10px 30px rgba(23, 35, 43, 0.08);
}

.tage {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
}
.tag-text { display: grid; justify-items: center; min-width: 15rem; padding: 0 8px; line-height: 1.25; }
.tag-text b { font-weight: 650; font-size: 0.9375rem; white-space: nowrap; }
.tag-text span { font-size: 0.8125rem; color: var(--leise); font-variant-numeric: tabular-nums; }
.tag-text span.zu { color: var(--rot); }
.schritt-knopf {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: #fff;
  color: var(--tinte);
  box-shadow: 0 1px 2px rgba(23, 35, 43, 0.08), 0 4px 14px rgba(23, 35, 43, 0.08);
  transition: transform 160ms var(--aus), opacity 200ms ease;
}
.schritt-knopf svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.schritt-knopf:active { transform: scale(0.92); }
.schritt-knopf[disabled] { opacity: 0.35; cursor: default; box-shadow: none; }

.tagestitel:empty { display: none; }
.tagestitel { margin: 0 0 10px 4px; color: var(--leise); font-size: 0.9375rem; }
.tagestitel b { color: var(--tinte); font-weight: 650; }

.filterzeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 16px;
}
.filter {
  display: inline-flex;
  flex: none;
  padding: 4px;
  border-radius: 999px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.filter button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--leise);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.filter button[aria-selected="true"] {
  background: var(--karte);
  color: var(--tinte);
  box-shadow: 0 1px 2px rgba(23, 35, 43, 0.08), 0 2px 8px rgba(23, 35, 43, 0.06);
}
.treffer { color: var(--leise); font-size: 0.875rem; font-variant-numeric: tabular-nums; }

.tabelle {
  border-radius: 24px;
  overflow: hidden;
}
.spalten, .zeile {
  display: grid;
  grid-template-columns: 70px minmax(0, 1.5fr) minmax(0, 1.1fr) 150px 30px 170px 24px;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}
.spalten {
  min-height: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hauch);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--linie);
}

.tagesband {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 20px;
  background: var(--grund);
  border-bottom: 1px solid var(--linie);
  font-size: 0.875rem;
}
.tagesband b { font-weight: 650; }
.tagesband b.heute { color: var(--blau-text); }
.tagesband span { color: var(--leise); }
.tagesband em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rot);
  background: var(--rot-zart);
  padding: 1px 8px;
  border-radius: 999px;
}

.eintrag { border-bottom: 1px solid var(--linie); }
.eintrag:last-child { border-bottom: 0; }
.zeile {
  min-height: 56px;
  cursor: pointer;
  transition: background-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) { .zeile:hover { background: rgba(23, 35, 43, 0.025); } }
.eintrag.offen .zeile { background: rgba(0, 158, 224, 0.05); }
.eintrag.vorbei .zeile > :not(.pfeil) { opacity: 0.5; }
.eintrag.neu { animation: ankommen 1800ms var(--aus); }
@keyframes ankommen { from { background-color: rgba(0, 158, 224, 0.16); } }

.zeit-zelle { font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.name-zelle { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.name-zelle > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.neu-punkt {
  flex: none;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--blau-text);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.thema-zelle { min-width: 0; }
.marke {
  display: inline-block;
  max-width: 100%;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  background: var(--blau-zart);
  color: var(--blau-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
.tel-zelle { font-variant-numeric: tabular-nums; color: var(--leise); font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pdf-zelle svg, .pfeil svg {
  width: 18px; height: 18px; display: block;
  fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.pdf-zelle svg { stroke: var(--rot); }
.pfeil svg { stroke: var(--hauch); transition: transform 280ms var(--aus); }
.eintrag.offen .pfeil svg { transform: rotate(180deg); }

.zustaendig {
  appearance: none;
  width: 100%;
  min-height: 32px;
  padding: 0 28px 0 10px;
  border: 0;
  border-radius: 9px;
  background: var(--feld) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a969e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 7px center / 15px;
  box-shadow: inset 0 0 0 1px var(--linie);
  font-size: 0.875rem;
  color: var(--leise);
  cursor: pointer;
}
.zustaendig.gesetzt { background-color: var(--blau-zart); color: var(--blau-text); box-shadow: none; font-weight: 600; }

.details {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 360ms var(--schublade);
}
.eintrag.offen .details { grid-template-rows: 1fr; }
.details-innen { min-height: 0; overflow: hidden; }
.details-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px 32px;
  padding: 6px 20px 22px 106px;
}
.anliegen h3, .angaben-liste dt {
  margin: 0 0 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hauch);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.anliegen p { margin: 0; max-width: 70ch; line-height: 1.55; white-space: pre-line; }
.anliegen p.ohne { color: var(--hauch); }
.unterlage {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px 8px 10px;
  border-radius: 10px;
  background: var(--feld);
  box-shadow: inset 0 0 0 1px var(--linie);
  color: var(--tinte);
  font-size: 0.875rem;
  text-decoration: none;
  max-width: 100%;
}
.unterlage svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--rot); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.unterlage span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unterlage small { color: var(--leise); flex: none; }
@media (hover: hover) and (pointer: fine) { .unterlage:hover { box-shadow: inset 0 0 0 1px var(--blau); } }

.angaben-liste { margin: 0; display: grid; gap: 12px; align-content: start; }
.angaben-liste dd { margin: 0; font-size: 0.9375rem; overflow-wrap: anywhere; }
.angaben-liste a { text-decoration: none; }
.zustaendig-mobil { display: none; }
.absagen-knopf {
  justify-self: start;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: var(--feld);
  box-shadow: inset 0 0 0 1px var(--linie);
  color: var(--leise);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--aus);
}
.absagen-knopf:active { transform: scale(0.96); }
.absagen-knopf.warnen { background: var(--rot-zart); color: var(--rot); box-shadow: none; font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .absagen-knopf:not(.warnen):hover { color: var(--rot); } }

.leer-zustand { padding: 56px 24px; text-align: center; }
.leer-zustand strong { display: block; font-size: 1.125rem; letter-spacing: -0.01em; }
.leer-zustand p { margin: 6px auto 0; color: var(--leise); max-width: 40ch; }

.block { padding: 20px 22px; display: grid; gap: 14px; }
.block h2 { margin: 0; font-size: 1.0625rem; font-weight: 650; letter-spacing: -0.012em; }

.sperren { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 12px; align-items: end; }

.zeilenliste { list-style: none; margin: 0; padding: 0; display: grid; }
.zeilenliste li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.9375rem;
}
.zeilenliste li + li { border-top: 1px solid var(--linie); }
.zeilenliste li > span { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.zeilenliste small { color: var(--leise); font-size: 0.8125rem; }
.zeilenliste small.warn { color: var(--rot); }
.zeilenliste .ohne { color: var(--hauch); }
.mini-weg {
  flex: none;
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--leise);
  font-size: 0.8125rem;
  transition: background-color 200ms ease, color 200ms ease;
}
.mini-weg.warnen { background: var(--rot-zart); color: var(--rot); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .mini-weg:not(.warnen):hover { background: var(--feld); color: var(--rot); } }

.avatar {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(23, 35, 43, 0.07);
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--leise);
}
.avatar.anwalt { background: var(--blau-zart); color: var(--blau-text); }
.rolle {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(23, 35, 43, 0.06);
  color: var(--leise);
}
.rolle.anwalt { background: var(--blau-zart); color: var(--blau-text); }


.meldung.neuer-termin {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  min-width: min(340px, calc(100vw - 32px));
  cursor: pointer;
}
.meldung.neuer-termin b { font-size: 0.8125rem; color: var(--blau-text); }
.meldung.neuer-termin span { font-weight: 600; font-variant-numeric: tabular-nums; }
.meldung.neuer-termin small { color: var(--leise); }

@media (max-width: 1100px) {
  .spalten, .zeile { grid-template-columns: 64px minmax(0, 1.4fr) minmax(0, 1fr) 30px 150px 24px; }
  .spalten span:nth-child(4), .tel-zelle { display: none; }
  .details-raster { padding-left: 100px; }
}

@media (max-width: 860px) {
  .kopf-innen { flex-wrap: wrap; row-gap: 10px; }
  .reiter { order: 3; flex-basis: 100%; }
  .reiter button { flex: 1; }
  .ich { display: none; }
  .werkzeuge { margin-left: auto; }
}

@media (max-width: 760px) {
  .marke-text { height: 46px; font-size: 1.1875rem; }
  .anmeldung { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 32px 48px; }
  .anmelde-karte { padding: 28px 20px 22px; }
  .live { display: none; }
  .arbeit { padding-block: 22px 56px; }
  .arbeit h1 { font-size: 1.875rem; }
  .suche { flex-basis: 100%; }
  .filterzeile { flex-direction: column; align-items: stretch; }
  .tag-text { min-width: 0; flex: 1; }
  .filter { align-self: start; max-width: 100%; }
  .spalten { display: none; }
  .zeile { grid-template-columns: 52px minmax(0, 1fr) 20px 20px; gap: 4px 12px; padding: 12px 16px; }
  .zeit-zelle { grid-row: 1 / span 2; align-self: start; padding-top: 1px; }
  .name-zelle { grid-column: 2; }
  .thema-zelle { grid-column: 2; grid-row: 2; }
  .pdf-zelle { grid-column: 3; grid-row: 1 / span 2; }
  .zustaendig-zelle { display: none; }
  .pfeil { grid-column: 4; grid-row: 1 / span 2; }
  .details-raster { grid-template-columns: minmax(0, 1fr); padding: 4px 16px 18px; gap: 16px; }
  .zustaendig-mobil { display: block; }
  .sperren { grid-template-columns: minmax(0, 1fr); }
}

#team li { display: grid; grid-template-columns: 36px minmax(0, 1fr) 76px 110px; }
#team li > .avatar, #team li > .rolle { flex: none; }
#team .rolle { justify-self: start; }
#team .mini-weg { justify-self: end; }

.karte { border-radius: 24px; }
