:root {
  --green: #0f5c4a; --green-d: #0a4035; --gold: #b8913f; --gold-l: #f4ead3;
  --bg: #fbf8f2; --card: #ffffff; --text: #1f2a27; --muted: #5f6b67; --line: #e6dfd0;
  --ok: #e3f3ea; --ok-t: #1d6b45; --err: #fbe7e5; --err-t: #9b2c22;
  --radius: 14px; --shadow: 0 2px 10px rgba(30, 40, 35, .06);
  font-family: "Segoe UI", system-ui, -apple-system, "Noto Sans", "Noto Naskh Arabic", Tahoma, Arial, sans-serif;
}
[dir="rtl"] { font-family: "Segoe UI", "Noto Naskh Arabic", "Geeza Pro", Tahoma, Arial, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; }
[dir="rtl"] body { font-size: 17px; }
a { color: var(--green); }
h1, h2, h3 { line-height: 1.25; color: var(--green-d); }
h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: .2em 0 .5em; }
h2 { font-size: 1.4rem; margin: 0 0 .8em; }
h3 { font-size: 1.1rem; margin: 0 0 .4em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.block { padding: 40px 16px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.pre { white-space: pre-wrap; }
[hidden] { display: none !important; }

/* Kopf */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1.3rem; color: var(--green-d); }
.top nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.top nav a { text-decoration: none; font-weight: 600; }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.langs a { padding: 4px 10px; font-size: .85rem; font-weight: 500 !important; color: var(--muted); }
.langs a.on { background: var(--green); color: #fff; }

/* Startseite */
.hero { background: linear-gradient(160deg, var(--green-d), var(--green) 60%, #17725d); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 4l6 10 11-3-3 11 10 6-10 6 3 11-11-3-6 10-6-10-11 3 3-11-10-6 10-6-3-11 11 3z' fill='none' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E"); }
.hero-in { padding: 64px 16px 56px; text-align: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 760px; margin-inline: auto; }
.kicker { color: var(--gold-l); font-weight: 600; letter-spacing: .02em; margin: 0; }
.lead { max-width: 680px; margin: 0 auto 28px; font-size: 1.1rem; opacity: .95; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .btn.ghost { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.founder { display: inline-block; margin: 26px auto 0; background: var(--gold-l); color: #5b4512; padding: 10px 16px; border-radius: 12px; }
.founder.small { display: block; margin: 0 0 20px; font-size: .95rem; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--muted); }
.ico { font-size: 1.6rem; margin-bottom: 6px; }
.block > h2 { text-align: center; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.steps span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* Knöpfe */
.btn { display: inline-block; background: var(--green); color: #fff; border: 2px solid var(--green); border-radius: 12px; padding: 11px 20px;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--green-d); border-color: var(--green-d); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--gold-l); }
.btn.big { width: 100%; padding: 15px; font-size: 1.1rem; }
.btn.small { padding: 6px 12px; font-size: .9rem; }

/* Formulare */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin: 0 0 18px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
fieldset.panel { padding: 22px; }
legend { font-weight: 700; font-size: 1.15rem; color: var(--green-d); padding: 0; margin-bottom: 12px; float: left; width: 100%; }
legend + * { clear: both; }
.form label, .field, .waitlist label { display: block; margin: 0 0 14px; font-weight: 600; }
.form small, .field small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
.lbl { display: block; margin-bottom: 6px; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #cfc6b4; border-radius: 10px;
  font: inherit; font-weight: 400; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
input[type=file] { padding: 8px; background: var(--bg); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.short { max-width: 320px; }
.money { position: relative; display: block; }
.money b { position: absolute; right: 14px; top: 50%; transform: translateY(-25%); color: var(--muted); }
.money input { padding-right: 64px; }   /* Zahl links, Währungszeichen rechts – auch auf Arabisch, damit nichts überlappt */
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { margin: 0 !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid #cfc6b4; border-radius: 99px; font-weight: 500; background: #fff; user-select: none; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); }
.hp { position: absolute !important; width: 1px !important; height: 1px; padding: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.waitlist { position: relative; }
.note { padding: 12px 16px; border-radius: 10px; margin: 0 0 14px; }
.note.ok { background: var(--ok); color: var(--ok-t); }
.note.err { background: var(--err); color: var(--err-t); }

/* Aufnahme */
.recorder { display: grid; gap: 10px; justify-items: start; }
.recorder audio, audio { width: 100%; max-width: 480px; }
.rec-btn.recording { background: #b3261e; border-color: #b3261e; animation: pulse 1.4s infinite; }
.rec-status { color: var(--muted); min-height: 1.4em; }
@keyframes pulse { 50% { opacity: .75; } }

/* Tabs */
.tabs { display: flex; gap: 6px; background: var(--bg); padding: 5px; border-radius: 12px; margin-bottom: 14px; }
.tabs button, .tabs a { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; font: inherit; font-weight: 650; cursor: pointer; color: var(--muted); text-align: center; text-decoration: none; }
.tabs .on { background: #fff; color: var(--green-d); box-shadow: var(--shadow); }
.waitlist { max-width: 560px; margin: 20px auto 0; }

/* Lehrerbereich */
.dash-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.dash-head h1, .dash-head h2 { margin: 0 0 6px; }
.avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-l); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: .85rem; font-weight: 600; background: #eee; margin: 2px 0; }
.badge.s-new { background: #e8eef9; color: #284a8c; }
.badge.s-review { background: #fff1d6; color: #7a5300; }
.badge.s-verified { background: var(--ok); color: var(--ok-t); }
.badge.s-rejected { background: var(--err); color: var(--err-t); }
.badge.gold { background: var(--gold); color: #fff; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 16px; }
.facts dt { font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; }

/* Verwaltung */
.admin-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.admin-bar h1 { margin: 0; }
/* Verwaltung mit Navigation links wie bei Stripe/Shopify (27.10.2026; früher Reiter oben, bei 8 Reitern durcheinander) */
.admin-layout { padding-top: 0; }
.admin-titel { margin: 0 0 18px; }
.leiste a span:last-child, .l-ab span:last-child { white-space: nowrap; }
.l-ab-form { margin: 0; }
button.l-ab { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; background: none; border: 0; border-top: 1px solid var(--line); font: inherit; font-weight: 600; cursor: pointer; text-align: start; }
button.l-ab:hover { background: var(--bg); }
@media (max-width: 820px) { .l-ab-form { flex: none; } button.l-ab { border-top: 0; padding: 8px 12px; font-size: .9rem; } }
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.filters select { width: auto; margin: 0; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg); font-weight: 650; white-space: nowrap; }
tr.link { cursor: pointer; }
tr.link:hover td { background: #fcfaf5; }
.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }

.legal h2 { font-size: 1.15rem; margin-top: 1.4em; }

/* Fuß */
.foot { border-top: 1px solid var(--line); padding: 22px 0; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.foot .wrap { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .row, .detail { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dd { margin-bottom: 8px; }
  .hero-in { padding: 44px 16px 40px; }
  .block { padding: 28px 16px; }
  .top nav { gap: 10px; font-size: .95rem; }
}

/* ---------- Plattform (24.10.2026) ---------- */
.lehrer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.lehrer-karte { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s; }
.lehrer-karte:hover { transform: translateY(-2px); border-color: var(--gold); }
.lk-kopf { display: flex; align-items: center; gap: 12px; }
.lk-kopf > div { flex: 1; }
.lk-preis { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.avatar.klein { width: 56px; height: 56px; border-width: 2px; }
.avatar.platz { display: inline-grid; place-items: center; background: #dfeee8; color: var(--green); font-weight: 800; font-size: 1.6rem; }
.avatar.klein.platz { font-size: 1.3rem; }
.st { color: #d6d0c4; font-size: 1.05rem; }
.st.on { color: #e6a91f; }
.rang-badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 700; background: #eee; color: #555; }
.rang-badge.r-bronze { background: #f3dfcc; color: #7a4a1d; }
.rang-badge.r-silber { background: #e7ebee; color: #46525c; }
.rang-badge.r-gold { background: linear-gradient(135deg, #f6dc9c, #c9a04f); color: #4a3510; }
.profil-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.review { border-top: 1px solid var(--line); padding: 10px 0; color: #b8860b; }
.review p { color: var(--text); margin: 4px 0 0; }
.slots { display: grid; gap: 12px; max-height: 420px; overflow-y: auto; padding: 4px; position: relative; }
/* versteckte Auswahlknöpfe an ihrem Chip festhalten – sonst liegen sie außerhalb der scrollbaren Terminliste
   und machen die Seite unsichtbar tausende Pixel länger (Louay, 27.10.2026: „Seite geht unendlich lang nach unten“) */
.chip { position: relative; }
.slot-tag b { display: block; margin-bottom: 6px; font-size: .95rem; color: var(--green-d); }
.slot-tag .chip span { padding: 6px 12px; font-size: .95rem; }
.termin { padding: 16px 18px; }
.termin-kopf { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.termin-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.termin.s-cancelled, .termin.s-declined, .termin.s-expired, .termin.s-missed { opacity: .65; }
form.inline { display: inline; }
.badge.s-requested { background: #fff1d6; color: #7a5300; }
.badge.s-confirmed { background: var(--ok); color: var(--ok-t); }
.badge.s-done { background: #e8eef9; color: #284a8c; }
.badge.s-cancelled, .badge.s-declined, .badge.s-expired, .badge.s-missed { background: #eee; color: #666; }
.bewerten { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; }
.bewerten input[name=text] { flex: 1; min-width: 180px; margin: 0; }
.sterne-wahl { display: inline-flex; flex-direction: row-reverse; }
.sterne-wahl input { position: absolute; opacity: 0; }
.sterne-wahl label { font-size: 1.8rem; color: #d6d0c4; cursor: pointer; padding: 0 2px; }
.sterne-wahl input:checked ~ label, .sterne-wahl label:hover, .sterne-wahl label:hover ~ label { color: #e6a91f; }
/* Videoraum nach Vorbild Teams/Zoom (Louay, 25.10.2026): Vorraum, Raum, Chat, Einstellungen */
body.call-seite { background: #0b1f1a; color: #fff; }
body.call-seite .foot { display: none; }
body.im-raum { overflow: hidden; }
body.im-raum header.top { display: none; }
.vr [hidden] { display: none !important; }
.vr a:not(.btn) { color: #e6c47c; }
.vr-klein { font-size: .85rem; color: #b9cfc8; margin: 8px 0; line-height: 1.5; }
.vr svg .strich { display: none; }
.vr .aus svg .strich, .stumm-zeichen svg .strich { display: inline; }
.vr .btn { background: #e6c47c; border-color: #e6c47c; color: #0a4035; }
.vr .btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
/* Vorraum */
.vorraum { max-width: 1100px; margin: 0 auto; padding: 28px 16px 40px; overflow-x: hidden; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.vorschau { position: relative; aspect-ratio: 16 / 9; background: #132e27; border-radius: 18px; overflow: hidden; }
.vorschau video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.vorschau-leiste { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; z-index: 2; }
.vorschau-leiste .vr-knopf { background: rgba(0,0,0,.5); backdrop-filter: blur(6px); }
.pegel { height: 6px; background: rgba(255,255,255,.12); border-radius: 99px; margin-top: 14px; overflow: hidden; }
.pegel i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #3fb68b, #e6c47c); transition: width .08s linear; }
.vorraum-seite h1 { color: #fff; margin: 0 0 6px; font-size: 1.7rem; }
.vr-mit { color: #b9cfc8; margin: 0 0 12px; }
.peer-da { display: flex; align-items: center; gap: 10px; color: #b9cfc8; margin: 0 0 20px; }
.peer-da i { width: 10px; height: 10px; border-radius: 50%; background: #6b7f79; flex: none; }
.peer-da.da { color: #fff; font-weight: 600; }
.peer-da.da i { background: #3fb68b; box-shadow: 0 0 0 4px rgba(63,182,139,.25); }
.geraete { display: grid; gap: 10px; margin-bottom: 14px; }
.geraete label { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: #dfe9e6; margin: 0; font-weight: 400; }
.geraete select { flex: 1; min-width: 0; width: auto; max-width: 100%; text-overflow: ellipsis; margin: 0; background: #132e27; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 9px 10px; font: inherit; }
.link-knopf { background: none; border: 0; color: #e6c47c; font: inherit; font-size: .9rem; cursor: pointer; padding: 2px 0; text-decoration: underline; margin-inline-start: 32px; }
.vr .schalter { display: flex; flex-wrap: nowrap; gap: 10px; align-items: flex-start; cursor: pointer; margin: 6px 0; font-weight: 400; color: #fff; }
.vr .schalter span { flex: 1; min-width: 0; }
.vr .schalter input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: #e6c47c; flex: none; }
.vr .schalter span { display: grid; gap: 2px; }
.vr .schalter small { color: #b9cfc8; font-size: .82rem; line-height: 1.45; }
.vr-join { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; padding: 13px 18px; font-size: 1.02rem; }
/* Kachel ohne Bild: Initialen wie bei Teams */
.vr-avatar { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; background: radial-gradient(circle at 50% 40%, #1d4a3e, #10271f); text-align: center; padding: 16px; }
.vr-avatar .ini { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: #0f5c4a; color: #e6c47c; font-size: 2.2rem; font-weight: 700; border: 2px solid rgba(230,196,124,.5); transition: box-shadow .15s; }
.vr-avatar.gross .ini { width: 140px; height: 140px; font-size: 3.2rem; }
.vr-avatar b { font-size: 1.2rem; }
.vr-avatar small { color: #b9cfc8; max-width: 420px; font-size: .95rem; }
/* Raum */
.raum { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; background: #0b1f1a; color: #fff; }
.raum-kopf { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 10px 16px; flex-wrap: wrap; font-size: .95rem; }
.raum-kopf .muted { color: #b9cfc8; }
.netz { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.netz i { width: 4px; background: rgba(255,255,255,.25); border-radius: 1px; }
.netz i:nth-child(1) { height: 5px; } .netz i:nth-child(2) { height: 9px; } .netz i:nth-child(3) { height: 14px; }
.netz[data-q="3"] i { background: #3fb68b; }
.netz[data-q="2"] i:nth-child(-n+2) { background: #e6c47c; }
.netz[data-q="1"] i:nth-child(1) { background: #d9473a; }
.raum-mitte { position: relative; flex: 1; min-height: 0; display: flex; gap: 12px; padding: 0 12px; }
.buehne { position: relative; flex: 1; min-width: 0; background: #0f241e; border-radius: 16px; overflow: hidden; }
.buehne.spricht::after { content: ''; position: absolute; inset: 0; border: 3px solid #3fb68b; border-radius: inherit; pointer-events: none; }
.buehne.spricht .vr-avatar.gross .ini { box-shadow: 0 0 0 6px rgba(63,182,139,.55), 0 0 0 16px rgba(63,182,139,.18); }
#fern { width: 100%; height: 100%; object-fit: contain; background: #0f241e; display: block; }
#fern.bildschirm { background: #000; }
#fern.fuellen:not(.bildschirm) { object-fit: cover; }
.stumm-zeichen { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; display: grid; padding: 7px; border-radius: 99px; background: rgba(0,0,0,.55); color: #ff8a80; }
.selbst { position: absolute; z-index: 3; width: 22%; min-width: 130px; max-width: 280px; aspect-ratio: 16 / 9; bottom: 14px; inset-inline-end: 14px; border-radius: 12px; overflow: hidden; background: #24493f; border: 2px solid rgba(255,255,255,.25); box-shadow: 0 6px 20px rgba(0,0,0,.45); cursor: grab; touch-action: none; }
.selbst video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.selbst .vr-avatar { display: none; }
.selbst.ohne-bild .vr-avatar { display: grid; }
.selbst.ohne-bild video { display: none; }
.selbst .vr-avatar .ini { width: 46px; height: 46px; font-size: 1rem; }
.selbst.bildschirm video { transform: none; object-fit: contain; background: #000; }
.selbst.spricht, .selbst.ptt { border-color: #3fb68b; }
.selbst-name { position: absolute; bottom: 6px; inset-inline-start: 8px; font-size: .75rem; background: rgba(0,0,0,.5); padding: 2px 8px; border-radius: 99px; }
.selbst.stumm .selbst-name::after { content: ' · 🔇'; }
.toast { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 12px; align-items: center; width: max-content; max-width: calc(100% - 28px); padding: 10px 14px; border-radius: 12px; background: rgba(15,36,30,.96); border: 1px solid rgba(230,196,124,.45); box-shadow: 0 8px 24px rgba(0,0,0,.45); font-size: .95rem; }
.toast button { background: #e6c47c; color: #0a4035; border: 0; border-radius: 99px; padding: 6px 14px; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.call-hinweis { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; padding: 30px; text-align: center; background: rgba(11,31,26,.92); margin: 0; }
/* Chat */
.chat { width: 330px; flex: none; display: flex; flex-direction: column; background: #132e27; border-radius: 16px; overflow: hidden; }
.chat-kopf { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.icon-knopf { background: none; border: 0; color: #fff; cursor: pointer; padding: 5px; display: grid; border-radius: 8px; }
.icon-knopf:hover { background: rgba(255,255,255,.1); }
.chat-liste { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.nachricht { align-self: flex-start; max-width: 90%; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.08); }
.nachricht.ich { align-self: flex-end; background: rgba(230,196,124,.18); }
.nachricht b { display: block; font-size: .75rem; color: #b9cfc8; font-weight: 600; }
.nachricht p { margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid rgba(255,255,255,.1); }
.chat-form input { flex: 1; min-width: 0; margin: 0; background: #0b1f1a; color: #fff; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 9px 10px; font: inherit; }
.chat-form .btn { margin: 0; padding: 8px 14px; }
/* Knopfleiste */
.raum-leiste { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; flex-wrap: wrap; }
.vr-knopf { position: relative; display: grid; justify-items: center; gap: 4px; min-width: 70px; padding: 9px 10px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: .75rem; cursor: pointer; transition: background .15s; }
.vr-knopf:hover { background: rgba(255,255,255,.18); }
.vr-knopf.aus { background: rgba(217,71,58,.25); color: #ff8a80; }
.vr-knopf.an { background: #e6c47c; color: #0a4035; }
.vr-knopf.rot { background: #d9473a; }
.vr-knopf.rot:hover { background: #e85a4d; }
.vr-knopf[data-n]:not([data-n=""])::after { content: attr(data-n); position: absolute; top: 3px; inset-inline-end: 10px; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 99px; background: #d9473a; color: #fff; font-size: .7rem; font-weight: 700; }
.vr .fertig { border: 1px solid #d9473a; border-radius: 12px; padding: 0 16px; height: 58px; background: transparent; color: #ff8a80; font: inherit; font-weight: 700; cursor: pointer; }
.vr .fertig:hover { background: rgba(217,71,58,.15); }
.vr .fertig.breit { width: 100%; height: 46px; margin-top: 12px; }
/* Einstellungen und Ende */
.vr-dialog { background: #132e27; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 0 18px 18px; width: min(480px, calc(100vw - 32px)); }
.vr-dialog::backdrop { background: rgba(0,0,0,.6); }
.vr-dialog .chat-kopf { margin: 0 -18px 14px; }
.dialog-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 6px; }
.dialog-knoepfe .btn { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.verlassen { max-width: 560px; margin: 90px auto; padding: 0 16px; text-align: center; }
.verlassen h2 { color: #fff; }
@media (max-width: 760px) {
  .profil-grid { grid-template-columns: 1fr; }
  .vorraum { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 14px; }
  .vorschau { aspect-ratio: 4 / 3; }
  .vorraum-seite h1 { font-size: 1.4rem; }
  .raum-mitte { padding: 0; }
  .buehne { border-radius: 0; }
  .chat { position: absolute; inset: 0; z-index: 6; width: auto; border-radius: 0; }
  .raum-leiste { gap: 6px; padding: 10px 6px calc(10px + env(safe-area-inset-bottom)); flex-wrap: nowrap; }
  .vr-knopf { min-width: 0; padding: 12px; border-radius: 50%; }
  .vr-knopf span { display: none; }
  .vr-knopf[data-n]:not([data-n=""])::after { top: -2px; inset-inline-end: -2px; }
  .raum-leiste .fertig, .tasten { display: none; }
  .selbst { width: 28%; min-width: 92px; aspect-ratio: 3 / 4; }
  .vr-avatar.gross .ini { width: 110px; height: 110px; font-size: 2.6rem; }
  .vorschau-leiste .vr-knopf { padding: 12px; }
}

/* Hero-Knöpfe mit starkem Kontrast (Louay, 24.10.2026) */
.hero .btn { background: #e6c47c; border-color: #e6c47c; color: #0a4035; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.hero .btn:hover { background: #f1d695; border-color: #f1d695; }
.hero .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: #fff; box-shadow: none; }
.hero .btn.ghost:hover { background: rgba(255,255,255,.18); }

/* ---------- Startseite neu (24.10.2026) ---------- */
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 56px 16px; position: relative; z-index: 1; }
.hero-text h1 { color: #fff; font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
.hero-text .lead { margin: 0 0 26px; max-width: 600px; }
.hero-text .cta { justify-content: flex-start; }
.hero-text .founder { margin-top: 22px; }
.mock { display: flex; justify-content: center; }
.mock-phone { width: 300px; background: #fbf8f2; border: 10px solid #0a2f27; border-radius: 40px; padding: 18px 14px; color: var(--text); box-shadow: 0 30px 60px rgba(0,0,0,.35); display: grid; gap: 10px; }
.mock-live { font-size: .8rem; color: var(--ok-t); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.punkt-gruen { width: 9px; height: 9px; border-radius: 50%; background: #22a35a; box-shadow: 0 0 0 4px rgba(34,163,90,.2); }
.mock-call { background: var(--green); color: #fff; border-radius: 18px; padding: 14px; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.mock-call .mock-av { grid-row: span 2; background: var(--gold-l); color: var(--green-d); }
.mock-call small { color: #cfe3dc; grid-column: 2; }
.mock-zeit { grid-row: span 2; grid-column: 3; font-weight: 700; color: var(--gold-l); }
.mock-titel { font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: 4px; }
.mock-zeile { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 10px; }
.mock-zeile > div { flex: 1; display: grid; line-height: 1.2; }
.mock-zeile small, .mock-call small { font-size: .75rem; }
.mock-zeile small { color: var(--muted); }
.mock-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #dfeee8; color: var(--green); font-weight: 800; }
.mock-knopf { font-size: .75rem; font-weight: 700; background: var(--green); color: #fff; border-radius: 99px; padding: 4px 10px; }
.kicker-dunkel { text-align: center; color: var(--gold); font-weight: 700; margin: 0 0 6px; letter-spacing: .03em; }
.lead-dunkel { max-width: 760px; margin: 22px auto 0; font-size: 1.1rem; color: var(--green-d); font-weight: 600; }
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.geschichte .nr { display: block; font-size: 1.6rem; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.band-hell { background: #f3eee2; }
.steps.drei { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps.drei p { margin: 4px 0 0; color: var(--muted); }
.fuer .tabs { margin-bottom: 18px; }
.haken-liste { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.haken-liste li { padding-inline-start: 32px; position: relative; }
.haken-liste li::before { content: "✓"; position: absolute; inset-inline-start: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .8rem; display: grid; place-items: center; top: 2px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--green-d); }
.faq p { margin: 10px 0 0; color: var(--muted); }
.hero.ende h2 { color: #fff; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding: 40px 16px; text-align: center; }
  .hero-text .cta { justify-content: center; }
  .hero-text .lead { margin-inline: auto; }
}
@media (min-width: 900px) { .band-hell .grid3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Anzeige-Karten im Fiverr-Stil, edel (24.10.2026) ---------- */
.gig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.gig { display: flex; flex-direction: column; background: #fff; border: 1px solid #ece6d8; border-radius: 16px; overflow: hidden; color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.gig:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 60, 50, .12); }
.gig-bild { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(150deg, #0a4035, #17725d); overflow: hidden; display: grid; place-items: center; }
.gig-bild::before { content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M24 4l5 8 9-2-2 9 8 5-8 5 2 9-9-2-5 8-5-8-9 2 2-9-8-5 8-5-2-9 9 2z' fill='none' stroke='%23e6c47c' stroke-width='1.2'/%3E%3C/svg%3E"); }
.gig-bild img { width: 100%; height: 100%; object-fit: cover; position: relative; }
.gig-initial { position: relative; font-family: Georgia, "Times New Roman", "Sakkal Majalla", serif; font-size: 4.2rem; color: #e6c47c; line-height: 1; }
.gig-rang { position: absolute; top: 12px; inset-inline-start: 12px; }
.gig-rang .rang-badge { box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.gig-probe { position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(255,255,255,.94); color: var(--green-d); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.gig-text { padding: 14px 16px 6px; display: grid; gap: 6px; }
.gig-wer { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gig-wer b { font-size: 1rem; color: var(--green-d); }
.gig-wer span { font-size: .8rem; color: var(--muted); }
.gig-zeile { margin: 0; font-size: .95rem; line-height: 1.45; color: #2b3532; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.gig-bew { font-size: .88rem; color: var(--muted); }
.gig-bew b { color: var(--text); }
.gig-stern { color: #c9a04f; }
.gig-fuss { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 14px; border-top: 1px solid #f0ebe0; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.gig-preis { font-size: 1.15rem; font-weight: 800; color: var(--green-d); text-transform: none; letter-spacing: 0; }
.gig-preis small { font-size: .7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; }
/* Handy-Bild der Startseite mit Mini-Karten */
.mock-phone .gig { border-radius: 14px; pointer-events: none; }
.mock-phone .gig-bild { aspect-ratio: 16 / 8; }
.mock-phone .gig-initial { font-size: 2.6rem; }
.mock-phone .gig-text { padding: 8px 12px 2px; gap: 3px; }
.mock-phone .gig-zeile { font-size: .78rem; min-height: 0; -webkit-line-clamp: 1; }
.mock-phone .gig-fuss { padding: 6px 12px 9px; font-size: .65rem; }
.mock-phone .gig-preis { font-size: .95rem; }
/* Handy-Bild kompakt wie vorher (Louay, 24.10.2026): feste Handy-Proportion, alles auf einen Blick */
.mock-phone { width: 290px; height: 590px; overflow: hidden; align-content: start; gap: 8px; padding: 16px 12px; }
.mock-phone .mock-call { padding: 10px 12px; }
.mock-phone .gig-bild { aspect-ratio: 3 / 1; }
.mock-phone .gig-initial { font-size: 1.8rem; }
.mock-phone .gig-rang { top: 6px; inset-inline-start: 6px; }
.mock-phone .rang-badge { font-size: .65rem; padding: 2px 8px; }
.mock-phone .gig-text { padding: 6px 10px 0; gap: 2px; }
.mock-phone .gig-wer b { font-size: .85rem; }
.mock-phone .gig-wer span, .mock-phone .gig-bew { font-size: .7rem; }
.mock-phone .gig-fuss { padding: 5px 10px 7px; }
@media (max-width: 860px) { .mock-phone { width: 270px; height: 550px; } }
/* Foto füllt die ganze Bildfläche der Karte (Fix 24.10.2026) */
.gig-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: 1; }
.gig-rang, .gig-probe { z-index: 2; }
/* Kopfleiste am Handy kompakter */
@media (max-width: 560px) {
  .top-in { min-height: 0; padding-top: 8px; padding-bottom: 8px; gap: 6px; }
  .brand { font-size: 1.15rem; }
  .brand img { width: 28px; height: 28px; }
  .top nav { gap: 4px 12px; font-size: .9rem; width: 100%; justify-content: space-between; }
  .langs a { padding: 3px 8px; font-size: .78rem; }
}
/* Karten waagerecht: Bild links (1/4), Text rechts, niedriger (Louay, 24.10.2026) */
.gig-grid { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.gig { display: grid; grid-template-columns: 25% 1fr; grid-template-rows: 1fr auto; }
.gig-bild { grid-row: 1 / span 2; aspect-ratio: auto; min-height: 150px; }
.gig-initial { font-size: 2.4rem; }
.gig-rang { top: 8px; inset-inline-start: 8px; }
.gig-rang .rang-badge { font-size: .65rem; padding: 2px 7px; }
.gig-text { padding: 12px 14px 4px; gap: 4px; }
.gig-zeile { min-height: 0; font-size: .9rem; }
.gig-bew { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.gig-probe { position: static; background: #e3f3ea; color: var(--ok-t); font-size: .7rem; padding: 2px 8px; margin-inline-start: auto; }
.gig-fuss { padding: 8px 14px 10px; }
/* Handy-Bild: gleiche waagerechte Karten, klein */
.mock-phone .gig { grid-template-columns: 25% 1fr; }
.mock-phone .gig-bild { aspect-ratio: auto; min-height: 0; }
.mock-phone .gig-initial { font-size: 1.4rem; }
.mock-phone .gig-rang { top: 4px; inset-inline-start: 4px; }
.mock-phone .rang-badge { font-size: .55rem; padding: 1px 5px; }

/* ---------- App-Layout mit Seitenleiste (24.10.2026) ---------- */
body.app .top nav > a { display: none; }
.app-layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; align-items: start; padding-top: 28px; padding-bottom: 40px; }
.app-inhalt .wrap { max-width: none; padding-inline: 0; }
.app-inhalt .block { padding-top: 0; }
.leiste { position: sticky; top: 84px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.leiste-wer { font-weight: 700; color: var(--green-d); padding: 4px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leiste nav { display: grid; gap: 4px; }
.leiste a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.leiste a:hover { background: var(--bg); }
.leiste a.on { background: var(--green); color: #fff; }
.l-ic { width: 22px; text-align: center; }
.l-zahl { margin-inline-start: auto; background: var(--gold); color: #fff; border-radius: 99px; font-size: .75rem; padding: 1px 8px; }
.leiste a.on .l-zahl { background: #fff; color: var(--green-d); }
.l-ab { color: var(--muted) !important; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; }
@media (max-width: 820px) {
  .app-layout { grid-template-columns: 1fr; gap: 14px; padding-top: 12px; }
  .leiste { position: static; padding: 6px; }
  .leiste-wer { display: none; }
  .leiste nav { display: flex; overflow-x: auto; gap: 4px; }
  .leiste a { flex: none; padding: 8px 12px; font-size: .9rem; }
  .l-ab { margin-top: 0; border-top: 0; }
}

.app-layout { grid-template-columns: 230px minmax(0, 1fr); }
.app-inhalt { min-width: 0; }
@media (max-width: 820px) { .app-layout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Aufgeräumter Kopf (24.10.2026): Sprache als kleiner Knopf, ein Link ---------- */
.top-in { flex-wrap: nowrap; }
.top nav { flex-wrap: nowrap; gap: 10px; }
body.app .top nav > a.kopf-knopf { display: none; }
.sprache { position: relative; }
.sprache summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-size: .85rem; font-weight: 700; color: var(--green-d); background: #fff; }
.sprache summary::-webkit-details-marker { display: none; }
.sprache-liste { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: grid; min-width: 140px; z-index: 20; }
.sprache-liste a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 500; }
.sprache-liste a.on { background: var(--green); color: #fff; }
.kopf-knopf { background: var(--green); color: #fff !important; padding: 7px 16px; border-radius: 99px; font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) {
  .top-in { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .top nav { width: auto; justify-content: flex-end; }
  .kopf-knopf { padding: 6px 12px; font-size: .85rem; }
}

.flagge { width: 20px; height: 14px; border-radius: 3px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); overflow: hidden; }
.sprache summary { display: inline-flex; align-items: center; gap: 6px; }
.sprache-liste a { display: flex; align-items: center; gap: 10px; }
/* Handy unten gekürzt: Höhe nach Inhalt statt fest (Louay, 24.10.2026) */
.mock-phone, .mock-phone { height: auto; padding-bottom: 18px; }
@media (max-width: 860px) { .mock-phone { height: auto; } }


.mail-vorschau { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; background: #f3eee2; }

/* Nachrichten wie bei Fiverr (Louay, 25.10.2026): links Gespräche, rechts Verlauf, Hinweis zum Schutz vor Umgehung */
.chat-seite h1 { margin-top: 0; }
.ch-wrap { display: grid; grid-template-columns: 290px minmax(0, 1fr); height: calc(100vh - 230px); min-height: 440px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ch-liste-gespraeche { border-inline-end: 1px solid var(--line); overflow-y: auto; }
.ch-leer { padding: 18px; }
.ch-gespraech { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; }
.ch-gespraech:hover { background: var(--bg); }
.ch-gespraech.on { background: var(--gold-l); }
.ch-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #e6c47c; font-weight: 700; font-size: .9rem; }
.ch-g-text { flex: 1; min-width: 0; display: grid; }
.ch-g-text small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-g-meta { display: grid; justify-items: end; gap: 4px; color: var(--muted); font-size: .8rem; }
.ch-g-meta .l-zahl { margin: 0; }
.ch-gespraech-box { display: flex; flex-direction: column; min-height: 0; }
.ch-waehle { margin: auto; }
.ch-kopf { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ch-kopf b { margin-inline-end: auto; }
.ch-kopf .btn { margin: 0; }
.ch-zurueck { display: none; }
.ch-verlauf { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.ch-msg { align-self: flex-start; max-width: 78%; background: var(--card); border: 1px solid var(--line); border-radius: 16px; border-end-start-radius: 4px; padding: 8px 12px; }
.ch-msg.ich { align-self: flex-end; background: var(--green); border-color: var(--green); color: #fff; border-radius: 16px; border-end-end-radius: 4px; }
.ch-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ch-msg small { display: block; font-size: .72rem; opacity: .7; margin-top: 2px; text-align: end; }
.ch-gesehen { display: block; font-size: .72rem; color: #e6c47c; text-align: end; }
.ch-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--line); }
.ch-form textarea { flex: 1; margin: 0; resize: none; min-height: 44px; max-height: 160px; }
.ch-form .btn { margin: 0; }
#ch-fehler { margin: 0 12px 10px; }
.ch-warn { max-width: min(520px, calc(100vw - 32px)); border: 0; border-radius: 18px; padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.ch-warn::backdrop { background: rgba(10, 40, 33, .55); }
.ch-warn h2 { margin-top: 0; color: var(--green); }
.ch-hadith { background: var(--gold-l); border-inline-start: 4px solid var(--gold); padding: 10px 14px; border-radius: 8px; font-style: italic; }
.ch-warn-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.ch-warn-knoepfe .btn { margin: 0; }
@media (max-width: 760px) {
  .ch-wrap { grid-template-columns: 1fr; height: calc(100vh - 200px); }
  .mit-gespraech .ch-liste-gespraeche { display: none; }
  .chat-seite:not(.mit-gespraech) .ch-gespraech-box { display: none; }
  .ch-zurueck { display: block; width: 100%; font-size: .9rem; }
  .ch-msg { max-width: 88%; }
}

/* Chat: Melden / Blockieren (26.10.2026) */
.ch-mehr { position: relative; margin-inline-start: auto; }
.ch-mehr summary { list-style: none; cursor: pointer; font-size: 1.4rem; line-height: 1; padding: 4px 10px; border-radius: 10px; color: var(--muted); }
.ch-mehr summary::-webkit-details-marker { display: none; }
.ch-mehr[open] summary { background: var(--bg); }
.ch-mehr-liste { position: absolute; inset-inline-end: 0; top: 110%; z-index: 20; width: 260px; display: grid; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.ch-mehr-liste textarea { width: 100%; }

/* Favoriten-Herz und Suche (Louay, 27.10.2026) */
.gig-wrap { position: relative; }
.herz { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; vertical-align: middle; padding: 0; }
.herz svg { fill: none; stroke: #9aa5a1; stroke-width: 2; transition: transform .15s; }
.herz:hover svg { transform: scale(1.12); }
.herz.an svg { fill: #d9473a; stroke: #d9473a; }
.gig-wrap .herz { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.filters .suche { display: flex; gap: 6px; flex: 1 1 260px; }
.filters .suche input { flex: 1; min-width: 0; margin: 0; }
.filters .suche .btn { margin: 0; }
.fav-filter { margin: 0; }
/* Guthaben wie eine Banking-App */
.gh-karte { background: linear-gradient(135deg, #0f5c4a, #0a4035); color: #fff; border-radius: 20px; padding: 26px 28px; margin: 0 0 12px; box-shadow: var(--shadow); }
.gh-karte small { color: #cfe0da; font-size: .9rem; }
.gh-stand { display: block; font-size: 2.6rem; line-height: 1.15; margin: 4px 0 14px; color: #fff; }
.gh-unter { display: flex; gap: 22px; flex-wrap: wrap; font-size: .9rem; color: #cfe0da; }
.gh-unter b { color: #e6c47c; margin-inline-start: 4px; }
.gh-tag { font-size: .95rem; color: var(--muted); margin: 22px 0 8px; font-weight: 700; }
.gh-liste { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gh-zeile { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.gh-zeile:last-child { border-bottom: 0; }
.gh-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-l); color: var(--green); font-weight: 700; }
.gh-text { flex: 1; min-width: 0; display: grid; }
.gh-text small { color: var(--muted); }
.gh-betrag { font-weight: 700; white-space: nowrap; }
.gh-zeile.gut .gh-betrag { color: #1d6b45; }
.gh-zeile.vorgemerkt .gh-betrag, .gh-zeile.ausstehend .gh-betrag { color: var(--muted); }
.gh-zeile.erstattet .gh-betrag, .gh-zeile.storniert .gh-betrag { color: var(--muted); text-decoration: line-through; }
.gh-zeile.auszahlung .gh-betrag { color: var(--text); }
.gh-zeile.auszahlung .gh-ic { background: #e3f3ea; }
/* Sofort-Unterricht im Chat */
.ch-sofort { margin: 0; }
.ch-sofort .btn { margin: 0; }
.ch-msg.karte { align-self: center; max-width: 92%; background: transparent; border: 0; padding: 0; }
.sofort-karte { display: grid; gap: 8px; background: #fff8e6; border: 1px solid #e6c47c; border-radius: 14px; padding: 14px 16px; text-align: center; color: var(--text); }
.sofort-karte b { color: var(--green-d); }
.sofort-karte.ok { background: #e3f3ea; border-color: #9fd2b6; }
.sofort-karte.nein { background: var(--bg); border-color: var(--line); color: var(--muted); }
.sofort-knoepfe { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 4px 0 0; }
.sofort-knoepfe .btn, .sofort-karte .btn { margin: 0 auto; }
.sofort-status { color: var(--muted); }
/* Kasse für den Sofort-Unterricht (Louay, 27.10.2026): erst bezahlen bzw. Gutschein, dann Videoraum */
.sofort-kasse { max-width: 520px; margin: 0 auto; }
.kasse { width: 100%; border-collapse: collapse; margin: 4px 0 8px; }
.kasse td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.kasse td:last-child { text-align: end; white-space: nowrap; }
.kasse .summe td { font-weight: 700; font-size: 1.1em; border-bottom: 0; color: var(--green-d); }
.kasse-code { display: flex; gap: 8px; align-items: center; }
.kasse-code input { flex: 1; min-width: 0; }
.kasse-code .btn { margin: 0; }
.zahlart { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 4px 0 8px; display: grid; gap: 8px; }
.zahlart legend { font-weight: 600; padding: 0 4px; }
.zahlart label { display: flex; gap: 8px; align-items: center; font-weight: normal; cursor: pointer; }
