/* ==========================================================================
   Campus Foundery OWL — Design-System
   Umgesetzt nach dem Corporate Design Manual der TH OWL (Stand Januar 2023).

   Farben:  nur die im CD festgelegten Primär- und Sekundärfarben.
            Flächen ausschließlich als Anthrazit-Abstufungen 10 / 25 / 50 %.
   Schrift: Open Sans — Light für große Headlines, Bold für kleine Headlines,
            Regular für Fließtext. Lokal eingebunden, nicht über Google.
   ========================================================================== */

/* ==========================================================================
   Schrift (lokal, DSGVO-konform — keine Verbindung zu Google)
   ========================================================================== */

@font-face {
  font-family: "Open Sans"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/open-sans-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2");
}

/* ==========================================================================
   Variablen
   ========================================================================== */

:root {
  /* --- Primärfarben laut CD ------------------------------------------- */
  --rot:        #e50043;   /* CMYK 0/100/62/0 · Pantone 199 */
  --orange:     #eb6103;   /* CMYK 0/72/100/0 · Pantone 166 */
  --anthrazit:  #425159;   /* Pantone 7540 */
  --anthrazit2: #2c373d;   /* Pantone 7546 — Text auf Weiß */
  --weiss:      #ffffff;

  /* --- Sekundärfarben (aus der Bildmarke abgeleitet) ------------------- */
  --rot-dunkel:   #c7072d;
  --orange-hell:  #ec6501;

  /* --- Flächen: laut CD nur Anthrazit-Abstufungen ---------------------- */
  --flaeche-10: #eaebec;
  --flaeche-25: #cacdce;
  --flaeche-50: #969b9e;

  /* --- Rollen --------------------------------------------------------- */
  --brand:      var(--rot);
  --brand-dark: var(--rot-dunkel);
  --accent:     var(--orange);
  --ink:        var(--anthrazit2);
  --ink-muted:  var(--anthrazit);
  --ink-light:  #6c7a82;
  --bg:         var(--weiss);
  --bg-soft:    var(--flaeche-10);
  --line:       var(--flaeche-25);

  /* --- Typografie ------------------------------------------------------ */
  --font: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   1.1875rem;
  --fs-h4:   1.1875rem;
  --fs-h3:   1.4375rem;
  --fs-h2:   clamp(1.875rem, 1.2rem + 2.6vw, 3rem);
  --fs-h1:   clamp(2.5rem, 1.5rem + 4.2vw, 4.25rem);

  /* --- Raster und Abstände --------------------------------------------- */
  --wrap:        1140px;
  --wrap-narrow: 760px;
  --gutter:      clamp(1rem, 4vw, 2.5rem);
  --sp-section:  clamp(3.5rem, 8vw, 6.5rem);

  --radius:      14px;
  --radius-sm:   8px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(44, 55, 61, .05), 0 2px 10px rgba(44, 55, 61, .05);
  --shadow-md: 0 4px 14px rgba(44, 55, 61, .07), 0 16px 40px rgba(44, 55, 61, .07);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   Grundlagen
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* CD: Light für große Headlines, Bold für kleine Headlines */
h1, h2 {
  margin: 0 0 .4em;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.02em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }

h3, h4 {
  margin: 0 0 .45em;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.005em;
}
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

/* Betonte Wörter in Light-Headlines bekommen Bold, nicht nur Farbe */
.hl { color: var(--brand); font-weight: 700; }

p { margin: 0 0 1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand); }

strong, b { font-weight: 700; }

img { max-width: 100%; height: auto; display: block; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--sp-section); }
.section--soft { background: var(--bg-soft); }

