/* Verbindliche Gestaltung: outputs/docs/DESIGNSYSTEM-BARRIEREFREIHEIT.md
   Einzige Ausnahme: Hero der Startseite. Navigation und Unterseiten folgen dem System. */
:root {
  --ink: #183040;
  --muted: #596b73;
  --green: #78ac17;
  --green-dark: #3f6d16;
  --blue: #12699b;
  --yellow: #ffd300;
  --surface: #fff;
  --paper: #f8faf5;
  --sage: #edf3e4;
  --line: #dce5de;
  --field-border: #718275;
  --icon-surface: #fff4bf;
  --pinned-border: #cca900;
  --text-h1: 3.5rem;
  --text-h2: 2.5rem;
  --text-h3: 1.75rem;
  --text-h4: 1.375rem;
  --text-h5: 1.125rem;
  --text-h6: 1rem;
  --weight-heading: 700;
  --card-radius: .75rem;
  --header-radius: .625rem;
  --card-image-height: 15.3125rem;
  --control-radius: .5rem;
  --control-height: 2.875rem;
  --icon-stroke: 1.6;
  --shadow: 0 14px 40px rgb(28 49 48 / 9%);
  --hover-shift: 6px;
  --hover-duration: .22s;
  --menu-duration: .34s;
  --menu-ease: cubic-bezier(.22,.7,.25,1);
  --blue-ink: #12658a;
  --blue-surface: #e5f1f7;
  --yellow-ink: #6e5605;
  --yellow-border: #967505;
  --footer-surface: #17313e;
  --on-dark: #ffffff;
  --on-dark-muted: #c5d6d8;
  --on-dark-accent: #d9eea0;
  --footer-line: #71868d;
  --overlay: rgb(16 37 43 / 90%);
  --text-caption: .6875rem;
  --text-mega-title: 1.5625rem;
  --text-hero: clamp(3rem, 5vw, 4.4375rem);
  --weight-overline: 800;
  --text-icon-large: 1.625rem;
  --text-news-section: clamp(2.3125rem, 3.5vw, 3.125rem);
  --text-pin: 0.625rem;
  --weight-pin: 850;
  --text-service-title: 2.1875rem;
  --text-school-section: clamp(2.125rem, 3.1vw, 2.75rem);
  --text-partner-section: clamp(1.8125rem, 2.8vw, 2.5rem);
  --weight-ui: 650;
  --weight-label: 600;
  --text-body: 1rem;
  --type-card-title: 1.375rem;
  --text-hero-medium: 3.25rem;
  --text-school-title: 1.4375rem;
  --text-hero-tablet: 3.4375rem;
  --text-small: 0.75rem;
  --text-hero-mobile: 2.6875rem;
  --text-news-section-mobile: 2.375rem;
  --text-service-title-mobile: 2rem;
  --text-overline: 0.6875rem;
  --text-title-mobile: 2.25rem;
  --text-compact-title: 1.25rem;
  --text-footer: 0.8125rem;
  --weight-link: 750;
  --weight-body: 400;
  --text-detail: .875rem;
  --font-family: "Figtree", Arial, sans-serif;
  --text-action: var(--text-detail);
  --text-navigation: var(--text-detail);
  --text-header-control: var(--text-detail);
  --text-mega-detail: var(--text-detail);
  --text-link: var(--text-detail);
  --text-header-eyebrow: var(--text-overline);
  --text-intro: var(--text-body);
  --weight-display: var(--weight-heading);
  --weight-navigation: var(--weight-link);
}
@font-face {
  font-family: Figtree;
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('figtree-latin.ttf') format('truetype');
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: 1.6;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-family);
}
h1,h2,h3,h4,h5,h6 {
  overflow-wrap: anywhere;
}
h1 {
  font-size: var(--text-h1);
  line-height: 1.12;
  font-weight: var(--weight-display);
  letter-spacing: -.035em;
}
h2 {
  font-size: var(--text-h2);
  line-height: 1.2;
  font-weight: var(--weight-display);
  letter-spacing: -.025em;
}
h3 {
  font-size: var(--text-h3);
  line-height: 1.25;
  font-weight: var(--weight-heading);
}
h4 {
  font-size: var(--text-h4);
  line-height: 1.3;
  font-weight: var(--weight-heading);
}
h5 {
  font-size: var(--text-h5);
  line-height: 1.4;
  font-weight: var(--weight-heading);
}
h6 {
  font-size: var(--text-h6);
  line-height: 1.4;
  font-weight: var(--weight-heading);
}
p {
  line-height: 1.6;
}
button,input,select,textarea {
  font-family: inherit;
  font-size: var(--text-action);
  line-height: 1.4;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
:where(a:not(.card-link),button,input,select,textarea,[tabindex]):focus-visible,:where(.nx-card,.bp-card):has(.card-link:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--surface);
}
:where(main,section,h1,h2,h3,[id]) {
  scroll-margin-top: 1.5rem;
}
.overline,.photo-caption,.pin-label,.article-meta,.partner-topics,.partner-name,.footer p,.footer a,.footer-bottom,.search-preview-result,.mega-link-copy small,.hero-service small,.hero-service .mensa-copy > span,.service-copy p,.service-list small,.school-path small,.search-panel label,.nx-meta,.nx-count {
  font-size: var(--text-caption);
  line-height: 1.5;
}
.hero-service strong,.mega-intro strong,.school-path strong,.nx-card :is(h2,h3),.bp-card h3,.bp-guidance-item h3,.bp-contact h2,.bp-results-bar h2 {
  font-size: var(--type-card-title);
  line-height: 1.25;
  font-weight: var(--weight-heading);
}
.choice-control,.nav-item,.search-trigger,.mobile-trigger,.mega-link-copy strong,.search-field,.bp-field,.bp-select-trigger,.bp-select-option,.bp-offer-filters legend,.nx-load-button {
  font-size: var(--text-action);
  line-height: 1.4;
  font-weight: var(--weight-ui);
}
.bp-lead,.nx-story-lead {
  font-size: var(--text-intro);
  line-height: 1.5;
}
.nx-reading,.bp-opportunity p,.bp-contact p,.bp-contact address,.bp-guidance-item p {
  font-size: var(--text-body);
  line-height: 1.6;
}
.bp-job strong,.bp-contact h3 {
  font-size: var(--text-h5);
  line-height: 1.4;
  font-weight: var(--weight-heading);
}
.bp-contact-name,.nx-badge,.pin-label,.footer-heading {
  font-weight: var(--weight-heading);
}
/* Graf-Heinrich-Schule · gemeinsame Gestaltung für Startseite und Unterseiten.
   Inhalt: Grundlagen, Textlinks, Navigation, Hero, News, Service, Schule,
   Bildungspartner, Footer, Unterseiten, Breakpoints, reduzierte Bewegung. */
