/* JOBWOCHE Firmenprofile v2 – Profilseite mit Live-Bereich (Video + Chat), Terminbuchung, Inhaber-Modus (2026-11-11) */
.jwf {
	--t: #0b7d71; --t-dunkel: #075e55; --t-hell: #e7f5f3; --t-leucht: #14b8a6;
	--pink: #e6266f; --pink-dunkel: #c41a5b; --nacht: #0f2b30; --nacht2: #163c42;
	--gruen: #16a34a; --rot: #dc2626; --gelb: #f59e0b;
	--text: #172226; --grau: #5b6870; --linie: #e3e8ea; --flaeche: #f4f7f8;
	--r: 18px; --r-k: 12px; --schatten: 0 1px 2px rgba(15, 43, 48, .06), 0 8px 28px rgba(15, 43, 48, .08);
	font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--text); background: var(--flaeche); padding-bottom: 72px;
	-webkit-font-smoothing: antialiased;
}
.jwf *, .jwf *::before, .jwf *::after { box-sizing: border-box; }
.jwf h1, .jwf h2, .jwf h3, .jwf h4 { font-family: Nunito, 'Open Sans', system-ui, sans-serif; color: var(--text); letter-spacing: -.015em; margin: 0; }
.jwf a { color: var(--t); }
.jwf img { max-width: 100%; display: block; }
.jwf button { font-family: inherit; cursor: pointer; }
.jwf .jwf-i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.jwf [hidden] { display: none !important; }
.jwf-body .nowo-seite { max-width: none; margin: 0; padding: 0; }
.jwf-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.jwf-honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.jwf-leise { color: var(--grau); margin: 0; }
.jwf-klein { font-size: 13px; color: var(--grau); margin: 8px 0 0; }
html.jwf-gesperrt { overflow: hidden; }

