/* EASY-CARE — Gestaltung der statischen Seite.
   Farben aus Logo und Video-Illustrationen; Aufbau angelehnt an die SONNET-Projektseite der
   University of Manchester (ruhiges Kopfband, Textspalte, Karten mit weichem Schatten, Akkordeons). */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("fonts/open-sans-normal-latin.woff2") format("woff2");
  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: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("fonts/open-sans-normal-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url("fonts/open-sans-italic-latin.woff2") format("woff2");
  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: "Open Sans"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url("fonts/open-sans-italic-latin-ext.woff2") format("woff2");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #033148;
  --purple: #5a44a8;
  --purple-dark: #45338a;
  --purple-soft: #f1eefa;
  --pink: #fa8bde;
  --yellow: #fdf0a2;
  --green: #5cbea0;
  --sky: #b3d9e6;
  --cream: #fffdf5;
  --ink: #1d2430;
  --muted: #4d5666;
  --line: #e3e0ea;
  --tint: #f5f4f8;
  --focus: #ffdd00;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(3, 49, 72, .06), 0 10px 28px rgba(3, 49, 72, .09);
  --wrap: 72rem;
  --measure: 46rem;
  --font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--purple-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--focus); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-weight: 300; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-weight: 400; font-size: clamp(1.5rem, 1.25rem + .9vw, 1.9rem); }
h3 { font-weight: 600; font-size: 1.2rem; }
h4 { font-weight: 600; font-size: 1.05rem; }
p, ul, ol, dl { margin: 0 0 1em; }
ul { padding-left: 1.25rem; list-style: square; }
li::marker { color: var(--purple); }
code { font-size: .92em; background: var(--tint); padding: .05em .35em; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--focus); color: var(--ink); padding: .6rem 1rem; font-weight: 600; }
.skip:focus { top: .5rem; }