/* 01 · Farben, Maße und Grundlagen */
* {
  box-sizing: border-box;
}
button, input {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  z-index: 50;
  left: 16px;
  padding: 10px;
  background: var(--surface);
  top: auto;
  transform: translateY(-200%);
}
.skip:focus {
  top: 12px;
  transform: none;
}
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  stroke-width: var(--icon-stroke);
}
.overline {
  color: var(--green-dark);
  text-transform: uppercase;
  font-size: var(--text-overline);
  font-weight: var(--weight-overline);
  letter-spacing: .18em;
}
.overline::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 3px;
  margin-right: 10px;
  background: var(--yellow);
  vertical-align: middle;
}
/* Gemeinsame Farben und Auswahl-Buttons auf den Inhaltsübersichten. */
.tone-green {
  --choice-ink: var(--green-dark);
  --choice-fill: var(--sage);
  --choice-border: var(--green-dark);
}
.tone-blue {
  --choice-ink: var(--blue-ink);
  --choice-fill: var(--blue-surface);
  --choice-border: var(--blue-ink);
}
.tone-yellow {
  --choice-ink: var(--yellow-ink);
  --choice-fill: var(--icon-surface);
  --choice-border: var(--yellow-border);
}
.choice-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid var(--choice-border, var(--green-dark));
  border-radius: 8px;
  background: var(--surface);
  color: var(--choice-ink, var(--green-dark));
  font: inherit;
  text-align: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
  padding: .6875rem .9375rem;
  font-size: var(--text-detail);
  font-weight: var(--weight-ui);
  line-height: 1.4;
}
.choice-control:hover {
  background: var(--choice-fill, var(--sage));
  border-color: var(--choice-ink, var(--green-dark));
}
.choice-control[aria-pressed="true"], .choice-control:has(input:checked) {
  background: var(--choice-fill, var(--sage));
  border-color: var(--choice-ink, var(--green-dark));
  box-shadow: inset 0 0 0 1px var(--choice-ink, var(--green-dark));
}
/* Vom Nutzer freigegebene Ausnahme: kompakter Kopfbereich wie vor dem Regelwerk. */
.site-header .nav-item {
  font-size: var(--text-navigation);
  font-weight: var(--weight-navigation);
  line-height: 1.1;
}
.site-header :is(.search-trigger,.mobile-trigger) {
  font-size: var(--text-header-control);
  font-weight: var(--weight-display);
}
.site-header .mega-intro strong {
  font-size: var(--text-mega-title);
  line-height: 1.1;
}
.site-header .mega-intro p {
  line-height: 1.6;
  font-size: var(--text-detail);
}
.site-header .mega-link-copy strong {
  font-weight: var(--weight-navigation);
  line-height: 1.35;
  font-size: var(--text-detail);
}
.site-header .mega-link-copy small {
  font-size: var(--text-mega-detail);
  line-height: 1.5;
}
.site-header .overline,.hero-copy .overline {
  font-size: var(--text-header-eyebrow);
  font-weight: var(--weight-display);
  letter-spacing: .18em;
}
.hero-copy .text-link {
  font-size: var(--text-link);
  font-weight: var(--weight-link);
  line-height: 1.4;
}
.school-intro p,.service-copy p,.school-path small {
  font-size: var(--text-caption);
  line-height: 1.55;
}
.partner-controls .partner-control {
  width: 2.875rem;
  height: 2.875rem;
  padding: .65rem;
}
@media (max-width:640px) {
  .choice-control {
    padding: 10px 12px;
    font-size: var(--text-footer);
  }
}
@media (prefers-reduced-motion:reduce) {
  .choice-control {
    transition: none;
  }
}
/* 02 · Eine Regel für Textlinks mit Pfeil; Varianten ändern nur Farbwerte. */
.text-link {
  --link-color: var(--green-dark);
  --link-hover-color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  border: 0;
  color: var(--link-color);
  text-decoration: none;
  transition: transform var(--hover-duration) ease, color var(--hover-duration) ease;
  font-size: var(--text-detail);
  font-weight: var(--weight-link);
  line-height: 1.4;
}
.text-link > .icon {
  width: 20px;
  height: 20px;
}
.text-link--light {
  --link-color: var(--surface);
  --link-hover-color: var(--on-dark-accent);
}
.text-link:is(:hover, :focus-visible), :is(.article, .link-surface):is(:hover, :focus-within) .text-link {
  color: var(--link-hover-color);
  transform: translateX(var(--hover-shift));
}
/* 03 · Menüleiste, Mega-Menü und Suche */
.site-header {
  position: absolute;
  z-index: 30;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1360px, calc(100% - 40px));
  height: 78px;
  border-radius: var(--header-radius);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgb(22 43 39 / 13%);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: var(--surface);
  pointer-events: none;
}
.header-inner {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 25px;
  width: calc(100% - 44px);
  height: 100%;
  margin-inline: auto;
}
.brand {
  flex: 0 0 auto;
}
.brand img {
  width: 101px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  margin-left: auto;
}
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  white-space: nowrap;
  font-size: var(--text-footer);
  font-weight: var(--weight-link);
  line-height: 1.1;
}
.nav-item:is(:hover, [aria-expanded="true"]) {
  color: var(--green-dark);
}
.nav-item[aria-expanded="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 3px;
  background: var(--green);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 2px;
}
.search-trigger, .mobile-trigger {
  align-items: center;
  justify-content: center;
  border: 0;
  font-size: var(--text-footer);
  font-weight: var(--weight-overline);
}
.search-trigger {
  display: inline-flex;
  gap: 9px;
  height: 40px;
  border-radius: 7px;
  color: var(--surface);
  padding: .75rem 1rem;
  background: var(--green-dark);
}
.search-trigger:is(:hover, [aria-expanded="true"]) {
  background: var(--green-dark);
}
.search-trigger .icon, .mobile-trigger .icon {
  width: 18px;
  height: 18px;
}
.mobile-trigger {
  display: none;
  grid-auto-flow: column;
  gap: 7px;
  height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
}
.mobile-trigger:hover {
  background: var(--sage);
}
.mega {
  position: absolute;
  z-index: 1;
  top: calc(100% - var(--header-radius));
  left: 0;
  right: 0;
  overflow: hidden;
  padding-top: var(--header-radius);
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  background: linear-gradient(to right, var(--sage) 0 270px, var(--surface) 270px);
  box-shadow: 0 18px 32px rgb(22 45 42 / 10%);
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  clip-path: inset(0 0 100% 0 round 0 0 10px 10px);
  transition: clip-path var(--menu-duration) var(--menu-ease), opacity .22s ease, visibility 0s linear var(--menu-duration);
}
.mega.open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  clip-path: inset(0 0 0 0 round 0 0 10px 10px);
  transition-delay: 0s;
}
.mega-inner {
  display: grid;
  background: var(--surface);
  grid-template-columns: 270px 1fr;
  width: 100%;
  min-width: 0;
  min-height: 232px;
  opacity: 0;
  transform: translateY(-14px);
  transition: transform var(--menu-duration) var(--menu-ease), opacity .25s ease;
}
.mega.open .mega-inner {
  opacity: 1;
  transform: translateY(0);
}
.mega-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 29px 31px;
  background: var(--sage);
}
.mega-intro > :is(.overline, strong, p) {
  position: relative;
  z-index: 1;
}
.mega-intro strong {
  display: block;
  margin: 11px 0;
  font-size: var(--text-mega-title);
  line-height: 1.1;
}
.mega-intro p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-detail);
  line-height: 1.6;
}
.mega-watermark {
  position: absolute;
  z-index: 0;
  right: -22px;
  bottom: -27px;
  color: var(--yellow);
  opacity: .48;
  pointer-events: none;
}
.mega-watermark .icon {
  width: 170px;
  height: 170px;
  stroke-width: var(--icon-stroke);
}
.mega-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 10px 22px;
  min-width: 0;
  padding: 24px 25px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  transition: background var(--hover-duration) ease;
  cursor: pointer;
}
.mega-item:disabled {
  color: var(--ink);
  opacity: 1;
  -webkit-text-fill-color: currentColor;
}
.mega-link-copy {
  display: block;
  min-width: 0;
  transition: transform var(--hover-duration) ease;
}
.mega-link-copy strong {
  display: block;
  transition: color var(--hover-duration) ease;
  font-size: var(--text-detail);
  font-weight: var(--weight-link);
  line-height: 1.35;
}
.mega-link-copy small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--text-small);
  font-weight: var(--weight-body);
  line-height: 1.5;
}
.mega-arrow {
  flex: 0 0 auto;
}
.mega-item .icon {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--green-dark);
}
.mega-item:hover {
  background: var(--paper);
}
.mega-item:hover .mega-link-copy {
  transform: translateX(var(--hover-shift));
}
.mega-item:hover .mega-link-copy strong {
  color: var(--green-dark);
  -webkit-text-fill-color: var(--green-dark);
}
.search-panel {
  position: absolute;
  top: 78px;
  right: 0;
  display: none;
  width: min(470px, calc(100vw - 64px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.search-panel.open {
  display: block;
}
.search-panel label {
  text-transform: uppercase;
  font-size: var(--text-small);
  font-weight: var(--weight-overline);
  letter-spacing: .1em;
}
.search-panel input {
  width: 100%;
  height: 48px;
  margin: 12px 0;
  padding: 0 14px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
}
.search-results {
  display: grid;
  gap: 4px;
  max-height: 300px;
  overflow: auto;
}
.search-preview-result {
  margin: 0;
  border-bottom: 1px solid var(--line);
  display: block;
  min-height: 2.875rem;
  padding: .625rem;
  text-decoration: underline;
  font-size: var(--text-detail);
}
/* 04 · Bildbanner und Speiseplan */
.hero {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(100%, 1920px);
  margin: 0 auto;
  background: var(--muted);
  min-height: 38rem;
  height: auto;
}
.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--muted);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(10 29 42 / 56%), rgb(10 29 42 / 8%) 72%), linear-gradient(0deg, rgb(8 25 38 / 53%), transparent 54%);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}
.hero-copy {
  position: absolute;
  z-index: 3;
  left: max(50px, calc((100% - 1240px) / 2));
  bottom: 65px;
  width: min(610px, 53vw);
  color: var(--surface);
}
.hero-copy .overline {
  color: var(--on-dark);
}
.hero h1 {
  margin: 17px 0 14px;
  font-size: var(--text-hero);
  font-weight: var(--weight-overline);
  letter-spacing: -.047em;
  line-height: 1.04;
}
.hero h1 em {
  color: var(--on-dark-accent);
  font-style: normal;
}
.hero-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--on-dark);
  font-size: var(--text-body);
  line-height: 1.5;
}
.hero-cta {
  margin-top: 20px;
}
.photo-caption {
  display: none;
}
.slide-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 21px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}
.slide-controls button {
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .5rem;
  background: transparent;
}
.slide-controls button.active {
  border-radius: 8px;
  width: 2.75rem;
  background: transparent;
}
.hero-service {
  position: absolute;
  z-index: 4;
  right: max(50px, calc((100% - 1240px) / 2));
  bottom: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 121px;
  padding: 22px 25px;
  border-radius: 11px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgb(15 33 37 / 25%);
  width: 24rem;
}
.hero-service .mensa-icon {
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 45px;
  border-radius: 9px;
  background: var(--icon-surface);
  color: var(--green-dark);
}
.hero-service .mensa-icon .icon {
  width: 26px;
  height: 26px;
}
.hero-service .mensa-copy {
  flex: 1;
  min-width: 0;
}
.hero-service .mensa-copy > small {
  display: block;
  color: var(--green-dark);
  text-transform: uppercase;
  font-size: var(--text-overline);
  font-weight: var(--weight-overline);
  letter-spacing: .18em;
  line-height: 1.6;
}
.hero-service strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--ink);
  transition: transform var(--hover-duration) ease, color var(--hover-duration) ease;
  font-size: var(--type-card-title);
  font-weight: var(--weight-heading);
  line-height: 1.25;
  letter-spacing: -.03em;
}
.hero-service span {
  display: block;
  color: var(--muted);
  font-size: var(--text-small);
}
.hero-service b {
  color: var(--green-dark);
  font-size: var(--text-icon-large);
  font-weight: var(--weight-body);
}
.hero-service:is(:hover, :focus-visible) strong {
  color: var(--green-dark);
  transform: translateX(var(--hover-shift));
}
/* 05 · Gemeinsamer Feed für Meldungen und Termine */
.news {
  padding: 88px 0 93px;
  background: var(--paper);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}