/* Vollflächig Rot — im CD als Farbfond zulässig */
.section--rot { background: var(--brand); color: #fff; }
.section--rot h2, .section--rot h3 { color: #fff; }
.section--rot p { color: #ffe0e8; }
.section--rot .eyebrow { color: #ffd0dc; }
.section--rot .hl { color: #fff; }

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { font-size: var(--fs-lg); color: var(--ink-muted); font-weight: 300; }

.eyebrow {
  display: inline-block; margin-bottom: .9rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: var(--brand);
}

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }

/* Der Claim aus dem CD */
.claim {
  font-weight: 300; font-size: var(--fs-lg); line-height: 1.25;
  color: var(--ink-muted); letter-spacing: -.01em;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .875rem 1.6rem;
  font: inherit; font-weight: 700; font-size: var(--fs-sm);
  line-height: 1.2; text-align: center; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--flaeche-25); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-dark); }

.btn--onRot { background: #fff; color: var(--brand-dark); }
.btn--onRot:hover { background: var(--flaeche-10); color: var(--brand-dark); }

.btn--outlineWhite { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outlineWhite:hover { border-color: #fff; background: rgba(255,255,255,.14); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ==========================================================================
   Header und Navigation
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 78px;
}
.site-logo { flex: 0 0 auto; display: block; }
.site-logo img { height: 46px; width: auto; }

.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  background: var(--flaeche-10); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: .55rem .85rem;
  font: inherit; font-size: var(--fs-sm); font-weight: 700; color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

.site-nav ul { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .5rem .8rem; border-radius: var(--radius-sm);
  color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 600;
}
.site-nav a:hover { background: var(--flaeche-10); color: var(--brand-dark); }
.site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav .btn { margin-left: .5rem; }
.site-nav .btn:hover { background: var(--brand-dark); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); display: none;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; }
  .site-nav a { padding: .8rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav .btn { margin: .9rem 0 0; border-bottom: 0; }
}

/* ==========================================================================
   Hero — hell, Logo und Text stehen auf Weiß (CD-Vorgabe)
   ========================================================================== */

.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem); background: #fff; }
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: .3em; }
.hero__lead { font-size: var(--fs-lg); font-weight: 300; color: var(--ink-muted); margin-bottom: 1.75rem; }

.hero__facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.hero__facts li {
  background: var(--flaeche-10); border-radius: var(--radius-pill);
  padding: .4rem 1rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
}

/* Bild mit dem Winkel-Motiv aus der Bildmarke als Farbakzent */
.hero__media { position: relative; isolation: isolate; }
.hero__media img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.hero__media::before {
  content: ""; position: absolute; z-index: 0;
  left: -18px; top: -18px; width: 58%; height: 58%;
  border-top: 10px solid var(--orange); border-left: 10px solid var(--orange);
  border-top-left-radius: 18px;
}
.hero__media::after {
  content: ""; position: absolute; z-index: 0;
  right: -18px; bottom: -18px; width: 44%; height: 44%;
  border-bottom: 10px solid var(--brand); border-right: 10px solid var(--brand);
  border-bottom-right-radius: 18px;
}

/* ==========================================================================
   Karten
   ========================================================================== */

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.section:not(.section--soft) .card { box-shadow: var(--shadow-sm); }
.card p { color: var(--ink-muted); font-size: var(--fs-sm); }

.card--accent { border-top: 4px solid var(--brand); }
.card--orange { border-top: 4px solid var(--orange); }

.card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--flaeche-10); color: var(--brand);
}
.card__icon svg { width: 23px; height: 23px; }
.card__icon--orange { color: var(--orange); }

/* Hervorgehobene Kennzahl */
.card--figure { border-top: 4px solid var(--brand); }
.figure {
  display: block; font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 300;
  line-height: 1; letter-spacing: -.035em; color: var(--brand); margin-bottom: .5rem;
}
.figure small {
  display: block; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; color: var(--ink-muted);
  margin-bottom: .6rem;
}

/* ==========================================================================
   Nummerierte Schritte
   ========================================================================== */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li { position: relative; counter-increment: step; padding: 0 0 2rem 4.25rem; }
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 700; font-size: 1.05rem;
}
.steps > li::after {
  content: ""; position: absolute; left: 1.3125rem; top: 3.1rem; bottom: .35rem;
  width: 2px; background: var(--flaeche-25);
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.steps h3 { margin-bottom: .2em; }
.steps .step__meta {
  display: block; margin-bottom: .5rem;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--brand-dark);
}
.steps p { color: var(--ink-muted); }

