/* ==========================================================================
   WohnMatch – zentrales Stylesheet
   Werte 1:1 aus dem Prototyp «WohnMatch Final».
   ========================================================================== */

:root {
  --bg: #f5f1ea;
  --surface: #fbf7f1;
  --beige: #efe8db;
  --line: #e3d8c6;
  --line-g: #cdd9c8;
  --line-dot: #cdc2ae;
  --text: #2c2318;
  --text-2: #5a4e3d;
  --text-3: #8a7c66;
  --muted: #a2967f;
  --green: #2f5d3a;
  --green-h: #24472c;
  --mustard: #b8892b;
  --rust: #a64a34;
  --on-g: #fbf7f1;
  --on-g-2: #dfe8dc;
  --on-g-3: #bcd4c0;
  --g10: rgba(47, 93, 58, 0.10);
  --g16: rgba(47, 93, 58, 0.16);
  --g32: rgba(47, 93, 58, 0.32);
  --fh: 'Space Grotesk', system-ui, sans-serif;
  --fb: 'Manrope', system-ui, sans-serif;
  --side: 40px;
  --shadow: 0 24px 60px rgba(20, 24, 18, 0.35);
}

/* ---------------------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}
p { text-wrap: pretty; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-h); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.wm-i { display: block; width: 1em; height: 1em; flex: none; }
.wm-nowrap { white-space: nowrap; }
.wm-main { display: block; }
html:has(dialog[open]), html.wm-lock { overflow: hidden; }
[hidden] { display: none !important; }

@keyframes gFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wm-fade:not([hidden]) { animation: gFade .3s ease both; }

/* Scroll-Reveal */
[data-rv=""] { opacity: 0; transform: translateY(16px); }
[data-rv="in"] { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s cubic-bezier(.22, .7, .3, 1); }
[data-rv="done"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-rv] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- Typo */
.wm-eyebrow {
  font-family: var(--fh); font-size: 14px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.wm-eyebrow--box { margin-bottom: 13px; }
.wm-eyebrow--sm { font-size: 13px; letter-spacing: 0.14em; margin-bottom: 8px; }
.wm-eyebrow--green { font-size: 13px; letter-spacing: 0.14em; color: var(--on-g-3); margin-bottom: 13px; }
.wm-h1 { font-family: var(--fh); font-size: clamp(29px, 5vw, 46px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 16px; }
.wm-h2 { font-family: var(--fh); font-size: clamp(26px, 4.2vw, 38px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.wm-h2--box { font-size: clamp(25px, 3.8vw, 34px); }
.wm-h2--30 { font-size: 30px; }
.wm-lead { font-size: 17px; line-height: 1.65; color: var(--text-2); margin: 0; }
.wm-lead--schmal { max-width: 62ch; }
.wm-lead--breit { max-width: 88ch; }

/* ---------------------------------------------------------------- Buttons */
.wm-btn {
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--fh); font-weight: 700; text-decoration: none; line-height: 1.2;
  border: 1.5px solid transparent; border-radius: 13px;
  transition: background-color .15s, border-color .15s, color .15s;
}
.wm-btn--pri { background: var(--green); color: var(--on-g); }
.wm-btn--pri:hover { background: var(--green-h); color: var(--on-g); }
.wm-btn--sec { background: transparent; border-color: var(--line-g); color: var(--green); }
.wm-btn--sec:hover { border-color: var(--green); color: var(--green); }
.wm-btn--lg { font-size: 18px; padding: 15.5px 28.5px; }
.wm-btn--cta { font-size: 18px; padding: 14.5px 28.5px; }
.wm-btn--md { font-size: 16px; padding: 13.5px 24.5px; border-radius: 12px; }
.wm-btn--sm { font-size: 15px; padding: 8.5px 16.5px; border-radius: 10px; }
.wm-btn--xs { font-size: 15px; padding: 9.5px 16.5px; border-radius: 11px; }
.wm-btn--form { font-size: 17px; padding: 14.5px 28.5px; border-radius: 12px; }
.wm-btn--light { background: var(--surface); color: var(--green); font-size: 18px; padding: 15.5px 30.5px; white-space: nowrap; }
.wm-btn--light:hover { background: #fff; color: var(--green-h); }
.wm-btn--block { width: 100%; }
.wm-btn:disabled { cursor: not-allowed; opacity: .6; }
.wm-btns { display: flex; gap: 13px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- Header */
.wm-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(245, 241, 234, 0.93); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .wm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .wm-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .wm-header { top: 0; } }
.wm-header__in {
  position: relative; max-width: 1180px; margin: 0 auto; padding: 15px var(--side); box-sizing: content-box;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wm-brand { text-decoration: none; display: flex; align-items: center; gap: 12px; position: relative; z-index: 60; }
.wm-logo { display: block; flex: none; }
.wm-logo svg, .wm-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wm-logo--38 { width: 38px; height: 38px; }
.wm-logo--44 { width: 44px; height: 44px; }
.wm-logo--30 { width: 30px; height: 30px; }
.wm-wordmark { font-family: var(--fh); font-size: 23px; font-weight: 700; letter-spacing: -0.02em; color: var(--green); hyphens: manual; }
.wm-wordmark span { font-weight: 400; color: var(--text); }
.wm-wordmark--sm { font-size: 21px; letter-spacing: 0; }

.wm-nav { display: flex; align-items: center; gap: 16px; flex: none; z-index: 50; }
.wm-nav__home {
  flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--fh); font-size: 15px; font-weight: 700; border-radius: 11px; padding: 9px 15px; text-decoration: none;
  background: var(--g10); color: var(--green); border: 1px solid rgba(47, 93, 58, 0.35);
}
.wm-nav__home:hover { color: var(--green); background: var(--g16); }
.wm-nav__home.is-active { background: var(--green); color: var(--on-g); border-color: var(--green); }
.wm-nav__icon { width: 17px; height: 17px; }
.wm-nav__link {
  flex: none; white-space: nowrap; font-family: var(--fb); font-size: 15.5px; font-weight: 600; color: var(--text); text-decoration: none;
  hyphens: manual;
}
.wm-nav__link:hover { color: var(--green); }
.wm-nav__link.is-active { font-weight: 700; color: var(--green); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.wm-nav__cta {
  cursor: pointer; flex: none; white-space: nowrap; border: none; background: var(--green); color: var(--on-g);
  border-radius: 11px; padding: 12px 18px; font-family: var(--fh); font-size: 16px; font-weight: 700; text-decoration: none;
}
.wm-nav__cta:hover { background: var(--green-h); color: var(--on-g); }
.wm-burger {
  display: none; cursor: pointer; align-items: center; justify-content: center; gap: 9px;
  background: transparent; border: 1.5px solid var(--line-g); color: var(--green); border-radius: 11px; padding: 11px 15px;
  font-family: var(--fh); font-size: 16px; font-weight: 700;
}
.wm-burger .wm-i { width: 20px; height: 20px; }
.wm-burger__close { display: none; }
[data-nav-open="1"] .wm-burger__open { display: none; }
[data-nav-open="1"] .wm-burger__close { display: block; }

@media (max-width: 1180px) {
  .wm-nav { gap: 1px; }
  .wm-nav__home, .wm-nav__link { font-size: 14px; padding: 8px 10px; }
  .wm-nav__cta { font-size: 14px; padding: 10px 14px; }
}
@media (max-width: 1000px) {
  .wm-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  .wm-nav {
    display: none; position: fixed; inset: 0; flex-direction: column; align-items: flex-end; justify-content: flex-start;
    background: var(--bg); border: none; padding: 96px 32px 40px; gap: 0; overflow: auto;
  }
  .admin-bar .wm-nav { top: 46px; }
  .wm-nav[data-open="1"] { display: flex; }
  .wm-nav__home, .wm-nav__link { width: auto; text-align: right; justify-content: flex-end; font-size: 24px; padding: 11px 4px; border-radius: 14px; }
  .wm-nav__home { padding: 11px 14px; }
  .wm-nav__cta { width: auto; align-self: flex-end; margin-top: 20px; padding: 14px 22px; font-size: 16px; }
  .wm-burger { display: flex; position: relative; z-index: 60; }
  [data-nav-open="1"] .wm-burger { background: var(--surface); }
}
@media (max-width: 520px) {
  .wm-nav__home, .wm-nav__link { font-size: 20px; padding: 9px 4px; }
  .wm-nav__home { padding: 9px 12px; }
}

/* ---------------------------------------------------------------- Sections */
.wm-sec {
  max-width: 1180px; margin: 0 auto; box-sizing: content-box;
  padding: var(--wm-pt, var(--pt, 64px)) var(--side) 0;
}
.wm-sec--hero { --pt: 76px; padding-bottom: 8px; }
.wm-sec--intro { --pt: 56px; }
.wm-sec--kacheln { --pt: 44px; }
.wm-sec--fit, .wm-sec--check { --pt: 34px; }
.wm-sec--venn { --pt: 56px; }
.wm-sec--zeit { --pt: 30px; }
.wm-sec--events, .wm-sec--facts, .wm-sec--karten, .wm-sec--kbox { --pt: 40px; }

/* Hero */
.wm-hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 60px; align-items: end; }
.wm-hero__eb { margin-bottom: 22px; }
.wm-hero__t {
  font-family: var(--fh); font-size: clamp(34px, 7vw, 66px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em;
  margin: 0 0 18px; max-width: 20ch; text-wrap: balance;
}
.wm-hero__u { font-family: var(--fh); font-size: clamp(20px, 2.5vw, 24px); line-height: 1.35; font-weight: 500; color: var(--text-2); margin: 0 0 28px; max-width: 34ch; }
.wm-hero__aside { font-size: 18px; line-height: 1.6; color: var(--text-2); margin: 0 0 8px; border-left: 3px solid var(--g32); padding-left: 24px; }

/* Kacheln */
.wm-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wm-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.wm-tile__ic { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--g16); display: flex; align-items: center; justify-content: center; color: var(--green); }
.wm-tile__ic .wm-i { width: 22px; height: 22px; }
.wm-tile__t { font-family: var(--fh); font-size: 17px; font-weight: 700; margin-bottom: 2px; }
.wm-tile__x { font-size: 15px; line-height: 1.4; color: var(--text-2); }

/* Testimonials */
.wm-stories__t { margin-bottom: 26px; }
.wm-stories { --per: 3; }
.wm-stories__scroller {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none;
  margin: 0 -4px; padding: 0 4px;
}
.wm-stories__scroller::-webkit-scrollbar { display: none; }
.wm-stories__track { display: flex; gap: 16px; }
.wm-story {
  scroll-snap-align: start; flex: 0 0 calc((100% - (var(--per) - 1) * 16px) / var(--per) + 2px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
}
.wm-story__img { height: 200px; background: var(--beige); }
.wm-story__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wm-story__body { padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.wm-story__q { font-family: var(--fh); font-size: 20px; line-height: 1.4; font-weight: 500; margin: 0; }
.wm-story__m { margin-top: auto; font-size: 15px; color: var(--text-3); }
.wm-stories__ctrl { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.wm-stories__dots, .wm-stories__nav { display: flex; gap: 8px; }
.wm-stories__nav { gap: 10px; }
.wm-sdot { cursor: pointer; border: none; padding: 0; height: 8px; width: 8px; border-radius: 999px; background: #d8cdb9; transition: all .2s; }
.wm-sdot[aria-current="true"] { width: 28px; background: var(--green); }
.wm-arrow {
  cursor: pointer; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1.5px solid var(--line-g); color: var(--green); padding: 0;
}
.wm-arrow .wm-i { width: 20px; height: 20px; }
.wm-arrow:disabled { cursor: default; border-color: var(--line); color: var(--line-dot); }

/* CTA-Boxen */
.wm-cta--beige { background: var(--beige); border: 1px solid var(--line); border-radius: 26px; padding: 44px 48px; }
.wm-cta--hell { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px 36px; }
.wm-cta__t { margin: 0 0 12px; }
.wm-cta__t2 { font-family: var(--fh); font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.wm-cta__x { font-size: 17px; line-height: 1.6; color: var(--text-2); margin: 0 0 28px; max-width: 64ch; }
.wm-cta--hell .wm-cta__x { font-size: 16.5px; margin-bottom: 22px; max-width: none; }

/* Verein-Teaser */
.wm-teaser { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 28px 32px; background: var(--beige); border: 1px solid var(--line); border-radius: 20px; }
.wm-teaser__body { flex: 1; min-width: min(280px, 100%); }
.wm-teaser__t { font-family: var(--fh); font-size: 21px; font-weight: 700; margin-bottom: 4px; }
.wm-teaser__x { font-size: 16.5px; line-height: 1.55; color: var(--text-2); max-width: 64ch; }
.wm-teaser__btns { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }
.wm-teaser__btns .wm-btn { white-space: nowrap; padding: 12.5px 24.5px; }

/* Ergebnis-Boxen (Werkzeuge) */
.wm-result { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px; position: sticky; top: 100px; }
.admin-bar .wm-result { top: 132px; }
.wm-result__label { font-family: var(--fh); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.wm-result__label--lg { margin-bottom: 18px; }
.wm-bar { height: 8px; border-radius: 999px; background: var(--beige); overflow: hidden; }
.wm-bar__fill { height: 100%; width: 0; border-radius: 999px; background: var(--green); transition: width .2s ease; }

/* Passt das zu mir? */
.wm-fit { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 20px; align-items: start; }
.wm-fit__list { display: flex; flex-direction: column; gap: 10px; }
.wm-fitq {
  cursor: pointer; width: 100%; display: flex; align-items: flex-start; gap: 16px; text-align: left; border-radius: 16px; padding: 18px 20px;
  transition: all .14s; border: 1.5px solid var(--line); background: var(--surface);
}
.wm-fitq[aria-pressed="true"] { border-color: var(--green); background: var(--g16); }
.wm-fitq__box {
  box-sizing: content-box;
  width: 26px; height: 26px; flex: none; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-top: 2px;
  border: 1.5px solid var(--line-dot); background: var(--bg); color: var(--on-g);
}
.wm-fitq__box .wm-i { width: 16px; height: 16px; opacity: 0; }
.wm-fitq[aria-pressed="true"] .wm-fitq__box { border-color: var(--green); background: var(--green); }
.wm-fitq[aria-pressed="true"] .wm-fitq__box .wm-i { opacity: 1; }
.wm-fitq__txt { flex: 1; text-align: left; min-width: 0; }
.wm-fitq__f { display: block; font-family: var(--fh); font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.35; }
.wm-fitq__h { display: block; font-size: 15.5px; line-height: 1.5; color: var(--text-2); margin-top: 3px; }
.wm-fit__count { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.wm-fit__n { font-family: var(--fh); font-size: clamp(29px, 5vw, 46px); font-weight: 700; color: var(--green); line-height: 1; }
.wm-fit__of { font-size: 16px; color: var(--text-2); }
.wm-result--fit .wm-bar { margin-bottom: 18px; }
.wm-fit__t { font-family: var(--fh); font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.wm-fit__x { font-size: 16.5px; line-height: 1.6; color: var(--text-2); }
.wm-fit__btns, .wm-check__btns { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.wm-check__btns { margin-top: 18px; }

/* Angebot-Check */
.wm-check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.wm-check__q { display: flex; flex-direction: column; gap: 22px; }
.wm-check__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.wm-check__nr { font-family: var(--fh); font-size: 14px; font-weight: 700; color: var(--text-3); }
.wm-check__f { font-family: var(--fh); font-size: 18px; font-weight: 700; }
.wm-opts { display: flex; flex-direction: column; gap: 7px; }
.wm-opt {
  cursor: pointer; width: 100%; text-align: left; display: flex; align-items: center; gap: 12px; font-family: var(--fb);
  font-size: 16.5px; font-weight: 600; border-radius: 12px; padding: 13px 16px; transition: all .14s;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--text-2);
}
.wm-opt[aria-checked="true"] { border-color: var(--green); background: var(--g16); color: var(--text); }
.wm-dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--line-dot); background: var(--surface); transition: border .14s; }
.wm-dot--lg { width: 20px; height: 20px; }
[aria-checked="true"] > .wm-dot, [aria-checked="true"] .wm-beitrag__top .wm-dot, .wm-step.is-done .wm-dot { border: 6px solid var(--green); }
.wm-result--check { border-radius: 22px; padding: 30px 32px; }
.wm-check__ot { font-family: var(--fh); font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 8px; }
.wm-check__ox { font-size: 16.5px; line-height: 1.6; color: var(--text-2); margin-bottom: 22px; }
.wm-steps { display: flex; flex-direction: column; gap: 2px; margin-bottom: 24px; }
.wm-step { display: flex; align-items: center; gap: 13px; padding: 12px 0; border-top: 1px solid var(--line); }
.wm-step__f { flex: none; font-family: var(--fh); font-size: 16.5px; font-weight: 700; color: var(--text-3); }
.wm-step__a { flex: 1; min-width: 0; text-align: right; font-size: 15.5px; line-height: 1.4; color: var(--muted); font-style: italic; }
.wm-step.is-done .wm-step__f { color: var(--text); }
.wm-step.is-done .wm-step__a { color: var(--green); font-weight: 600; font-style: normal; }
.wm-check__prog { font-size: 15px; line-height: 1.55; color: var(--text-3); padding-top: 4px; }
.wm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.wm-price__n { font-family: var(--fh); font-size: clamp(32px, 4.6vw, 42px); font-weight: 700; color: var(--green); line-height: 1; white-space: nowrap; }
.wm-price__u { font-size: 16px; color: var(--text-2); }
.wm-tip { position: relative; display: inline-flex; align-items: center; }
.wm-tip__btn {
  cursor: pointer; width: 20px; height: 20px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0;
  font-family: var(--fh); font-size: 13px; font-weight: 700; transition: all .14s; background: transparent; color: var(--text-3); border: 1px solid var(--line-dot);
}
.wm-tip__btn[aria-expanded="true"] { background: var(--green); color: var(--on-g); border-color: var(--green); }
.wm-tip__box {
  position: absolute; bottom: 30px; right: -8px; z-index: 20; width: min(320px, 70vw); background: var(--text); color: #f2efe9;
  border-radius: 12px; padding: 14px 16px; font-size: 13.5px; line-height: 1.55; box-shadow: 0 10px 30px rgba(20, 24, 18, 0.25);
}
.wm-kv { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 14px 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.wm-kv__k { font-family: var(--fh); font-size: 15px; font-weight: 700; color: var(--green); }
.wm-kv__s { font-size: 13.5px; color: var(--text-3); margin-top: 2px; }
.wm-kv__v, .wm-kv__list div { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.wm-kv__list { display: flex; flex-direction: column; gap: 5px; }
.wm-kv__list div { line-height: 1.5; }
.wm-check__ins { padding-top: 22px; }
.wm-check__il { margin-bottom: 8px; }
.wm-check__it { font-size: 16px; line-height: 1.6; color: var(--text); }
.wm-check__it + .wm-btn { margin-top: 14px; }
.wm-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.wm-pills__l { font-size: 14px; font-weight: 700; color: var(--text-3); }
.wm-pill { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--green); background: var(--bg); border: 1.5px solid var(--line-g); border-radius: 999px; padding: 8px 14px; hyphens: manual; }
.wm-pill:hover { border-color: var(--green); }
/* Semester-Kalender */
.wm-sec--semester {
  max-width: none; padding: 0; margin-top: var(--wm-pt, 64px);
  background: var(--beige); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.wm-band { max-width: 1180px; margin: 0 auto; padding: 60px var(--side) 64px; box-sizing: content-box; }
.wm-band__head { margin-bottom: 26px; }
.wm-band__t { margin-bottom: 12px; }
.wm-band__x { font-size: 17px; line-height: 1.6; color: var(--text-2); margin: 0; }
.wm-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.wm-month {
  border-radius: 12px; padding: 14px 8px; min-height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid transparent; hyphens: manual;
}
.wm-month--inserat { background: var(--green); }
.wm-month--start { background: var(--g16); }
.wm-month--ruhig { background: var(--surface); border-color: var(--line); }
.wm-month.is-now { box-shadow: 0 0 0 3px var(--text); }
.wm-month__l { font-family: var(--fh); font-size: 16px; font-weight: 700; color: var(--text-2); }
.wm-month--inserat .wm-month__l { color: var(--on-g); }
.wm-month__t { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--green); }
.wm-month--inserat .wm-month__t { color: #cfdcc9; }
.wm-legend { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 26px; }
.wm-legend__i { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--text-2); }
.wm-legend__sw { box-sizing: content-box; width: 14px; height: 14px; border-radius: 4px; display: block; flex: none; }
.wm-legend__sw--inserat { background: var(--green); }
.wm-legend__sw--start { background: var(--g16); }
.wm-legend__sw--ruhig { background: var(--surface); border: 1px solid var(--line); }
.wm-now { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.wm-now__t { font-family: var(--fh); font-size: clamp(20px, 2.5vw, 24px); font-weight: 700; color: var(--green); margin-bottom: 6px; }
.wm-now__x { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 64ch; }
.wm-now__side { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.wm-now__side .wm-btn { padding: 13.5px 24.5px; }
.wm-now__h { font-size: 13.5px; color: var(--text-3); text-align: center; }

/* Venn */
.wm-box-beige { background: var(--beige); border: 1px solid var(--line); border-radius: 26px; padding: 44px 48px; }
.wm-venn__head { margin-bottom: 30px; }
.wm-venn__t { margin-bottom: 10px; }
.wm-venn__x { font-size: 17px; line-height: 1.6; color: var(--text-2); margin: 0; max-width: 56ch; }
.wm-venn__grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 44px; align-items: start; }
.wm-venn__wrap { width: 100%; }
.wm-venn__inner { position: relative; left: 50%; width: 520px; height: 470px; margin-left: -260px; transform-origin: top center; }
.wm-vk {
  position: absolute; width: 290px; height: 290px; border-radius: 50%; cursor: pointer; padding: 0; mix-blend-mode: multiply;
  transition: background .35s ease, border-color .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.wm-vl {
  position: absolute; width: 150px; height: 290px; display: grid; place-items: center; text-align: center; pointer-events: none;
  font-family: var(--fh); font-size: 19px; font-weight: 700; line-height: 1.2; overflow-wrap: normal; hyphens: manual; text-wrap: balance;
  transition: color .3s ease;
}
.wm-venn__side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.wm-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wm-chip {
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-family: var(--fb); font-size: 16.5px; font-weight: 600;
  padding: 12px 18px; border-radius: 999px; transition: background .25s ease, color .25s ease, border-color .25s ease;
  background: transparent; color: var(--text); border: 1.5px solid var(--line-dot);
}
.wm-chip[aria-pressed="true"] { background: var(--green); color: var(--on-g); border-color: var(--green); }
.wm-venn__card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px 32px; min-width: 0; }
.wm-venn__cl { font-family: var(--fh); font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; letter-spacing: -0.015em; margin-bottom: 4px; color: var(--green); }
.wm-venn__cs { font-size: 16px; line-height: 1.5; color: var(--text-3); margin-bottom: 16px; }
.wm-venn__rows { display: flex; flex-direction: column; }
.wm-zeile { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); align-items: start; animation: gFade .3s ease both; }
.wm-zeile__g { font-family: var(--fh); font-size: 16.5px; font-weight: 700; }
.wm-zeile__t { font-family: var(--fh); font-size: 19px; font-weight: 700; color: var(--text); line-height: 1.35; }
.wm-zeile__d { font-size: 16px; line-height: 1.5; color: var(--text-2); margin-top: 4px; }

/* Zeit-Kacheln */
.wm-zeit { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wm-zeit__k { background: #f8f3ea; border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 18px; padding: 24px 26px; }
.wm-zeit__k--2 { background: #f2eadb; }
.wm-zeit__k--3 { background: #ebe0cc; }
.wm-zeit__k--4 { background: #e4d6bd; }
.wm-zeit__d { font-family: var(--fh); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.wm-zeit__t { font-family: var(--fh); font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.wm-zeit__x { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.wm-rich p { margin: 0; }
.wm-rich p + p { margin-top: .6em; }
.wm-rich a { color: var(--green); font-weight: 700; }
.wm-zeit__fn { font-size: 14px; color: var(--text-3); margin-top: 16px; }

/* Starterpaket */
.wm-starter { background: var(--green); color: var(--on-g); border-radius: 26px; padding: 44px 48px; }
.wm-starter__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; margin-bottom: 30px; }
.wm-starter__t { margin: 0 0 12px; }
.wm-starter__x { font-size: 17px; line-height: 1.6; color: var(--on-g-2); margin: 0; max-width: 58ch; }
.wm-starter__side { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.wm-starter__h { font-size: 13.5px; color: var(--on-g-3); text-align: center; }
.wm-starter__boxes { margin-top: 34px; padding-top: 28px; border-top: 1px solid rgba(251, 247, 241, 0.22); }
.wm-starter__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wm-pbox { background: rgba(251, 247, 241, 0.08); border: 1px solid rgba(251, 247, 241, 0.2); border-radius: 18px; padding: 24px 26px; }
.wm-pbox__head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.wm-pbox__ic { width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(251, 247, 241, 0.16); display: flex; align-items: center; justify-content: center; color: var(--on-g); }
.wm-pbox__ic .wm-i { width: 19px; height: 19px; }
.wm-pbox__t { font-family: var(--fh); font-size: 21px; font-weight: 700; color: var(--on-g); }
.wm-pbox__s { font-size: 14.5px; color: var(--on-g-3); margin: 0 0 14px 46px; }
.wm-pbox__list { display: flex; flex-direction: column; }
.wm-pdoc { text-decoration: none; display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-top: 1px solid rgba(251, 247, 241, 0.14); }
.wm-pdoc__nr { flex: none; width: 22px; font-family: var(--fh); font-size: 14px; font-weight: 700; color: var(--on-g-3); }
.wm-pdoc__t { flex: 1; min-width: 0; font-size: 15px; line-height: 1.4; color: var(--on-g); }
.wm-pdoc:hover .wm-pdoc__t { text-decoration: underline; text-underline-offset: 3px; }
.wm-pdoc.is-folgt { cursor: default; }
.wm-pdoc.is-folgt .wm-pdoc__t { color: rgba(223, 232, 220, 0.6); text-decoration: none; }
.wm-pdoc__folgt { flex: none; font-size: 12.5px; font-weight: 700; color: var(--on-g-3); border: 1px dashed rgba(251, 247, 241, 0.4); border-radius: 7px; padding: 2px 8px; }
.wm-starter :focus-visible { outline-color: var(--on-g); }

/* Sorgen-Akkordeon */
.wm-sorgen__head { margin-bottom: 26px; }
.wm-sorgen__t { margin-bottom: 12px; }
.wm-sorgen__x { font-size: 17px; line-height: 1.6; color: var(--text-2); margin: 0; max-width: 56ch; }
.wm-accs { display: flex; flex-direction: column; gap: 10px; }
.wm-acc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.wm-acc__btn { width: 100%; text-align: left; cursor: pointer; background: none; border: none; padding: 20px 24px; display: flex; align-items: center; gap: 18px; border-radius: 16px; }
.wm-acc__mark {
  box-sizing: content-box;
  width: 28px; height: 28px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700;
  background: transparent; color: var(--muted); border: 1.5px solid #d8cdb9;
}
.wm-acc__btn[aria-expanded="true"] .wm-acc__mark { background: var(--green); color: var(--on-g); border-color: var(--green); }
.wm-acc__q { flex: 1; font-family: var(--fh); font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.35; }
.wm-acc__sign { font-size: clamp(22px, 2.8vw, 26px); color: var(--green); flex: none; line-height: 1; }
.wm-acc__sign::before { content: "+"; }
.wm-acc__btn[aria-expanded="true"] .wm-acc__sign::before { content: "\2013"; }
.wm-acc__a { font-size: 17px; line-height: 1.65; color: var(--text-2); margin: 0; padding: 0 24px 22px 60px; max-width: 80ch; }

/* Formulare */
.wm-formbox { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 36px 38px; }
.wm-formbox__t { font-family: var(--fh); font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.wm-formbox__t--lg { font-size: clamp(23px, 3vw, 28px); }
.wm-formbox__x { font-size: 16.5px; line-height: 1.6; color: var(--text-2); margin: 0 0 22px; max-width: 60ch; }
.wm-formbox__x--lg { margin-bottom: 26px; }
.wm-formbox--modal { border-radius: 18px; padding: 26px 28px; }
.wm-form { --fs: 16.5px; --pad: 14px 16px; --r: 12px; --lfs: 14.5px; --gap: 7px; }
.wm-form--lg { --fs: 17px; --pad: 15px 17px; }
.wm-form--sm { --fs: 16px; --pad: 12px 14px; --r: 11px; --lfs: 14px; --gap: 6px; }
.wm-form--sm2 { --fs: 16px; --pad: 13px 15px; --r: 11px; --lfs: 14px; --gap: 6px; }
.wm-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wm-form__grid[data-r="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wm-field { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.wm-field--full { grid-column: 1 / -1; }
.wm-field__label { font-size: var(--lfs); font-weight: 700; color: var(--text-2); }
.wm-field input, .wm-field select, .wm-field textarea {
  font-family: inherit; font-size: var(--fs); padding: var(--pad); border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--bg); color: var(--text); width: 100%; min-width: 0; margin: 0;
}
.wm-field textarea { resize: vertical; }
.wm-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5d3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.wm-field input:focus, .wm-field select:focus, .wm-field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--g16); }
.wm-field.is-invalid input, .wm-field.is-invalid select, .wm-field.is-invalid textarea { border-color: var(--rust); }
.wm-field__err { font-size: 13.5px; color: var(--rust); }
.wm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wm-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 26px; }
.wm-form--md .wm-form__foot { margin-top: 24px; }
.wm-form--sm .wm-form__foot { gap: 12px; margin-top: 20px; }
.wm-form--sm2 .wm-form__foot { margin-top: 20px; }
.wm-form__mail { text-decoration: none; font-size: 16.5px; font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: 10px; hyphens: manual; }
.wm-form__mail .wm-i { width: 19px; height: 19px; }
.wm-form__hint { font-size: 14px; color: var(--text-3); }
.wm-form__note { font-size: 14px; color: var(--text-3); margin: 14px 0 0; }
.wm-form__msg { margin: 16px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--rust); font-weight: 600; }
.wm-form__msg.is-ok { color: var(--green); font-size: 17px; }
.wm-form__privacy { margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.wm-form__privacy p { margin: 0; }
.wm-form.is-sent .wm-form__grid, .wm-form.is-sent .wm-form__foot, .wm-form.is-sent .wm-form__note { display: none; }
.wm-form.is-sent .wm-form__msg { margin-top: 0; }

/* Infoabende */
.wm-events__t { margin-bottom: 10px; }
.wm-events__x { font-size: 16.5px; line-height: 1.6; color: var(--text-2); margin: 0 0 18px; max-width: 62ch; }
.wm-events { display: flex; flex-direction: column; gap: 10px; }
.wm-event {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--g32); border-radius: 14px; padding: 16px 20px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.wm-event__date { flex: none; text-align: center; width: 66px; }
.wm-event__tag { font-family: var(--fh); font-size: clamp(22px, 2.8vw, 26px); font-weight: 700; color: var(--green); line-height: 1; }
.wm-event__mon { font-size: 13px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 3px; }
.wm-event__info { flex: 1.3; min-width: min(200px, 100%); }
.wm-event__t { font-family: var(--fh); font-size: 18px; font-weight: 700; }
.wm-event__z { font-size: 15px; color: var(--text-2); margin-top: 2px; }
.wm-event__ort { flex: 1; min-width: min(180px, 100%); padding-left: 20px; border-left: 1px solid var(--line); }
.wm-event__ol { font-size: 12.5px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.wm-event__lok { font-size: 15.5px; font-weight: 700; color: var(--text); margin-top: 3px; }
.wm-event__adr { font-size: 14.5px; color: var(--text-2); margin-top: 1px; }
.wm-event__pin { display: none; }
.wm-event__btn { flex: none; border: none; font-family: var(--fb); font-size: 14px; padding: 10px 16px; border-radius: 9px; }
.wm-event__btn:disabled { background: var(--line-dot); color: var(--surface); opacity: 1; }

/* Facts */
.wm-facts__t { margin-bottom: 20px; }
.wm-facts { display: flex; flex-direction: column; }
.wm-fact { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 26px; padding: 18px 0; border-top: 1px solid var(--line); }
.wm-fact__k { font-family: var(--fh); font-size: 17px; font-weight: 700; color: var(--green); }
.wm-fact__v { font-size: 16.5px; line-height: 1.6; color: var(--text-2); }

/* Aufklapp-Karten */
.wm-karten__t { margin-bottom: 16px; }
.wm-karten { display: flex; flex-direction: column; gap: 10px; }
.wm-card {
  cursor: pointer; width: 100%; text-align: left; font-family: inherit; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--g32); border-radius: 14px; padding: 16px 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.wm-card:hover { border-left-color: var(--green); }
.wm-card__body { flex: 1; min-width: min(200px, 100%); }
.wm-card__t { display: block; font-family: var(--fh); font-size: 17px; font-weight: 700; color: var(--text); }
.wm-card__x { display: block; font-size: 14.5px; color: var(--text-2); margin-top: 2px; }
.wm-card__badge { flex: none; font-size: 14px; font-weight: 700; color: var(--on-g); background: var(--green); border-radius: 9px; padding: 9px 15px; }
.wm-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.wm-person { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; gap: 20px; padding: 22px 24px; }
.wm-person__img { flex: none; width: 96px; height: 120px; border-radius: 12px; overflow: hidden; background: var(--beige); }
.wm-person__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wm-person__body { display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
.wm-person__n { font-family: var(--fh); font-size: 16.5px; font-weight: 700; color: var(--green); }
.wm-person__r { font-size: 14px; color: var(--text-3); margin-top: 1px; }
.wm-person__s { font-family: var(--fh); font-size: 15.5px; line-height: 1.55; font-weight: 500; color: var(--text); margin: 0; }
.wm-member { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 26px 28px; }
.wm-member__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.wm-beitrag {
  cursor: pointer; display: block; width: 100%; text-align: left; font-family: inherit; border-radius: 16px; padding: 22px 24px; transition: all .14s;
  background: var(--bg); border: 1.5px solid var(--line);
}
.wm-beitrag[aria-checked="true"] { background: var(--g16); border-color: var(--green); }
.wm-beitrag__top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.wm-beitrag__n { font-family: var(--fh); font-size: clamp(26px, 3.4vw, 32px); font-weight: 700; color: var(--green); line-height: 1; }
.wm-beitrag__t { display: block; font-family: var(--fh); font-size: 17px; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.wm-beitrag__x { display: block; font-size: 15.5px; line-height: 1.5; color: var(--text-2); }
.wm-member__t { font-family: var(--fh); font-size: clamp(22px, 2.8vw, 26px); font-weight: 700; margin: 0 0 20px; }

/* Kontakt-Box */
.wm-kbox { background: var(--beige); border: 1px solid var(--line); border-radius: 22px; padding: 36px 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
.wm-kbox__t { font-family: var(--fh); font-size: clamp(22px, 2.8vw, 26px); font-weight: 700; margin: 0 0 8px; }
.wm-kbox__x { font-size: 16.5px; line-height: 1.6; color: var(--text-2); margin: 0; max-width: 56ch; }
.wm-kbox__btns { display: flex; flex-direction: column; gap: 12px; }
.wm-kbox__btns .wm-btn { font-size: 17px; padding: 13.5px 26.5px; }

/* ---------------------------------------------------------------- Footer */
.wm-footer { margin-top: 56px; background: var(--beige); border-top: 1px solid var(--line); }
.wm-footer__in { max-width: 1180px; margin: 0 auto; padding: 32px var(--side); box-sizing: content-box; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.wm-footer__brand { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; }
.wm-footer__brand .wm-brand { gap: 11px; }
.wm-footer__claim { font-size: 15px; color: var(--text-3); margin-left: 10px; padding-left: 14px; border-left: 1px solid #d6cab5; }
.wm-footer__links { display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
.wm-footer__link { font-size: 15.5px; font-weight: 600; color: var(--text); text-decoration: none; }
.wm-footer__mail { text-decoration: none; font-size: 17px; font-weight: 700; color: var(--text); display: inline-flex; align-items: center; gap: 9px; hyphens: manual; }
.wm-footer__mail .wm-i { width: 19px; height: 19px; color: var(--green); }
.wm-footer__mail:hover, .wm-footer__link:hover { color: var(--green); }

/* ---------------------------------------------------------------- Modals */
dialog.wm-modal {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 32px;
  border: none; background: transparent; color: var(--text); overflow: auto;
}
dialog.wm-modal[open] { display: flex; align-items: center; justify-content: center; }
dialog.wm-modal::backdrop { background: rgba(20, 24, 18, 0.6); }
.wm-modal--top[open] { align-items: flex-start; padding: 32px 20px; }
.wm-modal__panel { position: relative; box-shadow: var(--shadow); }
.wm-modal__panel--rueckruf { background: var(--bg); border-radius: 22px; width: min(880px, 100%); margin: auto; overflow: hidden; }
.wm-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.wm-modal__title { font-family: var(--fh); font-size: 25px; font-weight: 700; color: var(--text); }
.wm-modal__body { padding: 26px 26px 28px; }
.wm-close {
  cursor: pointer; flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: 11px; width: 42px; height: 42px; padding: 0;
  display: flex; align-items: center; justify-content: center; color: var(--text); margin-left: auto;
}
.wm-close .wm-i { width: 20px; height: 20px; }
.wm-modal__panel--event { background: var(--surface); border-radius: 20px; width: min(560px, 100%); max-height: 100%; overflow: auto; }
.wm-modal__panel--event .wm-close { background: var(--bg); }
.wm-modal__ehead { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 30px 0; }
.wm-modal__etitle { font-family: var(--fh); font-size: clamp(20px, 2.5vw, 24px); font-weight: 700; color: var(--text); line-height: 1.25; }
.wm-modal__ezeit { font-size: 15.5px; color: var(--text-2); margin-top: 4px; }
.wm-modal__ebody { padding: 22px 30px 30px; }
.wm-modal__panel--pdf { background: var(--bg); border-radius: 18px; width: min(980px, 100%); height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.wm-modal__head--pdf { padding: 16px 20px; }
.wm-modal__ptitle { font-family: var(--fh); font-size: 17px; font-weight: 700; color: var(--text); min-width: 0; }
.wm-modal__tools { display: flex; align-items: center; gap: 10px; flex: none; }
.wm-pdf__host { flex: 1; overflow: auto; padding: 20px 24px; background: var(--beige); }
.wm-pdf__host canvas { display: block; width: 100%; border-radius: 10px; box-shadow: 0 2px 10px rgba(20, 24, 18, 0.12); margin-bottom: 14px; background: #fff; }
.wm-pdf__loading { font-size: 15px; color: var(--text-3); }
.wm-pdf__missing { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px; text-align: center; }
.wm-pdf__mt { font-family: var(--fh); font-size: 22px; font-weight: 700; color: var(--text); }
.wm-pdf__mx { font-size: 16.5px; line-height: 1.6; color: var(--text-2); max-width: 46ch; }

/* ==========================================================================
   Responsive (Breakpoints wie im Prototyp)
   ========================================================================== */
@media (max-width: 1060px) {
  .wm-venn__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  [data-r="4"], [data-r="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-r="2"], [data-r="side"], [data-r="facts"] { grid-template-columns: minmax(0, 1fr); }
  [data-r="side"] { gap: 22px; }
  [data-r="2"] { gap: 28px; }
  .wm-stories { --per: 2; }
  .wm-result { position: static; }
  .wm-people { grid-auto-rows: auto; }
}
@media (max-width: 900px) {
  :root { --side: 28px; }
  .wm-sec--hero { --pt: 44px; }
  .wm-cta--beige, .wm-box-beige, .wm-starter { padding: 30px 26px; }
}
@media (max-width: 760px) {
  .wm-zeile { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; }
}
@media (max-width: 700px) {
  :root { --side: 20px; }
  [data-r] { grid-template-columns: minmax(0, 1fr); }
  [data-r="12"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  [data-r="labels"] { gap: 4px 0; }
  .wm-stories { --per: 1; }
  .wm-cta--beige, .wm-box-beige, .wm-starter { padding: 24px 20px; border-radius: 20px; }
  .wm-cta--hell, .wm-teaser, .wm-kbox, .wm-now, .wm-venn__card, .wm-result--check { padding: 22px 20px; }
  .wm-hero__aside { border-left: none; padding-left: 0; border-top: 3px solid var(--g32); padding-top: 18px; }
}
@media (max-width: 520px) {
  :root { --side: 16px; }
  [data-r="12"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .wm-btn--cta, .wm-btn--form { width: 100%; }
  .wm-story__img { height: 168px; }
  .wm-cta--hell, .wm-formbox, .wm-kbox, .wm-venn__card, .wm-result, .wm-teaser, .wm-now, .wm-story,
  .wm-modal__panel--rueckruf, .wm-modal__panel--event { border-radius: 16px; }
}

/* Infoabende mobil (≤ 700 px): Datum als Spalte, Ort mit Symbol, Button volle Breite */
@media (max-width: 700px) {
  .wm-event { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; row-gap: 0; align-items: start; padding: 18px 18px 18px 16px; }
  .wm-event__date { width: auto; grid-row: 1 / span 2; padding-top: 2px; }
  .wm-event__info { min-width: 0; }
  .wm-event__ort { grid-column: 2; min-width: 0; display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 12px 0 0; border-left: none; border-top: 1px solid var(--line); }
  .wm-event__ol { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wm-event__pin { display: block; width: 18px; height: 18px; color: var(--green); margin-top: 1px; }
  .wm-event__lok { margin-top: 0; }
  .wm-event__btn { grid-column: 1 / -1; width: 100%; margin-top: 16px; padding: 12px 16px; font-size: 15px; }
}

/* Formulare: Spalten schrittweise reduzieren (die Grid-Regel oben ist spezifischer als [data-r]) */
@media (max-width: 1060px) {
  .wm-form__grid[data-r="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .wm-form__grid, .wm-form__grid[data-r="3"] { grid-template-columns: minmax(0, 1fr); }
  /* «Hier inserieren»: Beschriftung eigene Zeile, Links nebeneinander darunter */
  .wm-pills__l { flex-basis: 100%; }
  /* Pop-ups: weniger verschachtelte Innenabstände, damit die Felder breit genug sind */
  .wm-modal--top[open] { padding: 12px 10px; }
  dialog.wm-modal { padding: 12px; }
  .wm-modal__head { padding: 14px 16px; }
  .wm-modal__title { font-size: 21px; }
  .wm-modal__body { padding: 12px; }
  .wm-formbox--modal { padding: 20px 18px; }
  .wm-modal__ehead { padding: 20px 18px 0; }
  .wm-modal__ebody { padding: 18px 18px 22px; }
}