.section-heading h2, .school-intro h2, .service-copy h2 {
  margin: 12px 0 0;
  letter-spacing: -.04em;
  line-height: 1.13;
}
/* Eine Beitragskarte für Startseite und News-Übersicht. */
.news-grid, .nx-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: stretch;
  gap: 24px;
}
.nx-card {
  position: relative;
  cursor: pointer;
  isolation: isolate;
  min-width: 0;
  min-height: 490px;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 2px solid transparent;
  background: var(--surface);
  border-radius: var(--card-radius);
  transition: box-shadow .25s ease;
}
.nx-card[hidden] {
  display: none;
}
.nx-card.nx-pinned {
  border-color: var(--pinned-border);
  box-shadow: 0 12px 30px rgb(25 61 45 / 8%);
}
.nx-card:hover,.nx-card:focus-within {
  box-shadow: 0 12px 30px #19312324;
}
.nx-cover {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  height: var(--card-image-height);
  flex-shrink: 0;
  background: var(--sage);
}
.nx-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.nx-card:hover .nx-cover img,.nx-card:focus-within .nx-cover img {
  transform: scale(1.09);
}
.nx-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 6px 9px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font-size: var(--text-caption);
  font-weight: var(--weight-ui);
}
.nx-count .icon {
  width: 15px;
  height: 15px;
}
.nx-cover .pin-label {
  top: 12px;
  left: 12px;
}
.nx-standard-image {
  object-fit: cover;
}
.nx-card-content {
  padding: 18px 8px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nx-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 14px;
  font-size: var(--text-detail);
  font-weight: var(--weight-body);
  line-height: 1.55;
}
.nx-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--choice-ink);
  background: var(--choice-fill);
  font-weight: var(--weight-link);
  font-size: var(--text-detail);
}
.nx-card :is(h2,h3) {
  margin: 0 0 24px;
  transition: color .2s;
  font-size: var(--type-card-title);
  line-height: 1.25;
  letter-spacing: -.03em;
  font-weight: var(--weight-heading);
}
.nx-card:is(:hover,:focus-within) :is(h2,h3) {
  color: var(--green-dark);
}
/* Die Klickfläche bleibt fest; nur Schrift und Pfeil bewegen sich. */
.nx-card .text-link, .nx-card:is(:hover,:focus-within) .text-link, .nx-card .text-link:is(:hover,:focus-visible) {
  margin-top: auto;
  position: static;
  transform: none;
  font-size: var(--text-detail);
}
.nx-card .text-link {
  cursor: pointer;
}
.nx-card:is(:hover,:focus-within) .text-link {
  color: var(--green-dark);
}
.nx-card .text-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 11px;
  cursor: pointer;
}
.nx-card .text-link > * {
  transition: transform .22s ease;
}
.nx-card:is(:hover,:focus-within) .text-link > * {
  transform: translateX(6px);
}
@media (max-width:1000px) {
  .news-grid, .nx-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media (max-width:640px) {
  .news-grid, .nx-grid {
    grid-template-columns: 1fr;
  }
  .nx-card {
    min-height: 0;
  }
}
.pin-label {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 8px 10px;
  border-radius: 5px;
  background: var(--surface);
  color: var(--green-dark);
  text-transform: uppercase;
  box-shadow: 0 3px 9px rgb(20 47 37 / 12%);
  font-size: var(--text-pin);
  font-weight: var(--weight-pin);
  letter-spacing: .13em;
}
/* 06 · Schnellzugriffe für den Schulalltag */
.service {
  padding: 48px 0 52px;
  background: var(--blue-surface);
}
.service-layout {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  align-items: center;
  gap: 65px;
}
.service-copy h2 {
  margin: 8px 0;
  font-size: var(--text-service-title);
}
.service-copy p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: var(--text-detail);
  line-height: 1.55;
}
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  border-top: 1px solid var(--line);
}
.service-list a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 3px;
  border-bottom: 1px solid var(--line);
  transition: padding var(--hover-duration) ease, color var(--hover-duration) ease;
}
.service-list a:is(:hover, :focus-visible) {
  padding-left: 15px;
  color: var(--green-dark);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 38px;
  border-radius: 8px;
  background: var(--icon-surface);
  color: var(--green-dark);
}
.service-icon .icon {
  width: 23px;
  height: 23px;
}
.service-list small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: var(--text-detail);
  font-weight: var(--weight-body);
  line-height: 1.55;
}
.service-list b {
  color: var(--green-dark);
  font-size: var(--text-compact-title);
  font-weight: var(--weight-body);
}
/* 07 · Grundschule und Gemeinschaftsschule */
.school {
  padding: 94px 0 98px;
  background: var(--surface);
}
.school-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: start;
  gap: 85px;
}
.school-intro p {
  max-width: 420px;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.7;
}
.school-paths {
  border-top: 1px solid var(--line);
}
.school-path {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: start;
  gap: 20px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.school-path > span:nth-child(2) {
  transition: transform var(--hover-duration) ease;
}
.school-path strong {
  display: block;
  transition: color var(--hover-duration) ease;
  font-size: var(--text-school-title);
  letter-spacing: -.025em;
  font-weight: var(--weight-heading);
}
.school-path small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--text-detail);
  font-weight: var(--weight-body);
  line-height: 1.55;
}
.school-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--icon-surface);
  color: var(--green-dark);
}
.school-icon .icon {
  width: 28px;
  height: 28px;
}
.school-path .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
}
.school-path .arrow .icon {
  width: 22px;
  height: 22px;
}
.school-path:is(:hover, :focus-visible) > span:nth-child(2) {
  transform: translateX(var(--hover-shift));
}
.school-path:is(:hover, :focus-visible) strong {
  color: var(--green-dark);
}
.school-image {
  width: 100%;
  height: 305px;
  margin-top: 52px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 45%;
}
/* 08 · Bildungspartner: vollständiges, ziehbares Laufband */
.partners {
  padding: 64px 0 66px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.partners-heading {
  margin-bottom: 22px;
}
.partners h2 {
  margin: 13px 0 0;
  font-size: var(--text-partner-section);
  letter-spacing: -.035em;
  line-height: 1.15;
}
.partner-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-weight: var(--weight-ui);
  font-size: var(--text-detail);
}
.partner-topics span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.partner-topics span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}
.partner-slider {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  scrollbar-width: thin;
}
.partner-slider.is-dragging {
  cursor: grabbing;
}
.partner-track {
  display: flex;
  width: max-content;
}
.partner-group {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  padding-right: 16px;
}
.partner-card {
  display: flex;
  flex: 0 0 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;
  overflow: hidden;
  width: 220px;
  min-height: 166px;
  padding: 24px 22px;
  border-radius: 10px;
  background: var(--surface);
}
.partner-card img {
  width: 100%;
  height: 68px;
  object-fit: contain;
  pointer-events: none;
}
.partner-name {
  display: block;
  min-height: 32px;
  max-width: 190px;
  color: var(--muted);
  text-align: center;
  font-size: var(--text-detail);
  font-weight: var(--weight-label);
  line-height: 1.4;
}
.partners-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 22px;
}
.partners-bottom .text-link {
  white-space: nowrap;
}
/* 09 · Footer */
.footer {
  padding: 59px 0 22px;
  background: var(--footer-surface);
  color: var(--on-dark);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr .8fr 1fr;
  gap: 42px;
  padding-bottom: 56px;
}
.footer img {
  width: 104px;
  padding: 5px;
  border-radius: 4px;
  background: var(--surface);
}
.footer p {
  max-width: 250px;
  color: var(--on-dark-muted);
  font-size: var(--text-footer);
  line-height: 1.65;
}
.footer a {
  display: block;
  margin: 9px 0;
  font-size: var(--text-footer);
}
.footer a:hover {
  text-decoration: underline;
}
.footer-bottom {
  display: flex;
  gap: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--footer-line);
  color: var(--on-dark-muted);
  font-size: var(--text-detail);
  justify-content: flex-end;
}
.footer-bottom a {
  display: inline;
  margin: 0 0 0 20px;
  font-size: var(--text-detail);
}
/* 10 · Plattform-Unterseite */
/* 11 · Alle Breakpoints an einer Stelle */
@media (max-width:1200px) {
  .header-inner {
    gap: 18px;
  }
  .main-nav {
    gap: 15px;
  }
  .nav-item {
    gap: 6px;
    font-size: var(--text-small);
  }
}
@media (max-width:1120px) {
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    height: auto;
    padding: 13px 20px 20px;
    border-radius: 0 0 10px 10px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .main-nav.open {
    display: grid;
    gap: 0;
  }
  .nav-item {
    justify-content: flex-start;
    gap: 12px;
    height: 49px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: var(--text-detail);
  }
  .nav-item[aria-expanded="true"]::after {
    display: none;
  }
  .mobile-trigger {
    display: grid;
  }
  .header-tools {
    margin-left: auto;
  }
  .mega {
    max-height: calc(100dvh - 110px);
    overflow: auto;
  }
  .mega-item {
    padding: 13px 12px;
  }
}
@media (max-width:1100px) {
  .school-layout {
    gap: 48px;
  }
}
@media (max-width:1080px) {
  :root {
    --text-hero: 3.25rem;
  }
  .hero-copy {
    left: 38px;
    width: 55vw;
  }
  .hero-service {
    right: 38px;
    width: 315px;
  }
  .service-layout {
    gap: 35px;
  }
  .hero h1 {
    font-size: var(--text-hero-medium);
  }
}
@media (max-width:820px) {
  :root {
    --text-hero: 3.4375rem;
  }
  .wrap {
    width: calc(100% - 48px);
  }
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    height: 68px;
  }
  .header-inner {
    width: calc(100% - 26px);
  }
  .brand img {
    width: 88px;
  }
  .main-nav, .search-panel {
    top: 68px;
  }
  .main-nav {
    padding: 9px 17px 17px;
  }
  .mega {
    max-height: calc(100dvh - 90px);
    background: var(--sage);
  }
  .mega-inner {
    grid-template-columns: 1fr;
  }
  .mega-intro {
    padding: 24px 25px 20px;
  }
  .mega-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mega-watermark {
    right: 6px;
    bottom: -24px;
  }
  .mega-watermark .icon {
    width: 120px;
    height: 120px;
  }
  .hero {
    height: 600px;
    min-height: 0;
  }
  .hero-copy {
    left: 34px;
    bottom: 178px;
    width: calc(100% - 68px);
  }
  .hero-service {
    left: 34px;
    right: 34px;
    bottom: 35px;
    width: auto;
    min-height: 104px;
  }
  .slide-controls {
    left: auto;
    right: 26px;
    bottom: 16px;
    transform: none;
  }
  .service-layout, .school-layout {
    grid-template-columns: 1fr;
  }
  .service-layout {
    gap: 20px;
  }
  .school-layout {
    gap: 30px;
  }
  .service-list {
    gap: 0 22px;
  }
  .partners {
    padding: 48px 0;
  }
  .partners-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .partner-card {
    flex-basis: 190px;
    width: 190px;
    padding: 22px 18px;
  }
  .partner-topics {
    gap: 8px 18px;
    font-size: var(--text-detail);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: var(--text-hero-tablet);
  }
  .mega-intro strong {
    font-size: var(--text-school-title);
  }
}
@media (max-width:600px) {
  :root {
    --text-hero: 2.6875rem;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 66px;
  }
  .header-inner {
    gap: 5px;
  }
  .brand img {
    width: 82px;
  }
  .main-nav, .search-panel {
    top: 66px;
  }
  .mega-intro {
    padding: 22px 21px 16px;
  }
  .mega-links {
    grid-template-columns: 1fr;
    padding: 8px 14px 16px;
  }
  .mega-item {
    padding: 11px 7px;
  }
  .mega-watermark .icon {
    width: 110px;
    height: 110px;
  }
  .search-trigger {
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    font-size: var(--text-small);
  }
  .mobile-trigger {
    padding: 0 5px;
  }
  .hero {
    height: 575px;
  }
  .hero-visual img {
    object-position: 42% center;
  }
  .hero-copy {
    left: 22px;
    bottom: 171px;
    width: calc(100% - 44px);
  }
  .hero h1 {
    margin: 12px 0;
    font-size: var(--text-hero-mobile);
  }
  .hero-cta {
    margin-top: 13px;
  }
  .hero-service {
    left: 18px;
    right: 18px;
    bottom: 23px;
    min-height: 97px;
    padding: 17px 19px;
  }
  .hero-service strong {
    margin: 5px 0 2px;
    font-size: var(--type-card-title);
    font-weight: var(--weight-heading);
    line-height: 1.25;
    letter-spacing: -.03em;
  }
  .slide-controls {
    right: 17px;
    bottom: 6px;
  }
  .news {
    padding: 66px 0 70px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .service {
    padding: 43px 0;
  }
  .service-list {
    grid-template-columns: 1fr;
  }
  .service-list a {
    padding: 13px 2px;
  }
  .school {
    padding: 73px 0;
  }
  .school-path {
    grid-template-columns: 40px 1fr 20px;
    gap: 12px;
  }
  .school-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }
  .school-icon .icon {
    width: 26px;
    height: 26px;
  }
  .school-image {
    height: 220px;
    margin-top: 35px;
  }
  .partner-group {
    gap: 12px;
    padding-right: 12px;
  }
  .partner-card {
    flex-basis: 176px;
    gap: 14px;
    width: 176px;
    min-height: 156px;
    padding: 20px 16px;
    border-radius: 9px;
  }
  .partner-card img {
    height: 64px;
  }
  .partner-topics {
    gap: 8px 14px;
    font-size: var(--text-detail);
  }
  .footer-main {
    gap: 28px;
  }
  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    display: block;
    font-size: var(--text-detail);
  }
  .footer-bottom span {
    display: block;
    margin-top: 12px;
  }
  .footer-bottom a {
    margin: 0 15px 0 0;
    font-size: var(--text-detail);
  }
  .hero-copy p {
    font-size: var(--text-detail);
    line-height: 1.45;
  }
  .mega-intro p {
    font-size: var(--text-footer);
  }
  .hero-service span {
    font-size: var(--text-overline);
  }
  .section-heading h2 {
    font-size: var(--text-news-section-mobile);
  }
  .service-copy h2 {
    font-size: var(--text-service-title-mobile);
  }
  .school-intro h2 {
    font-size: var(--text-title-mobile);
  }
  .school-path strong {
    font-size: var(--text-compact-title);
  }
  .partners-bottom .text-link {
    font-size: var(--text-footer);
  }
}
/* 12 · Systemeinstellung „Bewegung reduzieren“ */
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .text-link:is(:hover, :focus-visible), .hero-service:is(:hover, :focus-visible) strong, .school-path:is(:hover, :focus-visible) > span:nth-child(2), .mega-item:hover .mega-link-copy {
    transform: none;
  }
}
/* Partnerlogos führen direkt zu ihren Profilen. */
a.partner-card {
  color: inherit;
  text-decoration: none;
  transition: box-shadow .25s ease;
}
a.partner-card:hover, a.partner-card:focus-visible {
  box-shadow: 0 8px 24px rgba(25, 49, 35, .13);
}
a.partner-card:hover .partner-name, a.partner-card:focus-visible .partner-name {
  color: var(--green-dark);
}
/* Einheitliches Suchfeld für Inhaltsübersichten. */
.search-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  color: var(--ink);
  font-size: var(--text-footer);
  font-weight: var(--weight-link);
}
.search-field input[type="search"] {
  width: 100%;
  height: 46px;
  padding: 0 13px 0 41px;
  border: 1px solid var(--field-border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-detail);
  font-weight: var(--weight-body);
}
.search-field > .icon {
  position: absolute;
  left: 13px;
  bottom: 13px;
  width: 20px;
  height: 20px;
  color: var(--green-dark);
  pointer-events: none;
}
/* Gemeinsame Kontur für die SVG-Iconfamilie. */
.icon :is(path, rect, circle, ellipse, line, polyline, polygon) {
  vector-effect: non-scaling-stroke;
}
.mega-watermark .icon :is(path, rect, circle, ellipse, line, polyline, polygon) {
  vector-effect: none;
}
/* News · gemeinsame Typografie, Farben und Links aus site.css. */
.nx-page {
  background: var(--paper);
  padding: 148px 0 80px;
}
.nx-back {
  margin-bottom: 34px;
}
.nx-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 36px;
}
.nx-intro h1 {
  margin: 15px 0 20px;
  max-width: 800px;
}
.nx-intro p {
  margin: 0;
  max-width: 630px;
  color: var(--muted);
}
.nx-intro-mark {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 25px 25px 25px 5px;
  background: var(--icon-surface);
  color: var(--green-dark);
  transform: rotate(6deg);
  flex-shrink: 0;
}
.nx-intro-mark .icon {
  width: 54px;
  height: 54px;
  transform: rotate(-6deg);
}
.nx-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-block: 1px solid var(--line);
}
.nx-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nx-filter-tools {
  display: flex;
  align-items: center;
  min-width: 0;
}
.nx-search {
  width: 300px;
  flex-shrink: 0;
}
.nx-results {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 26px 0 23px;
  color: var(--muted);
}
.nx-results strong {
  color: var(--ink);
}
.nx-empty {
  padding: 50px;
  text-align: center;
  color: var(--muted);
}
.nx-empty[hidden] {
  display: none;
}
.nx-story-head {
  max-width: 1000px;
  margin-bottom: 34px;
}
.nx-story-head h1 {
  margin: 18px 0 23px;
}
.nx-story-lead {
  max-width: 800px;
  color: var(--muted);
  margin: 0;
}
.nx-gallery {
  margin: 0 0 48px;
}
.nx-gallery-track {
  position: relative;
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 11px;
  background: var(--sage);
  padding: .375rem;
  scroll-padding: .5rem;
}
.nx-gallery-track::-webkit-scrollbar {
  display: none;
}
.nx-slide {
  flex: 0 0 auto;
  max-width: 88%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  scroll-snap-align: center;
}
.nx-slide img {
  display: block;
  height: 440px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
/* Einzelfoto als ruhiges Bildmotiv statt einer leeren Slideshow. */
.nx-gallery[data-single="true"] {
  width: min(100%,760px);
  margin-inline: auto;
}
.nx-gallery[data-single="true"] .nx-gallery-track {
  justify-content: center;
  background: var(--sage);
  padding: 24px;
}
.nx-gallery[data-single="true"] .nx-slide {
  flex: 1;
  max-width: 100%;
}
.nx-gallery[data-single="true"] .nx-gallery-controls {
  display: none;
}
.nx-lightbox[data-single="true"] .nx-light-bottom .nx-gallery-controls {
  display: none;
}
.nx-gallery[data-single="true"] .nx-slide img {
  margin: auto;
  height: min(600px,70vh);
  width: auto;
  max-width: 100%;
}
.nx-gallery-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 15px;
}
.nx-gallery-caption {
  margin: 0;
  color: var(--muted);
}
.nx-gallery-controls {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-shrink: 0;
}
.nx-gallery-status {
  color: var(--muted);
  margin-right: 7px;
}
.nx-icon-button {
  display: grid;
  place-items: center;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: white;
  color: var(--green-dark);
  cursor: pointer;
  width: 2.875rem;
  height: 2.875rem;
  flex-shrink: 0;
}
.nx-icon-button:hover {
  background: var(--sage);
}
.nx-icon-button:disabled {
  opacity: .35;
  cursor: default;
}
.nx-reading {
  width: min(100%,760px);
  margin-inline: auto;
}
.nx-reading .nx-story-lead {
  margin-bottom: 30px;
}
.nx-reading p {
  margin: 0 0 24px;
}
.nx-origin {
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--choice-ink);
  background: var(--choice-fill);
}
.nx-reading h2 {
  margin: 36px 0 18px;
}
.nx-reading .text-link {
  margin-bottom: 22px;
}
.nx-story-bottom {
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.nx-event-box {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 35px;
  padding: 36px;
  border-radius: 11px;
  background: var(--blue-surface);
  margin: 35px 0;
}
.nx-event-symbol {
  color: var(--blue);
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
}
.nx-event-symbol .icon {
  width: 80px;
  height: 80px;
  padding: 16px;
  border-radius: 14px;
  background: var(--icon-surface);
  color: var(--green-dark);
}
.nx-event-box h2 {
  margin: 0 0 14px;
}
.nx-event-box p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 0 21px;
}
.nx-lightbox {
  width: min(1200px,96vw);
  max-width: 96vw;
  padding: 20px;
  border: none;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
}
.nx-lightbox::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(6px);
}
.nx-light-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: var(--muted);
}
.nx-light-image {
  width: 100%;
  height: 72vh;
  object-fit: contain;
  background: var(--sage);
  border-radius: 7px;
  touch-action: pan-y;
  max-height: 60dvh;
}
.nx-light-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 13px;
  flex-wrap: wrap;
}
@media (max-width:1000px) {
  .nx-toolbar {
    flex-wrap: wrap;
  }
  .nx-intro-mark {
    width: 85px;
    height: 85px;
  }
}
@media (max-width:640px) {
  .nx-page {
    padding-top: 119px;
  }
  .nx-intro {
    margin-bottom: 28px;
  }
  .nx-intro-mark {
    display: none;
  }
  .nx-toolbar {
    gap: 15px;
  }
  .nx-tabs {
    gap: 4px;
  }
  .nx-search {
    width: 100%;
  }
  .nx-search input {
    width: 100%;
  }
  .nx-slide img {
    height: 350px;
  }
  .nx-gallery[data-single="true"] .nx-slide img {
    height: auto;
    max-height: 65vh;
    width: 100%;
  }
  .nx-gallery[data-single="true"] .nx-gallery-track {
    padding: 12px;
  }
  .nx-slide {
    max-width: 92%;
  }
  .nx-gallery-track {
    gap: 10px;
  }
  .nx-gallery-caption {
    max-width: 180px;
  }
  .nx-event-box {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 22px;
  }
  .nx-event-symbol {
    justify-content: start;
    border: 0;
  }
  .nx-lightbox {
    padding: 13px;
  }
  .nx-light-image {
    height: 65vh;
  }
}
/* Gleiche freundliche Iconflächen wie auf der Startseite. */
.nx-illustration {
  display: grid;
  place-items: center;
  background: var(--paper);
}
.nx-fallback-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 18px;
  background: var(--icon-surface);
  color: var(--green-dark);
  transform: rotate(-5deg);
}
.nx-fallback-icon .icon {
  width: 45px;
  height: 45px;
  transform: rotate(5deg);
}
@media (max-width:640px) {
  .nx-event-symbol .icon {
    width: 64px;
    height: 64px;
    padding: 12px;
  }
}
/* Zwölf Beiträge pro Abschnitt; automatisches Nachladen mit sichtbarer Alternative. */
.nx-load {
  margin-top: 42px;
  text-align: center;
}
.nx-load[hidden], .nx-load-actions[hidden], .nx-sentinel[hidden] {
  display: none;
}
.nx-load-status {
  margin: 0 0 15px;
  color: var(--muted);
}
.nx-load-hint {
  margin: 12px 0 0;
  color: var(--muted);
}
.nx-sentinel {
  height: 1px;
  margin-top: 50px;
}
/* Bildungspartner · baut auf site.css und der gemeinsamen .text-link-Regel auf. */
.bp-page {
  background: var(--paper);
}
.bp-intro {
  padding: 145px 0 46px;
}
.bp-breadcrumb {
  margin-bottom: 34px;
}
.bp-intro-layout {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 70px;
  align-items: end;
}
.bp-intro h1 {
  max-width: 820px;
  margin: 16px 0 18px;
}
.bp-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}
.bp-intro-note {
  position: relative;
  padding: 22px 0 4px 24px;
  border-left: 3px solid var(--yellow);
}
.bp-intro-note .bp-intro-icon {
  position: absolute;
  right: 0;
  top: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--icon-surface);
  color: var(--green-dark);
}
.bp-intro-note .bp-intro-icon .icon {
  width: 26px;
  height: 26px;
}
.bp-intro-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--green-dark);
}
.bp-intro-note span {
  display: block;
  color: var(--muted);
}
.bp-directory {
  padding-bottom: 76px;
}
.bp-filters {
  padding: 26px;
  border-radius: 11px;
  background: var(--sage);
}
.bp-filter-top {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 20px;
  margin-bottom: 22px;
}
.bp-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
  color: var(--ink);
}
.bp-field select {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--field-border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
}
.bp-filter-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1.7fr;
  align-items: start;
  gap: 20px;
}
.bp-offer-filters {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.bp-offer-filters legend {
  margin-bottom: 9px;
  padding: 0;
}
/* Gemeinsame Auswahlflächen und eigene Dropdowns. */
.bp-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bp-checks input {
  appearance: none;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 1.6px solid currentColor;
  border-radius: 4px;
  background: transparent;
  cursor: inherit;
  flex-shrink: 0;
}
.bp-checks input:checked {
  background-color: var(--choice-ink);
  border-color: var(--choice-ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 10 3 3 7-7'/%3E%3C/svg%3E");
}
.bp-select {
  position: relative;
  min-width: 0;
}
.bp-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid var(--field-border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.bp-select-trigger:hover, .bp-select-trigger[aria-expanded="true"] {
  border-color: var(--green-dark);
}
.bp-select-trigger .icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--green-dark);
  transition: transform .2s ease;
}
.bp-select-trigger[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
.bp-select-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  display: grid;
  gap: 3px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 30px #19312326;
  animation: bp-select-enter .18s ease-out;
}
.bp-select-menu[hidden] {
  display: none;
}
.bp-select-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  cursor: pointer;
  min-height: 2.75rem;
}
.bp-select-option:is(:hover,:focus-visible) {
  background: var(--sage);
  color: var(--green-dark);
}
.bp-select-option[aria-selected="true"] {
  background: var(--sage);
  color: var(--green-dark);
}
.bp-select-option .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  visibility: hidden;
}
.bp-select-option[aria-selected="true"] .icon {
  visibility: visible;
}
@keyframes bp-select-enter {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion:reduce) {
  .bp-select-menu {
    animation: none;
  }
  .bp-select-trigger .icon {
    transition: none;
  }
}
.bp-filter-hint {
  margin: 18px 0 0;
  color: var(--muted);
}
.bp-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 24px;
}
.bp-results-bar h2 {
  margin: 0;
}
.bp-reset {
  padding: 0;
  background: transparent;
  cursor: pointer;
}
.bp-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.bp-active-filters:empty {
  display: none;
}
.bp-active-filters span {
  padding: 6px 10px;
  border-radius: 5px;
  background: var(--choice-fill);
  color: var(--choice-ink);
}
.bp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.bp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border-radius: var(--card-radius);
  background: var(--surface);
  transition: box-shadow .28s ease;
}
.bp-card:hover, .bp-card:focus-within {
  box-shadow: var(--shadow);
}
.bp-card-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 96px;
  margin-bottom: 24px;
}
.bp-card-logo img {
  width: auto;
  max-width: 220px;
  max-height: 76px;
  object-fit: contain;
}
.bp-card-location {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
}
.bp-card h3 {
  margin: 0 0 15px;
  transition: color var(--hover-duration) ease;
}
.bp-card:hover h3, .bp-card:focus-within h3 {
  color: var(--green-dark);
}
.bp-card-types {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.bp-tag {
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--sage);
  color: var(--green-dark);
  text-transform: uppercase;
}
.bp-card-jobs {
  min-height: 44px;
  margin: 0 0 18px;
  color: var(--muted);
}
.bp-card-offers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  padding-top: 15px;
  margin-bottom: 24px;
  border-top: 1px solid var(--line);
}
.bp-offer {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 5px;
  color: var(--choice-ink);
  background: var(--choice-fill);
}
.bp-offer .icon {
  width: 15px;
  height: 15px;
}
/* Der einzige Profillink deckt die ganze Karte ab, ohne doppelte Tabstopps. */
.bp-card .text-link {
  position: static;
  margin-top: auto;
  padding-top: 4px;
  transform: none;
}
.bp-card:is(:hover, :focus-within) .text-link {
  transform: none;
}
.bp-card .text-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.bp-card .text-link > span, .bp-card .text-link > .icon {
  transition: transform var(--hover-duration) ease;
}
.bp-card:is(:hover, :focus-within) .text-link > span, .bp-card:is(:hover, :focus-within) .text-link > .icon {
  transform: translateX(6px);
}
.bp-empty {
  padding: 54px 24px;
  border-radius: 10px;
  background: var(--surface);
  text-align: center;
}
.bp-empty h3 {
  margin: 0 0 12px;
}
.bp-empty p {
  margin: 0 0 24px;
  color: var(--muted);
}
.bp-empty .text-link {
  margin-inline: auto;
}
.bp-empty[hidden] {
  display: none;
}
.bp-guidance {
  padding: 62px 0 70px;
  background: var(--surface);
}
.bp-guidance h2 {
  margin: 13px 0 16px;
}
.bp-guidance > .wrap > p {
  max-width: 730px;
  margin-bottom: 30px;
  color: var(--muted);
}
.bp-guidance-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.bp-guidance-item {
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.bp-guidance-item img {
  height: 62px;
  width: auto;
  max-width: 240px;
  margin-bottom: 25px;
  object-fit: contain;
  object-position: left center;
}
.bp-guidance-item h3 {
  margin: 0 0 9px;
}
.bp-guidance-item p {
  margin: 0 0 21px;
  color: var(--muted);
}
/* Partnerprofile: gleiche Seitenhülle und echte verlinkbare Einzelseiten. */
.bp-profile {
  padding: 145px 0 76px;
  background: var(--paper);
}
.bp-profile-heading {
  display: grid;
  grid-template-columns: 1fr 200px;
  align-items: center;
  gap: 50px;
  margin: 0 0 42px;
}
.bp-profile h1 {
  max-width: 940px;
  margin: 15px 0 16px;
}
.bp-profile-city {
  margin: 0;
  color: var(--muted);
}
.bp-profile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 128px;
  padding: 18px;
  border-radius: 10px;
  background: var(--surface);
}
.bp-profile-logo img {
  max-width: 164px;
  max-height: 88px;
  object-fit: contain;
}
.bp-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 48px;
}
.bp-detail-photo {
  width: 100%;
  height: 310px;
  margin-bottom: 38px;
  border-radius: 10px;
  object-fit: cover;
}
.bp-detail-section {
  margin-bottom: 38px;
}
.bp-detail-section h2 {
  margin: 0 0 20px;
}
.bp-jobs {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bp-job {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.bp-job strong {
  display: block;
  margin-bottom: 10px;
}
.bp-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.bp-job-area {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--blue-surface);
  color: var(--muted);
  text-transform: uppercase;
}
.bp-opportunity {
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.bp-opportunity h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
}
.bp-opportunity h3 .icon {
  color: var(--choice-ink);
}
.bp-opportunity .bp-tag {
  background: var(--choice-fill);
  color: var(--choice-ink);
}
.bp-opportunity p {
  margin: 0;
  color: var(--muted);
  white-space: pre-line;
}
.bp-contact {
  position: sticky;
  top: 24px;
  padding: 28px;
  border-radius: 10px;
  background: var(--sage);
}
.bp-contact h2 > .bp-contact-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 9px;
  background: var(--icon-surface);
  color: var(--green-dark);
}
.bp-contact h2 {
  margin: 0 0 20px;
}
.bp-contact h3 {
  margin: 28px 0 12px;
}
.bp-contact-name {
  white-space: pre-line;
}
.bp-person + .bp-person {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.bp-contact p, .bp-contact address {
  margin: 0 0 16px;
  color: var(--muted);
  font-style: normal;
}
.bp-contact .text-link {
  display: flex;
  margin-top: 14px;
  overflow-wrap: anywhere;
}
.bp-contact-email {
  display: block;
  margin-top: 13px;
  color: var(--green-dark);
  overflow-wrap: anywhere;
}
.bp-contact-email:hover {
  text-decoration: underline;
}
.bp-profile-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (max-width:1050px) {
  .bp-intro-layout {
    grid-template-columns: 1fr 180px;
    gap: 35px;
  }
  .bp-filter-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .bp-offer-filters {
    grid-column: 1 / -1;
  }
  .bp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bp-detail-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 28px;
  }
  .bp-contact {
    padding: 23px;
  }
}
@media (max-width:720px) {
  .bp-intro, .bp-profile {
    padding-top: 119px;
  }
  .bp-intro-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .bp-intro-note .bp-intro-icon {
    display: none;
  }
  .bp-intro-note {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 0 4px 16px;
  }
  .bp-intro-note strong {
    margin: 0;
  }
  .bp-filters {
    padding: 20px;
  }
  .bp-filter-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bp-filter-bottom {
    gap: 16px;
  }
  .bp-results-bar {
    align-items: flex-start;
    gap: 15px;
  }
  .bp-grid {
    gap: 18px;
  }
  .bp-card {
    padding: 22px;
  }
  .bp-guidance {
    padding: 48px 0;
  }
  .bp-guidance-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bp-profile-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .bp-profile-logo {
    justify-content: flex-start;
    width: 200px;
    min-height: 108px;
  }
  .bp-detail-layout {
    grid-template-columns: 1fr;
  }
  .bp-detail-photo {
    height: 240px;
  }
  .bp-contact {
    position: static;
  }
}
@media (max-width:540px) {
  .bp-filter-bottom, .bp-grid {
    grid-template-columns: 1fr;
  }
  .bp-intro-note {
    display: none;
  }
  .bp-card-logo {
    height: 84px;
    margin-bottom: 20px;
  }
  .bp-card-logo img {
    max-width: 210px;
    max-height: 70px;
  }
}
.bp-job-description {
  margin: 0 0 12px;
  color: var(--muted);
  white-space: pre-line;
}
.bp-job .text-link, .bp-opportunity .text-link {
  margin-top: 14px;
}
.footer-heading {
  margin: 0 0 1rem;
  color: var(--surface);
  display: block;
  font-size: var(--text-small);
}
.nx-reading,.bp-guidance > .wrap > p {
  max-width: 70ch;
}
.nx-reading p a:not(.text-link),.bp-opportunity p a,.bp-contact-email {
  text-decoration: underline;
  text-underline-offset: .18em;
}
.choice-control,.search-trigger,.mobile-trigger,.bp-select-trigger,.bp-field select,.search-field input[type='search'],.search-panel input {
  min-height: var(--control-height);
  height: auto;
  border-radius: var(--control-radius);
}
.search-field input[type='search'],.search-panel input,.bp-select-trigger,.bp-field select,.bp-select-menu,.nx-icon-button {
  border-color: var(--field-border);
}
.search-field input[type='search'] {
  padding: .75rem .8125rem .75rem 2.5625rem;
}
.slide-controls button::before {
  content: '';
  width: .625rem;
  height: .625rem;
  border-radius: 1rem;
  background: white;
}
.slide-controls button.active::before {
  width: 1.5rem;
}
.hero-copy .overline,.hero-copy p {
  color: white;
}
.nx-card,.bp-card {
  overflow: visible;
}
.nx-cover,.nx-card-content,.bp-card-logo,.bp-card-jobs,.bp-contact {
  min-width: 0;
}
.nx-card :is(h2,h3),.bp-card h3,.partner-name,.bp-contact,.mega-link-copy strong {
  overflow-wrap: anywhere;
}
.mega-item[aria-disabled='true'] {
  cursor: default;
}
.partner-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .75rem;
  margin: 1rem 0;
}
.partner-control {
  min-height: 2.875rem;
  padding: .65rem .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: white;
  border: 1px solid var(--field-border);
  border-radius: .5rem;
  color: var(--green-dark);
  font-weight: var(--weight-ui);
}
.nx-auto-load {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  margin: 1rem 0;
  min-height: 2.875rem;
  cursor: pointer;
  font-size: var(--text-detail);
}
.nx-auto-load input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--green-dark);
}
@media (max-width:70rem) {
  .main-nav {
    max-height: calc(100dvh - 6rem);
    overflow: auto;
  }
}
@media (max-width:40rem) {
  :root {
    --text-h1: 2.25rem;
    --text-h2: 1.875rem;
    --text-h3: 1.5rem;
    --card-image-height: 14.0625rem;
  }
  .search-trigger > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .search-trigger {
    width: 2.875rem;
    padding: .65rem;
  }
  .mobile-trigger {
    min-width: 2.875rem;
  }
  .header-inner {
    gap: .375rem;
  }
  .brand img {
    width: 4.75rem;
  }
  .nx-intro h1,.bp-intro h1,.bp-profile h1 {
    overflow-wrap: anywhere;
  }
  .nx-results,.bp-results-bar {
    flex-wrap: wrap;
  }
  .bp-detail-photo {
    height: auto;
    max-height: 22rem;
    object-fit: contain;
  }
  .nx-light-top {
    gap: .75rem;
  }
  .bp-card-logo img {
    max-width: 100%;
  }
  .bp-profile-logo {
    max-width: 100%;
  }
  .partner-controls {
    justify-content: flex-start;
  }
}
.bp-offer-filters label {
  min-height: 2.875rem;
}
.partner-card[data-partner-target] {
  cursor: pointer;
}
.nx-gallery-track .nx-slide:focus-visible {
  outline-offset: -6px;
}
p,figcaption,.nx-gallery-caption,.nx-light-bottom,.service-list small,.school-path small,.hero-service small,.hero-service .mensa-copy > span,.bp-card-jobs,.bp-job-description,.nx-reading :is(strong,b) {
  font-weight: var(--weight-body);
}
.section-heading h2 {
  font-size: var(--text-news-section);
}
.service-list strong {
  font-size: var(--text-body);
  font-weight: var(--weight-heading);
}
.school-intro h2 {
  font-size: var(--text-school-section);
}
.hero-service .mensa-copy > span {
  font-size: var(--text-detail);
  font-weight: var(--weight-body);
  line-height: 1.55;
}
.bp-card-location,.bp-card-jobs,.bp-tag,.bp-offer,.bp-filter-hint,.bp-active-filters,.bp-job-area,.bp-job-description,.bp-contact-email,.nx-gallery-caption,.nx-gallery-status,.nx-light-top,.nx-load-status,.nx-load-hint {
  font-size: var(--text-detail);
  line-height: 1.5;
}