/* Knöpfe */
.jwf-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 20px; border: 0; border-radius: 999px; background: var(--t); color: #fff !important; font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; transition: background .15s, transform .1s, box-shadow .15s; white-space: nowrap; }
.jwf-knopf:hover { background: var(--t-dunkel); }
.jwf-knopf:active { transform: scale(.98); }
.jwf-knopf:disabled { opacity: .5; cursor: not-allowed; }
.jwf-knopf-akzent { background: var(--pink); box-shadow: 0 6px 18px rgba(230, 38, 111, .28); }
.jwf-knopf-akzent:hover { background: var(--pink-dunkel); }
.jwf-knopf-hell { background: #fff; color: var(--text) !important; box-shadow: inset 0 0 0 1.5px var(--linie); }
.jwf-knopf-hell:hover { background: var(--flaeche); }
.jwf-knopf-gruen { background: var(--gruen); } .jwf-knopf-gruen:hover { background: #12843c; }
.jwf-knopf-rot { background: var(--rot); box-shadow: none; } .jwf-knopf-rot:hover { background: #b91c1c; }
.jwf-knopf-gross { padding: 14px 26px; font-size: 16px; }
.jwf-voll { width: 100%; }
.jwf-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--t); font-weight: 700; font-size: 14px; }
.jwf-link:hover { text-decoration: underline; }
.jwf-link-rot { color: var(--rot); }

/* Inhaber-Leiste */
.jwf-leiste { position: sticky; top: 0; z-index: 60; background: rgba(15, 43, 48, .96); backdrop-filter: saturate(1.4) blur(10px); color: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .15); }
.admin-bar .jwf-leiste { top: 32px; }
.jwf-leiste-innen { display: flex; align-items: center; gap: 6px; min-height: 58px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.jwf-leiste-titel { display: flex; align-items: center; gap: 10px; margin-right: 10px; font-family: Nunito, sans-serif; font-size: 17px; }
.jwf-status { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-family: 'Open Sans', sans-serif; }
.jwf-status-ok { background: rgba(22, 163, 74, .25); color: #86efac; }
.jwf-status-warte { background: rgba(245, 158, 11, .22); color: #fcd34d; }
.jwf-leiste-knopf { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 0; border-radius: 10px; background: transparent; color: #e2f2f0 !important; font-size: 14px; font-weight: 600; text-decoration: none; position: relative; }
.jwf-leiste-knopf:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.jwf-leiste-knopf.ist-an { color: #86efac !important; }
.jwf-leiste-rand { margin-left: auto; }
.jwf-leiste .jwf-zahl { position: static; margin-left: 2px; }
.jwf-zahl { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 800; font-style: normal; }
.jwf-zahl.ist-jetzt { background: var(--gruen); animation: jwf-puls 1.6s infinite; }

/* Schalter (Video-Chat an/aus, Sprechzeiten) */
.jwf-schalter { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.jwf-schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jwf-schalter i { position: relative; width: 46px; height: 26px; border-radius: 999px; background: #cbd5d8; transition: background .2s; flex: none; }
.jwf-schalter i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .22s cubic-bezier(.3, 1.4, .5, 1); }
.jwf-schalter input:checked + i { background: var(--gruen); }
.jwf-schalter input:checked + i::after { transform: translateX(20px); }
.jwf-schalter input:focus-visible + i { outline: 3px solid rgba(20, 184, 166, .5); outline-offset: 2px; }
.jwf-schalter input:disabled + i { opacity: .45; }
.jwf-leiste-live { padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-weight: 700; font-size: 14px; margin-right: 6px; }
.jwf-leiste-live i { background: rgba(255, 255, 255, .25); }

/* Messeleiste */
.jwf-messeleiste { background: var(--t); color: #fff; }
.jwf-messeleiste-innen { display: flex; align-items: center; gap: 22px; min-height: 52px; }
.jwf-messe-marke { align-self: stretch; display: flex; align-items: center; padding: 6px 22px; background: var(--pink); color: #fff !important; font-family: Nunito, sans-serif; font-weight: 800; font-size: 18px; line-height: 1; text-decoration: none; max-width: 170px; }
.jwf-messe-marke:hover { background: var(--pink-dunkel); }
.jwf-messe-daten { display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; }
.jwf-messe-daten strong { font-size: 16px; }
.jwf-messe-logins { margin-left: auto; display: flex; gap: 10px; }
.jwf-messe-logins a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1.5px solid rgba(255, 255, 255, .8); border-radius: 999px; color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none; }
.jwf-messe-logins a:hover { background: rgba(255, 255, 255, .12); }

.jwf-zurueck { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; font-weight: 700; font-size: 14px; text-decoration: none; }
.jwf-meldung { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--r-k); background: #ecfdf5; color: #065f46; font-weight: 600; box-shadow: inset 0 0 0 1px #a7f3d0; }
.jwf-meldung-fehler { background: #fef2f2; color: #991b1b; box-shadow: inset 0 0 0 1px #fecaca; }

/* Kopf (Hero) */
.jwf-hero { margin-top: 18px; position: relative; }
.jwf-titelbild { height: clamp(180px, 26vw, 340px); border-radius: var(--r) var(--r) 0 0; overflow: hidden; background: linear-gradient(135deg, var(--t) 0%, var(--nacht2) 100%); position: relative; }
.jwf-titelbild img { width: 100%; height: 100%; object-fit: cover; }
.jwf-titelbild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 43, 48, .25)); pointer-events: none; }
.jwf-leer-knopf { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border: 2px dashed rgba(255, 255, 255, .7); border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 700; }
.jwf-hero-karte { display: flex; align-items: flex-end; gap: 22px; padding: 0 28px 24px; background: #fff; border-radius: 0 0 var(--r) var(--r); box-shadow: var(--schatten); flex-wrap: wrap; }
.jwf-logo { flex: none; width: 128px; height: 128px; margin-top: -56px; border-radius: 22px; overflow: hidden; background: #fff; color: var(--t); display: flex; align-items: center; justify-content: center; font-family: Nunito, sans-serif; font-weight: 900; font-size: 64px; box-shadow: 0 0 0 5px #fff, 0 10px 26px rgba(15, 43, 48, .18); position: relative; z-index: 2; }
.jwf-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.jwf-hero-text { flex: 1 1 340px; min-width: 0; padding-top: 18px; }
.jwf-hero-text h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; line-height: 1.1; }
.jwf-unterzeile { margin: 6px 0 0; color: var(--grau); font-size: 16px; }
.jwf-marken { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.jwf-marke { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: var(--flaeche); color: var(--text) !important; font-size: 13px; font-weight: 600; text-decoration: none; }
a.jwf-marke:hover { background: var(--t-hell); }
.jwf-marke .jwf-i { color: var(--t); }
.jwf-marke-live { background: #f1f5f9; }
.jwf-marke-live[data-zustand="free"] { background: #dcfce7; color: #14532d !important; }
.jwf-marke-live[data-zustand="busy"], .jwf-marke-live[data-zustand="break"] { background: #fef3c7; color: #78350f !important; }
.jwf-punkt { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; flex: none; }
[data-zustand="free"] > .jwf-punkt, [data-zustand="free"] .jwf-live-kopf .jwf-punkt { background: var(--gruen); box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: jwf-puls 1.8s infinite; }
[data-zustand="busy"] > .jwf-punkt, [data-zustand="break"] > .jwf-punkt, [data-zustand="busy"] .jwf-live-kopf .jwf-punkt, [data-zustand="break"] .jwf-live-kopf .jwf-punkt { background: var(--gelb); }
[data-zustand="klingelt"] .jwf-live-kopf .jwf-punkt { background: var(--t-leucht); animation: jwf-puls 1s infinite; }
.jwf-hero-aktionen { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 18px; }

/* Raster: Inhalt links, Live-Bereich rechts */
.jwf-raster { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 28px; margin-top: 28px; align-items: start; }
.jwf-spalte { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.jwf-live, .jwf-terminkarte { min-width: 0; max-width: 100%; }
.jwf-ist-inhaber .jwf-spalte { top: 74px; }
.jwf-inhalt { background: #fff; border-radius: var(--r); box-shadow: var(--schatten); padding: 6px 30px 10px; min-width: 0; }

.jwf-reiter { display: flex; gap: 4px; border-bottom: 1px solid var(--linie); position: sticky; top: 0; background: #fff; z-index: 5; margin: 0 -30px; padding: 0 22px; border-radius: var(--r) var(--r) 0 0; overflow-x: auto; scrollbar-width: none; }
.jwf-ist-inhaber .jwf-reiter { top: 58px; }
.jwf-reiter a { flex: none; padding: 16px 12px 14px; color: var(--grau); font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 6px; }
.jwf-reiter a b { font-size: 11px; background: var(--flaeche); color: var(--grau); padding: 2px 7px; border-radius: 999px; }
.jwf-reiter a:hover { color: var(--text); }
.jwf-reiter a.ist-aktiv { color: var(--t); border-color: var(--t); }
.jwf-reiter a.ist-aktiv b { background: var(--t-hell); color: var(--t); }

.jwf-abschnitt { padding: 30px 0 32px; border-bottom: 1px solid var(--linie); scroll-margin-top: 70px; }
.jwf-ist-inhaber .jwf-abschnitt { scroll-margin-top: 130px; }
.jwf-abschnitt:last-child { border-bottom: 0; }
.jwf-abschnitt h2 { font-size: 26px; font-weight: 900; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.jwf-anzahl { font-size: 14px; background: var(--t-hell); color: var(--t); padding: 3px 10px; border-radius: 999px; font-family: 'Open Sans', sans-serif; }
.jwf-stift { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--flaeche); color: var(--t); font-size: 16px; }
.jwf-stift:hover { background: var(--t-hell); }
.jwf-text { font-size: 16px; line-height: 1.7; color: #2b383d; }
.jwf-text p { margin: 0 0 14px; }
.jwf-vorteile { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jwf-vorteile li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--t-hell); color: #0b4f48; font-size: 14px; font-weight: 600; }
.jwf-vorteile .jwf-i { color: var(--t); }

.jwf-stellen { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.jwf-stellen a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 18px; border-radius: 14px; background: var(--flaeche); color: var(--text); text-decoration: none; transition: background .15s, transform .15s, box-shadow .15s; }
.jwf-stellen a:hover { background: #fff; box-shadow: 0 0 0 1.5px var(--t), 0 8px 20px rgba(11, 125, 113, .12); transform: translateY(-1px); }
.jwf-stellen a > * { grid-column: 1; }
.jwf-stellen a > .jwf-i { grid-column: 2; grid-row: 1 / span 4; align-self: center; color: var(--t); width: 22px; height: 22px; }
.jwf-stelle-art { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--t); }
.jwf-stellen strong { font-family: Nunito, sans-serif; font-size: 18px; font-weight: 800; line-height: 1.3; }
.jwf-stelle-kurz { font-size: 14px; color: #3d4a50; line-height: 1.5; }
.jwf-stellen small { font-size: 13px; color: var(--grau); }
.jwf-inhaber-hinweis { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed #b6d9d4; color: var(--grau); font-size: 14px; }
.jwf-inhaber-hinweis a { font-weight: 700; }

.jwf-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-bottom: 14px; }
.jwf-videokachel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; min-height: 150px; padding: 16px; border: 0; border-radius: 14px; overflow: hidden; color: #fff; text-align: left; background: linear-gradient(180deg, rgba(15, 43, 48, .1), rgba(15, 43, 48, .85)), var(--bild, linear-gradient(135deg, var(--t), var(--nacht))) center / cover; }
.jwf-videokachel strong { font-size: 16px; font-family: Nunito, sans-serif; }
.jwf-videokachel small { font-size: 11px; opacity: .75; }
.jwf-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -70%); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--pink); transition: transform .2s; }
.jwf-play .jwf-i { fill: currentColor; stroke: none; width: 24px; height: 24px; margin-left: 3px; }
.jwf-videokachel:hover .jwf-play { transform: translate(-50%, -70%) scale(1.08); }
.jwf-galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jwf-galerie figure { margin: 0; }
.jwf-galerie button { display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--flaeche); }
.jwf-galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.jwf-galerie button:hover img { transform: scale(1.04); }
.jwf-galerie figcaption { font-size: 13px; color: var(--grau); margin-top: 6px; }
.jwf-galerie-1 { grid-template-columns: 1fr; }
.jwf-galerie-2, .jwf-galerie-4 { grid-template-columns: repeat(2, 1fr); }
.jwf-leerfeld { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 32px; border: 2px dashed #c8d6d9; border-radius: 14px; background: var(--flaeche); color: var(--t); font-weight: 700; }

.jwf-kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.jwf-person { display: flex; align-items: center; gap: 16px; grid-column: 1 / -1; }
.jwf-person-foto { width: 86px; height: 86px; border-radius: 50%; overflow: hidden; background: var(--flaeche); display: grid; place-items: center; color: #9fb0b5; flex: none; font-size: 36px; }
.jwf-person-foto img { width: 100%; height: 100%; object-fit: cover; }
.jwf-person strong { display: block; font-family: Nunito, sans-serif; font-size: 20px; font-weight: 800; }
.jwf-person span { color: var(--grau); }
.jwf-kontaktliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.jwf-kontaktliste li { display: flex; align-items: center; gap: 10px; font-size: 15px; min-width: 0; }
.jwf-kontaktliste .jwf-i { color: var(--t); }
.jwf-kontaktliste a { overflow-wrap: anywhere; }
.jwf-sprechzeiten { background: var(--flaeche); border-radius: 14px; padding: 14px 16px; }
.jwf-sprechzeiten h3 { font-size: 15px; display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.jwf-sprechzeiten h3 .jwf-i { color: var(--t); }
.jwf-sprechzeiten ul { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.jwf-sprechzeiten li { display: flex; justify-content: space-between; padding: 4px 0; }
.jwf-sprechzeiten li.ist-heute { color: var(--t); font-weight: 700; }

/* ===== Live-Bereich: Video-Fenster + Chat ===== */
.jwf-live { position: relative; background: var(--nacht); color: #fff; border-radius: var(--r); box-shadow: 0 18px 50px rgba(15, 43, 48, .28); overflow: hidden; scroll-margin-top: 80px; }
.jwf-ist-inhaber .jwf-live { scroll-margin-top: 140px; }
.jwf-live.ist-markiert, .jwf-terminkarte.ist-markiert { animation: jwf-markiert 1.4s ease-out; }
.jwf-live-kopf { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.jwf-live-kopf strong { display: block; font-family: Nunito, sans-serif; font-size: 17px; color: #fff; }
.jwf-live-kopf small { display: block; font-size: 13px; color: #a9c4c7; line-height: 1.35; }
.jwf-live-kopf .jwf-punkt { width: 11px; height: 11px; }

.jwf-buehne { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 20%, #1f4e55 0%, #0b2226 70%); overflow: hidden; }
.jwf-buehne:fullscreen { aspect-ratio: auto; }
.jwf-fern { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; opacity: 0; transition: opacity .3s; }
.jwf-selbst { position: absolute; right: 12px; bottom: 70px; width: 30%; max-width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: #000; box-shadow: 0 6px 20px rgba(0, 0, 0, .45), 0 0 0 2px rgba(255, 255, 255, .25); transform: scaleX(-1); opacity: 0; transition: opacity .3s; z-index: 2; }
.jwf-buehne[data-phase="gespraech"] .jwf-fern, .jwf-buehne[data-phase="verbinde"] .jwf-selbst, .jwf-buehne[data-phase="gespraech"] .jwf-selbst { opacity: 1; }
.jwf-buehne-ruhe { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; transition: opacity .3s; }
.jwf-buehne[data-phase="gespraech"] .jwf-buehne-ruhe { opacity: 0; pointer-events: none; }
.jwf-buehne-bild { position: relative; width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.jwf-buehne-bild img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.jwf-buehne-bild b { font-family: Nunito, sans-serif; font-size: 48px; color: var(--t); }
.jwf-wellen, .jwf-wellen::before, .jwf-wellen::after { position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--t-leucht); opacity: 0; pointer-events: none; }
.jwf-wellen::before, .jwf-wellen::after { content: ''; inset: -2px; }
.jwf-buehne:is([data-phase="klingelt"], [data-phase="klopft"], [data-phase="verbinde"], [data-phase="bereit"]) .jwf-wellen,
.jwf-buehne:is([data-phase="klingelt"], [data-phase="klopft"], [data-phase="verbinde"], [data-phase="bereit"]) .jwf-wellen::before,
.jwf-buehne:is([data-phase="klingelt"], [data-phase="klopft"], [data-phase="verbinde"], [data-phase="bereit"]) .jwf-wellen::after { animation: jwf-welle 2.4s infinite cubic-bezier(.2, .6, .4, 1); }
.jwf-wellen::before { animation-delay: .8s !important; } .jwf-wellen::after { animation-delay: 1.6s !important; }
.jwf-buehne[data-phase="bereit"] .jwf-wellen, .jwf-buehne[data-phase="bereit"] .jwf-wellen::before, .jwf-buehne[data-phase="bereit"] .jwf-wellen::after { border-color: #4ade80; animation-duration: 3.2s; }
.jwf-buehne-text { margin: 0; max-width: 300px; font-size: 14px; line-height: 1.45; color: #cfe3e5; min-height: 1em; }
.jwf-buehne-text:empty { display: none; }
.jwf-buehne-knoepfe { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.jwf-name-form { display: flex; gap: 8px; width: 100%; max-width: 320px; }
.jwf-name-form input:not(.jwf-honig) { flex: 1; min-width: 0; padding: 12px 16px; border: 0; border-radius: 999px; font: inherit; font-size: 15px; }
.jwf-buehne-status { position: absolute; left: 12px; right: 12px; top: 12px; margin: 0; text-align: center; font-size: 13px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); z-index: 3; pointer-events: none; }
.jwf-buehne-status:empty { display: none; }
.jwf-steuerung { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 12px; z-index: 3; }
.jwf-steuerung button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(8px); font-size: 20px; transition: background .15s, transform .1s; }
.jwf-steuerung button:hover { background: rgba(255, 255, 255, .3); }
.jwf-steuerung button.ist-aus { background: #fff; color: var(--nacht); }
.jwf-steuerung .jwf-rot { background: var(--rot); width: 58px; }
.jwf-steuerung .jwf-rot:hover { background: #b91c1c; }
.jwf-klopft { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center; background: rgba(10, 32, 36, .82); backdrop-filter: blur(6px); animation: jwf-rein .3s ease-out; }
.jwf-klopft strong { font-family: Nunito, sans-serif; font-size: 22px; color: #fff; }
.jwf-klopft small { color: #b9d3d6; font-size: 14px; }
.jwf-klopft div { display: flex; gap: 10px; margin-top: 12px; }
.jwf-klopft-glocke { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--t-leucht); color: #fff; font-size: 28px; margin-bottom: 6px; animation: jwf-wackel 1.2s infinite; }
.jwf-klopft-glocke .jwf-i { width: 30px; height: 30px; }

.jwf-chat { background: #fff; color: var(--text); display: flex; flex-direction: column; }
.jwf-chat-kopf { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--linie); flex-wrap: wrap; }
.jwf-chat-kopf strong { font-family: Nunito, sans-serif; font-size: 16px; }
.jwf-chat-kopf small { font-size: 12px; color: var(--grau); }
.jwf-chat-zurueck { align-self: center; display: grid; place-items: center; width: 30px; height: 30px; margin: -4px 0 -4px -6px; border: 0; border-radius: 50%; background: var(--flaeche); color: var(--text); }
.jwf-verlauf { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 6px; max-height: 340px; min-height: 120px; overflow-y: auto; overscroll-behavior: contain; background: #fbfcfc; }
.jwf-verlauf:empty { display: none; }
.jwf-msg { max-width: 84%; }
.jwf-msg p { margin: 0; padding: 9px 13px; border-radius: 16px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.jwf-msg small { display: block; margin-top: 3px; font-size: 11px; color: var(--grau); }
.jwf-msg-du { align-self: flex-start; }
.jwf-msg-du p { background: #eef2f3; border-bottom-left-radius: 5px; }
.jwf-msg-ich { align-self: flex-end; text-align: right; }
.jwf-msg-ich p { background: var(--t); color: #fff; border-bottom-right-radius: 5px; text-align: left; }
.jwf-msg-system { align-self: center; max-width: 92%; padding: 6px 12px; border-radius: 999px; background: #fff7ed; color: #9a3412; font-size: 12px; text-align: center; }
.jwf-start { display: grid; gap: 8px; padding: 12px 14px 14px; }
.jwf-start > input:not(.jwf-honig) { padding: 11px 14px; border: 1.5px solid var(--linie); border-radius: 12px; font: inherit; font-size: 14px; }
.jwf-start .jwf-klein { margin: 0; font-size: 12px; }
.jwf-eingabe { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px 12px; }
.jwf-start .jwf-eingabe { padding: 0; }
.jwf-eingabe textarea { flex: 1; min-width: 0; resize: none; padding: 11px 14px; border: 1.5px solid var(--linie); border-radius: 18px; font: inherit; font-size: 14px; line-height: 1.4; max-height: 130px; background: #fff; }
.jwf-eingabe textarea:focus, .jwf-start input:focus { outline: none; border-color: var(--t); box-shadow: 0 0 0 3px rgba(11, 125, 113, .14); }
.jwf-eingabe button { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--t); color: #fff; font-size: 18px; }
.jwf-eingabe button:hover { background: var(--t-dunkel); }
.jwf-meldung-klein { margin: 0 14px 12px; padding: 9px 12px; border-radius: 10px; background: #fff7ed; color: #9a3412; font-size: 13px; }
.jwf-gespraeche { max-height: 360px; overflow-y: auto; padding: 6px; }
.jwf-eintrag { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; border-radius: 12px; background: none; text-align: left; color: var(--text); }
.jwf-eintrag:hover { background: var(--flaeche); }
.jwf-eintrag-av { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--t-hell); color: var(--t); font-weight: 800; flex: none; }
.jwf-eintrag-av.ist-online::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 2px #fff; }
.jwf-eintrag-mitte { flex: 1; min-width: 0; }
.jwf-eintrag-kopf { display: flex; justify-content: space-between; gap: 8px; }
.jwf-eintrag-kopf strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jwf-eintrag-kopf small { font-size: 11px; color: var(--grau); flex: none; }
.jwf-eintrag-text { display: block; font-size: 13px; color: var(--grau); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jwf-eintrag.ist-neu strong, .jwf-eintrag.ist-neu .jwf-eintrag-text { color: var(--text); font-weight: 700; }
.jwf-eintrag.ist-erledigt { opacity: .6; }
.jwf-gespraeche .jwf-leise { padding: 12px; font-size: 14px; }

/* Termine (Karte rechts) */
.jwf-terminkarte { background: #fff; border-radius: var(--r); box-shadow: var(--schatten); padding: 18px; scroll-margin-top: 80px; }
.jwf-terminkarte header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.jwf-terminkarte h2 { font-size: 18px; font-weight: 900; }
.jwf-terminkarte header small { color: var(--grau); font-size: 13px; }
.jwf-terminkarte-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fde7ef; color: var(--pink); font-size: 20px; flex: none; }
.jwf-terminkarte .jwf-leise { font-size: 14px; }
.jwf-terminkarte > .jwf-knopf { margin-top: 12px; }
.jwf-tage { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: thin; }
.jwf-tag { flex: none; display: grid; justify-items: center; gap: 1px; min-width: 64px; padding: 8px 6px; border: 1.5px solid var(--linie); border-radius: 12px; background: #fff; color: var(--text); }
.jwf-tag small { font-size: 11px; color: var(--grau); text-transform: uppercase; font-weight: 700; }
.jwf-tag b { font-size: 16px; }
.jwf-tag i { font-style: normal; font-size: 10px; color: var(--t); }
.jwf-tag:hover { border-color: var(--t); }
.jwf-tag.ist-aktiv { background: var(--t); border-color: var(--t); color: #fff; }
.jwf-tag.ist-aktiv small, .jwf-tag.ist-aktiv i { color: rgba(255, 255, 255, .85); }
.jwf-zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-top: 6px; }
.jwf-zeit { padding: 10px 6px; border: 0; border-radius: 10px; background: var(--t-hell); color: var(--t-dunkel); font-weight: 800; font-size: 15px; transition: background .15s, color .15s; }
.jwf-zeit:hover { background: var(--t); color: #fff; }
.jwf-meintermin { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 10px; border-radius: 14px; background: var(--flaeche); }
.jwf-meintermin b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--t); }
.jwf-meintermin span { font-size: 14px; font-weight: 600; }
.jwf-meintermin.ist-jetzt { background: #dcfce7; box-shadow: inset 0 0 0 1.5px #86efac; }
.jwf-meintermin.ist-jetzt b { color: #15803d; }
.jwf-meintermin-knoepfe { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.jwf-meintermin-knoepfe .jwf-knopf { padding: 8px 16px; font-size: 14px; }

/* Dialog Buchen + Bildansicht */
.jwf-dialog { width: min(440px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); color: var(--text); }
.jwf-dialog::backdrop, .jwf-ansicht::backdrop { background: rgba(10, 30, 34, .6); backdrop-filter: blur(3px); }
.jwf-dialog-kopf { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 0; margin: 0; }
.jwf-dialog-kopf h2 { font-size: 20px; font-weight: 900; }
.jwf-x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--flaeche); color: var(--text); font-size: 18px; flex: none; }
.jwf-x:hover { background: var(--linie); }
[data-jwf-buchen-inhalt] { padding: 16px 20px 22px; }
.jwf-dialog-termin { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; background: var(--t-hell); margin-bottom: 16px; }
.jwf-dialog-termin b { font-size: 17px; font-family: Nunito, sans-serif; }
.jwf-dialog-termin span { color: #0b4f48; font-size: 14px; }
.jwf-dialog-form { display: grid; gap: 12px; }
.jwf-dialog-intro { margin: 0; font-size: 14px; color: var(--grau); }
.jwf-dialog-unten { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 4px 0 0; font-size: 13px; }
.jwf-fehler { margin: 0; padding: 9px 12px; border-radius: 10px; background: #fef2f2; color: #991b1b; font-size: 14px; }
.jwf-gebucht { text-align: center; display: grid; gap: 12px; justify-items: center; }
.jwf-gebucht h3 { font-size: 22px; font-weight: 900; }
.jwf-gebucht p { margin: 0; font-size: 14px; color: var(--grau); }
.jwf-gebucht .jwf-dialog-termin { width: 100%; margin: 0; }
.jwf-gebucht-haken { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gruen); color: #fff; font-size: 32px; font-weight: 900; animation: jwf-plopp .45s cubic-bezier(.3, 1.6, .5, 1); }
.jwf-ansicht { max-width: min(1100px, 94vw); padding: 0; border: 0; border-radius: 16px; background: #000; overflow: visible; }
.jwf-ansicht > div { min-width: min(320px, 90vw); }
.jwf-ansicht img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 16px; }
.jwf-ansicht figure { margin: 0; }
.jwf-ansicht figcaption { color: #fff; text-align: center; padding: 10px; font-size: 14px; }
.jwf-ansicht .jwf-x { position: absolute; top: -14px; right: -14px; z-index: 2; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.jwf-filmrahmen { width: min(1000px, 92vw); aspect-ratio: 16 / 9; }
.jwf-filmrahmen iframe { width: 100%; height: 100%; border: 0; border-radius: 16px; }

/* Formularfelder */
.jwf-feld { display: grid; gap: 6px; font-size: 14px; min-width: 0; }
.jwf-feld > span { font-weight: 700; color: #2b383d; font-size: 13px; }
.jwf-feld input, .jwf-feld textarea, .jwf-feld select { width: 100%; padding: 11px 13px; border: 1.5px solid var(--linie); border-radius: 12px; font: inherit; font-size: 15px; background: #fff; color: var(--text); }
.jwf-feld textarea { resize: vertical; line-height: 1.55; }
.jwf-feld input:focus, .jwf-feld textarea:focus, .jwf-feld select:focus { outline: none; border-color: var(--t); box-shadow: 0 0 0 3px rgba(11, 125, 113, .14); }
.jwf-feld-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }

/* Seitenfenster (Inhaber) */
.jwf-schublade { position: fixed; inset: 0; z-index: 99990; background: rgba(10, 30, 34, 0); transition: background .25s; }
.jwf-schublade.ist-offen { background: rgba(10, 30, 34, .5); }
.jwf-schublade-innen { position: absolute; top: 0; right: 0; bottom: 0; width: min(660px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: -20px 0 60px rgba(0, 0, 0, .2); }
.jwf-schublade.ist-offen .jwf-schublade-innen { transform: none; }
.admin-bar .jwf-schublade-innen { top: 32px; }
.jwf-schublade-innen > header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--linie); }
.jwf-schublade-innen > header h2 { font-size: 21px; font-weight: 900; }
.jwf-maske { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.jwf-maske-teil { padding: 22px 24px; border-bottom: 1px solid var(--linie); display: grid; gap: 14px; }
.jwf-maske-teil h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 900; flex-wrap: wrap; }
.jwf-maske-teil h3 > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--t); color: #fff; font-size: 13px; }
.jwf-maske-teil h3 small { font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 13px; color: var(--grau); }
.jwf-maske-hinweis p { margin: 0; font-size: 14px; color: var(--grau); line-height: 1.6; }
.jwf-maske-hinweis a { font-weight: 700; }
.jwf-maske-fuss { position: sticky; bottom: 0; margin-top: auto; display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); border-top: 1px solid var(--linie); }
.jwf-maske.ist-speichernd .jwf-maske-fuss .jwf-knopf-akzent::after { content: ''; width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .5); border-top-color: #fff; border-radius: 50%; animation: jwf-dreh .7s linear infinite; }
.jwf-hilfe { margin: 0; font-size: 13px; color: var(--grau); }
.jwf-bilderreihe { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.jwf-bildfeld { display: grid; gap: 6px; align-content: start; }
.jwf-bildfeld-titel { font-weight: 700; font-size: 13px; color: #2b383d; }
.jwf-bildwahl { position: relative; display: block; cursor: pointer; }
.jwf-bildwahl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.jwf-bildwahl-vorschau { display: grid; place-items: center; height: 120px; border-radius: 14px; overflow: hidden; background: var(--flaeche); border: 2px dashed #c8d6d9; color: var(--t); font-weight: 700; }
.jwf-bildwahl-vorschau em { font-style: normal; }
.jwf-bildwahl-vorschau img { width: 100%; height: 100%; object-fit: cover; }
.jwf-bildfeld-logo .jwf-bildwahl-vorschau img { object-fit: contain; padding: 8px; background: #fff; }
.jwf-bildwahl:hover .jwf-bildwahl-vorschau { border-color: var(--t); }
.jwf-bildwahl-text { position: absolute; right: 8px; bottom: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(15, 43, 48, .78); color: #fff; font-size: 12px; font-weight: 700; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.jwf-bildfeld small { font-size: 12px; color: var(--grau); }
.jwf-check-klein { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--grau); }
.jwf-kontaktfoto { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: start; }
.jwf-kontaktfoto > div { display: grid; gap: 12px; }
.jwf-bildfeld-foto .jwf-bildwahl-vorschau { height: 120px; border-radius: 50%; }
.jwf-galerie-maske { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.jwf-galeriebild { display: grid; gap: 6px; position: relative; }
.jwf-galeriebild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.jwf-galeriebild input[type=text], .jwf-galeriebild input:not([type]) { padding: 7px 9px; border: 1.5px solid var(--linie); border-radius: 9px; font: inherit; font-size: 13px; }
.jwf-galerie-neuvorschau small { position: absolute; top: 6px; left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; }
.jwf-galerie-neu { position: relative; display: grid; place-items: center; align-content: center; gap: 2px; aspect-ratio: 4 / 3; border: 2px dashed #c8d6d9; border-radius: 12px; background: var(--flaeche); color: var(--t); cursor: pointer; text-align: center; }
.jwf-galerie-neu input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.jwf-galerie-neu span { font-size: 28px; line-height: 1; }
.jwf-galerie-neu em { font-style: normal; font-weight: 700; font-size: 13px; }
.jwf-galerie-neu:hover { border-color: var(--t); }
.jwf-videozeile { grid-template-columns: 3fr 2fr; }
.jwf-sprechzeiten-maske { display: grid; gap: 8px; }
.jwf-sz-zeile { display: grid; grid-template-columns: 170px 1fr auto 1fr; align-items: center; gap: 10px; font-size: 14px; }
.jwf-sz-zeile input[type=time] { padding: 8px 10px; border: 1.5px solid var(--linie); border-radius: 10px; font: inherit; font-size: 14px; width: 100%; }
.jwf-sz-zeile:has(input[type=checkbox]:not(:checked)) input[type=time], .jwf-sz-zeile:has(input[type=checkbox]:not(:checked)) > span { opacity: .35; }
.jwf-sz-zeile .jwf-schalter span { font-weight: 600; }
.jwf-messewahl { display: flex; flex-wrap: wrap; gap: 8px; }
.jwf-chip-wahl { cursor: pointer; }
.jwf-chip-wahl input { position: absolute; opacity: 0; }
.jwf-chip-wahl span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 1.5px solid var(--linie); font-size: 13px; font-weight: 600; transition: all .15s; }
.jwf-chip-wahl small { color: var(--grau); font-weight: 400; }
.jwf-chip-wahl input:checked + span { background: var(--t); border-color: var(--t); color: #fff; }
.jwf-chip-wahl input:checked + span small { color: rgba(255, 255, 255, .8); }
.jwf-chip-wahl input:focus-visible + span { outline: 3px solid rgba(20, 184, 166, .45); }

/* Termine verwalten */
.jwf-termine-verwalten { flex: 1; overflow-y: auto; }
.jwf-termin-neu { display: grid; gap: 12px; padding: 22px 24px; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.jwf-termin-neu h3 { font-size: 17px; font-weight: 900; }
.jwf-termin-neu .jwf-knopf { justify-self: start; }
.jwf-vorschau-zeile { margin: 0; font-size: 14px; color: var(--t-dunkel); font-weight: 600; min-height: 1.2em; }
.jwf-termin-liste { padding: 8px 24px 30px; }
.jwf-termin-tag { margin: 18px 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--grau); }
.jwf-terminzeile { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 12px; margin-bottom: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--linie); }
.jwf-terminzeile.ist-gebucht { background: #f0fdf4; box-shadow: inset 0 0 0 1.5px #86efac; }
.jwf-terminzeit { font-variant-numeric: tabular-nums; min-width: 96px; }
.jwf-terminwer { flex: 1; min-width: 0; display: grid; }
.jwf-terminwer small { color: var(--grau); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jwf-frei { color: var(--grau); font-size: 14px; }

/* Firmenbereich (Anmeldung) */
.jwf-bereich { padding-top: 40px; }
.jwf-bereich .jwf-wrap { max-width: 980px; }
.jwf-bereich-kopf { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.jwf-dach { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--t-hell); color: var(--t); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.jwf-bereich-kopf h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin: 12px 0 10px; }
.jwf-bereich-kopf p { color: var(--grau); font-size: 17px; line-height: 1.6; margin: 0; }
.jwf-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.jwf-karte { background: #fff; border-radius: var(--r); box-shadow: var(--schatten); padding: 26px; }
.jwf-karte h2 { font-size: 21px; font-weight: 900; margin-bottom: 12px; }
.jwf-schmal { max-width: 520px; margin: 0 auto; }
.jwf-schritte { margin: 0 0 18px; padding-left: 20px; line-height: 1.6; color: #2b383d; }
.jwf-schritte li { margin-bottom: 6px; }
.jwf-anmeldung h2, .jwf-anmeldung h3 { float: none; margin: 0 0 12px; font-family: Nunito, sans-serif; font-size: 21px; font-weight: 900; }
.jwf-anmeldung input[type=text], .jwf-anmeldung input[type=email], .jwf-anmeldung input[type=password] { width: 100%; padding: 11px 13px; border: 1.5px solid var(--linie); border-radius: 12px; font: inherit; }
.jwf-anmeldung button, .jwf-anmeldung input[type=submit] { display: inline-flex; margin: 6px 0 10px; padding: 11px 26px; border: 0; border-radius: 999px; background: var(--t); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.jwf-anmeldung button:hover, .jwf-anmeldung input[type=submit]:hover { background: var(--t-dunkel); }
.jwf-anmeldung a { display: block; font-size: 14px; }

/* Animationen */
@keyframes jwf-puls { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); } 70% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
@keyframes jwf-welle { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes jwf-wackel { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
@keyframes jwf-rein { from { opacity: 0; } }
@keyframes jwf-plopp { from { transform: scale(.3); opacity: 0; } }
@keyframes jwf-dreh { to { transform: rotate(360deg); } }
@keyframes jwf-markiert { 0% { box-shadow: 0 0 0 0 rgba(230, 38, 111, .55), var(--schatten); } 100% { box-shadow: 0 0 0 14px rgba(230, 38, 111, 0), var(--schatten); } }
@media (prefers-reduced-motion: reduce) { .jwf *, .jwf *::before, .jwf *::after { animation: none !important; transition: none !important; } }

/* Tablet / Handy */
@media (max-width: 1020px) {
	.jwf-raster { grid-template-columns: minmax(0, 1fr); }
	.jwf-spalte { position: static; order: -1; min-width: 0; }
	.jwf-buehne { aspect-ratio: 16 / 11; }
}
@media (max-width: 782px) { .admin-bar .jwf-leiste { top: 46px; } .admin-bar .jwf-schublade-innen { top: 0; } }
@media (max-width: 680px) {
	.jwf-wrap { padding: 0 12px; }
	.jwf-leiste-innen { gap: 2px; padding-left: 8px; padding-right: 8px; }
	.jwf-leiste-titel b, .jwf-leiste-knopf span { display: none; }
	.jwf-leiste-titel { margin-right: auto; }
	.jwf-leiste-knopf { padding: 10px; font-size: 18px; }
	.jwf-leiste-live span { display: inline !important; font-size: 13px; }
	.jwf-leiste-rand { margin-left: 0; }
	.jwf-ist-inhaber .jwf-reiter { top: 0; }
	.jwf-messeleiste-innen { flex-wrap: wrap; gap: 8px 14px; padding-bottom: 10px; }
	.jwf-messe-marke { padding: 10px 14px; font-size: 15px; }
	.jwf-messe-logins { margin-left: 0; width: 100%; }
	.jwf-messe-logins a { flex: 1; justify-content: center; }
	.jwf-hero-karte { padding: 0 16px 18px; gap: 12px; }
	.jwf-logo { width: 92px; height: 92px; margin-top: -40px; border-radius: 18px; font-size: 44px; }
	.jwf-hero-text { padding-top: 6px; flex-basis: 100%; }
	.jwf-hero-aktionen { width: 100%; padding-top: 4px; }
	.jwf-hero-aktionen .jwf-knopf { flex: 1; }
	.jwf-inhalt { padding: 4px 16px 6px; }
	.jwf-reiter { margin: 0 -16px; padding: 0 8px; }
	.jwf-abschnitt h2 { font-size: 22px; }
	.jwf-kontakt, .jwf-zwei, .jwf-bilderreihe { grid-template-columns: 1fr; }
	.jwf-galerie { grid-template-columns: repeat(2, 1fr); }
	.jwf-buehne { aspect-ratio: 4 / 3.4; }
	.jwf-sz-zeile { grid-template-columns: 1fr 1fr auto 1fr; }
	.jwf-sz-zeile .jwf-schalter { grid-column: 1 / -1; }
	.jwf-kontaktfoto { grid-template-columns: 96px 1fr; }
	.jwf-maske-teil, .jwf-termin-neu { padding: 18px 16px; }
	.jwf-maske-fuss { padding: 12px 16px; }
	.jwf-maske-fuss .jwf-knopf { flex: 1; padding: 11px 10px; }
	.jwf-termin-liste { padding: 6px 16px 24px; }
	.jwf-videozeile { grid-template-columns: 1fr; }
}

/* ---------- 2026-11-12: Großansicht per Klick, Dateien im Chat, Bildschirm teilen ---------- */
.jwf-live-kopf > div { flex: 1; min-width: 0; }
.jwf-gross-knopf { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font: 700 13px/1 Nunito, sans-serif; cursor: pointer; transition: background .15s; }
.jwf-gross-knopf:hover { background: rgba(255, 255, 255, .2); }
.jwf-gross-knopf .jwf-i { width: 16px; height: 16px; }
.jwf-gross-zu, .jwf-live.ist-gross .jwf-gross-auf { display: none; }
.jwf-live.ist-gross .jwf-gross-zu { display: inline-flex; }

/* Großansicht: alles auf einen Bildschirm – Video links, Chat rechts; auf dem Handy untereinander */
html.jwf-gross-offen { overflow: hidden; }
html.jwf-gross-offen .jwf-spalte { z-index: 100000; }
.jwf-live.ist-gross { position: fixed; inset: 16px; z-index: 100000; display: grid; grid-template-columns: minmax(0, 1fr) clamp(340px, 30vw, 440px); grid-template-rows: auto minmax(0, 1fr); max-width: none; box-shadow: 0 0 0 100vmax rgba(6, 20, 23, .78), 0 30px 80px rgba(0, 0, 0, .5); animation: jwf-gross-auf .18s ease-out; }
@keyframes jwf-gross-auf { from { opacity: .4; transform: scale(.985); } }
.jwf-live.ist-gross .jwf-live-kopf { grid-column: 1 / -1; }
.jwf-live.ist-gross .jwf-buehne { aspect-ratio: auto; height: 100%; max-height: none; min-height: 0; }
.jwf-live.ist-gross .jwf-selbst { max-width: 240px; width: 22%; }
.jwf-live.ist-gross .jwf-chat { min-height: 0; overflow: hidden; }
.jwf-live.ist-gross .jwf-verlauf, .jwf-live.ist-gross .jwf-gespraeche { flex: 1 1 auto; max-height: none; min-height: 0; }
.jwf-live.ist-gross .jwf-start { margin-top: auto; }
@media (max-width: 760px) {
	.jwf-live.ist-gross { inset: 0; border-radius: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 42%) minmax(0, 1fr); }
	.jwf-gross-knopf b { display: none; }
	.jwf-gross-knopf { padding: 8px; }
}

/* Dateien: beschriftete Zeile unter dem Eingabefeld */
.jwf-eingabe { flex-wrap: wrap; }
.jwf-dateizeile { order: 3; flex-basis: 100%; display: flex; align-items: center; gap: 7px; margin: 0; padding: 7px 10px; border: 1.5px dashed #cdd8db; border-radius: 12px; color: var(--t-dunkel); cursor: pointer; font-size: 13px; line-height: 1.3; transition: border-color .15s, background .15s; }
.jwf-dateizeile:hover, .jwf-dateizeile:focus-within { border-color: var(--t); background: var(--t-hell); }
.jwf-dateizeile .jwf-i { width: 18px; height: 18px; flex: none; }
.jwf-dateizeile b { font-weight: 800; white-space: nowrap; }
.jwf-dateizeile small { color: var(--grau); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ist-laedt .jwf-dateizeile, .jwf-start.ist-laedt .jwf-dateizeile { pointer-events: none; opacity: .5; }
.jwf-chat.ist-ziel { box-shadow: inset 0 0 0 3px var(--t); background: var(--t-hell); }
.jwf-chat.ist-ziel .jwf-verlauf { background: transparent; }

.jwf-datei { display: flex; align-items: center; gap: 10px; max-width: 100%; padding: 8px 12px 8px 8px; border: 1px solid var(--linie); border-radius: 14px; background: #fff; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.jwf-datei:hover { border-color: var(--t); box-shadow: 0 2px 10px rgba(11, 125, 113, .12); }
.jwf-datei:disabled { opacity: .6; cursor: progress; }
.jwf-datei-typ { display: grid; place-items: center; flex: none; width: 40px; height: 44px; border-radius: 8px; background: var(--t-hell); color: var(--t-dunkel); font: 800 11px/1 Nunito, sans-serif; letter-spacing: .02em; }
.jwf-datei-mitte { display: flex; flex-direction: column; min-width: 0; }
.jwf-datei-mitte b { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jwf-datei-mitte small { font-size: 12px; color: var(--grau); }
.jwf-msg-ich .jwf-datei { margin-left: auto; border-color: var(--t); }
.jwf-msg-ich .jwf-datei-typ { background: var(--t); color: #fff; }

.jwf-fern.ist-bildschirm { object-fit: contain; }
.jwf-selbst.ist-bildschirm { transform: none; object-fit: contain; }
.jwf-steuerung button.ist-an { background: var(--t-leucht); color: var(--nacht); }

/* Dateizeile darf schrumpfen – sonst dehnt der lange Hinweis Formular und Felder über den Rand */
.jwf-start { grid-template-columns: minmax(0, 1fr); }
.jwf-dateizeile { min-width: 0; }
.jwf-dateizeile small { flex: 1 1 auto; }

/* Links in Nachrichten (z. B. „Termin ansehen und buchen“) – auch in der eigenen, farbigen Blase lesbar */
.jwf-msg p a { color: var(--t-dunkel); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.jwf-msg-ich p a { color: #fff; }

/* Messe-Zuordnung aus Buchungen (inc/messezuordnung.php, 2026-11-12) */
.jwf-chip-wahl small { font-size: 12px; }
.jwf-chip-wahl.ist-gebucht { cursor: default; }
.jwf-chip-wahl.ist-gebucht > span { background: var(--t); border-color: var(--t); color: #fff; }
.jwf-chip-wahl.ist-gebucht > span small { color: rgba(255, 255, 255, .85); }
.jwf-chip-wahl.ist-gebucht svg { width: 14px; height: 14px; }
a.jwf-chip-wahl.ist-frei { text-decoration: none; color: var(--text); }
a.jwf-chip-wahl.ist-frei > span { border-style: dashed; color: #5d6b72; background: #fff; }
a.jwf-chip-wahl.ist-frei em { font-style: normal; font-weight: 800; color: var(--t-dunkel, #0b6e64); }
a.jwf-chip-wahl.ist-frei:hover > span { border-color: var(--t); border-style: solid; color: var(--text); }
.jwf-chip-wahl.ist-admin input:checked + span { background: #8a5a00; border-color: #8a5a00; }
.jwf-messe-hinweis { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: #fff7e0; color: #6b4a00; font-size: 14px; }
.jwf-messe-hinweis svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
/* Unterlagen zu den eigenen Messen: Messeinfos (Aussteller), 2026-11-20 */
.jwf-messe-unterlagen-titel { margin: 14px 0 6px !important; }
.jwf-messe-unterlagen { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.jwf-messe-unterlagen a { display: inline-flex; align-items: center; gap: 8px; color: var(--t); font-weight: 600; text-decoration: none; }
.jwf-messe-unterlagen a:hover span { text-decoration: underline; }
.jwf-messe-unterlagen svg { flex: none; width: 18px; height: 18px; }
.jwf-messe-unterlagen small { color: var(--grau); font-weight: 400; }
.jwf-messe-admin { margin-top: 10px !important; }

/* „Online“ = Firma angemeldet, Video-Chat aus (21.11.2026) */
.jwf-marke-live[data-zustand="da"] { background: #dcfce7; color: #14532d !important; }
[data-zustand="da"] > .jwf-punkt, [data-zustand="da"] .jwf-live-kopf .jwf-punkt { background: var(--gruen); }
