/* Optionale Darstellungshilfen und grundlegende Fokusdarstellung */
:root {
  --a11y-zoom: 1;
}

body {
  zoom: var(--a11y-zoom);
}

.eyebrow {
  font-size: 15px !important;
}

:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 4px;
}

.accessibility-tools {
  position: relative;
  flex: 0 0 auto;
}

.accessibility-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--ink);
  background: #fff;
  font: 600 14px/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.accessibility-toggle:hover,
.accessibility-toggle[aria-expanded="true"] {
  border-color: var(--ink);
}

.accessibility-symbol {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.accessibility-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 268px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 55px rgba(25, 43, 35, .16);
  z-index: 100;
}

.accessibility-panel[hidden] {
  display: none;
}

.accessibility-title {
  margin: 0 0 14px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.font-controls {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.font-controls button {
  min-height: 46px;
  border: 0;
  color: var(--ink);
  background: var(--soft);
  font: 700 17px/1 "Manrope", sans-serif;
  cursor: pointer;
}

.font-controls button:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.font-status {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.contrast-toggle,
.display-reset {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  font: 600 14px/1.2 "DM Sans", sans-serif;
  cursor: pointer;
}

.contrast-toggle {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
}

.contrast-toggle[aria-pressed="true"] {
  color: #fff;
  background: #000;
}

.display-reset {
  margin-top: 8px;
  border: 0;
  color: var(--muted);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.high-contrast {
  --ink: #000;
  --muted: #111;
  --line: #000;
  --soft: #fff;
  --green: #004433;
  --green-dark: #000;
  --lime: #f1ff63;
}

html.high-contrast body,
html.high-contrast .site-header,
html.high-contrast .accessibility-panel,
html.high-contrast .contact-card,
html.high-contrast .course-details {
  color: #000;
  background: #fff;
}

html.high-contrast .site-header {
  border-bottom-color: #000;
}

html.high-contrast .hero h1 span,
html.high-contrast .eyebrow,
html.high-contrast a:not(.button):not(.nav-contact) {
  color: #000;
}

html.high-contrast main a:not(.button) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

html.high-contrast .course-shell,
html.high-contrast .contact,
html.high-contrast .button-primary,
html.high-contrast .button-dark,
html.high-contrast .nav-contact:hover {
  color: #fff;
  background: #000;
}

html.high-contrast .course-shell .eyebrow,
html.high-contrast .contact .eyebrow {
  color: #f1ff63;
}

html.high-contrast .service-card,
html.high-contrast .contact-card,
html.high-contrast .course-details,
html.high-contrast .button,
html.high-contrast .nav-contact {
  border: 2px solid #000;
}

html.high-contrast .contact-copy > p:last-child,
html.high-contrast .course-date span,
html.high-contrast .course-times span,
html.high-contrast .course-bottom span {
  color: #fff;
}

@media (max-width: 1080px) {
  .accessibility-label { display: none; }
}

@media (max-width: 720px) {
  .accessibility-toggle {
    min-width: 44px;
    justify-content: center;
    padding-inline: 10px;
  }

  .accessibility-panel {
    position: fixed;
    top: 86px;
    right: 14px;
    left: 14px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