/* Redaktionelle Unterseiten · gemeinsame Komponenten für alle Schulbereiche. */
.content-page { background: var(--paper); padding: 9.25rem 0 5rem; }
.content-breadcrumb { color: var(--muted); font-size: var(--text-detail); margin-bottom: 2.75rem; }
.content-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; list-style: none; margin: 0; padding: 0; }
.content-breadcrumb li { display: flex; align-items: center; gap: .75rem; min-width: 0; max-width: 100%; min-height: 2.75rem; }
.content-breadcrumb li > :last-child { min-width: 0; overflow-wrap: anywhere; }
.content-breadcrumb .breadcrumb-separator { flex: 0 0 auto; align-self: center; line-height: 1; }
.content-breadcrumb a { min-height: 2.75rem; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: .2em; }
.content-head { max-width: 53rem; margin-bottom: 3.5rem; }
.content-head h1 { margin: 1rem 0 1.5rem; }
.content-head p { max-width: 43rem; margin: 0; color: var(--muted); font-size: var(--text-body); font-weight: var(--weight-body); }
.content-section { margin-block: 4.5rem; }
.content-section > h2 { margin: 0 0 1.75rem; max-width: 52rem; }
.content-section h3 { font-size: var(--type-card-title); margin: 0 0 .75rem; line-height: 1.3; }
.content-section p { margin: 0 0 1rem; }
.content-section .text-link { min-height: 2.875rem; }
.content-feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 3.5rem; }
.content-feature--reverse .content-image { order: 2; }
.content-feature--text { display: block; }
.content-copy { min-width: 0; }
.content-copy h2 { margin: 0 0 1.25rem; }
.content-image { margin: 0; border-radius: var(--card-radius); background: var(--surface); overflow: hidden; }
.content-image img { width: 100%; height: 23rem; object-fit: cover; }
.content-prose { max-width: 43rem; }
.content-prose h2 { margin: 0 0 1.25rem; }
.content-prose a { text-decoration: underline; text-underline-offset: .2em; }
.content-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.content-grid--two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.content-card { position: relative; min-width: 0; border-radius: var(--card-radius); background: var(--surface); padding: 1.75rem; border: 1px solid var(--line); }
.content-card p { font-weight: var(--weight-body); }
.content-card-mark { display: block; width: 2rem; height: .25rem; background: var(--yellow); margin-bottom: 1.5rem; }
.content-card.tone-blue .content-card-mark { background: var(--blue); }
.content-card.tone-yellow .content-card-mark { background: var(--yellow); }
.content-card.tone-green .content-card-mark { background: var(--green-dark); }
.content-card .text-link { margin-top: .25rem; }
.content-detail { display: block; font-size: var(--text-detail); font-weight: var(--weight-body); color: var(--muted); line-height: 1.55; }
.content-link-list, .content-download-list { padding: 0; list-style: none; margin: 0; }
.content-link-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 2rem; }
.content-link-list li { border-block-start: 1px solid var(--line); min-width: 0; }
.content-link-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; min-height: 5.25rem; }
.content-link-list strong { display: block; font-size: var(--text-body); font-weight: var(--weight-link); margin-bottom: .375rem; }
.content-link-list .icon { flex-shrink: 0; color: var(--green-dark); }
.content-link-list a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.content-download-list { display: grid; gap: 1rem; }
.content-download { min-width: 0; }
.content-download-link { display: grid; grid-template-columns: 3rem minmax(0,1fr); align-items: center; gap: 1.5rem; padding: 1.5rem; border-radius: var(--card-radius); background: var(--blue-surface); color: var(--ink); text-decoration: none; cursor: pointer; }
.download-format { display: grid; justify-items: center; gap: .375rem; color: var(--muted); font-size: var(--text-detail); font-weight: var(--weight-body); line-height: 1.5; }
.download-copy { display: grid; gap: .5rem; min-width: 0; overflow-wrap: anywhere; }
.download-title { font-size: var(--text-body); font-weight: var(--weight-link); line-height: 1.4; }
.download-description { color: var(--muted); font-size: var(--text-detail); font-weight: var(--weight-body); line-height: 1.55; }
.content-download-link:is(:hover,:focus-visible) .download-title { color: var(--green-dark); text-decoration: underline; text-underline-offset: .2em; }
.content-download-link--standalone { margin-block: 1rem; }
.content-icon { width: 3rem; height: 3rem; display: inline-grid; place-items: center; flex-shrink: 0; border-radius: var(--control-radius); background: var(--icon-surface); color: var(--green-dark); }
.content-icon .icon { width: 1.5rem; height: 1.5rem; }
.content-table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--card-radius); background: var(--surface); }
.content-table { width: 100%; border-collapse: collapse; text-align: left; }
.content-table th, .content-table td { padding: 1.125rem 1.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.content-table thead { background: var(--blue-surface); color: var(--blue-ink); }
.content-table th { font-weight: var(--weight-label); }
.content-table tr:last-child > * { border-bottom: 0; }
.content-faq { border-top: 1px solid var(--line); }
.content-faq details { border-bottom: 1px solid var(--line); padding: .375rem 0; }
.content-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; min-height: 3.25rem; padding: .75rem 0; font-weight: var(--weight-label); }
.content-faq summary .icon { transform: rotate(90deg); color: var(--green-dark); flex-shrink: 0; }
.content-faq details[open] summary .icon { transform: rotate(-90deg); }
.content-faq details p { max-width: 47rem; padding: .5rem 0 1rem; }
.page-jumps { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 3rem; }
.page-jumps a { display: inline-flex; align-items: center; padding: .625rem 1rem; min-height: var(--control-height); font-size: var(--text-detail); font-weight: var(--weight-ui); border: 1px solid var(--green-dark); border-radius: var(--control-radius); background: var(--surface); color: var(--green-dark); }
.page-jumps a:hover { background: var(--sage); }
.people-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.person-card { padding: 0; }
.person-photo { border-radius: var(--card-radius) var(--card-radius) 0 0; overflow: hidden; background: var(--icon-surface); }
.person-photo img { height: 16rem; width: 100%; object-fit: contain; object-position: center; }
.person-photo--symbol img { object-fit: contain; padding: 2rem; }
.person-copy { padding: 1.5rem; }
.person-role { color: var(--muted); font-size: var(--text-detail); }
.person-contact { display: block; min-height: 2.75rem; align-content: center; color: var(--green-dark); overflow-wrap: anywhere; font-size: var(--text-detail); text-decoration: underline; text-underline-offset: .2em; }
.content-group-visual { display: flex; align-items: center; justify-content: center; gap: 3rem; background: var(--icon-surface); border-radius: var(--card-radius); padding: 3rem; }
.content-group-visual img { width: 15rem; }
.content-group-visual h2 { max-width: 30rem; margin: .75rem 0 0; }
.app-card > .content-icon { margin-bottom: 1.25rem; }
.app-downloads { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.library-search { display: flex; flex-direction: column; align-items: stretch; max-width: 34rem; margin-bottom: 1rem; }
.library-search input { min-width: 0; min-height: var(--control-height); border: 1px solid var(--field-border); border-radius: var(--control-radius); padding: .75rem 1rem; background: var(--surface); color: var(--ink); }
.document-group { margin-top: 2.5rem; }
.document-archive { margin-top: 2.5rem; }
.document-archive > summary { cursor: pointer; padding: 1rem; border: 1px solid var(--green-dark); border-radius: var(--control-radius); background: var(--surface); color: var(--green-dark); font-size: var(--text-body); font-weight: var(--weight-label); }
.document-archive > p { margin-top: 1rem; }
.content-bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.content-card address { font-style: normal; }
@media (max-width:62.5rem) {
  .content-feature { gap: 2rem; }
  .content-grid, .people-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .content-image img { height: 20rem; }
}
@media (max-width:40rem) {
  .content-page { padding-top: 7rem; padding-bottom: 3rem; }
  .content-breadcrumb { margin-bottom: 1.5rem; }
  .content-head { margin-bottom: 2.5rem; }
  .content-section { margin-block: 3rem; }
  .content-feature, .content-grid, .people-grid, .content-grid--two, .content-link-list { grid-template-columns: minmax(0,1fr); }
  .content-feature--reverse .content-image { order: 0; }
  .content-image img { height: 17rem; }
  .content-card { padding: 1.5rem; }
  .person-card { padding: 0; }
  .content-group-visual { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.5rem; }
  .content-group-visual img { width: 10rem; align-self: center; }
  .content-table th, .content-table td { padding: .75rem; min-width: 7rem; }
  .content-download-link { gap: 1rem; padding: 1.125rem; }
}