/* ==========================================================================
   Termin-Tabelle — Fonds laut CD nur als Anthrazit-Abstufung
   ========================================================================== */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.dates {
  width: 100%; border-collapse: collapse; font-size: var(--fs-sm);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
table.dates caption { text-align: left; padding-bottom: .75rem; font-size: var(--fs-xs); color: var(--ink-light); }
table.dates th, table.dates td { padding: .85rem 1.1rem; text-align: left; }
table.dates thead th {
  background: var(--flaeche-25); color: var(--ink);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; white-space: nowrap;
}
table.dates tbody tr + tr th, table.dates tbody tr + tr td { border-top: 1px solid var(--line); }
table.dates tbody th { font-weight: 700; }
table.dates td { color: var(--ink-muted); white-space: nowrap; }
table.dates tr.is-key th, table.dates tr.is-key td { background: var(--flaeche-10); }
table.dates tr.is-key th { color: var(--brand-dark); }
table.dates tr.is-key td { color: var(--brand-dark); font-weight: 700; }

/* ==========================================================================
   Aufzählung mit Haken
   ========================================================================== */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.checklist li { position: relative; padding-left: 2.1rem; color: var(--ink-muted); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--flaeche-10) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23e50043' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.section--rot .checklist li { color: #ffe9ee; }
.section--rot .checklist li::before {
  background-color: rgba(255,255,255,.92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c7072d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Zitate
   ========================================================================== */

.quote {
  display: flex; flex-direction: column; gap: 1.25rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.quote blockquote { margin: 0; font-size: var(--fs-lg); font-weight: 300; line-height: 1.5; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: .9rem; margin-top: auto; }
.quote img {
  width: 54px; height: 54px; border-radius: 50%; object-fit: contain;
  background: var(--flaeche-10); padding: 4px; flex: 0 0 auto;
}
.quote cite { font-style: normal; font-weight: 700; display: block; font-size: var(--fs-sm); }
.quote .role { display: block; font-size: var(--fs-xs); color: var(--ink-light); }

/* ==========================================================================
   Abschluss-Aufruf
   ========================================================================== */

.cta {
  background: var(--brand); color: #fff;
  border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #ffe0e8; font-size: var(--fs-lg); font-weight: 300; max-width: 34rem; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 1.75rem; }
.cta__note { font-size: var(--fs-xs); color: #ffcbd8; margin-top: 1.25rem; }

/* ==========================================================================
   Footer — hell, damit Partner- und Förderlogos unverändert stehen dürfen
   ========================================================================== */

.site-footer {
  background: var(--flaeche-10); color: var(--ink-muted);
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem; font-size: var(--fs-sm);
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--brand-dark); text-decoration: underline; }
.site-footer h4 {
  color: var(--ink); font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase; margin-bottom: 1rem;
}

.footer__cols {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  padding-bottom: 2.5rem;
}
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__logo img { height: 50px; width: auto; margin-bottom: 1.1rem; }

.footer__partners {
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: 2rem;
  border-top: 1px solid var(--flaeche-25);
  border-bottom: 1px solid var(--flaeche-25);
}
.footer__partners img { height: 36px; width: auto; }
.footer__partners img.is-tall { height: 48px; }

.footer__funding {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem;
  padding-block: 2rem; border-bottom: 1px solid var(--flaeche-25);
}
.footer__funding img { height: 56px; width: auto; }
.footer__funding p { font-size: var(--fs-xs); color: var(--ink-light); max-width: 30rem; margin: 0; }

.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 1.75rem; font-size: var(--fs-xs); color: var(--ink-light);
}
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }

/* ==========================================================================
   Medien-Block
   ========================================================================== */

.media {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}
.media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }

/* ==========================================================================
   Druck
   ========================================================================== */

@media print {
  .site-header, .nav-toggle, .cta .btn-row, .site-footer { display: none; }
  body { color: #000; font-size: 11pt; }
  .hero__media::before, .hero__media::after { display: none; }
  .section--rot, .cta { background: none !important; color: #000 !important; }
  .section--rot h2, .section--rot p, .cta h2, .cta p { color: #000 !important; }
}

/* Kleiner Hinweistext unter einer Karte */
.note { margin-top: 1.25rem; font-size: var(--fs-xs); color: var(--ink-light); }

/* Buttonzeile mittig, z. B. unter einem Kartenpaar */
.btn-row--center { justify-content: center; margin-top: clamp(1.75rem, 4vw, 2.75rem); }

/* Überschrift über den Partnerlogos im Footer */
.footer__supporttitle { padding-top: 2rem; margin-bottom: 0; border-top: 1px solid var(--flaeche-25); }
.footer__supporttitle + .footer__partners { border-top: 0; padding-top: 1.25rem; }

/* ==========================================================================
   Formular-Pop-up (Zenkit)
   Öffnet das Zenkit-Formular in einem Fenster über der Seite, statt die
   Besucher auf eine fremde Domain zu schicken.
   ========================================================================== */

.modal { position: fixed; inset: 0; z-index: 500; display: flex;
  align-items: center; justify-content: center; padding: clamp(.5rem, 3vw, 2rem); }
.modal[hidden] { display: none; }

.modal__backdrop { position: absolute; inset: 0; background: rgba(44, 55, 61, .6); }

.modal__card {
  position: relative; display: flex; flex-direction: column;
  width: min(100%, 880px); height: min(92vh, 900px);
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(44, 55, 61, .35); overflow: hidden;
}

.modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--flaeche-10);
}
.modal__title { margin: 0; font-size: var(--fs-h4); font-weight: 700; }

.modal__close {
  flex: 0 0 auto; width: 36px; height: 36px; display: grid; place-items: center;
  background: #fff; color: var(--ink); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font: inherit; font-size: 1rem; font-weight: 700;
  line-height: 1; cursor: pointer;
}
.modal__close:hover { border-color: var(--brand); color: var(--brand-dark); }

.modal__body { flex: 1 1 auto; min-height: 0; position: relative; }
.modal__body iframe { width: 100%; height: 100%; border: 0; display: block; }

.modal__fallback {
  padding: 1rem 1.25rem; border-top: 1px solid var(--line);
  font-size: var(--fs-xs); color: var(--ink-light);
}
.modal__fallback a { color: var(--brand-dark); }

/* Hintergrund bleibt bewusst scrollbar: ein gesperrter Body führt in einigen
   Browsern dazu, dass die Seite beim Schließen an den Anfang springt. */
