@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Newsreader;
  src: url("fonts/newsreader-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: Newsreader;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --white: #fffefb;
  --ink: #15382f;
  --night: #102f28;
  --text: #263d34;
  --muted: #52625a;
  --line: #d4d9cd;
  --sage: #ecf0e8;
  --gold: #ecd8a6;
  --brass: #846527;
  --body: Manrope, "Segoe UI", sans-serif;
  --serif: Newsreader, Georgia, serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --container: 74rem;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.65 var(--body); }
:where(h1,h2,h3,p,figure,dl,dd) { margin: 0; }
h1,h2,h3 { color: var(--ink); font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.036em; }
h2 { font-size: clamp(2.25rem, 3.9vw, 4rem); }
h3 { font-size: clamp(1.55rem, 2.3vw, 2.2rem); }
address { font-style: normal; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus, #876516); outline-offset: 4px; }
[id] { scroll-margin-top: 1rem; }
.container { width: min(var(--container), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: .5rem; left: .5rem; padding: .6rem 1rem; background: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: .75rem; line-height: 1; color: var(--ink); text-decoration: none; }
.brand-mark { width: 2.8rem; height: 2.8rem; object-fit: contain; flex-shrink: 0; }
.brand strong { display: block; font: 500 1.48rem/.98 var(--serif); letter-spacing: -.035em; }
.brand small { display: block; margin-top: .3rem; font-size: .72rem; font-weight: 700; letter-spacing: .07em; }
.main-nav, .header-controls, .language-switch { display: flex; align-items: center; }
.main-nav { justify-content: end; gap: clamp(.65rem, 2.3vw, 2rem); }
.main-nav a, .language-switch a { display: inline-flex; min-height: 2.75rem; align-items: center; text-decoration: none; font-size: .9rem; line-height: 1.25; font-weight: 650; }
.main-nav a { position: relative; }
.main-nav a[aria-current] { color: var(--ink); }
.main-nav a[aria-current]::after, .main-nav a:hover::after { content: ""; position: absolute; bottom: .27rem; inset-inline: 0; height: 1px; background: var(--brass); }
.header-controls { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.language-switch a { justify-content: center; min-width: 2.75rem; font-size: .82rem; color: var(--muted); }
.language-switch a[aria-current] { color: var(--ink); font-weight: 800; background: var(--sage); border-radius: .24rem; }
.menu-toggle { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; gap: .45rem; padding: .3rem .6rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; font-size: .9rem; font-weight: 700; }
.menu-symbol { width: 1rem; height: .48rem; border-block: 1.5px solid currentColor; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .65rem 1.4rem; border: 1px solid transparent; border-radius: .24rem; font-weight: 750; font-size: .94rem; line-height: 1.4; text-decoration: none; transition: background-color 160ms; }
.button--primary { background: var(--ink); color: white; }
.button--primary:hover { background: #245445; }
.button--outline { color: var(--ink); border-color: #939e93; }
.button--outline:hover { background: var(--sage); }
.button--gold { color: #183b30; background: var(--gold); }
.button--gold:hover { background: #fff0cd; }
.eyebrow { color: var(--brass); font-size: .77rem; font-weight: 800; letter-spacing: .145em; text-transform: uppercase; }
.home-hero { isolation: isolate; position: relative; overflow: hidden; background: var(--night); color: var(--paper); --focus: var(--gold); }
.hero-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 70%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 43% center; }
.home-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,var(--night) 0%,var(--night) 27%,rgba(16,47,40,.95) 38%,rgba(16,47,40,.55) 55%,rgba(16,47,40,.04) 77%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(29rem, 39vw, 37rem); padding-block: clamp(2.7rem, 4.7vw, 4.75rem); }
.hero-type { max-width: 47%; }
.hero-type .eyebrow { color: var(--gold); margin-bottom: 1.35rem; }
.hero-type h1 { color: var(--paper); font-size: clamp(4.5rem, 6.85vw, 7.5rem); line-height: .9; letter-spacing: -.052em; }
.hero-lead { margin-top: 1.15rem; font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.55; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.45rem; margin-top: 1.4rem; }
.hero-link, .text-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 750; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.hero-link { color: var(--paper); text-decoration-color: var(--gold); }
.text-link { color: var(--ink); text-decoration-color: var(--brass); }
:is(.text-link, .hero-link):hover { text-decoration-thickness: 2px; }
.visit-strip { color: var(--ink); background: var(--sage); border-bottom: 1px solid var(--line); }
.strip-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.25fr; padding-block: 1rem; }
.strip-entry { display: grid; align-content: center; }
.strip-entry + .strip-entry { padding-left: clamp(1.2rem, 3vw, 3.5rem); border-left: 1px solid #bbc6bb; }
.strip-entry span { font-size: .77rem; color: var(--muted); font-weight: 700; }
.strip-entry a { width: fit-content; min-height: 1.85rem; display: inline-flex; align-items: center; font-size: .96rem; font-weight: 650; text-decoration: none; }
.strip-entry a:hover { text-decoration: underline; }
.visit-feature { display: grid; align-items: center; grid-template-columns: minmax(0,.85fr) minmax(0,1.35fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.6rem, 6.3vw, 6.4rem); }
.visit-feature h2 { margin-block: .7rem; }
.visit-feature-copy > p:not(.eyebrow) { color: var(--muted); max-width: 31rem; }
.visit-feature .text-link { margin-top: .65rem; }
.mosque-photo img { width: 100%; height: auto; aspect-ratio: 2.55; object-fit: cover; object-position: 59% 50%; }
.mosque-photo figcaption { display: flex; justify-content: space-between; gap: .2rem 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: .65rem 0; font-size: .81rem; color: var(--muted); }
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); padding-block: clamp(2.6rem, 6vw, 5.6rem); }
.page-hero::after { content: ""; position: absolute; z-index: -1; inset: 0 0 0 auto; width: 42%; background: linear-gradient(90deg,var(--night),rgba(16,47,40,.64)),url("gebetsraum.webp") 58% center / cover; }
.page-hero h1 { color: var(--paper); margin-block: .9rem; max-width: 48rem; font-size: clamp(3.25rem, 5.6vw, 6rem); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero .intro { max-width: 43rem; color: #edf2eb; font-size: clamp(1rem, 1.45vw, 1.2rem); }
.inner-content { padding-block: clamp(2.4rem, 6vw, 5.5rem); }
.two-column { display: grid; align-items: start; grid-template-columns: minmax(0,1.25fr) minmax(0,.9fr); gap: clamp(2rem,6vw,6rem); }
.panel { min-width: 0; }
.panel--tint { background: var(--sage); padding: clamp(1.5rem,3vw,2.75rem); border-top: 2px solid var(--brass); }
.panel h2, .inner-section h2 { font-size: clamp(2rem,3.1vw,3rem); }
.panel p, .panel address, .inner-section > p { margin-top: .75rem; color: var(--muted); }
.panel .button, .panel .text-link { margin-top: .8rem; }
.prose { max-width: 49rem; }
.prose h2:not(:first-child) { margin-top: 1.75rem; }
.note { padding: 1rem 1.15rem; background: var(--sage); border-left: 2px solid var(--brass); }
.inner-section { padding-bottom: clamp(2.4rem,6vw,5.5rem); }
.inner-content .inner-section { margin-top: 3rem; padding-bottom: 0; }
.contact-list { margin-top: 1rem; }
.contact-list > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .4rem .8rem; border-bottom: 1px solid var(--line); padding-block: .4rem; }
.contact-list dt { font-weight: 700; }
.contact-list .text-link { margin: 0; }
.faq { max-width: 52rem; margin-top: 1rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 3.2rem; padding: .9rem .25rem; font-weight: 750; color: var(--ink); cursor: pointer; }
.faq details p { padding: 0 .25rem 1rem 1.4rem; color: var(--muted); }
.site-footer { color: #eff3e9; background: var(--night); --focus: var(--gold); padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 2rem; }
.site-footer .brand { color: var(--paper); }
.site-footer .brand-mark { filter: brightness(0) invert(.92); }
.site-footer .brand small, .site-footer p, .site-footer small { color: #c9d7c9; }
.site-footer h2 { color: #eff3e9; font: 750 1rem/1.3 var(--body); letter-spacing: 0; margin-block: .4rem .75rem; }
.site-footer p { margin-top: 1rem; }
.footer-grid nav { display: grid; }
.footer-grid a:not(.brand), .footer-end a { display: flex; width: fit-content; align-items: center; min-height: 2.75rem; }
.footer-grid nav a { text-decoration: none; }
.footer-grid nav a:hover { text-decoration: underline; }
.footer-end { margin-top: 2rem; padding-block: .65rem; border-top: 1px solid #4e6558; display: flex; justify-content: space-between; gap: 1rem; align-items: center; flex-wrap: wrap; }
.footer-end nav { display: flex; gap: 1.2rem; font-size: .88rem; }
@media (max-width:1020px) {
  .header-inner { grid-template-columns: 1fr auto auto; gap: 0 .55rem; min-height: 4.6rem; }
  .header-controls { grid-column: 3; grid-row: 1; padding-left: .5rem; }
  .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: start; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: .5rem; }
}
@media (max-width:800px) {
  .visit-feature { grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); gap: 2rem; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .strip-entry:last-child { display: none; }
}
@media (max-width:680px) {
  .hero-photo { inset: 0 0 auto; width: 100%; height: 65%; }
  .hero-photo img { object-position: center 28%; }
  .home-hero::before { background: linear-gradient(0deg,var(--night) 30%,rgba(16,47,40,.94) 41%,rgba(16,47,40,.6) 56%,rgba(16,47,40,.08) 79%); }
  .hero-inner { min-height: 30rem; align-items: end; padding-block: 11.4rem 2rem; }
  .hero-type { max-width: 100%; }
  .hero-type .eyebrow { margin-bottom: .85rem; }
  .hero-type h1 { font-size: clamp(4rem,14vw,5.4rem); }
  .hero-lead { margin-top: .9rem; }
  .actions { margin-top: 1rem; }
  .strip-inner { display: block; padding-block: .7rem; }
  .strip-entry + .strip-entry { display: none; }
  .strip-entry a { min-height: 2rem; }
  .visit-feature, .two-column { grid-template-columns: 1fr; gap: 1.5rem; }
  .mosque-photo img { aspect-ratio: 2.35; }
  .page-hero::after { width: 55%; opacity: .48; }
  .page-hero h1 { overflow-wrap: break-word; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width:460px) {
  .header-inner { gap: 0 .25rem; }
  .brand { gap: .4rem; }
  .brand-mark { width: 2.2rem; height: 2.2rem; }
  .brand strong { font-size: 1.12rem; }
  .brand small { font-size: .65rem; }
  .header-controls { padding-left: .16rem; }
  .menu-toggle { padding-inline: .32rem; }
  .language-switch a { min-width: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { transition-duration: 0s !important; }
}

.calendar-overview { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: clamp(1.5rem,5vw,5rem); align-items: start; }
.calendar h2 { font-size: clamp(2rem,3.5vw,3.3rem); }
.calendar-date { margin-top: .55rem; color: var(--muted); }
.today-times { display: grid; grid-template-columns: repeat(3,1fr); gap: .9rem 1.3rem; margin-top: 1.25rem; }
.today-times div { border-top: 1px solid var(--line); padding-top: .45rem; }
.today-times dt, .calendar-controls label { font-size: .88rem; color: var(--muted); font-weight: 650; }
.today-times dd { color: var(--ink); font-size: clamp(1.5rem,2.3vw,2rem); font-variant-numeric: tabular-nums; }
.friday-panel .friday-time { color: var(--ink); font: 500 3.3rem/1.1 var(--serif); margin-block: .5rem; }
.month-section { margin-top: clamp(2.5rem,5vw,5rem); }
.calendar-controls { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem 1.5rem; margin-bottom: 1.3rem; }
.calendar-controls select { margin-left: .4rem; padding: .65rem .5rem; min-height: 2.75rem; font: inherit; background: var(--white); color: var(--ink); border: 1px solid #81978a; border-radius: .24rem; }
.month-section summary { cursor: pointer; font-weight: 700; border-top: 1px solid var(--line); padding: .8rem .3rem; }
.calendar-scroll { overflow-x: auto; }
.calendar table { width: 100%; border-collapse: collapse; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.calendar caption { text-align: left; font-weight: 700; padding: .7rem .6rem; }
.calendar :is(th,td) { padding: .52rem .65rem; border-bottom: 1px solid var(--line); }
.calendar thead th { background: var(--sage); color: var(--ink); }
.calendar th:first-child { text-align: left; }
.calendar tbody th { font-weight: 600; }
.calendar tbody tr[aria-current="date"] { background: #f3e7c9; color: var(--ink); }
.calendar-hint { display: none; }
.calendar-source { margin-top: .8rem; }
#calendar-outside { margin-block: 1rem; }
@media (max-width: 680px) {
  .calendar-overview { grid-template-columns: 1fr; }
  .calendar-hint { display: block; margin-bottom: .7rem; color: var(--muted); font-size: .85rem; }
  .today-times { gap: .65rem; }
  .today-times dt { font-size: .77rem; }
  .calendar :is(td,th) { padding-inline: .45rem; font-size: .86rem; }
  .calendar table th:first-child { position: sticky; left: 0; background: var(--paper); }
  .calendar table thead th:first-child { background: var(--sage); }
  .calendar table [aria-current="date"] th:first-child { background: #f3e7c9; }
}
