/* ==========================================================================
   Imam Malik · Webseite im Stil der Moschee-Displays (TV-App)
   Farben, Schriften und Formen aus admin-tv-display/app/tv/mosque-page.css:
   Petrol #428e93 / #2c6669, Rot #b52e33, Sand #d6b77c, Gold #a38235, Schiefer #3e4f52,
   Papier #fbf8f3 mit Moscheemuster. Zahlen: Big Shoulders Display, Text: Outfit, Arabisch: Reem Kufi.
   Diese Datei liegt über style.css/project.css und definiert das Erscheinungsbild neu.
   ========================================================================== */
@font-face{font-family:"Big Shoulders Display";src:url("./assets/fonts/tv/big-shoulders-latin.woff2") format("woff2");font-weight:600 900;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Big Shoulders Display";src:url("./assets/fonts/tv/big-shoulders-latin-ext.woff2") format("woff2");font-weight:600 900;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Outfit TV";src:url("./assets/fonts/tv/outfit-latin.woff2") format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Outfit TV";src:url("./assets/fonts/tv/outfit-latin-ext.woff2") format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Reem Kufi";src:url("./assets/fonts/tv/reem-kufi-arabic.woff2") format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}

:root{
  --teal:#428e93;--teal-dark:#2c6669;--teal-deep:#1f4a4c;--teal-soft:#e3f0f0;--teal-mist:#eaf5f5;
  --red:#b52e33;--red-dark:#8e2328;--red-soft:#fbe9e9;
  --sand:#d6b77c;--sand-soft:#efe1c3;--gold:#a38235;--gold-light:#d6b77c;
  --slate:#3e4f52;--ink:#2f3d40;--muted:#7d7468;--line:#e5dbc9;--paper:#fbf8f3;--cream:#f6efe2;--green:#2c6669;
  --tv-num:"Big Shoulders Display","Outfit TV",Impact,sans-serif;
  --sans:"Outfit TV",Outfit,"Segoe UI",Arial,sans-serif;--serif:var(--sans);
  --arabic:"Reem Kufi","Outfit TV","Noto Kufi Arabic","Segoe UI",Tahoma,sans-serif;
  --surface:#fff;--header-bg:rgba(251,248,243,.88);--board-bg:rgba(255,255,255,.92);--shadow:0 12px 30px rgba(62,79,82,.10);--shadow-lg:0 26px 50px rgba(44,102,105,.28);
  --radius:26px;--radius-lg:40px;
}
html{background:var(--paper)}
body{background:var(--paper);color:var(--ink);font:400 18px/1.55 var(--sans)}
[lang=ar],[dir=rtl] body{font-family:var(--arabic)}
.wrap{max-width:1760px;padding-inline:clamp(24px,4vw,88px)}
h1,h2,h3,h4{color:var(--ink);font-family:var(--sans)}
a:hover{color:var(--teal-dark)}
::selection{background:var(--sand-soft);color:var(--ink)}
:focus-visible{outline:3px solid var(--sand);outline-offset:3px}
.tv-num{font-family:var(--tv-num);font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:0}
.eyebrow,.tv-eyebrow{font-size:14px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);margin-bottom:12px}
[dir=rtl] .eyebrow,[dir=rtl] .tv-eyebrow{letter-spacing:0}
.tv-title{font-family:var(--tv-num);font-weight:800;text-transform:uppercase;font-size:clamp(38px,5vw,64px);line-height:.95;letter-spacing:.005em;color:var(--ink);margin-bottom:20px}
[dir=rtl] .tv-title{font-family:var(--arabic);text-transform:none;line-height:1.3;font-size:clamp(30px,4vw,46px)}

/* Muster wie auf dem Display: Papier mit dezentem Moscheemuster */
main{position:relative;isolation:isolate}
main::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url("./assets/tv-pattern.jpg") center top/520px auto repeat;opacity:.16}