/* --- Kopf --- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand . tools" "nav nav nav"; align-items: center; column-gap: 1rem; padding-top: 1rem; }
.header-tools { grid-area: tools; display: flex; align-items: center; gap: .6rem; }
.brand { grid-area: brand; display: inline-block; }
.brand img { height: 3.1rem; width: auto; }
.site-nav { grid-area: nav; }
.site-nav ul { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.75rem; }
.site-nav a { display: block; padding: .7rem 0 .8rem; color: var(--navy); text-decoration: none; font-weight: 500; border-bottom: 3px solid transparent; }
.site-nav a:hover { color: var(--purple); border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { color: var(--purple); border-bottom-color: var(--purple); }

.a11y { position: relative; display: none; }
.js .a11y { display: block; }
.a11y-toggle, .nav-toggle, .lang > summary {
  display: inline-flex; align-items: center; gap: .45rem; font: 600 .95rem var(--font); color: var(--navy);
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .9rem .45rem .6rem; cursor: pointer;
}
.a11y-toggle:hover, .nav-toggle:hover, .lang > summary:hover { border-color: var(--purple); color: var(--purple); }

/* Sprachwahl: natives <details>, Liste klappt unter dem Knopf auf */
.lang { position: relative; }
.lang > summary { list-style: none; white-space: nowrap; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary .i { width: 1.4rem; height: 1.4rem; color: #fff; background: var(--purple); border-radius: 50%; padding: .2rem; }
.lang[open] > summary { border-color: var(--purple); background: var(--purple-soft); }
.lang-code { display: none; }
.lang-panel {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 30; width: 14.5rem; list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; display: grid; gap: .15rem;
}
.lang-panel a {
  display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; padding: .55rem .8rem; border-radius: 10px;
  color: var(--ink); font-weight: 600; text-decoration: none; border: 1.5px solid transparent;
}
.lang-panel a small { font-weight: 400; font-size: .85rem; color: var(--muted); }
.lang-panel a:hover { border-color: var(--purple); background: var(--purple-soft); color: var(--purple-dark); }
.lang-panel a[aria-current] { background: var(--purple-soft); box-shadow: inset 4px 0 0 var(--purple); color: var(--purple-dark); }
.translation-note { max-width: var(--measure); background: var(--tint); border-left: 5px solid var(--sky); padding: .8rem 1rem; font-size: .95rem; border-radius: 0 8px 8px 0; }
.nav-toggle { display: none; }
.a11y-toggle .i { width: 1.4rem; height: 1.4rem; fill: #fff; background: var(--purple); border-radius: 50%; padding: .15rem; }
.a11y-toggle[aria-expanded="true"] { border-color: var(--purple); background: var(--purple-soft); }
.a11y-panel {
  position: absolute; right: 0; top: calc(100% + .5rem); width: 16.5rem; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: .9rem; display: grid; gap: .4rem;
}
.a11y-panel[hidden] { display: none; }
.a11y-title { font-weight: 700; color: var(--navy); margin: 0 0 .3rem; font-size: .95rem; }
.a11y-panel button {
  font: 500 .95rem var(--font); text-align: left; color: var(--ink); background: var(--tint); border: 1.5px solid transparent;
  border-radius: 10px; padding: .55rem .8rem .55rem 2.3rem; cursor: pointer; position: relative;
}
.a11y-panel button::before {
  content: ""; position: absolute; left: .75rem; top: 50%; width: 1rem; height: 1rem; margin-top: -.5rem;
  border: 1.5px solid var(--muted); border-radius: 4px; background: #fff;
}
.a11y-panel button[aria-pressed="true"] { background: var(--purple-soft); border-color: var(--purple); }
.a11y-panel button[aria-pressed="true"]::before { background: var(--purple); border-color: var(--purple);
  box-shadow: inset 0 0 0 2px #fff; }
.a11y-panel button:hover { border-color: var(--purple); }
.a11y-panel .a11y-reset { padding-left: .8rem; background: #fff; border-color: var(--line); color: var(--muted); margin-top: .2rem; }
.a11y-panel .a11y-reset::before { content: none; }

/* --- Kopfband --- */
.hero { background: var(--cream); position: relative; overflow: hidden; }
.hero::after { /* Farbleiste aus der Video-Illustration */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: linear-gradient(90deg, var(--purple) 0 20%, var(--pink) 20% 40%, var(--yellow) 40% 60%, var(--green) 60% 80%, var(--sky) 80% 100%);
}
.hero-inner { padding-top: clamp(2.2rem, 5vw, 3.8rem); padding-bottom: clamp(2.4rem, 5vw, 4rem); position: relative; }
.hero-text { max-width: var(--measure); }
.hero-text p { font-size: 1.15rem; color: var(--muted); }
.hero-text p:last-child { margin-bottom: 0; }
.hero:not(.hero-image) .hero-inner::after { /* ruhige Formen rechts, wie die Kreise der Illustration */
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 15rem; height: 9rem; transform: translateY(-50%);
  background:
    radial-gradient(circle at 25% 50%, var(--pink) 0 2.6rem, transparent 2.65rem),
    radial-gradient(circle at 55% 40%, var(--yellow) 0 3.4rem, transparent 3.45rem),
    radial-gradient(circle at 82% 58%, var(--sky) 0 2.4rem, transparent 2.45rem);
  opacity: .55; pointer-events: none;
}
.hero:not(.hero-image) .hero-text { max-width: calc(100% - 17rem); }
.hero-image .hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 2.5rem; align-items: center; padding-bottom: 1.5rem; }
.hero-art img { width: 100%; max-width: 34rem; margin-left: auto; }

/* --- Inhalt --- */
.content { padding-top: clamp(2.2rem, 4vw, 3.5rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.content > section + section { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }

.button {
  display: inline-flex; align-items: center; gap: .5rem; background: var(--purple); color: #fff; text-decoration: none;
  font-weight: 600; padding: .75rem 1.4rem; border-radius: 10px; border: 0;
}
.button:hover { background: var(--purple-dark); color: #fff; }
.button .filetype { font-weight: 400; opacity: .85; font-size: .9em; }

/* Startseite: Text und Video */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.toc { list-style: none; padding: 1rem 1.25rem; margin: 0 0 1.2em; background: var(--tint); border-left: 5px solid var(--purple); border-radius: 0 10px 10px 0; }
.toc li { padding: .2rem 0; }
.video { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--cream); }
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; gap: .6rem; padding: 0 3.5% 3.5% 0; text-decoration: none; color: var(--navy); }
.video-play .i { width: 3.6rem; height: 3.6rem; fill: #fff; background: var(--purple); border-radius: 50%; padding: .8rem .7rem .8rem .95rem; box-shadow: 0 6px 18px rgba(90, 68, 168, .35); transition: transform .15s; }
.video-play span { line-height: 3.6rem; font-weight: 700; font-size: 1.05rem; }
.video-play:hover span { text-decoration: underline; }
.video-play:hover .i { transform: scale(1.06); background: var(--purple-dark); }
.video-note { font-size: .88rem; color: var(--muted); padding: .8rem 1.1rem; margin: 0; border-top: 1px solid var(--line); }
.subtitles { list-style: none; padding: 0; margin: 1.4rem 0 0; font-size: .95rem; color: var(--muted); }
.subtitles li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.subtitles li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13a7.6 7.6 0 0 0 0-2l2.1-1.6-2-3.5-2.5 1a7.5 7.5 0 0 0-1.7-1L15 3.3h-4L10.6 6a7.5 7.5 0 0 0-1.7 1l-2.5-1-2 3.5L6.6 11a7.6 7.6 0 0 0 0 2l-2.1 1.6 2 3.5 2.5-1c.5.4 1.1.7 1.7 1l.4 2.6h4l.4-2.6c.6-.3 1.2-.6 1.7-1l2.5 1 2-3.5zM13 15.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.4 13a7.6 7.6 0 0 0 0-2l2.1-1.6-2-3.5-2.5 1a7.5 7.5 0 0 0-1.7-1L15 3.3h-4L10.6 6a7.5 7.5 0 0 0-1.7 1l-2.5-1-2 3.5L6.6 11a7.6 7.6 0 0 0 0 2l-2.1 1.6 2 3.5 2.5-1c.5.4 1.1.7 1.7 1l.4 2.6h4l.4-2.6c.6-.3 1.2-.6 1.7-1l2.5 1 2-3.5zM13 15.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Ablauf in fünf Schritten (ersetzt die Divi-Reiter): senkrechte Zeitleiste */
.steps { list-style: none; padding: 0; margin: 0; max-width: 52rem; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.4rem;
  padding-bottom: 1.6rem; scroll-margin-top: 1rem;
}
.steps li::before {
  content: counter(step); grid-row: 1 / span 9; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--c, var(--purple)); color: var(--navy); font-weight: 700; font-size: 1.2rem; position: relative; z-index: 1;
}
.steps li:not(:last-child)::after { /* Verbindungslinie */
  content: ""; position: absolute; left: calc(1.5rem - 1px); top: 3rem; bottom: 0; width: 2px; background: var(--line);
}
.steps li > * { grid-column: 2; }
.steps h3 { margin: .55rem 0 .45rem; }
.steps p { margin-bottom: .6em; }
.steps li:nth-child(1) { --c: var(--purple); }
.steps li:nth-child(1)::before { color: #fff; }
.steps li:nth-child(2) { --c: var(--pink); }
.steps li:nth-child(3) { --c: var(--yellow); }
.steps li:nth-child(4) { --c: var(--green); }
.steps li:nth-child(5) { --c: var(--sky); }
.steps li:target h3 { background: var(--yellow); box-shadow: 0 0 0 .3rem var(--yellow); border-radius: 2px; }

/* Akkordeons (native <details>, ohne Skript) */
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; position: relative; background: var(--tint); color: var(--navy);
  font-size: 1.12rem; font-weight: 500; padding: 1.05rem 4rem 1.05rem 1.25rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 1.1rem; top: 50%; width: 2.1rem; height: 2.1rem; margin-top: -1.05rem; border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 0.9rem 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 0.9rem no-repeat,
    var(--navy);
}
.accordion details[open] > summary::after { background: linear-gradient(#fff, #fff) center / 0.9rem 2px no-repeat, var(--purple); }
.accordion summary:hover { background: var(--purple-soft); }
.details-body { padding: 1.25rem 1.25rem .4rem; }
.content > .accordion { max-width: var(--measure); }

/* Publikationen */
.pubs { list-style: none; padding: 0; margin: 0; max-width: var(--measure); border-top: 1px solid var(--line); }
.pubs li { padding: 1.1rem 0 1.1rem 1.25rem; border-bottom: 1px solid var(--line); border-left: 4px solid transparent; display: grid; gap: .2rem; }
.pubs li:hover { border-left-color: var(--pink); }
.pubs a { font-weight: 600; text-decoration: none; line-height: 1.45; }
.pubs a:hover { text-decoration: underline; }
.pub-authors { color: var(--muted); font-size: .95rem; }
.pub-source { font-size: .9rem; color: var(--navy); }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2rem; align-items: start; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.4rem, 3vw, 2.2rem); }
.card h2 { font-size: 1.45rem; }
.doclist { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.doclist a {
  display: flex; align-items: center; gap: .8rem; border: 1.5px solid var(--line); border-radius: 12px; padding: .85rem 1rem;
  color: var(--navy); font-weight: 600; text-decoration: none;
}
.doclist a:hover { border-color: var(--purple); background: var(--purple-soft); color: var(--purple-dark); }
.doclist .i { width: 1.5rem; height: 1.5rem; flex: none; color: var(--purple); }
.filetype { margin-left: auto; font-weight: 400; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.button .filetype { margin-left: .3rem; color: inherit; }
.card-media { text-align: center; }
.card-image img { max-width: 20rem; margin: 0 auto 1.3rem; filter: drop-shadow(0 8px 16px rgba(3, 49, 72, .15)); }

/* Team */
.team-photo { margin: 0 0 clamp(2rem, 5vw, 3.5rem); }
.team-photo img { width: 100%; border-radius: 12px; }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.team-head { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.team-head img { height: 3.4rem; width: auto; }
.team-head h2 { margin: 0; }
.portrait { width: 9.5rem; border-radius: 12px; margin: .2rem 0 1.1rem; }

/* Kontakt */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: 1.5rem; }
.contact { border-top: 5px solid var(--purple); }
.contact:nth-child(5) { border-top-color: var(--green); }
.contact:nth-child(6) { border-top-color: var(--pink); }
.contact h2 { font-size: 1.15rem; font-weight: 600; }
.contact dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: 0; }
.contact dt { color: var(--muted); font-size: .92rem; padding-top: .1rem; }
.contact dd { margin: 0; overflow-wrap: anywhere; }

/* Rechtstexte */
.legal h2 { font-size: 1.45rem; }
.legal h3 { font-size: 1.15rem; margin-top: 1.4em; }
.legal h4 { margin-top: 1.2em; }
.flag { background: #fff6bf; border-left: 5px solid #e0b100; padding: .8rem 1rem; font-size: .95rem; border-radius: 0 8px 8px 0; }

/* Partner und Fuß */
.partners { border-top: 1px solid var(--line); }
.partners-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 2rem 3rem; padding-top: 2.4rem; padding-bottom: 2.4rem; }
.partners img { height: 3.2rem; width: auto; }
.partners img[alt="Sola Diagnostics"] { height: 4rem; }
.site-footer { background: var(--navy); color: #e6edf1; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; padding-top: 2.8rem; padding-bottom: 3rem; }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer strong { color: #fff; }
.footer-copy { margin-bottom: .6rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 0; }
.footer-links li + li::before { content: "|"; color: #7f9aa8; margin: 0 .6rem; }

/* --- Schmale Bildschirme --- */
@media (max-width: 56rem) {
  .header-inner { grid-template-columns: 1fr auto auto; grid-template-areas: "brand toggle tools" "nav nav nav"; column-gap: .5rem; padding-bottom: 1rem; }
  .header-tools { gap: .4rem; }
  .lang-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lang-code { display: inline; }
  .lang > summary { padding: .4rem .7rem .4rem .4rem; gap: .35rem; }
  .brand img { height: 2.6rem; }
  .js .nav-toggle { display: inline-flex; grid-area: toggle; padding-left: .8rem; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1rem; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -5px; }
  .nav-toggle-bars::after { top: 5px; }
  .site-nav ul { flex-direction: column; gap: 0; margin-top: .6rem; }
  .site-nav a { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--purple); padding-left: .9rem; }
  .js .site-nav { display: none; }
  .js.nav-open .site-nav { display: block; }
  .a11y-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .a11y-toggle { padding: .4rem; }
  .hero-image .hero-inner, .split { grid-template-columns: 1fr; }
  .hero-art img { max-width: 26rem; margin: 0 auto; }
  .hero:not(.hero-image) .hero-inner::after { display: none; }
  .hero:not(.hero-image) .hero-text { max-width: none; }
}
@media (max-width: 30rem) {
  body { font-size: 1rem; }
  .wrap { padding-left: 1rem; padding-right: 1rem; }
  .partners img { height: 2.6rem; }
  .doclist a { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); column-gap: .8rem; row-gap: .1rem; }
  .doclist .filetype { grid-column: 2; margin-left: 0; }
  .button { flex-wrap: wrap; justify-content: center; text-align: center; }
}

/* --- Barrierefreiheits-Einstellungen (Knopf „Accessibility") --- */
html.a11y-text { font-size: 125%; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-font body, html.a11y-font button { font-family: Verdana, Tahoma, Arial, sans-serif; letter-spacing: .02em; word-spacing: .1em; }
html.a11y-font body { line-height: 1.85; }
html.a11y-contrast {
  --navy: #000; --ink: #000; --muted: #000; --purple: #1a0080; --purple-dark: #000; --purple-soft: #fff;
  --line: #000; --tint: #fff; --cream: #fff; --pink: #000; --yellow: #000; --green: #000; --sky: #000;
}
html.a11y-contrast .hero::after, html.a11y-contrast .hero-inner::after { display: none; }
html.a11y-contrast .card, html.a11y-contrast .video { box-shadow: none; border: 2px solid #000; }
html.a11y-contrast .steps li::before { color: #fff !important; }
html.a11y-contrast .site-footer { background: #000; }
html.a11y-contrast a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .site-header, .partners, .video, .subtitles, .a11y, .lang { display: none !important; }
  .hero { background: none; }
  .accordion details > .details-body { display: block; }
}
