/* Datehaus App – Gestaltung „Abend am Rhein“ (übernommen aus dem Klick-Prototyp) */
  :root {
    --bg: #F3E5DC; --bg-2: #EBD8CD; --paper: #FBF5F1; --ink: #3A1F1D; --soft: #74524D; --line: #D7BEB1;
    --wine: #8B2A37; --wine-press: #72202C; --ok: #3F5E3A; --ok-bg: #E3EAD9; --warn-bg: #F6E3C8; --warn: #6B4A1C; --blue: #2F6BC7;
    --serif: "Newsreader", Georgia, serif; --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    --ease: cubic-bezier(0.23, 1, 0.32, 1); --r: 1.5rem; --tab-h: 4.25rem;
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
  button, input, select, textarea { font: inherit; color: inherit; }
  a { color: inherit; text-underline-offset: 4px; }
  :focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
  [hidden] { display: none !important; }
  .vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


  /* ---------- Rahmen ---------- */
  .main { max-width: 34rem; margin: 0 auto; padding: 1rem 1rem calc(var(--tab-h) + 2rem + env(safe-area-inset-bottom)); }
  .shell.no-tabs .main { padding-bottom: 3rem; }
  .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
  .mark { font: 500 1.5rem/1 var(--serif); letter-spacing: -0.02em; }
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--paper); border-top: 1px solid var(--line); }
  .shell.no-tabs .tabs { display: none; }
  .tabs-mark { display: none; }
  .tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 500; color: var(--soft); text-decoration: none; }
  .tab svg { width: 1.5rem; height: 1.5rem; }
  .tab[aria-current="page"] { color: var(--wine); }
  .badge { position: absolute; top: 0.6rem; left: calc(50% + 0.5rem); min-width: 1.125rem; height: 1.125rem; padding: 0 0.3rem; border-radius: 999px; background: var(--wine); color: #fff; font-size: 0.6875rem; line-height: 1.125rem; text-align: center; }
  @media (min-width: 60rem) {
    .shell:not(.no-tabs) { display: grid; grid-template-columns: 15rem 1fr; }
    .tabs { position: sticky; top: 0; height: 100vh; grid-template-columns: 1fr; grid-auto-rows: min-content; align-content: start; gap: 0.25rem; padding: 2.5rem 1rem 1rem; border-top: 0; border-right: 1px solid var(--line); }
    .tabs-mark { display: block; padding: 0 1rem 2rem; font: 500 1.75rem/1 var(--serif); letter-spacing: -0.02em; }
    .tab { flex-direction: row; justify-content: flex-start; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 999px; font-size: 1rem; }
    .tab[aria-current="page"] { background: var(--bg); }
    .badge { position: static; margin-left: auto; }
    .main { padding: 2rem 2rem 4rem; max-width: 40rem; }
  }

  /* ---------- Typo ---------- */
  h1 { margin: 0.5rem 0 0.5rem; font: 400 clamp(2.25rem, 9vw, 3rem)/1.02 var(--serif); letter-spacing: -0.03em; text-wrap: balance; }
  h2 { margin: 0 0 0.75rem; font: 500 1.375rem/1.2 var(--serif); }
  .lead { margin: 0 0 1.75rem; color: var(--soft); font-size: 1.0625rem; }
  .muted { color: var(--soft); }
  .small { font-size: 0.875rem; }
  .sec { margin-top: 2.5rem; }

  /* ---------- Bausteine ---------- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.25rem; padding: 0 1.5rem; font-weight: 600; color: #fff; text-decoration: none; background: var(--wine); border: 0; border-radius: 999px; cursor: pointer; transition: transform 160ms var(--ease), background-color 140ms; }
  .btn:active { transform: scale(0.97); }
  .btn.wide { width: 100%; }
  .btn.quiet { color: var(--ink); background: transparent; border: 1px solid var(--ink); }
  .btn.ghost { color: var(--ink); background: transparent; min-height: 2.75rem; padding: 0 0.75rem; text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
  .btn.small { min-height: 2.75rem; padding: 0 1rem; }
  .btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
  @media (hover: hover) { .btn:not([disabled]):hover { background: var(--wine-press); } .btn.quiet:not([disabled]):hover, .btn.ghost:hover { background: var(--bg-2); } }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .social { display: grid; gap: 0.625rem; }
  .btn.sso { gap: 0.75rem; font-weight: 600; }
  .btn.sso svg { width: 1.25rem; height: 1.25rem; }
  .btn.apple { background: #000; color: #fff; }
  .btn.google { background: #fff; color: #1f1f1f; border: 1px solid #747775; }
  @media (hover: hover) { .btn.apple:hover { background: #222; } .btn.google:hover { background: #f2f2f2; } }
  .oder { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; color: var(--soft); font-size: 0.875rem; }
  .oder::before, .oder::after { content: ""; flex: 1; height: 1px; background: var(--line); }

  .field { margin: 0 0 1.25rem; border: 0; padding: 0; min-width: 0; }
  .field > label, .field > legend, .lbl { display: block; margin: 0 0 0.5rem; padding: 0; font-weight: 600; font-size: 0.9375rem; }
  .input { width: 100%; min-height: 3.25rem; padding: 0 1.125rem; background: var(--paper); border: 1px solid var(--ink); border-radius: 1rem; }
  textarea.input { min-height: 5rem; padding: 0.875rem 1.125rem; resize: vertical; }
  select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 50%, calc(100% - 0.9rem) 50%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
  .input:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--wine); }
  .hint { margin: 0.375rem 0 0; font-size: 0.875rem; color: var(--soft); }
  .err { margin: 0.375rem 0 0; font-size: 0.875rem; color: var(--wine); }
  .err:empty { display: none; }

  .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .chip { position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 500; cursor: pointer; transition: background-color 140ms, color 140ms, border-color 140ms, transform 140ms var(--ease); }
  .chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
  .chip:has(:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .chip:has(:focus-visible) { outline: 2px solid var(--wine); outline-offset: 3px; }
  .chip:has(:disabled) { opacity: 0.4; cursor: not-allowed; }
  .chip:active { transform: scale(0.97); }

  .steps-bar { display: flex; gap: 0.375rem; margin: 0.5rem 0 1.5rem; }
  .steps-bar i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
  .steps-bar i.on { background: var(--wine); }

  .card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
  .card + .card, .card + .slot-leer, .slot-leer + .card { margin-top: 1rem; }
  .card-pad { padding: 1.5rem; }
  .kicker { margin: 0 0 0.5rem; font-size: 0.875rem; color: var(--soft); }
  .when { margin: 0 0 0.5rem; font: 500 2.25rem/1.02 var(--serif); letter-spacing: -0.025em; }
  .when span { display: block; }
  .card .when.klein { font-size: 1.75rem; }
  .what { margin: 0 0 0.25rem; font: 400 1.25rem/1.3 var(--serif); }
  .note { margin: 0 0 1.25rem; color: var(--soft); }
  .person { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.5rem; border-top: 1px solid var(--line); }
  .person .grow { flex: 1; min-width: 0; }
  .person .grow > b { display: block; }
  .avatar { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--bg-2); color: var(--wine); font: 500 1.125rem/1 var(--serif); }
  .avatar.lg { width: 5rem; height: 5rem; font-size: 2rem; }
  .verified { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--blue); font-size: 0.875rem; font-weight: 600; }
  .verified svg { width: 1.05rem; height: 1.05rem; }
  .tipps { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
  .tipps li { display: flex; gap: 0.625rem; align-items: flex-start; }
  .tipps li svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; color: var(--ok); }
  .hinweis-box { margin-top: 1.5rem; padding: 1rem 1.25rem; border: 1px dashed var(--ink); border-radius: 1rem; }
  .hinweis-box p { margin: 0 0 0.75rem; font-size: 0.875rem; }
  .card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0 1.5rem 1.5rem; }
  .status { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: 1rem; background: var(--ok-bg); color: var(--ok); font-weight: 500; }
  .status svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; }
  .status.wait { background: var(--warn-bg); color: var(--warn); }
  .status.wine { background: var(--wine); color: #fff; flex-direction: column; gap: 0.75rem; }
  .status.wine .btn { background: var(--paper); color: var(--ink); align-self: flex-start; }
  .counter { display: flex; align-items: center; justify-content: space-between; margin: 0 0 1rem; font-size: 0.875rem; color: var(--soft); }
  .dots { display: flex; gap: 0.375rem; }
  .dots i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--line); }
  .dots i.on { background: var(--wine); }

  .slot-leer { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.5rem; border: 1px dashed var(--soft); border-radius: var(--r); }
  .slot-leer b { font: 500 1.25rem/1.2 var(--serif); }
  .slot-kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.875rem 1.5rem; border-bottom: 1px solid var(--line); font-size: 0.875rem; color: var(--soft); }
  .slot-kopf .btn.ghost { min-height: 2.25rem; padding: 0 0.25rem; font-size: 0.875rem; }
  .woche-info { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0 0 1.5rem; padding: 1rem 1.25rem; border-radius: 1rem; background: var(--paper); border: 1px solid var(--line); font-size: 0.9375rem; }
  .woche-info svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; color: var(--wine); }

  .seg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.25rem; padding: 0.25rem; margin: 0 0 1.5rem; background: var(--bg-2); border-radius: 999px; }
  .seg button { min-height: 2.75rem; border: 0; border-radius: 999px; background: transparent; font-weight: 500; font-size: 0.9375rem; cursor: pointer; }
  .seg button[aria-selected="true"] { background: var(--paper); }

  .list { margin: 0; padding: 0; list-style: none; }
  .item { display: flex; align-items: center; gap: 0.875rem; padding: 1rem 0; border-top: 1px solid var(--line); }
  .item:last-child { border-bottom: 1px solid var(--line); }
  .item .grow { flex: 1; min-width: 0; }
  .item b { display: block; font-weight: 600; }
  .empty { padding: 2rem 1.5rem; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--soft); }

  .photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .photo { position: relative; aspect-ratio: 3 / 4; border-radius: 1rem; border: 1px dashed var(--soft); background: var(--paper); display: grid; place-items: center; color: var(--soft); font-size: 1.75rem; cursor: pointer; }
  .photo.filled { border: 0; background: linear-gradient(160deg, #D9B3A3, #8B5A54); color: var(--paper); font: 500 1rem/1 var(--serif); }
  .photo.filled::after { content: "Foto " attr(data-n); }

  .menu { display: grid; }
  .menu button, .menu a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: 0 0.25rem; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font-weight: 500; text-decoration: none; cursor: pointer; }
  .menu > :last-child { border-bottom: 1px solid var(--line); }
  .menu .danger { color: var(--wine); }
  .btn.danger { background: transparent; color: var(--wine); box-shadow: inset 0 0 0 1.5px var(--wine); }

  /* Chat */
  .chat-head { position: sticky; top: 0; z-index: 5; margin: -1rem -1rem 0; padding: 0.5rem 1rem 0.75rem; background: var(--bg); border-bottom: 1px solid var(--line); }
  .chat-head .bar { min-height: 3rem; }
  .pin { display: flex; gap: 0.75rem; align-items: center; padding: 0.75rem 1rem; border-radius: 1rem; background: var(--paper); font-size: 0.9375rem; }
  .pin svg { flex: none; width: 1.25rem; height: 1.25rem; color: var(--wine); }
  .msgs { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem 0 1rem; }
  .sys { align-self: center; max-width: 90%; padding: 0.625rem 1rem; border-radius: 1rem; background: var(--bg-2); color: var(--soft); font-size: 0.8125rem; text-align: center; }
  .msg { max-width: 80%; padding: 0.625rem 0.9rem; border-radius: 1.125rem; background: var(--paper); border: 1px solid var(--line); overflow-wrap: anywhere; }
  .msg.me { align-self: flex-end; background: var(--wine); color: #fff; border-color: var(--wine); }
  .msg time { display: block; margin-top: 0.125rem; font-size: 0.6875rem; opacity: 0.7; }
  .composer { position: sticky; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 0.5rem); display: flex; gap: 0.5rem; padding-top: 0.5rem; background: var(--bg); }
  .composer .input { border-radius: 999px; }
  .suggest { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
  .suggest button { flex: none; min-height: 2.5rem; padding: 0 0.875rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 0.875rem; cursor: pointer; }
  @media (min-width: 60rem) { .composer { bottom: 1rem; } }

  dialog { width: min(30rem, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 1.5rem; border: 0; border-radius: var(--r); background: var(--bg); color: var(--ink); overflow: auto; }
  dialog::backdrop { background: rgba(58, 31, 29, 0.45); }
  dialog h2 { margin-top: 0; }
  dialog .row2 { margin-top: 1.25rem; }

  .toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 1rem + env(safe-area-inset-bottom)); z-index: 30; transform: translate(-50%, 0.5rem); max-width: calc(100% - 2rem); padding: 0.75rem 1.25rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.9375rem; opacity: 0; pointer-events: none; transition: opacity 200ms var(--ease), transform 200ms var(--ease); }
  .toast.show { opacity: 1; transform: translate(-50%, 0); }

  .view { animation: rein 220ms var(--ease); }
  @keyframes rein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .view { animation: none; } .btn:active, .chip:active { transform: none; } .toast { transition: opacity 150ms linear; transform: translate(-50%, 0); } }

  .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; }
  .photo .weg { position: absolute; top: 0.375rem; right: 0.375rem; z-index: 1; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: rgba(58,31,29,0.75); color: #fff; font-size: 1.125rem; cursor: pointer; }
  .photo.laedt { color: var(--soft); font-size: 0.875rem; }
  .bald { padding: 2rem 1.5rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
  .photo.filled-img { border: 0; background: var(--bg-2); cursor: default; }

  /* Chat-Medien */
  .msg.media { padding: 0.3rem; max-width: 75%; }
  .medium { position: relative; overflow: hidden; min-width: 12rem; min-height: 9rem; border-radius: 0.9rem; background: var(--bg-2); }
  .medium img, .medium video { display: block; width: 100%; max-height: 24rem; object-fit: cover; }
  .medium.verdeckt img { filter: blur(28px) saturate(0.6); transform: scale(1.12); }
  .medium .aufdecken { display: none; }
  .medium.verdeckt .aufdecken { display: block; position: absolute; inset: 0; margin: auto; width: max-content; height: 2.75rem; padding: 0 1.125rem; border: 0; border-radius: 999px; background: rgba(58, 31, 29, 0.85); color: #fff; font: inherit; font-weight: 600; cursor: pointer; z-index: 2; }
  .medium.verdeckt .abspielen { visibility: hidden; }
  .medium.verdeckt[data-typ="video"] { background: linear-gradient(135deg, #CDB0A3, #8B5A54); }
  .abspielen { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.875rem; border: 0; border-radius: 999px; background: rgba(255,255,255,0.85); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
  .medium .abspielen { position: absolute; inset: 0; margin: auto; width: max-content; height: 2.75rem; }
  .abspielen svg { width: 1.125rem; height: 1.125rem; }
  .msg.me .abspielen { background: rgba(255,255,255,0.18); color: #fff; }
  .medium-audio audio { max-width: 15rem; height: 2.5rem; }
  .medium.fehler::after { content: "Nicht ladbar"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--soft); font-size: 0.875rem; }
  .icon-btn { flex: none; display: grid; place-items: center; width: 2.75rem; height: 3.25rem; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 999px; }
  .icon-btn svg { width: 1.5rem; height: 1.5rem; }
  .icon-btn:has(:focus-visible) { outline: 2px solid var(--wine); outline-offset: 2px; }
  .aufnahme { position: sticky; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 0.5rem); display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0.5rem 0.5rem 1rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
  .aufnahme #a-zeit { font-variant-numeric: tabular-nums; font-weight: 600; }
  .aufnahme .muted { flex: 1; }
  .punkt { width: 0.75rem; height: 0.75rem; border-radius: 50%; background: #C0392B; animation: puls 1.2s ease-in-out infinite; }
  @keyframes puls { 50% { opacity: 0.35; } }
  @media (prefers-reduced-motion: reduce) { .punkt { animation: none; } }
  .schalter { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: 0.75rem 0.25rem; border-top: 1px solid var(--line); font-weight: 500; cursor: pointer; }
  .einwilligung { display: flex; gap: 0.75rem; align-items: flex-start; margin: 1.5rem 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--soft); cursor: pointer; }
  .einwilligung input { flex: none; width: 1.375rem; height: 1.375rem; margin: 0.0625rem 0 0; accent-color: var(--wine); }
  .einwilligung a { color: var(--ink); }
  .rechtliches { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
  .rechtliches a { display: inline-block; padding: 0.5rem 0; color: inherit; }
  .schalter input { flex: none; width: 1.5rem; height: 1.5rem; accent-color: var(--wine); }
  @media (min-width: 60rem) { .aufnahme { bottom: 1rem; } }

  /* Anrufe */
  .anruf-knoepfe { display: inline-flex; align-items: center; }
  .anruf-knoepfe .icon-btn { width: 2.75rem; height: 2.75rem; color: var(--wine); }
  .anruf-leiste { display: flex; align-items: center; gap: 0.625rem; margin: 0.75rem 0 0; padding: 0.625rem 0.875rem; border-radius: 1rem; background: var(--paper); border: 1px solid var(--line); font-size: 0.9375rem; }
  .anruf-leiste svg { flex: none; width: 1.25rem; height: 1.25rem; color: var(--wine); }
  /* Fotos: öffentlich/privat, Galerie */
  .foto-hint { margin: 0 0 0.625rem; }
  .avatar-knopf, .chat-name { flex: none; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
  .avatar-knopf .avatar { transition: transform 160ms var(--ease); }
  .avatar-knopf:active .avatar { transform: scale(0.96); }
  .chat-name { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding-right: 0.5rem; min-width: 0; }
  .chat-name .avatar { width: 2.25rem; height: 2.25rem; }
  .chat-name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .fotos-link { display: block; margin-top: 0.125rem; padding: 0.375rem 0; border: 0; background: none; color: var(--wine); font: 500 0.875rem/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
  .galerie { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 0 0.5rem; padding-bottom: 0.25rem; overscroll-behavior-x: contain; scrollbar-width: none; }
  .galerie::-webkit-scrollbar { display: none; }
  .galerie figure { flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
  .galerie img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 1rem; background: var(--bg-2); }
  .galerie figcaption { display: flex; gap: 0.375rem; align-items: center; margin-top: 0.375rem; font-size: 0.8125rem; color: var(--soft); }
  .galerie figcaption svg { width: 1rem; height: 1rem; flex: none; }
  .galerie-zahl { margin: 0 0 1rem; }
  .anruf-leiste > span:first-of-type { flex: 1; }
  .anruf-leiste .btn.ghost { min-height: 2.5rem; padding: 0 0.25rem; }
  .anruf-leiste.wichtig { flex-direction: column; align-items: stretch; background: var(--wine); color: #fff; border: 0; }
  .anruf-leiste.wichtig .btn.quiet { color: #fff; border-color: #fff; }
  .anruf-leiste.wichtig .btn:not(.quiet) { background: #fff; color: var(--wine); }
  .anruf { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: max(2rem, env(safe-area-inset-top)) 1.5rem max(2rem, env(safe-area-inset-bottom)); background: #241413; color: #fff; }
  .anruf #a-fern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #241413; }
  .anruf.audio #a-fern, .anruf.audio #a-ich { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
  .anruf #a-ich { position: absolute; right: 1rem; top: max(1rem, env(safe-area-inset-top)); width: 6.5rem; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0.875rem; border: 2px solid rgba(255,255,255,0.6); z-index: 2; transform: scaleX(-1); background: #000; }
  .anruf-info { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-top: 3rem; text-align: center; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
  .anruf-info img, .anruf-info .avatar { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; }
  .anruf-info h2 { margin: 0.5rem 0 0; font: 400 2rem/1.1 var(--serif); }
  .anruf-info p { margin: 0; opacity: 0.85; font-variant-numeric: tabular-nums; }
  .anruf.video.laeuft .anruf-info { margin-top: 0; align-self: flex-start; }
  .anruf-knoepfe2 { position: relative; z-index: 2; display: flex; gap: 1.5rem; }
  .rund { display: grid; place-items: center; width: 4rem; height: 4rem; border: 0; border-radius: 50%; background: rgba(255,255,255,0.18); color: #fff; cursor: pointer; }
  .rund svg { width: 1.75rem; height: 1.75rem; }
  .rund[aria-pressed="true"] { background: #fff; color: #241413; }
  .rund.rot { background: #D0352B; } .rund.rot svg { transform: rotate(135deg); }
  .rund.gruen { background: #2F9E55; }
  .anruf #a-ich:not([data-an]) { display: none; }