/* ---------- Buttons ---------- */
.button{gap:10px;padding:13px 24px;border:0;border-radius:999px;background:var(--teal);color:#fff;font-size:16px;font-weight:700;line-height:20px;box-shadow:0 10px 22px rgba(44,102,105,.22);transition:transform .2s ease,box-shadow .2s ease,background .2s ease}
.button:hover{background:var(--teal-dark);color:#fff;transform:translateY(-2px);box-shadow:0 14px 28px rgba(44,102,105,.3)}
.button.small{padding:9px 18px;font-size:15px;text-transform:none}
.button.secondary{background:var(--surface);color:var(--teal-dark);border:1.5px solid var(--line);box-shadow:none}
.button.secondary:hover{background:var(--teal-mist);border-color:var(--teal);color:var(--teal-dark)}
.button.red{background:var(--red);box-shadow:0 10px 22px rgba(181,46,51,.25)}
.button.red:hover{background:var(--red-dark)}
.button.sand,.button.gold{background:var(--sand);color:var(--teal-deep);box-shadow:0 10px 24px rgba(0,0,0,.18)}
.button.sand:hover,.button.gold:hover{background:#e4c890;color:var(--teal-deep)}
.button.outline-light{background:rgba(255,255,255,.08);color:#fff;border:1.5px solid rgba(255,255,255,.45);box-shadow:none}
.button.outline-light:hover{background:#fff;color:var(--teal-deep)}
.button.whatsapp{background:#128c4a;box-shadow:0 10px 22px rgba(18,140,74,.25)}
.button.whatsapp:hover{background:#0e7a40}
.text-link,.card-link{color:var(--teal-dark);font-weight:700}
.text-link:hover,.card-link:hover{color:var(--red)}

/* ---------- Topbar: Live-Laufband mit nächstem Gebet ---------- */
.tv-topbar{position:relative;z-index:45;background:linear-gradient(90deg,var(--teal-dark),var(--teal) 55%,var(--teal-dark));color:#fff;font-size:14px}
.tv-topbar-row{display:flex;align-items:center;gap:22px;min-height:44px}
.tv-ticker{display:inline-flex;align-items:center;gap:10px;color:#fff;white-space:nowrap;min-width:0}
.tv-ticker:hover{color:var(--sand)}
.tv-ticker-label{color:var(--sand-soft);font-weight:600;letter-spacing:.14em;text-transform:uppercase;font-size:12px}
[dir=rtl] .tv-ticker-label{letter-spacing:0;font-size:14px}
.tv-ticker b{font-size:15px;font-weight:700}
.tv-ticker b.tv-num{font-size:20px;line-height:1;font-weight:800}
.tv-ticker-count{padding:3px 12px;border-radius:999px;background:rgba(255,255,255,.12);color:var(--sand);font-size:19px;line-height:1.1;min-width:84px;text-align:center}
.tv-ticker.is-iqama .tv-ticker-count{background:var(--red);color:#fff}
.tv-live-dot{width:9px;height:9px;border-radius:50%;background:var(--sand);box-shadow:0 0 0 0 rgba(214,183,124,.7);animation:tvLive 2s ease-out infinite;flex:none}
.tv-ticker.is-iqama .tv-live-dot{background:#ff6b70}
@keyframes tvLive{0%{box-shadow:0 0 0 0 rgba(214,183,124,.7)}80%,100%{box-shadow:0 0 0 9px rgba(214,183,124,0)}}
.tv-topbar-jumuah{display:inline-flex;align-items:center;gap:9px;color:rgba(255,255,255,.85);white-space:nowrap;padding-inline-start:22px;border-inline-start:1px solid rgba(255,255,255,.18)}
.tv-topbar-jumuah span{font-family:var(--arabic);color:var(--sand);font-size:15px}
.tv-topbar-jumuah b{font-size:19px;color:#fff}
.tv-topbar .topbar-community{display:flex;align-items:center;gap:18px;margin-inline-start:auto}
.tv-topbar .social-links{display:flex;gap:4px}
.tv-topbar .social-links a{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;color:rgba(255,255,255,.8)}
.tv-topbar .social-links a:hover{background:rgba(255,255,255,.1);color:var(--sand)}
.tv-topbar .social-links svg{width:17px;height:17px}
.tv-topbar .app-download-link{color:rgba(255,255,255,.8);font-size:13px;text-decoration:none}
.tv-topbar .app-download-link:hover{color:var(--sand)}
.tv-topbar .language-picker{position:relative}
.tv-topbar .language-picker:not([open]) .language-options{display:none}
.tv-topbar .language-picker summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;padding:5px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.25);color:#fff;font-size:13px;font-weight:600;background:transparent;min-height:0}
.tv-topbar .language-picker summary::-webkit-details-marker{display:none}
.tv-topbar .language-picker .language-options{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:60;min-width:180px;padding:6px;border-radius:16px;background:var(--surface);box-shadow:0 20px 40px rgba(31,74,76,.22);border:1px solid var(--line)}
.tv-topbar .language-options a{display:flex;justify-content:space-between;padding:9px 12px;border-radius:10px;color:var(--ink);font-size:15px}
.tv-topbar .language-options a:hover,.tv-topbar .language-options a[aria-current]{background:var(--teal-mist);color:var(--teal-dark)}

/* ---------- Header ---------- */
.tv-header{position:sticky;top:0;z-index:40;background:var(--header-bg);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid rgba(229,219,201,.8)}
.tv-header-row{display:flex;align-items:center;gap:28px;min-height:92px}
.tv-brand{flex:none}
.tv-brand img{height:64px;width:auto}
.tv-header #navigation{display:flex;align-items:center;gap:6px;flex:1;justify-content:center;flex-wrap:nowrap}
.tv-header #navigation>.nav-item{margin:0}
.tv-header #navigation>.nav-item>a{font:600 15px/20px var(--sans);text-transform:none;letter-spacing:0;color:var(--ink);background:transparent;padding:10px 14px;border-radius:999px;box-shadow:none;white-space:nowrap}
.tv-header #navigation>.nav-item>a:hover,.tv-header #navigation>.submenu-open>a{background:var(--teal-mist);color:var(--teal-dark);box-shadow:none}
.tv-header #navigation>.nav-item>a[aria-current=page]{background:var(--teal);color:#fff;box-shadow:none}
.tv-header #navigation .nav-dropdown{border:1px solid var(--line);border-radius:20px;padding:8px;background:var(--surface);box-shadow:0 24px 48px rgba(31,74,76,.16);inset-block-start:calc(100% + 10px);min-width:240px}
.tv-header #navigation .nav-dropdown a{border-radius:12px;padding:10px 14px;font:500 15px/20px var(--sans);color:var(--ink)}
.tv-header #navigation .nav-dropdown a:hover,.tv-header #navigation .nav-dropdown a:focus-visible,.tv-header #navigation .nav-dropdown>.submenu-open>a{background:var(--teal-mist);color:var(--teal-dark)}
.tv-header #navigation .nav-dropdown>.nav-item.submenu-open{background:transparent}
.tv-header-actions{display:flex;align-items:center;gap:6px;flex:none;margin-inline-start:auto}
.tv-icon-link{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:var(--slate)}
.tv-icon-link:hover{background:var(--teal-mist);color:var(--teal-dark)}
.tv-icon-link svg{width:21px;height:21px}
.tv-donate{margin-inline-start:6px}
.tv-header .menu-toggle{display:none;width:44px;height:44px;border-radius:50%;background:var(--teal);padding:12px 11px}
.tv-header .menu-toggle span{background:#fff;width:22px;margin:4px 0}

/* ---------- Hero ---------- */
.tv-hero{position:relative;isolation:isolate;overflow:hidden;color:#fff;padding:72px 0 150px;background:radial-gradient(1200px 500px at 85% 0%,rgba(214,183,124,.18),transparent 60%),linear-gradient(160deg,#4f9da2 0%,var(--teal) 30%,var(--teal-dark) 70%,var(--teal-deep) 100%)}
.tv-hero-pattern{position:absolute;inset:0;z-index:-1;background:url("./assets/tv-pattern.jpg") center/520px auto repeat;mix-blend-mode:soft-light;opacity:.55;pointer-events:none}
.tv-hero::after{content:"";position:absolute;inset:auto 0 0;height:6px;background:linear-gradient(90deg,var(--sand),var(--red) 50%,var(--sand))}
.tv-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.tv-kicker{display:inline-flex;align-items:center;gap:12px;padding:8px 18px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);font-size:13px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--sand-soft);margin-bottom:26px}
[dir=rtl] .tv-kicker{letter-spacing:0;font-size:15px}
.tv-display{display:flex;flex-wrap:wrap;gap:0 .25em;margin:0 0 26px;font-family:var(--tv-num);font-weight:900;text-transform:uppercase;font-size:clamp(60px,6.6vw,104px);line-height:.88;letter-spacing:-.005em;color:#fff}
.tv-display em{font-style:normal;color:var(--sand)}
.tv-display-amp{flex-basis:100%;color:#fff}
[dir=rtl] .tv-display{font-family:var(--arabic);text-transform:none;line-height:1.2;font-size:clamp(46px,7vw,92px);font-weight:700}
.tv-lead{max-width:540px;font-size:21px;line-height:1.5;color:rgba(255,255,255,.88);margin-bottom:34px}
.tv-actions{display:flex;flex-wrap:wrap;gap:14px}
.tv-hero-photo{position:relative;margin:0;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:1/1;max-height:560px;width:100%;box-shadow:0 40px 80px rgba(10,30,32,.45),0 0 0 8px rgba(255,255,255,.08);transform:rotate(1.5deg)}
[dir=rtl] .tv-hero-photo{transform:rotate(-1.5deg)}
.tv-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:60% center;transform:scale(1.04);animation:tvKen 24s ease-in-out infinite alternate}
@keyframes tvKen{to{transform:scale(1.14) translateX(-2%)}}
.tv-hero-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(31,74,76,.85))}
.tv-hero-photo figcaption{position:absolute;z-index:1;inset-inline:0;bottom:22px;text-align:center;font-family:var(--arabic);font-size:clamp(30px,3.4vw,46px);font-weight:700;color:var(--sand);text-shadow:0 4px 20px rgba(0,0,0,.4)}

/* ---------- Gebetsbühne (wie Display) ---------- */
.tv-stage{position:relative;z-index:2;margin-top:-110px;padding-bottom:40px}
.page-head+.tv-stage{margin-top:-70px}
.tv-stage-grid{display:grid;grid-template-columns:380px 1fr;gap:24px;align-items:stretch}
.tv-next{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;gap:6px;padding:30px 28px 26px;border-radius:var(--radius-lg);color:#fff;text-align:center;background:linear-gradient(165deg,#4f9da2 0%,var(--teal) 45%,var(--teal-dark) 100%);box-shadow:var(--shadow-lg);border:1.5px solid rgba(255,255,255,.14)}
.tv-next::before{content:"";position:absolute;inset:0;z-index:-1;background:url("./assets/tv-pattern.jpg") center/380px auto repeat;mix-blend-mode:soft-light;opacity:.4}
.tv-next .tv-eyebrow{color:var(--sand-soft);margin:0;display:flex;flex-direction:column;align-items:center;gap:2px}
.tv-next .tv-eyebrow span{font-family:var(--arabic);letter-spacing:0;text-transform:none;font-size:20px;color:var(--sand);font-weight:700}
.tv-next-title{display:flex;align-items:baseline;justify-content:center;gap:16px;margin-top:4px}
.tv-next-arabic{font-family:var(--arabic);font-size:48px;line-height:1.3;font-weight:700;color:var(--sand)}
.tv-next-name{font-size:30px;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.tv-ring{position:relative;width:220px;height:220px;margin:6px 0 10px}
.tv-ring svg{position:absolute;inset:0;width:100%;height:100%;stroke:none}
.tv-ring-track{fill:none;stroke:rgba(255,255,255,.16)}
.tv-ring-fill{fill:none;stroke:var(--sand);stroke-linecap:round;transition:stroke-dashoffset 1s linear;filter:drop-shadow(0 0 8px rgba(214,183,124,.55))}
.tv-next.is-iqama .tv-ring-fill{stroke:#fff}
.tv-ring-text{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.tv-ring-text strong{font-family:var(--tv-num);font-size:70px;line-height:.9;font-weight:800;color:#fff}
.tv-ring-text strong.is-long{font-size:54px}
.tv-ring-text span{padding:5px 14px;border-radius:999px;background:rgba(31,70,72,.45);font-size:14px;font-weight:600;color:var(--sand-soft)}
.tv-next.is-iqama .tv-ring-text span{background:var(--red);color:#fff;animation:tvPulse 1.6s ease-in-out infinite}
@keyframes tvPulse{0%,100%{box-shadow:0 0 0 0 rgba(181,46,51,.6)}50%{box-shadow:0 0 0 12px rgba(181,46,51,0)}}
.tv-next-times{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;margin-top:auto}
.tv-next-times div{display:flex;flex-direction:column;align-items:center;padding:10px 8px 8px;border-radius:20px;background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.18)}
.tv-next-times span{font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--sand-soft)}
[dir=rtl] .tv-next-times span{letter-spacing:0;font-size:14px}
.tv-next-times b{font-size:42px;line-height:1}
.tv-next-times .is-active{background:#fff;color:var(--teal-dark)}
.tv-next.is-iqama .tv-next-times .is-active{color:var(--red)}
.tv-next-times .is-active span{color:inherit}
.tv-next-note{font-size:13px;color:var(--sand-soft);text-transform:uppercase;letter-spacing:.14em;margin:6px 0 0}
.tv-next-empty{justify-content:center;min-height:300px}

.tv-board{display:flex;flex-direction:column;gap:18px;padding:28px;border-radius:var(--radius-lg);background:var(--board-bg);border:1.5px solid var(--line);box-shadow:0 30px 60px rgba(62,79,82,.14);backdrop-filter:blur(6px)}
.tv-board-head{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.tv-clock{display:flex;align-items:center;gap:20px}
.tv-clock>b{font-size:84px;line-height:.85;color:var(--ink)}
.tv-clock>div{display:flex;flex-direction:column;gap:2px;font-size:17px;font-weight:500;color:var(--ink);line-height:1.3}
.tv-hijri{color:var(--gold);font-size:15px}
.tv-hijri bdi{font-family:var(--arabic)}
.tv-board-links{display:flex;align-items:center;gap:18px;font-size:15px}
.tv-prayers{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.tv-prayer{position:relative;display:flex;flex-direction:column;align-items:center;padding:16px 6px 14px;border-radius:var(--radius);background:var(--surface);border:1.5px solid var(--line);box-shadow:var(--shadow);overflow:hidden;transition:transform .25s ease}
.tv-prayer:hover{transform:translateY(-4px)}
.tv-prayer-arabic{font-family:var(--arabic);font-size:28px;line-height:1.35;color:var(--gold);font-weight:600}
.tv-prayer-name{font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.tv-prayer-time{font-size:56px;line-height:1;margin:8px 0 6px;color:var(--ink)}
.tv-prayer-iqama{display:flex;align-items:baseline;gap:7px;color:var(--gold)}
.tv-prayer-iqama small{font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.tv-prayer-iqama b{font-size:26px;font-weight:700}
.tv-prayer.is-passed{opacity:.5}
.tv-prayer.is-next{color:#fff;background:linear-gradient(180deg,var(--teal) 0%,var(--teal-dark) 100%);border:3px solid var(--sand);box-shadow:0 0 0 6px rgba(214,183,124,.18),0 20px 40px rgba(44,102,105,.35);transform:translateY(-6px)}
.tv-prayer.is-next::before{content:"";position:absolute;inset:0 0 auto;height:8px;background:var(--sand)}
.tv-prayer.is-next .tv-prayer-time{color:#fff}
.tv-prayer.is-next .tv-prayer-name,.tv-prayer.is-next .tv-prayer-iqama small{color:var(--sand-soft)}
.tv-prayer.is-next .tv-prayer-arabic,.tv-prayer.is-next .tv-prayer-iqama{color:var(--sand)}
.tv-prayer-flag{position:absolute;top:12px;inset-inline-end:10px;font-style:normal;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;padding:2px 8px;border-radius:999px;background:var(--sand);color:var(--teal-deep)}
.tv-board-foot{display:grid;grid-template-columns:1fr auto;gap:12px}
.tv-jumuah,.tv-sunrise{display:flex;align-items:center;gap:20px;padding:10px 26px 10px 10px;border-radius:var(--radius);background:var(--surface);border:1.5px solid var(--line);box-shadow:var(--shadow)}
[dir=rtl] .tv-jumuah,[dir=rtl] .tv-sunrise{padding:10px 10px 10px 26px}
.tv-jumuah-badge{display:flex;align-items:center;height:58px;padding:0 20px;border-radius:18px;background:var(--red);color:#fff;font-family:var(--arabic);font-size:30px;font-weight:700}
.tv-jumuah-text,.tv-sunrise>span:last-child{display:flex;flex-direction:column;line-height:1.2;flex:1}
.tv-jumuah-text small,.tv-sunrise small{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--red)}
[dir=rtl] .tv-jumuah-text small,[dir=rtl] .tv-sunrise small{letter-spacing:0;font-size:14px}
.tv-jumuah-text b{font-size:20px;font-weight:600}
.tv-jumuah-time{font-size:56px;line-height:1;color:var(--red)}
.tv-sunrise{padding-inline-start:16px}
.tv-sunrise small{color:var(--muted)}
.tv-sunrise b{font-size:36px;line-height:1;color:var(--slate)}
.tv-sunrise-icon{width:42px;height:42px;border-radius:50%;background:radial-gradient(circle at 50% 120%,#f6c56b 0 38%,transparent 39%),linear-gradient(180deg,#fff3dc,#fde4b3);box-shadow:inset 0 -3px 0 #e6b25a}

/* ---------- Spendenkarte (Moscheekauf) ---------- */
.tv-campaign-band{padding-block:40px 20px}
.tv-campaign,[dir=rtl] .tv-campaign{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1fr 1.05fr;gap:0;margin:0;padding:0;border:0;text-shadow:none;width:100%;max-width:none;border-radius:var(--radius-lg);color:#fff;background:linear-gradient(135deg,var(--teal) 0%,var(--teal-dark) 100%)!important}
.tv-campaign *{text-shadow:none!important}
.tvc-pattern{position:absolute;inset:0;z-index:-1;background:url("./assets/tv-pattern.jpg") center/440px auto repeat;mix-blend-mode:soft-light;opacity:.4}
.tvc-story{display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding:clamp(32px,4vw,64px)}
.tvc-label{display:flex;align-items:center;gap:14px;margin:0;font-size:14px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--sand-soft)}
[dir=rtl] .tvc-label{letter-spacing:0;font-size:16px}
.tvc-icon{width:48px;height:28px;color:var(--sand);flex:none}
.tv-campaign h2{margin:0;font-family:var(--tv-num);font-weight:800;text-transform:uppercase;font-size:clamp(44px,4.6vw,80px);line-height:.95;color:#fff}
[dir=rtl] .tv-campaign h2{font-family:var(--arabic);text-transform:none;line-height:1.3}
.tvc-deadline{display:flex;flex-direction:column;align-items:flex-start;gap:10px;max-width:560px}
.tvc-deadline strong{display:inline-block;padding:7px 16px 6px;border-radius:999px;background:var(--red);font-family:var(--tv-num);font-size:24px;line-height:1;font-weight:800;letter-spacing:.02em;text-transform:uppercase;color:#fff}
[dir=rtl] .tvc-deadline strong{font-family:var(--arabic);font-size:20px;text-transform:none}
.tvc-deadline p{margin:0;font-size:18px;line-height:1.5;color:rgba(255,255,255,.9)}
.tv-campaign .campaign-action{margin-top:auto;font-size:17px;padding:15px 28px}
.tvc-figures{display:flex;flex-direction:column;justify-content:center;gap:22px;padding:clamp(32px,4vw,64px);background:rgba(31,74,76,.28);border-inline-start:1px solid rgba(255,255,255,.14)}
.tvc-raised{display:flex;flex-direction:column;gap:6px;margin:0}
.tvc-raised small,.tvc-stats small{font-size:13px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--sand-soft)}
[dir=rtl] .tvc-raised small,[dir=rtl] .tvc-stats small{letter-spacing:0;font-size:15px}
.tvc-raised b{font-size:clamp(76px,8.6vw,150px);line-height:.85;color:var(--sand)}
.tvc-bar{position:relative;height:16px;border-radius:999px;background:rgba(255,255,255,.2);overflow:hidden}
.tvc-bar i{position:absolute;inset-block:0;inset-inline-start:0;width:var(--fill,0%);min-width:12px;border-radius:inherit;background:var(--sand);animation:tvGrow 1.6s cubic-bezier(.2,.7,.2,1) both}
@keyframes tvGrow{from{width:0}}
.tvc-stats{display:grid;grid-template-columns:repeat(3,auto);justify-content:space-between;gap:16px}
.tvc-stats p{display:flex;flex-direction:column;gap:6px;margin:0}
.tvc-stats b{font-size:clamp(28px,2.6vw,48px);line-height:1;color:#fff;white-space:nowrap}
.tvc-stats p:last-child{text-align:end;align-items:flex-end}
.tvc-stamp{margin:0;font-size:13px;color:rgba(255,255,255,.7)}
.tv-campaign .campaign-state{margin:0;font-size:18px;color:var(--sand-soft)}

/* ---------- Willkommen & Werte ---------- */
.tv-welcome{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;padding-block:80px}
.tv-welcome-copy .lead{font-size:21px;line-height:1.55;color:var(--slate);margin-bottom:16px}
.tv-welcome-copy p{color:var(--muted)}
.tv-values{display:flex;flex-direction:column;gap:14px}
.tv-value{position:relative;display:flex;gap:20px;align-items:flex-start;padding:24px 26px;border-radius:var(--radius);background:var(--surface);border:1.5px solid var(--line);box-shadow:var(--shadow);transition:transform .25s ease,border-color .25s ease}
.tv-value:hover{transform:translateX(6px);border-color:var(--sand)}
[dir=rtl] .tv-value:hover{transform:translateX(-6px)}
.tv-value-icon{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:var(--teal-mist);color:var(--teal-dark)}
.tv-value-icon svg{width:28px;height:28px}
.tv-value h3{display:flex;align-items:baseline;gap:12px;font-size:23px;font-weight:700;margin-bottom:4px}
.tv-value h3 span{font-family:var(--arabic);font-size:20px;color:var(--gold);font-weight:600}
.tv-value p{margin:0;color:var(--muted);font-size:17px}
.tv-value-index{position:absolute;top:14px;inset-inline-end:20px;font-size:28px;color:var(--line)}
.tv-notices{padding-bottom:40px}
.tv-notices article{padding:22px 26px;margin-top:14px;border-radius:var(--radius);background:var(--surface);border:1.5px solid var(--line);border-inline-start:6px solid var(--red)}

/* ---------- Angebote ---------- */
.tv-offers{padding-block:40px 80px}
.tv-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px;flex-wrap:wrap}
.tv-section-head .tv-title{margin:0}
.tv-offer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tv-offer{position:relative;display:flex;flex-direction:column;gap:8px;padding:26px;border-radius:var(--radius);background:var(--surface);border:1.5px solid var(--line);box-shadow:var(--shadow);color:var(--ink);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;overflow:hidden}
.tv-offer::after{content:"";position:absolute;inset:auto 0 0;height:5px;background:linear-gradient(90deg,var(--teal),var(--sand));transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.tv-offer:hover{transform:translateY(-6px);box-shadow:0 24px 44px rgba(44,102,105,.16);border-color:var(--teal-soft);color:var(--ink)}
.tv-offer:hover::after{transform:scaleX(1)}
.tv-offer-index{position:absolute;top:18px;inset-inline-end:22px;font-size:36px;color:var(--sand-soft)}
.tv-offer-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:var(--teal);color:#fff;margin-bottom:8px}
.tv-offer-icon svg{width:26px;height:26px}
.tv-offer-meta{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.tv-offer h3{font-size:22px;font-weight:700;line-height:1.2}
.tv-offer p{font-size:15px;line-height:1.5;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.tv-offer-more{margin-top:auto;padding-top:10px;font-size:15px;font-weight:700;color:var(--teal-dark)}

/* ---------- Besuch & Community ---------- */
.tv-visit{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;padding-block:20px 90px}
.tv-visit-card{position:relative;isolation:isolate;overflow:hidden;padding:46px;border-radius:var(--radius-lg);color:#fff;background:linear-gradient(150deg,var(--slate),#26383b)}
.tv-visit-card .tv-hero-pattern{opacity:.35}
.tv-visit-card .tv-eyebrow{color:var(--sand)}
.tv-visit-street{font-family:var(--tv-num);font-weight:900;text-transform:uppercase;font-size:clamp(54px,7vw,96px);line-height:.85;color:#fff;margin:6px 0 4px}
.tv-visit-city{font-family:var(--tv-num);font-weight:700;font-size:34px;letter-spacing:.04em;color:var(--sand);margin-bottom:18px}
.tv-visit-card>p:not([class]){color:rgba(255,255,255,.78);max-width:460px;margin-bottom:28px}
.tv-join-card{position:relative;padding:40px;border-radius:var(--radius-lg);background:var(--surface);border:1.5px solid var(--line);box-shadow:var(--shadow)}
.tv-join-card .tv-eyebrow{color:#128c4a}
.tv-join-card .tv-title{font-size:clamp(34px,4vw,52px)}
.tv-join-card>p:not([class]){color:var(--muted);margin-bottom:24px}
.tv-join-badge{position:absolute;top:30px;inset-inline-end:30px;display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#25d366;color:#fff;box-shadow:0 12px 26px rgba(37,211,102,.35);transform:rotate(-6deg)}
.tv-join-contact{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:26px;padding-top:20px;border-top:1.5px solid var(--line);font-weight:600;color:var(--teal-dark)}

/* ---------- Seitenkopf der Unterseiten ---------- */
.page-head{position:relative;isolation:isolate;overflow:hidden;padding:84px 0 120px;color:#fff;background:linear-gradient(160deg,#4f9da2 0%,var(--teal) 35%,var(--teal-dark) 75%,var(--teal-deep) 100%);border:0}
.page-head::before{content:"";position:absolute;inset:0;z-index:-1;background:url("./assets/tv-pattern.jpg") center/520px auto repeat;mix-blend-mode:soft-light;opacity:.55}
.page-head::after{content:"";position:absolute;inset:auto 0 0;height:6px;background:linear-gradient(90deg,var(--sand),var(--red) 50%,var(--sand))}
.page-head,[dir=rtl] .page-head{display:block;min-height:0!important;direction:inherit;background-image:linear-gradient(160deg,#4f9da2 0%,var(--teal) 35%,var(--teal-dark) 75%,var(--teal-deep) 100%)}
.page-head>.wrap,[dir=rtl] .page-head>.wrap{width:100%;max-width:1760px;margin-inline:auto;padding:0 clamp(24px,4vw,88px)!important;direction:inherit;text-align:start}
.page-head .page-ornament,[dir=rtl] .page-head .page-ornament{display:block;position:absolute;top:50%;right:-6%;left:auto;width:auto;height:150%;max-height:none;transform:translateY(-50%);opacity:.1;filter:brightness(0) invert(1);mix-blend-mode:normal}
[dir=rtl] .page-head .page-ornament{right:auto;left:-6%}
.page-head .eyebrow{color:var(--sand-soft)}
.page-head h1{font-family:var(--tv-num);font-weight:900;text-transform:uppercase;font-size:clamp(54px,8vw,112px);line-height:.88;color:#fff;max-width:960px;margin:0}
.page-head h1 em{font-style:normal;color:var(--sand)}
[dir=rtl] .page-head h1{font-family:var(--arabic);text-transform:none;line-height:1.25;font-size:clamp(40px,6vw,76px)}
.page-head p:not(.eyebrow){max-width:640px;margin-top:20px;font-size:20px;line-height:1.5;font-weight:400;color:rgba(255,255,255,.88)}
.page-head .eyebrow{display:block}
.page-head:not(:has(+ .tv-stage)){padding-bottom:84px}

/* ---------- Allgemeine Komponenten der Unterseiten ---------- */
.section{padding-block:70px}
.section-heading h2,.prose h2,.contact-grid h2,.donation-form h2,.about-grid h2,.visit-section h2{font-family:var(--tv-num);font-weight:800;text-transform:uppercase;font-size:clamp(34px,4vw,52px);line-height:.95;color:var(--ink)}
[dir=rtl] .section-heading h2,[dir=rtl] .prose h2,[dir=rtl] .contact-grid h2{font-family:var(--arabic);text-transform:none;line-height:1.3}
.offer-card,.detail-aside,.donation-form,.location-panel,.inquiry-form,.empty-state,.donation-stories article,.event-list-item{border-radius:var(--radius)!important;background:var(--surface);border:1.5px solid var(--line)!important;box-shadow:var(--shadow)}
.offer-card{padding:28px;transition:transform .25s ease,box-shadow .25s ease}
.offer-card:hover{transform:translateY(-6px);box-shadow:0 24px 44px rgba(44,102,105,.16)}
.icon-frame{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:var(--teal);color:#fff!important;border:0}
.icon-frame svg{width:26px;height:26px}
.card-index{font-family:var(--tv-num);font-weight:800;font-size:34px;color:var(--sand-soft)}
.meta,.offer-card .meta{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
.inquiry-form{padding:30px}
input,select,textarea{border-radius:14px!important;border:1.5px solid var(--line)!important;background:var(--surface);padding:12px 14px;color:var(--ink)}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--teal)!important;box-shadow:0 0 0 4px rgba(66,142,147,.15)}
.location-panel{background:linear-gradient(150deg,var(--slate),#26383b)!important;color:#fff;border:0!important}
.location-panel h3{color:#fff;font-family:var(--tv-num);font-weight:800;text-transform:uppercase;font-size:38px;line-height:1}
.location-panel svg{color:var(--sand)}
.donation-band{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(150deg,#3d8a8f,var(--teal-deep))!important;color:#fff}
.donation-band h2{color:#fff;font-family:var(--tv-num);text-transform:uppercase;font-weight:800;font-size:clamp(40px,5vw,64px);line-height:.95}
.donation-band .eyebrow{color:var(--sand)}

/* Monatsplan der Gebetszeiten */
.prayer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:16px}
.table-scroll{border-radius:var(--radius);border:1.5px solid var(--line);background:var(--surface);box-shadow:var(--shadow);overflow:auto}
.monthly-table{border-collapse:separate;border-spacing:0;width:100%}
.monthly-table caption{font-family:var(--tv-num);font-weight:800;text-transform:uppercase;font-size:30px;text-align:start;padding:20px 22px 10px;color:var(--ink)}
.monthly-table thead th{background:var(--teal-dark);color:#fff;font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;padding:10px 8px;border:0}
.monthly-table thead tr:last-child th{background:var(--teal);color:var(--sand-soft);font-size:11px}
.monthly-table td{font-family:var(--tv-num);font-weight:700;font-size:21px;text-align:center;padding:8px 6px;border:0;border-bottom:1px solid #f0e9dc;color:var(--ink)}
.monthly-table td:nth-of-type(even){color:var(--gold)}
.monthly-table tbody th{font-weight:600;font-size:15px;padding:8px 14px;text-align:start;border-bottom:1px solid #f0e9dc;white-space:nowrap}
.monthly-table tbody tr:nth-child(even){background:#fcfaf6}
.monthly-table tbody .today-row{background:var(--teal)!important}
.monthly-table tbody .today-row td,.monthly-table tbody .today-row th{color:#fff;border-color:transparent}
.monthly-table tbody .today-row td:nth-of-type(even){color:var(--sand)}

/* Kalender */
.calendar-grid{border-radius:var(--radius);overflow:hidden;border:1.5px solid var(--line);background:var(--surface);box-shadow:var(--shadow)}
.calendar-grid .weekday{background:var(--teal-dark);color:#fff;font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.calendar-day.is-today{background:var(--teal-mist)}
.calendar-day.is-today .day-number{background:var(--teal);color:#fff;border-radius:50%}
.calendar-event{border-radius:10px;background:var(--teal-mist);border-inline-start:3px solid var(--teal)}
.month-switch h2{font-family:var(--tv-num);font-weight:800;text-transform:uppercase;font-size:34px}
.view-switch button.selected,.frequency .selected,.amounts .selected{background:var(--teal)!important;color:#fff!important;border-color:var(--teal)!important}
.view-switch button,.frequency button,.amounts button,.icon-button{border-radius:999px!important}
.event-list-item time strong{font-family:var(--tv-num);font-weight:800;font-size:40px;color:var(--teal-dark)}
.tag{border-radius:999px;background:var(--teal-mist);color:var(--teal-dark)}

/* ---------- Footer ---------- */
.tv-footer{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(160deg,#4f9da2 0%,var(--teal) 35%,var(--teal-dark) 100%);color:rgba(255,255,255,.88);padding-top:70px;border:0}
.tv-footer::before{content:"";position:absolute;inset:0;z-index:-1;background:url("./assets/tv-pattern.jpg") center/520px auto repeat;mix-blend-mode:soft-light;opacity:.3}
.tv-footer::after{content:"";position:absolute;inset:0 0 auto;height:6px;background:linear-gradient(90deg,var(--sand),var(--red) 50%,var(--sand))}
.tvf-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr .8fr;gap:36px;padding-bottom:44px}
.tvf-brand img{height:74px;width:auto;margin-bottom:18px}
.tvf-brand p{font-size:16px;line-height:1.55}
.tvf-arabic{display:inline-block;font-family:var(--arabic);font-size:22px;color:var(--sand);margin-top:10px}
.tv-footer h3{font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--sand);margin-bottom:16px}
[dir=rtl] .tv-footer h3{letter-spacing:0;font-size:16px}
.tv-footer address{font-style:normal;margin-bottom:10px;line-height:1.5}
.tv-footer .tvf-grid a{display:block;padding:4px 0;color:rgba(255,255,255,.9);font-size:16px}
.tv-footer a:hover{color:var(--sand)}
.tv-footer .social-apps{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding-block:28px;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12)}
.tv-footer .social-apps h3{margin-bottom:12px}
.tv-footer .social-links{display:flex;gap:10px}
.tv-footer .social-links a{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.14);color:#fff;transition:transform .2s ease,background .2s ease}
.tv-footer .social-links a:hover{background:var(--sand);color:var(--teal-deep);transform:translateY(-3px)}
.tv-footer .social-links svg{width:21px;height:21px}
.tv-footer .store-badges{display:flex;gap:10px}
.tv-footer .store-badge{display:flex;align-items:center;gap:10px;padding:8px 16px;border-radius:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);color:#fff}
.tv-footer .store-badge small{display:block;font-size:10px;color:var(--sand-soft)}
.tv-footer .footer-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding-block:22px;font-size:14px;color:rgba(255,255,255,.75)}
.tv-footer .footer-bottom div{display:flex;gap:20px}
.tv-footer .footer-bottom a{color:rgba(255,255,255,.85)}

/* ---------- Animationen beim Scrollen ---------- */
/* ---------- Große Bildschirme: Inhalt füllt die Breite, Zahlen und Bühne wachsen mit ---------- */
@media (min-width:1500px){
  .tv-hero{padding:92px 0 170px}
  .tv-hero-grid{gap:80px}
  .tv-display{font-size:clamp(104px,7.4vw,150px)}
  .tv-lead{font-size:24px;max-width:620px}
  .tv-hero-photo{max-height:640px}
  .tv-stage-grid{grid-template-columns:minmax(420px,26%) 1fr;gap:28px}
  .tv-next{padding:36px 32px 30px}
  .tv-ring{width:min(280px,100%);height:auto;aspect-ratio:1}
  .tv-ring-text strong{font-size:88px}
  .tv-ring-text strong.is-long{font-size:66px}
  .tv-next-arabic{font-size:58px}.tv-next-name{font-size:36px}
  .tv-next-times b{font-size:50px}
  .tv-board{padding:34px;gap:22px}
  .tv-clock>b{font-size:104px}.tv-clock>div{font-size:20px}.tv-hijri{font-size:17px}
  .tv-prayers{gap:16px}
  .tv-prayer{padding:22px 8px 18px}
  .tv-prayer-arabic{font-size:36px}.tv-prayer-name{font-size:15px}
  .tv-prayer-time{font-size:76px;margin:10px 0 8px}
  .tv-prayer-iqama b{font-size:34px}.tv-prayer-iqama small{font-size:12px}
  .tv-jumuah-badge{height:68px;font-size:36px}.tv-jumuah-time{font-size:70px}.tv-jumuah-text b{font-size:24px}
  .tv-sunrise b{font-size:44px}
  .tv-offer-grid{gap:24px}.tv-offer{padding:32px}.tv-offer h3{font-size:25px}.tv-offer p{font-size:16px}
  .tv-welcome{gap:96px}
  .tv-title{font-size:clamp(48px,4.2vw,78px)}
  .tv-visit-street{font-size:clamp(70px,6vw,120px)}
  .page-head h1{font-size:clamp(80px,7vw,132px)}
  .tv-header-row{min-height:104px;gap:40px}.tv-brand img{height:72px}
  .tv-header #navigation>.nav-item>a{font-size:16px;padding:11px 16px}
}
@media (min-width:2200px){
  .wrap{max-width:2000px}.page-head>.wrap,[dir=rtl] .page-head>.wrap{max-width:2000px}
}
@media (prefers-reduced-motion:no-preference){
  .tv-hero-copy>*{animation:tvRise .8s cubic-bezier(.2,.7,.2,1) both}
  .tv-hero-copy>*:nth-child(2){animation-delay:.08s}.tv-hero-copy>*:nth-child(3){animation-delay:.16s}.tv-hero-copy>*:nth-child(4){animation-delay:.24s}
  .tv-hero-photo{animation:tvPhoto 1s .15s cubic-bezier(.2,.7,.2,1) both}
  .tv-prayer{animation:tvRise .7s cubic-bezier(.2,.7,.2,1) both}
  .tv-prayer:nth-child(2){animation-delay:.06s}.tv-prayer:nth-child(3){animation-delay:.12s}.tv-prayer:nth-child(4){animation-delay:.18s}.tv-prayer:nth-child(5){animation-delay:.24s}
}
@keyframes tvRise{from{opacity:0;transform:translateY(24px)}}
@keyframes tvPhoto{from{opacity:0;transform:rotate(4deg) translateY(30px) scale(.96)}}
@media (prefers-reduced-motion:reduce){.tv-hero-photo img,.tv-live-dot,.tvc-bar i{animation:none}}

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  .tv-header-row{gap:16px;min-height:80px}
  .tv-brand img{height:54px}
  .tv-header #navigation>.nav-item>a{padding:9px 9px;font-size:14px}
  .tv-stage-grid{grid-template-columns:330px 1fr}
  .tv-prayer-time{font-size:46px}
  .tv-offer-grid{grid-template-columns:repeat(2,1fr)}
  .tvf-grid{grid-template-columns:1fr 1fr 1fr}
  .tvf-brand{grid-column:1/-1}
}
@media (max-width:980px){
  .tv-header .menu-toggle{display:block}
  .tv-header #navigation{display:none}
  .tv-header #navigation.open{display:flex;position:absolute;top:100%;inset-inline:0;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 20px;background:var(--paper);box-shadow:0 30px 40px rgba(31,74,76,.18);border-bottom:4px solid var(--sand);max-height:calc(100vh - 120px);overflow-y:auto}
  .tv-header #navigation.open>.nav-item{width:100%;border-bottom:1px solid var(--line);justify-content:space-between;flex-wrap:wrap}
  .tv-header #navigation.open>.nav-item>a{flex:1;padding:14px 6px;font-size:17px;border-radius:0;background:transparent;color:var(--ink)}
  .tv-header #navigation.open>.nav-item>a[aria-current=page]{color:var(--teal-dark);background:transparent}
  .tv-header #navigation.open .submenu-toggle{min-width:44px;min-height:44px;width:auto;color:var(--teal-dark)}
  .tv-header #navigation.open .submenu-toggle>span{visibility:visible}
  .tv-header #navigation.open .nav-dropdown{position:static;width:100%;min-width:0;max-width:none;box-shadow:none;border:0;border-radius:0;padding:0 0 10px 12px;background:transparent}
  .tv-hero{padding:48px 0 140px}
  .tv-hero-grid{grid-template-columns:1fr;gap:36px}
  .tv-hero-photo{aspect-ratio:16/9;transform:none}
  .tv-stage-grid{grid-template-columns:1fr}
  .tv-campaign,[dir=rtl] .tv-campaign{grid-template-columns:1fr}
  .tvc-figures{border-inline-start:0;border-top:1px solid rgba(255,255,255,.14)}
  .tv-welcome{grid-template-columns:1fr;gap:36px;padding-block:56px}
  .tv-visit{grid-template-columns:1fr}
  .tv-topbar .topbar-community{display:none}
  .tv-topbar .language-picker{margin-inline-start:auto}
}
@media (max-width:640px){
  body{font-size:17px}
  .wrap{padding-inline:16px}
  .tv-topbar-row{gap:12px;min-height:42px}
  .tv-topbar-jumuah{display:none}
  .tv-ticker-label{display:none}
  .tv-header-row{min-height:68px}
  .tv-brand img{height:44px}
  .tv-header-actions .tv-icon-link{display:none}
  .tv-display{font-size:clamp(58px,17vw,84px)}
  .tv-lead{font-size:18px}
  .tv-board{padding:16px;gap:14px;border-radius:30px}
  .tv-clock>b{font-size:58px}
  .tv-clock>div{font-size:14px}
  .tv-board-links{width:100%;justify-content:space-between;font-size:14px}
  .tv-prayers{gap:6px}
  .tv-prayer{padding:10px 2px 10px;border-radius:16px}
  .tv-prayer-arabic{font-size:17px}
  .tv-prayer-name{font-size:10px;letter-spacing:.06em}
  .tv-prayer-time{font-size:28px;margin:4px 0 2px}
  .tv-prayer-iqama{flex-direction:column;align-items:center;gap:0}
  .tv-prayer-iqama small{font-size:8px;letter-spacing:.06em}
  .tv-prayer-iqama b{font-size:17px}
  .tv-prayer.is-next{transform:translateY(-3px);border-width:2px}
  .tv-prayer-flag{display:none}
  .tv-board-foot{grid-template-columns:1fr}
  .tv-jumuah{gap:12px;padding-inline-end:16px}
  .tv-jumuah-badge{height:48px;font-size:22px;padding:0 14px}
  .tv-jumuah-time{font-size:44px}
  .tv-sunrise b{font-size:30px}
  .tv-next{padding:24px 18px 20px}
  .tvc-story,.tvc-figures{padding:28px 20px}
  .tvc-stats{grid-template-columns:1fr 1fr}
  .tvc-stats p:last-child{grid-column:1/-1;text-align:start;align-items:flex-start}
  .tv-offer-grid{grid-template-columns:1fr}
  .tv-visit-card,.tv-join-card{padding:30px 22px}
  .tvf-grid{grid-template-columns:1fr 1fr}
  .page-head{padding:48px 0 90px}
  .page-head:not(:has(+ .tv-stage)){padding-bottom:56px}
  .page-head .page-ornament{display:none!important}
}
@media print{.tv-topbar,.tv-header,.tv-footer,.tv-stage{display:none!important}.page-head{background:none;color:#000;padding:0}.page-head h1{color:#000}}
.contact-email{color:var(--teal-dark);font-weight:600}.contact-email:hover{color:var(--red)}

/* ==========================================================================
   Dunkelmodus – gleiche Markenfarben (Petrol, Sand, Gold, Rot), nur der Grund
   wird zur TV-Schrift-/Schieferfarbe #2f3d40. Gesetzt über data-theme (theme-init.js).
   ========================================================================== */
.tv-theme-toggle{display:grid;place-items:center;width:32px;height:32px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;cursor:pointer;flex:none}
.tv-theme-toggle:hover{background:rgba(255,255,255,.12);color:var(--sand)}
.tv-theme-toggle svg{width:17px;height:17px}
.tv-theme-toggle .tv-icon-sun,.tv-logo-dark{display:none}
html[data-theme=dark] .tv-theme-toggle .tv-icon-sun{display:block}
html[data-theme=dark] .tv-theme-toggle .tv-icon-moon{display:none}
html[data-theme=dark] .tv-logo-light{display:none}
html[data-theme=dark] .tv-logo-dark{display:block}

html[data-theme=dark]{
  color-scheme:dark;
  --paper:#273336;--surface:#2f3d40;--surface-2:#364649;--cream:#2b383b;
  --ink:#f4efe6;--muted:#b8ae9f;--line:rgba(214,183,124,.18);--gold:#d6b77c;
  --teal-mist:rgba(66,142,147,.2);--teal-soft:rgba(66,142,147,.3);--red-soft:rgba(181,46,51,.22);
  --header-bg:rgba(39,51,54,.86);--board-bg:rgba(47,61,64,.94);
  --shadow:0 12px 30px rgba(0,0,0,.28);--shadow-lg:0 26px 50px rgba(0,0,0,.38);
  --link:#8fcbce;
}
html[data-theme=dark],html[data-theme=dark] body{background:var(--paper);color:var(--ink)}
html[data-theme=dark] main::before{opacity:.05;filter:invert(1)}
html[data-theme=dark] :is(.tv-hero,.page-head){background-image:linear-gradient(160deg,var(--teal) 0%,var(--teal-dark) 70%,#24575a 100%)}
html[data-theme=dark] .tv-footer{background:linear-gradient(160deg,var(--teal-dark),#24575a)}
html[data-theme=dark] :is(h1,h2,h3,h4){color:var(--ink)}
html[data-theme=dark] ::selection{background:var(--teal);color:#fff}

/* Links und helle Petrol-Texte, die auf dunklem Grund sonst zu schwach wären */
html[data-theme=dark] :is(.text-link,.card-link,.tv-offer-more,.tv-join-contact,.contact-email,.tv-board-links a.text-link,.form-result){color:var(--link)}
html[data-theme=dark] :is(.text-link,.card-link,.contact-email):hover{color:var(--sand)}
html[data-theme=dark] .button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .button.secondary:hover{background:var(--teal-mist);color:#fff;border-color:var(--teal)}
html[data-theme=dark] .tv-icon-link{color:var(--ink)}
html[data-theme=dark] .tv-icon-link:hover,html[data-theme=dark] .tv-header #navigation>.nav-item>a:hover,html[data-theme=dark] .tv-header #navigation>.submenu-open>a{color:#fff;background:var(--teal-mist)}
html[data-theme=dark] .tv-header{border-bottom-color:var(--line)}
html[data-theme=dark] .tv-header #navigation>.nav-item>a,html[data-theme=dark] .tv-header #navigation .nav-dropdown a{color:var(--ink)}
html[data-theme=dark] .tv-header #navigation .nav-dropdown{background:var(--surface);border-color:var(--line)}
html[data-theme=dark] .tv-header #navigation .nav-dropdown a:hover{color:#fff}
html[data-theme=dark] .tv-header #navigation.open{background:var(--paper)}
html[data-theme=dark] .tv-topbar .language-options a{color:var(--ink)}
html[data-theme=dark] .tv-topbar .language-options a:hover,html[data-theme=dark] .tv-topbar .language-options a[aria-current]{color:#fff}

/* Bühne, Karten und Texte */
html[data-theme=dark] .tv-board{border-color:var(--line);box-shadow:0 30px 60px rgba(0,0,0,.35)}
html[data-theme=dark] .tv-clock>b,html[data-theme=dark] .tv-clock>div,html[data-theme=dark] .tv-prayer-time{color:var(--ink)}
html[data-theme=dark] :is(.tv-prayer,.tv-jumuah,.tv-sunrise,.tv-value,.tv-offer,.tv-join-card,.tv-notices article){border-color:var(--line)}
html[data-theme=dark] .tv-prayer.is-next{border-color:var(--sand)}
html[data-theme=dark] .tv-prayer.is-passed{opacity:.42}
html[data-theme=dark] .tv-jumuah-time{color:#e0575c}
html[data-theme=dark] .tv-jumuah-text small{color:#e0575c}
html[data-theme=dark] .tv-sunrise b,html[data-theme=dark] .tv-welcome-copy .lead{color:var(--ink)}
html[data-theme=dark] .tv-value-icon{background:var(--teal-mist);color:#8fcbce}
html[data-theme=dark] :is(.tv-value-index,.tv-offer-index,.card-index){color:rgba(214,183,124,.3)}
html[data-theme=dark] .tv-offer:hover{border-color:var(--teal)}
html[data-theme=dark] .tv-visit-card{background:linear-gradient(150deg,#3a4c50,#222d2f);box-shadow:var(--shadow-lg)}
html[data-theme=dark] .tvc-figures{background:rgba(0,0,0,.18)}
html[data-theme=dark] .tv-join-card .tv-eyebrow{color:#3fd07f}

/* Inhalte der Unterseiten (Altbestände aus style.css / project.css) */
html[data-theme=dark] :is(.values p,.meta,.source-note,.data-note,.floor-choice-copy>small,.floor-funding-note,.floor-donation-note,.floor-grid-heading,.project-area-note,.project-keyfacts span,.project-map-placeholder small,.project-model-note,.project-model-view>span,.project-source-note,.project-square-status,.project-square-summary>div>span,.project-story figcaption,.square-bundles .floor-clear,.square-contribution>span,.square-selected-label){color:var(--muted)}
html[data-theme=dark] :is(.project-story,.project-map-tabs button,input,select,textarea,.campaign-urgency>strong,.campaign-urgency>p){color:var(--ink)}
html[data-theme=dark] :is(.project-map,.project-map-tabs,.project-map-tabs button,.project-model-section,.project-model-view,.project-today,.square-selection,.square-bundles button,.floor-purpose textarea,.floor-purpose>button,.floor-square-grid .meter-square,.view-switch button,.frequency button,.amounts button,.icon-button,.values,.pending-legal,.detail-aside,.tag,.calendar-day.blank,.language option){background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .project-deadline{background:var(--red-soft)!important;color:#ffd9da;border-color:var(--red)!important}
html[data-theme=dark] .project-deadline :is(h2,h3,strong,p){color:#ffe3e4}
html[data-theme=dark] .project-today{background:var(--teal-mist)}
html[data-theme=dark] :is(.meter-square,.square-legend i){background:var(--surface-2)}
html[data-theme=dark] .floor-square-grid .meter-square:hover{background:var(--teal-mist)}
html[data-theme=dark] .project-drawing{background:#f6efe2;border-radius:var(--radius);padding:10px;color:var(--slate)}
html[data-theme=dark] .project-drawing figcaption{color:var(--slate)!important}
html[data-theme=dark] .project-story{--teal-dark:#8fcbce;--project-text:#e3ddd2;--project-title:#f4efe6;--project-rule:rgba(214,183,124,.18)}
html[data-theme=dark] .project-story .button{--teal-dark:#2c6669}
html[data-theme=dark] .calendar-day{border-color:var(--line)}
html[data-theme=dark] .calendar-event{background:var(--teal-mist);color:var(--ink)}
html[data-theme=dark] .calendar-day.is-today{background:var(--teal-mist)}
html[data-theme=dark] .monthly-table td{color:var(--ink);border-bottom-color:var(--line)}
html[data-theme=dark] .monthly-table td:nth-of-type(even){color:var(--sand)}
html[data-theme=dark] .monthly-table tbody th{border-bottom-color:var(--line);color:var(--ink)}
html[data-theme=dark] .monthly-table tbody tr:nth-child(even){background:rgba(255,255,255,.025)}
html[data-theme=dark] .table-scroll,html[data-theme=dark] .calendar-grid{border-color:var(--line)}
html[data-theme=dark] :is(.offer-card,.detail-aside,.donation-form,.inquiry-form,.empty-state,.donation-stories article,.event-list-item){border-color:var(--line)!important}
html[data-theme=dark] :is(input,select,textarea){border-color:var(--line)!important}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#8f877b}
html[data-theme=dark] .error-banner{background:var(--red-soft);color:#ffd9da}
html[data-theme=dark] .skip{background:var(--surface);color:var(--ink)}
html[data-theme=dark] .event-list-item time strong{color:#8fcbce}

/* Projekt-Eckdaten mit TV-Ziffern */
.project-keyfacts strong{font-family:var(--tv-num)!important;font-weight:800!important;font-size:58px!important;line-height:1!important;letter-spacing:0}
.project-keyfacts span{margin-top:6px;display:block}

/* ---------- Topbar 2: Markenfarben, Hell/Dunkel-Schalter, Sprachwahl ---------- */
.tv-topbar .social-links{gap:7px}
.tv-topbar .social-links a{width:28px;height:28px;border-radius:8px;color:#fff;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:transform .2s ease,box-shadow .2s ease}
.tv-topbar .social-links a:hover{color:#fff;transform:translateY(-2px);box-shadow:0 6px 14px rgba(0,0,0,.25)}
.tv-topbar .social-links svg{width:16px;height:16px}
.tv-topbar .brand-instagram{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
.tv-topbar .brand-tiktok{background:#010101}
.tv-topbar .brand-facebook{background:#1877f2;border-radius:50%!important}
.tv-topbar .brand-youtube{background:#ff0000}
.tv-topbar .brand-whatsapp{background:#25d366}
.tv-topbar .social-links a:hover{background-color:inherit}
.tv-topbar .brand-instagram:hover{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%)}
.tv-topbar .brand-tiktok:hover{background:#010101}.tv-topbar .brand-facebook:hover{background:#1877f2}.tv-topbar .brand-youtube:hover{background:#ff0000}.tv-topbar .brand-whatsapp:hover{background:#25d366}
.tv-topbar .app-download-link{display:none}

.tv-theme-switch{position:relative;display:inline-flex;align-items:center;justify-content:space-between;width:60px;height:30px;padding:0 5px;border-radius:999px;border:1px solid rgba(255,255,255,.28);background:rgba(0,0,0,.14);cursor:pointer;flex:none}
.tv-theme-switch:hover{border-color:var(--sand)}
.tv-switch-icon{position:relative;z-index:1;display:grid;place-items:center;width:20px;height:20px;color:rgba(255,255,255,.7);transition:color .25s ease}
.tv-switch-icon svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.tv-switch-moon svg{fill:currentColor;stroke:none}
.tv-switch-knob{position:absolute;top:3px;inset-inline-start:3px;width:24px;height:24px;border-radius:50%;background:var(--sand);box-shadow:0 2px 6px rgba(0,0,0,.25);transition:transform .3s cubic-bezier(.3,.7,.3,1)}
.tv-switch-sun{color:var(--teal-deep)}
html[data-theme=dark] .tv-switch-knob{transform:translateX(30px);background:var(--sand)}
[dir=rtl] .tv-switch-knob{transform:none}
html[data-theme=dark][dir=rtl] .tv-switch-knob{transform:translateX(-30px)}
html[data-theme=dark] .tv-switch-sun{color:rgba(255,255,255,.7)}
html[data-theme=dark] .tv-switch-moon{color:var(--teal-deep)}

.tv-topbar .language-picker summary{gap:7px;padding:4px 10px 4px 9px;height:30px;border-color:rgba(255,255,255,.28);background:rgba(0,0,0,.14)}
.tv-topbar .language-picker summary:hover,.tv-topbar .language-picker[open] summary{border-color:var(--sand)}
.tv-globe{width:16px;height:16px;fill:none;stroke:var(--sand);stroke-width:1.7}
.tv-lang-code{font-family:var(--tv-num);font-weight:800;font-size:16px;letter-spacing:.06em}
.tv-lang-name{display:none}
.tv-chevron{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.tv-topbar .language-picker[open] .tv-chevron{transform:rotate(180deg)}
.tv-topbar .language-picker .language-options{min-width:200px;padding:8px}
.tv-topbar .language-options a{align-items:center;font-weight:500}
.tv-topbar .language-options a[aria-current]{font-weight:700}

/* Bühne: Gebetskarten nutzen die volle Höhe, damit beide Spalten bündig enden */
@media (min-width:981px){
  .tv-prayers{flex:1}
  .tv-prayer{justify-content:center}
}

/* ---------- Topbar 3: ruhige, einheitliche Zeile ---------- */
.tv-topbar-row{gap:18px}
.tv-topbar .tv-ticker,.tv-topbar .tv-topbar-jumuah{display:inline-flex;align-items:center;gap:12px;line-height:1;white-space:nowrap}
.tv-topbar .tv-ticker-name{font-size:16px;font-weight:700;color:#fff;letter-spacing:0}
.tv-topbar .tv-ticker .tv-ticker-time,.tv-topbar .tv-topbar-jumuah b{font-family:var(--tv-num);font-weight:800;font-size:22px;line-height:1;color:#fff;letter-spacing:.01em}
.tv-ticker-sep{width:1px;height:18px;background:rgba(255,255,255,.3);margin-inline:2px}
.tv-topbar .tv-ticker-label{font-size:14px;font-weight:500;letter-spacing:0;text-transform:none;color:rgba(255,255,255,.88)}
.tv-topbar .tv-ticker-count{min-width:0;padding:4px 12px;border-radius:999px;background:rgba(255,255,255,.16);color:var(--sand-soft);font-size:19px;line-height:1}
.tv-topbar .tv-ticker.is-iqama .tv-ticker-count{background:var(--red);color:#fff}
.tv-topbar .tv-topbar-jumuah{margin-inline-start:28px;padding-inline-start:28px;border-inline-start:1px solid rgba(255,255,255,.22);font-size:14px;font-weight:500;color:rgba(255,255,255,.88)}
.tv-topbar .tv-topbar-jumuah span{font-family:var(--arabic);font-size:16px;font-weight:700;color:var(--sand);line-height:1}
.tv-topbar-jumuah:hover,.tv-ticker:hover .tv-ticker-name{color:#fff}
@media (max-width:640px){
  .tv-topbar .tv-ticker-label,.tv-ticker-sep,.tv-topbar .tv-topbar-jumuah{display:none}
  .tv-topbar .tv-ticker{gap:10px}
}

/* ---------- Topbar 4: ein Muster – kleiner Text + Zahl, gleiche Formen rechts ---------- */
.tv-topbar-row{gap:14px;min-height:42px}
.tv-topbar .tv-ticker,.tv-topbar .tv-topbar-jumuah{gap:10px}
.tv-topbar .tv-ticker-name,.tv-topbar .tv-ticker-label,.tv-topbar .tv-topbar-jumuah{font-size:14px;font-weight:500;color:rgba(255,255,255,.85)}
.tv-topbar .tv-ticker-name{font-weight:700;color:#fff}
.tv-topbar .tv-ticker .tv-ticker-time,.tv-topbar .tv-topbar-jumuah b{font-size:20px;color:#fff}
.tv-topbar .tv-ticker-sep{width:3px;height:3px;margin-inline:4px;border-radius:50%;background:rgba(255,255,255,.55)}
.tv-topbar .tv-ticker-count,.tv-topbar .tv-ticker.is-iqama .tv-ticker-count{padding:0;background:none;border-radius:0;min-width:0;font-size:20px;color:var(--sand)}
.tv-topbar .tv-ticker.is-iqama .tv-ticker-count{color:#ff9a9d}
.tv-topbar .tv-topbar-jumuah{margin-inline-start:40px;padding:0;border:0}
/* Social-Icons: gleiche Form, kein Rand */
.tv-topbar .social-links{gap:8px}
.tv-topbar .social-links a{width:28px;height:28px;border:0;border-radius:8px!important;box-shadow:none}
.tv-topbar .social-links a:hover{transform:translateY(-1px);box-shadow:0 4px 10px rgba(0,0,0,.25)}
/* Schalter und Sprache: gleiche Höhe, kompakt */
.tv-theme-switch{height:28px;width:56px}
.tv-switch-knob{top:2px;width:22px;height:22px}
html[data-theme=dark] .tv-switch-knob{transform:translateX(28px)}
html[data-theme=dark][dir=rtl] .tv-switch-knob{transform:translateX(-28px)}
.tv-topbar .language-picker summary{height:28px;width:auto;min-width:0;justify-content:flex-start;gap:7px;padding:0 10px}
.tv-lang-code{font-size:15px;letter-spacing:.04em}
.tv-chevron{margin-inline-start:2px}

/* ---------- Topbar 5: schlicht – ein Satz links, Werkzeuge rechts ---------- */
.tv-topbar{background:var(--teal-dark)}
.tv-topbar-row{min-height:40px;gap:16px}
.tv-topbar .tv-ticker{display:inline-flex;align-items:baseline;gap:8px;font-size:14px;line-height:1;color:#fff}
.tv-topbar .tv-ticker-label{font-size:14px;font-weight:400;letter-spacing:0;text-transform:none;color:rgba(255,255,255,.72)}
.tv-topbar .tv-ticker-name,.tv-topbar .tv-ticker .tv-ticker-time{font-family:var(--sans);font-size:14px;font-weight:600;letter-spacing:0;line-height:1;color:#fff;font-variant-numeric:tabular-nums}
.tv-topbar .tv-ticker .tv-ticker-time{color:var(--sand)}
.tv-topbar .tv-ticker:hover .tv-ticker-name{color:var(--sand)}
.tv-topbar .tv-ticker.is-iqama .tv-ticker-time{color:#ffb3b6}
.tv-topbar .social-links a{width:26px;height:26px;border-radius:7px!important}
.tv-topbar .social-links svg{width:15px;height:15px}
.tv-theme-switch,.tv-topbar .language-picker summary{box-sizing:border-box;height:30px}
.tv-theme-switch{width:58px;padding-inline:4px}
.tv-topbar .language-picker summary{justify-content:center;line-height:1}
.tv-switch-knob{inset-block:0;inset-inline-start:3px;margin-block:auto;width:22px;height:22px}
html[data-theme=dark] .tv-switch-knob{transform:translateX(28px)}
html[data-theme=dark][dir=rtl] .tv-switch-knob{transform:translateX(-28px)}
.tv-theme-switch:focus-visible,.tv-topbar .language-picker summary:focus-visible{outline:2px solid var(--sand);outline-offset:1px}
@media (max-width:640px){.tv-topbar .tv-ticker-label{display:none}}

/* Freitagsgebet in der Topbar: gleicher Satz-Stil, durch dünnen Strich abgesetzt */
.tv-topbar .tv-topbar-jumuah{display:inline-flex;align-items:baseline;gap:8px;margin-inline:22px 0;padding:0;padding-inline-start:22px;border:0;border-inline-start:1px solid rgba(255,255,255,.28);font-size:14px;line-height:1;font-weight:400;color:rgba(255,255,255,.72);white-space:nowrap}
.tv-topbar .tv-topbar-jumuah span{font-family:var(--sans);font-size:14px;font-weight:600;color:#fff;line-height:1}
.tv-topbar .tv-topbar-jumuah .tv-ticker-time{font-family:var(--sans);font-size:14px;font-weight:600;letter-spacing:0;line-height:1;color:var(--sand);font-variant-numeric:tabular-nums}
.tv-topbar .tv-topbar-jumuah:hover span{color:var(--sand)}
@media (max-width:640px){.tv-topbar .tv-topbar-jumuah{display:none}}

/* ---------- Flaches Design: keine dunklen Schatten/Glühen unter Buttons, Abzeichen und Hinweisen ---------- */
.button,.button:hover,.button:focus-visible,.button.red,.button.red:hover,.button.sand,.button.sand:hover,.button.gold,.button.gold:hover,.button.whatsapp,.button.whatsapp:hover,.button.secondary,.button.outline-light,
.tv-donate,.tv-join-badge,.tvc-urgency,.tv-icon-link,.tv-header .menu-toggle,.tv-offer-icon,.tv-value-icon,.icon-frame,.tv-jumuah-badge,.tv-prayer-flag,
.tv-topbar .social-links a,.tv-topbar .social-links a:hover,.tv-switch-knob,.tv-footer .social-links a,.tv-footer .social-links a:hover,.tv-footer .store-badge{box-shadow:none!important}
.button:hover,.tv-topbar .social-links a:hover,.tv-footer .social-links a:hover{transform:none}
.tv-join-badge{transform:none;border-radius:16px}
.tv-ring-fill{filter:none}

/* Projektseite: Abschnitt „Jetzt helfen“ auf Papier statt altem Bordeaux, Karte in voller Breite */
.project-support{background:transparent;color:var(--ink);padding-block:70px}
.project-support>.wrap>.eyebrow{color:var(--gold);font-size:14px;letter-spacing:.2em}
[dir=rtl] .project-support>.wrap>.eyebrow{letter-spacing:0}
.project-support>.wrap>h2{margin-bottom:28px;font-family:var(--tv-num);font-weight:800;text-transform:uppercase;font-size:clamp(34px,4vw,56px);line-height:.95;color:var(--ink)}
[dir=rtl] .project-support>.wrap>h2{font-family:var(--arabic);text-transform:none;line-height:1.3}
.project-support .hero-campaign{max-width:none}
.project-donate-links{gap:18px;margin-top:24px}
.project-donate-links>.button{background:var(--teal);border:0;border-radius:999px;padding:13px 24px}
.project-donate-links>.button:hover{background:var(--teal-dark)}
.project-other-link{color:var(--teal-dark);font-weight:700}
html[data-theme=dark] .project-other-link{color:var(--link)}

/* Hero-Foto ohne Beschriftung und ohne dunklen Verlauf */
.tv-hero-photo::after{display:none}

/* ==========================================================================
   Projektseite – kurz wie das Rollup: Aufruf, Spendenstand, Spendenwege, Haus, Lage
   ========================================================================== */
.tvp-hero{padding:72px 0 110px}
.tvp-hero::after{display:block}
.tvp-hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(40px,6vw,96px);align-items:center}
.tvp-title{display:block;font-size:clamp(54px,6.4vw,112px);line-height:.9;margin-bottom:24px}
.tvp-title span,.tvp-title em{display:block}
[dir=rtl] .tvp-title{font-size:clamp(44px,5.4vw,88px)}
.tvp-copy .tv-lead{max-width:560px;margin-bottom:30px}
.tvp-facts{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:34px}
.tvp-need{display:inline-flex;align-items:center;gap:16px;padding:12px 26px 12px 22px;border-radius:22px;background:var(--red);color:#fff}
.tvp-need small{max-width:90px;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;line-height:1.15}
[dir=rtl] .tvp-need small{letter-spacing:0;font-size:15px}
.tvp-need b{font-size:clamp(46px,4.4vw,70px);line-height:.9;color:#fff}
.tvp-until{display:inline-flex;align-items:center;gap:12px;padding:10px 24px 10px 16px;border-radius:22px;border:1.5px solid rgba(255,255,255,.4);color:#fff}
.tvp-until svg{width:34px;height:34px;fill:none;stroke:var(--sand);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.tvp-until b{font-size:clamp(30px,2.8vw,44px);line-height:1;text-transform:uppercase}
.tvp-copy .button svg{width:19px;height:19px;stroke-width:2}
.tvp-photo{margin:0;justify-self:center;width:100%;max-width:520px;padding:14px;border-radius:var(--radius-lg);background:var(--paper)}
.tvp-photo img{width:100%;height:auto;max-height:640px;object-fit:contain;border-radius:calc(var(--radius-lg) - 12px);background:#fff}
html[data-theme=dark] .tvp-photo{background:#f6efe2}

.tvp-ways{padding-block:70px 30px;scroll-margin-top:110px}
.tvp-ways .tv-section-head,.tvp-house .tv-section-head{margin-bottom:28px}
.tvp-way-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.tvp-way{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:28px;border-radius:var(--radius);background:var(--surface);border:1.5px solid var(--line)}
.tvp-way h3{font-size:24px;font-weight:700;line-height:1.15}
.tvp-way>p{margin:0 0 14px;color:var(--muted);font-size:17px}
.tvp-way .button{margin-top:auto}
.tvp-way-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:var(--teal);color:#fff;margin-bottom:6px}
.tvp-way-icon svg{width:26px;height:26px}
.tvp-bank{grid-column:1/-1;background:var(--cream)}
@media (min-width:981px){
  .tvp-bank{display:grid;grid-template-columns:auto 1fr auto auto;grid-template-rows:auto auto;align-items:center;column-gap:30px;row-gap:2px;padding:26px 32px}
  .tvp-bank .tvp-way-icon{grid-row:1/3;margin:0}
  .tvp-bank h3{grid-column:2;grid-row:1;align-self:end}
  .tvp-bank .tvp-recipient{grid-column:2;grid-row:2;align-self:start;margin:0!important}
  .tvp-bank .tvp-iban{grid-column:3;grid-row:1/3;margin:0!important}
  .tvp-bank .button{grid-column:4;grid-row:1/3;margin:0}
}
html[data-theme=dark] .tvp-bank{background:var(--surface-2)}
.tvp-recipient{display:flex;flex-direction:column;gap:2px;font-size:16px;line-height:1.35;color:var(--ink)!important;margin:0 0 6px!important}
.tvp-recipient small{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--gold)}
[dir=rtl] .tvp-recipient small{letter-spacing:0;font-size:14px}
.tvp-iban{margin:0 0 14px!important;font-size:clamp(26px,2.6vw,38px)!important;line-height:1;letter-spacing:.03em;color:var(--teal-dark)!important;white-space:nowrap}
html[data-theme=dark] .tvp-iban{color:var(--sand)!important}

.tvp-house{padding-block:50px 30px}
.tvp-house-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.tvp-house-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:0 0 26px;overflow:hidden;border-radius:var(--radius);background:var(--surface);border:1.5px solid var(--line)}
.tvp-house-img{position:relative;width:100%;aspect-ratio:268/172;margin-bottom:34px;background:var(--cream)}
.tvp-house-img img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:top;border-radius:calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0}
.tvp-house-icon{position:absolute;inset-inline-start:50%;bottom:0;transform:translate(-50%,50%);display:grid;place-items:center;width:62px;height:62px;border-radius:50%;background:var(--sand);color:var(--teal-deep);border:4px solid var(--surface);margin:0}
[dir=rtl] .tvp-house-icon{transform:translate(50%,50%)}
.tvp-house-icon svg{width:28px;height:28px}
.tvp-house-card h3{padding-inline:18px;font-size:20px;font-weight:700;line-height:1.2;color:var(--teal-dark)}
html[data-theme=dark] .tvp-house-card h3{color:var(--link)}
.tvp-house-card p{margin:0;padding-inline:20px;font-size:16px;line-height:1.45;color:var(--muted)}

.tvp-region{padding-block:50px 90px}
.tvp-region-card{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:0;align-items:stretch;padding:0;border-radius:var(--radius-lg);color:var(--ink);background:var(--cream);border:1.5px solid var(--line)}
html[data-theme=dark] .tvp-region-card{background:var(--surface)}
.tvp-region-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(32px,4vw,64px);position:relative;z-index:1}
.tvp-region .tv-title{margin:0 0 16px;font-size:clamp(44px,4.6vw,80px);line-height:.95}
.tvp-region .tv-title span,.tvp-region .tv-title em{display:block}
.tvp-region .tv-title span{color:var(--teal-dark)}
.tvp-region .tv-title em{font-style:normal;color:var(--red)}
html[data-theme=dark] .tvp-region .tv-title span{color:var(--link)}
html[data-theme=dark] .tvp-region .tv-title em{color:#e0575c}
[dir=rtl] .tvp-region .tv-title{font-size:clamp(34px,4vw,64px)}
.tvp-countries{margin:0 0 26px;font-size:19px;font-weight:600;color:var(--muted)}
.tvp-address{display:inline-flex;align-items:center;gap:16px;margin-bottom:28px;padding:14px 26px 14px 20px;border-radius:22px;background:var(--surface);border:1.5px solid var(--line);font-family:var(--tv-num);font-weight:800;font-size:28px;line-height:1.1;letter-spacing:.02em;color:var(--teal-dark);font-style:normal}
html[data-theme=dark] .tvp-address{color:var(--ink)}
.tvp-address svg{width:34px;height:34px;color:var(--red)}
.tvp-region-map{position:relative;min-height:340px;display:flex}
.tvp-map{display:block;width:100%;height:100%;min-height:340px;direction:ltr;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24%);mask-image:linear-gradient(90deg,transparent 0,#000 24%)}
[dir=rtl] .tvp-region-map .tvp-map{-webkit-mask-image:linear-gradient(270deg,transparent 0,#000 24%);mask-image:linear-gradient(270deg,transparent 0,#000 24%)}
.tvp-l{stroke:#fff;stroke-width:2;stroke-linejoin:round}
.tvp-l-x{fill:#ebe5d8}
.tvp-l-nl{fill:#cde6e7}
.tvp-l-be{fill:#f1e3c4}
.tvp-l-de{fill:#f0d5d5}
html[data-theme=dark] .tvp-l{stroke:rgba(255,255,255,.28)}
html[data-theme=dark] .tvp-l-x{fill:rgba(255,255,255,.05)}
html[data-theme=dark] .tvp-l-nl{fill:rgba(66,142,147,.4)}
html[data-theme=dark] .tvp-l-be{fill:rgba(214,183,124,.26)}
html[data-theme=dark] .tvp-l-de{fill:rgba(181,46,51,.34)}
.tvp-flag-edge{fill:none;stroke:rgba(31,74,76,.3);stroke-width:1.5}
.tvp-t{font-family:var(--sans);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
[dir=rtl] .tvp-t{letter-spacing:0;font-size:16px}
.tvp-t-nl{fill:#2c6669}
.tvp-t-be{fill:#8a6a1f}
.tvp-t-de{fill:#b52e33}
html[data-theme=dark] .tvp-t{stroke:none}
html[data-theme=dark] .tvp-t-nl{fill:#8fcbce}
html[data-theme=dark] .tvp-t-be{fill:#d6b77c}
html[data-theme=dark] .tvp-t-de{fill:#ff8a8f}
.tvp-ring{fill:rgba(181,46,51,.14);stroke:#b52e33;stroke-width:1.5}
.tvp-t-city{font-family:var(--tv-num);font-size:36px;font-weight:800;letter-spacing:.02em;fill:#2c6669;paint-order:stroke;stroke:#fff;stroke-width:6px;stroke-linejoin:round}
html[data-theme=dark] .tvp-t-city{fill:#fff;stroke:none}
.tvp-pin path{fill:#b52e33;stroke:#fff;stroke-width:2.5;stroke-linejoin:round}
.tvp-pin circle{fill:#fff;stroke:none}
html[data-theme=dark] .tvp-pin path{stroke:none}
@media (min-width:1500px){
  .tvp-hero{padding:96px 0 140px}
  .tvp-way{padding:34px}.tvp-way h3{font-size:27px}
  .tvp-house-card{padding-bottom:32px}.tvp-house-card h3{font-size:23px}.tvp-house-card p{font-size:17px}
}
@media (max-width:1180px){
  .tvp-house-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:980px){
  .tvp-hero{padding:48px 0 90px}
  .tvp-hero-grid{grid-template-columns:1fr}
  .tvp-region-card{grid-template-columns:1fr}
  .tvp-photo{max-width:380px}
  .tvp-region-map{order:-1;min-height:0}
  .tvp-map{height:auto;aspect-ratio:560/400;min-height:0;-webkit-mask-image:linear-gradient(180deg,#000 70%,transparent 100%);mask-image:linear-gradient(180deg,#000 70%,transparent 100%)}
  [dir=rtl] .tvp-region-map .tvp-map{-webkit-mask-image:linear-gradient(180deg,#000 70%,transparent 100%);mask-image:linear-gradient(180deg,#000 70%,transparent 100%)}
}
@media (max-width:640px){
  .tvp-way-grid,.tvp-house-grid{grid-template-columns:1fr}
  .tvp-need{padding:10px 18px}.tvp-need small{max-width:80px;font-size:12px}
  .tvp-way{padding:24px 20px}
  .tvp-iban{font-size:26px!important}
  .tvp-house-img{aspect-ratio:16/8}
  .tvp-address{font-size:24px}
}

/* ---------- Projektseite: Logos in den Spendenkarten, rote Titel mit Sandlinien (wie Rollup) ---------- */
.tvp-heading{display:flex;align-items:center;justify-content:center;gap:clamp(16px,2.4vw,40px);width:100%;margin:0;text-align:center;color:var(--red)}
.tvp-heading::before,.tvp-heading::after{content:"";flex:1 1 24px;min-width:24px;height:2px;background:var(--sand)}
html[data-theme=dark] .tvp-heading{color:#e0575c}
.tvp-ways .tv-section-head,.tvp-house .tv-section-head{display:block}
.tvp-logo-tile{display:inline-flex;align-items:center;gap:18px;min-height:76px;padding:10px 26px;margin-bottom:8px;border-radius:16px;background:#fff;border:1.5px solid var(--line)}
.tvp-logo-leaf{width:46px;height:46px;display:block}
.tvp-commons{display:flex;flex-direction:column;line-height:.95;color:#1e322b;font-size:28px}
.tvp-commons b{font-weight:700;letter-spacing:-.01em}
.tvp-commons i{font-style:normal;font-weight:300;letter-spacing:.01em}
.tvp-logo-visa{height:36px;width:auto;flex:none;display:block;overflow:visible}
.tvp-logo-mc{height:42px;width:auto;flex:none;display:block}
.tvp-logo-paypal{height:38px;width:auto;display:block}
.tvp-logo-bank{height:84px;width:176px;margin:-14px 0;object-fit:contain;display:block}
.tvp-bank .tvp-logo-tile{padding:0 12px;margin:0}
@media (min-width:981px){.tvp-bank .tvp-logo-tile{grid-row:1/3}}

/* ---------- Spendenseite ---------- */
.dn-hero{padding:72px 0 90px}
.dn-title{display:block;font-size:clamp(64px,8.4vw,140px);line-height:.88;margin-bottom:24px}
.dn-title em{display:block}
[dir=rtl] .dn-title{font-size:clamp(50px,6.4vw,100px)}
.dn-hero .tv-hero-photo{aspect-ratio:4/3.2;max-height:520px}
.dn-more{padding-block:30px 90px}
.dn-more .tv-section-head{margin-bottom:28px}
.dn-more-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.dn-tile{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:30px;border-radius:var(--radius);background:var(--surface);border:1.5px solid var(--line)}
.dn-tile h3{font-size:24px;font-weight:700;line-height:1.15}
.dn-tile p{margin:0 0 8px;color:var(--muted);font-size:17px}
.dn-tile address{font-style:normal;font-family:var(--tv-num);font-weight:800;font-size:26px;line-height:1.1;color:var(--teal-dark);margin-top:auto}
html[data-theme=dark] .dn-tile address{color:var(--ink)}
.dn-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:var(--sand);color:var(--teal-deep);margin-bottom:6px}
.dn-icon svg{width:26px;height:26px}
.dn-link{font-family:var(--tv-num);font-weight:800;font-size:28px;line-height:1.15;color:var(--teal-dark)}
html[data-theme=dark] .dn-link{color:var(--ink)}
.dn-link:hover{color:var(--red)}
.dn-tile-share{background:var(--cream)}
html[data-theme=dark] .dn-tile-share{background:var(--surface-2)}
.dn-tile .button{margin-top:auto}
.dn-tile .button svg{width:19px;height:19px;stroke-width:2}
@media (max-width:980px){
  .dn-hero{padding:48px 0 80px}
  .dn-more-grid{grid-template-columns:1fr}
}
.tv-hero-photo{box-shadow:0 0 0 8px rgba(255,255,255,.12)!important}
.tvp-logo-tile,.tvp-logo-tile svg{direction:ltr;unicode-bidi:isolate}

/* ---------- Hinweis: Unterricht pausiert (Bauarbeiten) ---------- */
.tvn{display:flex;align-items:flex-start;gap:20px;margin-bottom:28px;padding:24px 28px;border-radius:var(--radius);background:var(--red-soft);border:1.5px solid rgba(181,46,51,.28)}
.tvn-icon{flex:none;display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:var(--red);color:#fff}
.tvn-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tvn h3{margin:0 0 6px;font-size:22px;font-weight:700;line-height:1.2;color:var(--red-dark)}
.tvn p{margin:0;font-size:17px;line-height:1.55;color:var(--ink)}
html[data-theme=dark] .tvn h3{color:#ff9a9d}
.tvn-wrap{padding-top:40px}
.tvn-wrap .tvn{margin-bottom:0}
.tv-offers .tvn{margin-block:0 24px}
@media (max-width:640px){.tvn{flex-direction:column;gap:12px;padding:20px}}
[dir=rtl] h2.tv-visit-street{font-family:var(--tv-num);letter-spacing:0}

/* ---------- Veranstaltungen aus der Verwaltung ---------- */
.tve-item{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:22px;padding:22px 28px!important}
.tve-item>time{display:flex;flex-direction:column;align-items:center;justify-content:center;width:76px;padding:10px 0;border-radius:18px;background:var(--cream)}
html[data-theme=dark] .tve-item>time{background:var(--surface-2)}
.tve-item>time strong{font-family:var(--tv-num);font-weight:800;font-size:40px;line-height:.95;color:var(--teal-dark)}
html[data-theme=dark] .tve-item>time strong{color:var(--link)}
.tve-item>time span{font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--red)}
.tve-item h3{margin:2px 0 6px;font-size:24px;font-weight:700;line-height:1.2;color:var(--ink)}
.tve-item .meta{display:block}
.tve-sub{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0!important;font-size:16px;color:var(--muted)}
.tve-sub span{display:inline-flex;align-items:center;gap:7px}
.tve-sub svg{width:17px;height:17px;color:var(--teal)}
.tve-chip{font-style:normal;padding:6px 16px;border-radius:999px;background:var(--red);color:#fff;font-size:14px;font-weight:700;white-space:nowrap}
.tve-item.is-cancelled h3,.tve-cal.is-cancelled strong{text-decoration:line-through;color:var(--muted)}
.tve-cal.is-cancelled{border-inline-start-color:var(--red)}
.tve-cal.is-cancelled>span{color:var(--red);font-weight:700}
@media (max-width:640px){.tve-item{grid-template-columns:auto minmax(0,1fr)!important;gap:14px!important;padding:18px!important}.tve-item .tve-chip{grid-column:1/-1;justify-self:start}.tve-item>time{width:64px}}
@media (max-width:640px){.page-head h1{font-size:clamp(36px,11vw,54px);overflow-wrap:normal;word-break:normal}}

/* ---------- Veranstaltungen: anklickbarer Kalender oben, Karten darunter ---------- */
.tve-bar{margin-bottom:18px}
.tve-grid-cal{margin-bottom:12px}
button.calendar-day{display:block;width:100%;font:inherit;text-align:start;color:inherit;background:var(--surface);border:0;border-radius:0;padding:8px 8px 10px;cursor:pointer;position:relative;transition:background .2s ease}
button.calendar-day:hover{background:var(--teal-mist)}
button.calendar-day:focus-visible{outline:3px solid var(--sand);outline-offset:-3px}
.calendar-day.has-events .day-number{font-family:var(--tv-num);font-weight:800;font-size:22px;color:var(--teal-dark)}
html[data-theme=dark] .calendar-day.has-events .day-number{color:var(--link)}
.calendar-day.is-selected{background:var(--teal)!important;color:#fff}
.calendar-day.is-selected .day-number{color:#fff!important}
.calendar-day.is-selected .tve-cal{background:rgba(255,255,255,.18);color:#fff;border-inline-start-color:var(--sand)}
.calendar-day.is-selected .tve-cal time,.calendar-day.is-selected .tve-cal strong{color:#fff}
.tve-dots{display:none;gap:4px;margin-top:4px}
.tve-dots i{width:7px;height:7px;border-radius:50%;background:var(--teal)}
.tve-dots i.is-off{background:var(--red)}
.calendar-day.is-selected .tve-dots i{background:#fff}
.tve-hint{margin:0 0 6px;text-align:center;color:var(--muted)}
.tve-list{padding-top:44px;scroll-margin-top:110px}
.tve-list-head{margin-bottom:26px}
.tve-selected{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px;padding:14px 20px;border-radius:var(--radius);background:var(--teal-mist);border:1.5px solid var(--line);font-weight:700;color:var(--teal-dark)}
html[data-theme=dark] .tve-selected{color:var(--link)}
.tve-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:20px}
.tve-card{display:flex;flex-direction:column;overflow:hidden;border-radius:var(--radius);background:var(--surface);border:1.5px solid var(--line);transition:transform .25s ease,border-color .25s ease}
.tve-card:hover{transform:translateY(-4px);border-color:var(--teal)}
.tve-card.is-past{opacity:.6}
.tve-card-top{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-height:150px;padding:20px 24px;color:#fff;background:linear-gradient(150deg,#4a979c,var(--teal-dark))}
.tve-card-top::before{content:"";position:absolute;inset:0;z-index:-1;background:url("./assets/tv-pattern.jpg") center/360px auto repeat;mix-blend-mode:soft-light;opacity:.45}
.tve-card.is-cancelled .tve-card-top{background:linear-gradient(150deg,#6a5b5c,#3e4f52)}
.tve-card-top time{display:flex;flex-direction:column;line-height:1}
.tve-card-top time b{font-size:74px;line-height:.85;color:var(--sand)}
.tve-card-top time span{margin-top:8px;font-size:15px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#fff}
[dir=rtl] .tve-card-top time span{letter-spacing:0;font-size:18px}
.tve-weekday{font-size:15px;font-weight:600;color:rgba(255,255,255,.88)}
.tve-card-top .tve-chip{align-self:flex-start}
.tve-card-body{display:flex;flex-direction:column;gap:6px;padding:20px 24px 24px;flex:1}
.tve-card-body .meta{min-height:1em}
.tve-card-body h3{margin:0;font-size:23px;font-weight:700;line-height:1.2;color:var(--ink)}
.tve-card.is-cancelled h3{text-decoration:line-through;color:var(--muted)}
@media (max-width:640px){
  .tve-grid-cal{font-size:14px}
  button.calendar-day,.tve-grid-cal .calendar-day{min-height:54px;padding:6px 4px}
  .tve-grid-cal .calendar-event{display:none}
  .tve-dots{display:flex;flex-wrap:wrap}
  .calendar-day.has-events .day-number{font-size:18px}
  .tve-cards{grid-template-columns:1fr}
  .tve-card-top{min-height:120px}
}
.tve-grid-cal .calendar-day,.tve-grid-cal button.calendar-day{padding:10px;min-height:112px}
.tve-grid-cal .day-number{display:inline-block;font-family:var(--tv-num);font-weight:800;font-size:22px;line-height:1.1;color:var(--muted)}
.tve-grid-cal .calendar-day.is-today .day-number{display:inline-grid;place-items:center;width:34px;height:34px;margin:-4px 0 0 -6px;border-radius:50%;background:var(--teal);color:#fff}
.tve-grid-cal .calendar-day.has-events .day-number{color:var(--teal-dark)}
html[data-theme=dark] .tve-grid-cal .calendar-day.has-events .day-number{color:var(--link)}
@media (max-width:640px){.tve-grid-cal .calendar-day,.tve-grid-cal button.calendar-day{min-height:56px;padding:6px 4px}.tve-grid-cal .day-number{font-size:18px}}

/* ---------- Überlappungen: genug Zeilenhöhe für Umlaute, Marken ohne Überdeckung ---------- */
.tv-display,.tv-title,.page-head h1,.tvp-title,.dn-title,.tv-campaign h2,.tvp-region .tv-title{line-height:1.06!important}
.tv-visit-street{line-height:1!important}
.page-head .eyebrow{margin-bottom:18px}
.tv-value>div{padding-inline-end:56px}
.tv-prayer-flag{position:static!important;margin-top:8px;align-self:center}
@media (max-width:640px){.tv-prayer-flag{display:none}}
@media (max-width:640px){.tv-display{font-size:clamp(42px,13.4vw,84px)!important}.tvp-title{font-size:clamp(42px,13.4vw,84px)!important}.dn-title{font-size:clamp(46px,14vw,90px)!important}}

/* Hamburger-Menü bis 1400px, damit Menü, Symbole und Spenden-Knopf in die Kopfzeile passen */
@media (max-width:1400px){
  .tv-header .menu-toggle{display:block}
  .tv-header #navigation{display:none}
  .tv-header #navigation.open{display:flex;position:absolute;top:100%;inset-inline:0;flex-direction:column;align-items:stretch;gap:0;padding:12px 20px 20px;background:var(--paper);box-shadow:0 30px 40px rgba(31,74,76,.18);border-bottom:4px solid var(--sand);max-height:calc(100vh - 120px);overflow-y:auto}
  .tv-header #navigation.open>.nav-item{width:100%;border-bottom:1px solid var(--line);justify-content:space-between;flex-wrap:wrap}
  .tv-header #navigation.open>.nav-item>a{flex:1;padding:14px 6px;font-size:17px;border-radius:0;background:transparent;color:var(--ink)}
  .tv-header #navigation.open>.nav-item>a[aria-current=page]{color:var(--teal-dark);background:transparent}
  .tv-header #navigation.open .submenu-toggle{min-width:44px;min-height:44px;width:auto;color:var(--teal-dark)}
  .tv-header #navigation.open .submenu-toggle>span{visibility:visible}
  .tv-header #navigation.open .nav-dropdown{position:static;width:100%;min-width:0;max-width:none;box-shadow:none;border:0;border-radius:0;padding:0 0 10px 12px;background:transparent}
}

/* Untermenü bleibt offen, wenn die Maus von der Überschrift zur Liste wandert */
.tv-header #navigation .nav-dropdown::before{content:"";position:absolute;inset-inline:-14px;top:-18px;height:18px}
.tv-header #navigation .nav-dropdown{inset-block-start:calc(100% + 6px)}
/* Gebetsbühne: nichts darf über den Rand laufen */
.tv-stage-grid{grid-template-columns:minmax(0,380px) minmax(0,1fr)}
.tv-board,.tv-next{min-width:0}
.tv-prayers{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1180px){.tv-stage-grid{grid-template-columns:minmax(0,330px) minmax(0,1fr)}.tv-board-foot{grid-template-columns:1fr}.tv-clock>b{font-size:68px}}
@media (max-width:1100px){.tv-stage-grid{grid-template-columns:minmax(0,1fr)}}

/* Spendenwege und Haus-Karten: Spalten dürfen schrumpfen, auf dem Tablet zwei statt drei */
.tvp-way-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.tvp-house-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1180px){.tvp-house-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:980px){.tvp-way-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tvp-way:nth-child(3){grid-column:auto}.dn-more-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.tvp-way-grid,.tvp-house-grid{grid-template-columns:minmax(0,1fr)}}
.tv-welcome{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.tv-welcome>*,.tv-values,.tv-value>div{min-width:0}
@media (max-width:980px){.tv-welcome{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){.tv-value>div{padding-inline-end:44px}.tv-value{padding:20px 18px}}

.topic-hint{margin:-6px 0 14px;padding:12px 16px;border-radius:14px;background:var(--cream);border:1.5px solid var(--sand);font-size:15px;color:var(--ink)}
.topic-hint[hidden]{display:none}

/* Mobile-Footer: lange E-Mail-Adresse sprengt die Spalte, Sprachlinks nicht bündig */
.tvf-grid>div{min-width:0}
.tv-footer .tvf-grid a bdi{overflow-wrap:anywhere}
.tv-footer .footer-languages{display:flex;flex-wrap:wrap;gap:0 22px}
.tv-footer .footer-languages h3{flex:0 0 100%}
@media (max-width:640px){
  .tvf-grid{grid-template-columns:1fr 1fr;gap:32px 20px}
  .tvf-brand,.tvf-grid>div:nth-child(2),.tvf-grid>.footer-languages{grid-column:1/-1}
  .tv-footer .tvf-grid a{overflow-wrap:anywhere}
}

/* Spenden-Karte „Fragen zur Spende?“: lange E-Mail-Adresse bleibt in der Karte */
.dn-tile{min-width:0}
.dn-link{max-width:100%;overflow-wrap:anywhere}
.dn-link[href^="mailto:"]{font-size:clamp(17px,5vw,22px);line-height:1.25}
