:root {
  --ink: #111318;
  --paper: #ffffff;
  --soft: #f7f8f9;
  --soft-2: #eef0f2;
  --line: #d9dde2;
  --red: #d5161b;
  --red-dark: #a90e12;
  --muted: #656c75;
  --radius: 10px;
  --shadow: 0 14px 34px rgba(17, 19, 24, .10);
  --wrap: min(1280px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.content-narrow { max-width: 820px; }
.content-wide { max-width: 1120px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.kcp-icon { width: 1.5em; height: 1.5em; display: inline-block; fill: currentColor; flex: 0 0 auto; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid #e2e4e7; backdrop-filter: blur(10px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 320px; text-decoration: none; }
.brand img { width: 66px; height: 66px; object-fit: cover; border-radius: 50%; }
.brand__text { display: grid; line-height: 1.02; letter-spacing: -.035em; }
.brand__text strong { font-size: 1.25rem; }
.site-menu, .site-menu ul, .footer-menu { list-style: none; margin: 0; padding: 0; }
.site-menu { display: flex; align-items: center; gap: 24px; }
.site-menu > li { position: relative; }
.site-menu a { display: block; padding: 33px 3px 29px; text-decoration: none; font-size: .95rem; font-weight: 700; white-space: nowrap; }
.site-menu > li > a { border-bottom: 3px solid transparent; }
.site-menu > li:hover > a,
.site-menu > .current-menu-item > a,
.site-menu > .current-menu-ancestor > a,
.site-menu > .current_page_item > a { color: var(--red); border-bottom-color: var(--red); }
.site-menu > .menu-item-has-children > a::after { content: "⌄"; margin-left: 7px; font-size: .82em; color: #4d5157; }
.site-menu ul { display: none; position: absolute; top: calc(100% - 1px); left: -18px; min-width: 224px; padding: 9px 0; background: #fff; border: 1px solid var(--line); border-radius: 0 0 9px 9px; box-shadow: var(--shadow); }
.site-menu li:hover > ul, .site-menu li:focus-within > ul { display: block; }
.site-menu ul li { position: relative; }
.site-menu ul li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--red); transform: translateY(-50%); }
.site-menu ul a { padding: 9px 16px 9px 33px; font-size: .84rem; font-weight: 600; }
.site-menu ul a:hover { color: var(--red); background: #fafafa; }
.menu-toggle { display: none; border: 0; background: var(--ink); color: #fff; width: 46px; height: 46px; border-radius: 8px; cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 21px; height: 2px; background: currentColor; margin: auto; content: ""; transition: .2s ease; }
.menu-toggle__bars::before { transform: translateY(-7px); }
.menu-toggle__bars::after { transform: translateY(5px); }

.home-main { background: #fff; }
.home-hero { position: relative; overflow: hidden; min-height: 350px; background: #f5f7f8; }
.home-hero__brush { position: absolute; inset: 0; pointer-events: none; opacity: .72; background:
  linear-gradient(164deg, transparent 0 14%, rgba(219,224,228,.58) 14.3% 15.5%, transparent 15.8% 28%, rgba(225,229,232,.62) 28.3% 30%, transparent 30.3% 44%, rgba(218,223,227,.48) 44.3% 46%, transparent 46.3% 100%),
  linear-gradient(18deg, transparent 0 16%, rgba(226,230,233,.52) 16.3% 17.4%, transparent 17.7% 36%, rgba(216,221,225,.48) 36.3% 38.2%, transparent 38.5% 100%),
  radial-gradient(circle at 32% 50%, rgba(255,255,255,.98) 0 26%, rgba(255,255,255,.86) 43%, transparent 68%);
}
.home-hero__inner { position: relative; min-height: 350px; display: grid; grid-template-columns: 54% 46%; align-items: stretch; }
.home-hero__copy { position: relative; z-index: 3; align-self: center; padding: 46px 0 48px 4px; }
.home-hero__copy h1 { margin: 0 0 5px; max-width: 650px; font-size: clamp(3.25rem, 4.7vw, 4.9rem); line-height: .96; letter-spacing: -.055em; }
.home-hero__copy p { margin: 0 0 23px; font-size: clamp(1.28rem, 1.7vw, 1.7rem); letter-spacing: -.025em; }
.home-hero__media { position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; width: 51%; overflow: hidden; }
.home-hero__media::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, #f5f7f8 0%, rgba(245,247,248,.78) 8%, rgba(245,247,248,.2) 25%, transparent 43%); }
.home-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 45%; filter: saturate(.88) contrast(.98) brightness(1.03); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 4px; text-decoration: none; font-size: .9rem; font-weight: 800; transition: background .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--red); color: #fff; }
.button--primary:hover { background: var(--red-dark); }

.home-audiences { padding: 14px 0 12px; background: #fff; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.audience-card { min-height: 150px; display: grid; grid-template-columns: 54px 1fr; align-items: start; gap: 14px; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: #fff; box-shadow: 0 4px 14px rgba(17,19,24,.035); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.audience-card:hover { transform: translateY(-3px); border-color: rgba(213,22,27,.34); box-shadow: var(--shadow); }
.audience-card__icon { display: flex; justify-content: center; color: var(--red); font-size: 2.15rem; line-height: 1; padding-top: 1px; }
.audience-card__body { min-width: 0; display: flex; flex-direction: column; height: 100%; }
.audience-card__body strong { min-height: 42px; font-size: 1.06rem; line-height: 1.18; }
.audience-card__description { margin-top: 4px; color: #3f444a; font-size: .78rem; line-height: 1.45; }
.audience-card__link { margin-top: auto; padding-top: 10px; color: var(--red); font-size: .78rem; font-weight: 700; }

.home-updates { padding: 0 0 12px; }
.updates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.update-panel { min-height: 162px; padding: 16px 18px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.update-panel__header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 9px; }
.update-panel__title { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; font-size: .82rem; }
.update-panel__title .kcp-icon { color: var(--red); width: 1.35em; height: 1.35em; }
.update-panel__header a { flex: 0 0 auto; color: var(--red); font-size: .72rem; font-weight: 800; text-decoration: none; }
.update-list { list-style: none; margin: 0; padding: 0; }
.update-list li { display: grid; grid-template-columns: 86px 1fr; gap: 8px; align-items: start; padding: 5px 0; font-size: .73rem; line-height: 1.32; }
.update-list time { color: #30343a; font-weight: 600; white-space: nowrap; }
.update-list span { color: #24282d; }

.home-club { padding: 0 0 24px; }
.home-club__grid { display: grid; grid-template-columns: 1.04fr .88fr 1.18fr; gap: 12px; align-items: stretch; }
.home-club__image { width: 100%; height: 100%; min-height: 250px; object-fit: cover; border-radius: var(--radius); }
.home-club__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 22px 18px; }
.home-club__content h2 { margin: 0 0 14px; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; letter-spacing: -.03em; }
.home-club__content p { margin: 0 0 22px; color: #353a40; font-size: .82rem; line-height: 1.6; }
.menu-overview { padding: 16px 17px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.menu-overview h2 { margin: 0 0 12px; font-size: .86rem; line-height: 1.1; text-transform: uppercase; }
.menu-overview__columns { display: grid; grid-template-columns: .55fr repeat(5, minmax(0, 1fr)); gap: 10px; }
.menu-overview__columns > div { min-width: 0; }
.menu-overview__columns strong { display: block; min-height: 30px; margin-bottom: 3px; color: var(--red); font-size: .58rem; line-height: 1.15; }
.menu-overview__symbol { display: block; color: var(--red); font-size: .9rem; }
.menu-overview__columns a { display: block; margin: 0 0 3px; font-size: .57rem; line-height: 1.22; text-decoration: none; }
.menu-overview__columns a:hover { color: var(--red); }

.section { padding: 80px 0; }
.section--content { padding-top: 20px; }
.page-main { min-height: 65vh; background: var(--soft); padding-bottom: 90px; }
.page-hero { padding: 64px 0 94px; color: #fff; background: linear-gradient(115deg, #111318, #24272c); }
.page-hero h1 { margin: 8px 0 0; font-size: clamp(2.8rem, 5vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.content-surface { position: relative; margin-top: -48px; padding: clamp(24px, 5vw, 52px); background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.entry-content { font-size: 1rem; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content a { color: var(--red-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
.entry-content table { width: 100% !important; max-width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { padding: 10px; vertical-align: top; }
.entry-content img { max-width: 100% !important; height: auto !important; border-radius: 8px; }
.entry-content font { font-family: inherit !important; font-size: inherit !important; }
.entry-content [align="center"] { text-align: center; }
.entry-content [align="left"] { text-align: left; }
.entry-content [bgcolor] { background: #f1f3f5 !important; }
.posts-grid { display: grid; gap: 22px; padding-top: 50px; }
.post-card { padding: 28px; background: #fff; border-radius: 14px; box-shadow: 0 8px 30px rgba(17,19,24,.06); }
.post-card h2 { margin: 8px 0 12px; }
.post-card h2 a { text-decoration: none; }
.empty-state { padding: 120px 0; }

.site-footer { padding: 12px 0 10px; color: var(--ink); background: #fff; border-top: 1px solid var(--line); }
.site-footer__top { min-height: 58px; display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: 30px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand span { display: grid; line-height: 1.03; }
.footer-brand strong { font-size: .76rem; }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.footer-menu li + li::before { content: "|"; margin: 0 10px; color: #a5abb3; }
.footer-menu a { color: var(--ink); text-decoration: none; font-size: .78rem; }
.footer-menu a:hover { color: var(--red); }
.site-footer__bottom { margin-top: 5px; padding-top: 8px; border-top: 1px solid #eceef0; text-align: center; color: var(--muted); font-size: .7rem; }

@media (max-width: 1180px) {
  :root { --wrap: min(100% - 40px, 1120px); }
  .brand { min-width: 260px; }
  .brand__text strong { font-size: 1.06rem; }
  .site-menu { gap: 13px; }
  .site-menu a { font-size: .86rem; }
  .home-club__grid { grid-template-columns: 1fr 1fr; }
  .menu-overview { grid-column: 1 / -1; }
}

@media (max-width: 1050px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .primary-navigation { display: none; position: absolute; left: 20px; right: 20px; top: 80px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: calc(100vh - 110px); overflow: auto; }
  .primary-navigation.is-open { display: block; }
  .site-menu { align-items: stretch; flex-direction: column; gap: 0; }
  .site-menu a { padding: 12px; border-bottom: 0; }
  .site-menu > li:hover > a, .site-menu > .current-menu-item > a, .site-menu > .current-menu-ancestor > a { border-bottom-color: transparent; background: var(--soft); }
  .site-menu ul { display: none; position: static; min-width: 0; margin: 0 0 8px 14px; padding: 0 0 0 10px; border: 0; border-left: 1px solid var(--line); border-radius: 0; box-shadow: none; }
  .site-menu li.submenu-open > ul { display: block; }
  .site-menu ul li::before { left: 3px; }
  .site-menu ul a { padding-left: 18px; }
  .home-hero__inner { grid-template-columns: 50% 50%; }
  .home-hero__media { width: 54%; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .updates-grid { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 720px) {
  :root { --wrap: min(100% - 28px, 1120px); }
  .site-header__inner { min-height: 76px; }
  .brand { min-width: 0; }
  .brand img { width: 52px; height: 52px; }
  .brand__text strong { font-size: .8rem; }
  .primary-navigation { top: 70px; }
  .home-hero { min-height: auto; }
  .home-hero__inner { min-height: auto; display: block; }
  .home-hero__copy { padding: 48px 0 34px; }
  .home-hero__copy h1 { max-width: 90%; font-size: clamp(3rem, 14vw, 4.5rem); }
  .home-hero__media { position: relative; width: calc(100% + 28px); height: 300px; margin-left: -14px; }
  .home-hero__media::before { background: linear-gradient(180deg, #f5f7f8 0%, rgba(245,247,248,.15) 24%, transparent 45%); }
  .audience-grid, .home-club__grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 135px; }
  .home-club__image { min-height: 220px; }
  .menu-overview { grid-column: auto; }
  .menu-overview__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .site-footer__top { grid-template-columns: 1fr; align-items: flex-start; }
  .footer-menu { justify-content: flex-start; }
  .page-hero { padding: 52px 0 84px; }
  .content-surface { border-radius: 12px; }
  .entry-content table { display: block; overflow-x: auto; }
}

/* KCP Modern 0.5 --------------------------------------------------------- */
:focus-visible {
  outline: 3px solid #111318;
  outline-offset: 3px;
}

.brand img,
.footer-brand img {
  object-fit: contain;
  background: #fff;
}

/* A wider overlap and several soft gradients remove the hard vertical edge
   between the welcome text and the existing club photo. */
.home-hero__inner {
  grid-template-columns: 51% 49%;
}
.home-hero__copy {
  z-index: 4;
}
.home-hero__media {
  left: 41%;
  right: 0;
  width: auto;
}
.home-hero__media::before {
  background:
    linear-gradient(90deg,
      #f5f7f8 0%,
      rgba(245,247,248,.98) 8%,
      rgba(245,247,248,.88) 18%,
      rgba(245,247,248,.48) 30%,
      rgba(245,247,248,.12) 43%,
      transparent 57%),
    linear-gradient(180deg, rgba(245,247,248,.18), transparent 22%, transparent 78%, rgba(245,247,248,.13));
}
.home-hero__media img {
  object-position: 58% 44%;
}

/* The menu overview has been removed. The club block now has two balanced
   columns and uses the approved shrine artwork. */
.home-club {
  padding: 0 0 28px;
}
.home-club__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 28px;
  align-items: center;
}
.home-club__art {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  aspect-ratio: 4 / 3;
  border: 1px solid #e7e1db;
  border-radius: 14px;
  background: #fbfaf7;
  box-shadow: 0 10px 30px rgba(17,19,24,.055);
}
.home-club__shrine {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.93) contrast(.99) brightness(1.015);
}
.home-club__art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 42px rgba(255,255,255,.48);
}
.home-club__logo-frame {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 56.5%;
  width: clamp(108px, 21%, 145px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 9px rgba(255,255,255,.97),
    0 6px 18px rgba(17,19,24,.13);
}
.home-club__logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.home-club__content {
  max-width: 520px;
  padding: 34px 20px 34px 0;
}
.home-club__content h2 {
  font-size: clamp(1.65rem, 2vw, 2.1rem);
}
.home-club__content p {
  font-size: .96rem;
  line-height: 1.68;
}

/* Footer deliberately contains only the relevant legal/contact links. */
.footer-navigation {
  min-width: 0;
}
.footer-a11y-button {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: .78rem;
  cursor: pointer;
}
.footer-menu a:hover,
.footer-a11y-button:hover {
  color: var(--red);
}

/* Compact optional display controls. This is a convenience layer and does
   not replace accessible markup, keyboard use, labels or sufficient contrast. */
.a11y-fab {
  position: fixed;
  z-index: 1001;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 28px rgba(17,19,24,.24);
  cursor: pointer;
}
.a11y-fab:hover {
  background: var(--red-dark);
}
.a11y-fab svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}
.a11y-panel {
  position: fixed;
  z-index: 1002;
  right: 22px;
  bottom: 86px;
  width: min(370px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(17,19,24,.22);
}
.a11y-panel[hidden] {
  display: none;
}
.a11y-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.a11y-panel__eyebrow {
  display: block;
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.a11y-panel h2 {
  margin: 3px 0 0;
  font-size: 1.35rem;
}
.a11y-panel__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--soft-2);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}
.a11y-panel__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.a11y-panel__grid button,
.a11y-panel__reset {
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}
.a11y-panel__grid button[aria-pressed="true"] {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}
.a11y-panel__reset {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  background: #fff;
}
.a11y-panel__note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
}

/* Persisted user display preferences. */
html.a11y-font-large {
  font-size: 112.5%;
}
html.a11y-high-contrast {
  --ink: #000;
  --paper: #fff;
  --soft: #fff;
  --soft-2: #fff;
  --line: #000;
  --red: #a80000;
  --red-dark: #780000;
  --muted: #111;
}
html.a11y-high-contrast body,
html.a11y-high-contrast .site-header,
html.a11y-high-contrast .site-footer,
html.a11y-high-contrast .audience-card,
html.a11y-high-contrast .update-panel,
html.a11y-high-contrast .content-surface,
html.a11y-high-contrast .a11y-panel {
  background: #fff;
}
html.a11y-high-contrast .audience-card,
html.a11y-high-contrast .update-panel,
html.a11y-high-contrast .home-club__art,
html.a11y-high-contrast .content-surface {
  border: 2px solid #000;
  box-shadow: none;
}
html.a11y-highlight-links a:not(.button):not(.brand):not(.footer-brand) {
  text-decoration: underline !important;
  text-decoration-thickness: .14em !important;
  text-underline-offset: .2em !important;
}
html.a11y-reduce-motion,
html.a11y-reduce-motion * {
  scroll-behavior: auto !important;
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
}

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

@media (max-width: 1180px) {
  .home-club__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
  }
}

@media (max-width: 820px) {
  .home-club__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .home-club__content {
    max-width: none;
    padding: 24px 4px 12px;
  }
}

@media (max-width: 720px) {
  .home-hero__media {
    left: auto;
    right: auto;
    width: calc(100% + 28px);
  }
  .home-hero__media::before {
    background:
      linear-gradient(180deg, #f5f7f8 0%, rgba(245,247,248,.65) 12%, transparent 38%),
      linear-gradient(90deg, rgba(245,247,248,.35), transparent 30%, transparent 70%, rgba(245,247,248,.18));
  }
  .home-club__art {
    min-height: 260px;
  }
  .a11y-panel {
    right: 16px;
    bottom: 82px;
  }
  .a11y-fab {
    right: 16px;
    bottom: 16px;
  }
}

/* KCP Modern 0.6 --------------------------------------------------------- */
/* Karate-specific audience icons: red gi outlines with visible beginner
   and black belts. The SVG files are local and load without external calls. */
.audience-card {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 18px 17px;
}
.audience-card__icon {
  width: 82px;
  height: 74px;
  padding: 0;
  align-items: flex-start;
}
.audience-card__icon img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: contain;
}
.audience-card__body strong {
  min-height: 40px;
  font-size: 1.08rem;
}

/* Final fine-tuning of the hero transition. The photo starts a little later
   and the fade is shorter, so the left person remains recognisable. */
.home-hero__media {
  left: 43%;
}
.home-hero__media::before {
  background:
    linear-gradient(90deg,
      #f5f7f8 0%,
      rgba(245,247,248,.96) 7%,
      rgba(245,247,248,.76) 16%,
      rgba(245,247,248,.34) 27%,
      rgba(245,247,248,.08) 39%,
      transparent 51%),
    linear-gradient(180deg, rgba(245,247,248,.12), transparent 20%, transparent 82%, rgba(245,247,248,.10));
}

/* More compact, balanced club section. The uploaded original KCP logo remains
   untouched and is only scaled/positioned within the shrine opening. */
.home-club {
  padding-bottom: 22px;
}
.home-club__grid {
  grid-template-columns: minmax(0, .98fr) minmax(360px, 1.02fr);
  gap: 32px;
}
.home-club__art {
  min-height: 290px;
  aspect-ratio: 16 / 10;
}
.home-club__shrine {
  object-position: center 54%;
}
.home-club__logo-frame {
  top: 57%;
  width: clamp(94px, 17%, 124px);
  box-shadow:
    0 0 0 7px rgba(255,255,255,.97),
    0 5px 14px rgba(17,19,24,.12);
}
.home-club__content {
  max-width: 600px;
  padding: 26px 12px 26px 0;
}
.home-club__content h2 {
  position: relative;
  padding-top: 15px;
}
.home-club__content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 3px;
  border-radius: 99px;
  background: var(--red);
}

/* Flatter footer and slightly larger, clearer master logo. */
.site-footer {
  padding: 8px 0 7px;
}
.site-footer__top {
  min-height: 50px;
}
.footer-brand img {
  width: 44px;
  height: 44px;
}
.site-footer__bottom {
  margin-top: 2px;
  padding-top: 6px;
}

.a11y-fab {
  right: 26px;
  bottom: 26px;
}
.a11y-panel {
  right: 26px;
  bottom: 92px;
}

@media (max-width: 1180px) {
  .audience-card {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .audience-card__icon {
    width: 70px;
  }
  .home-club__grid {
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  }
}

@media (max-width: 820px) {
  .home-club__grid {
    grid-template-columns: 1fr;
  }
  .home-club__art {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .audience-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .audience-card__icon {
    width: 76px;
  }
  .home-hero__media {
    left: auto;
  }
  .a11y-fab {
    right: 18px;
    bottom: 18px;
  }
  .a11y-panel {
    right: 16px;
    bottom: 82px;
  }
}

/* KCP Modern 0.7 --------------------------------------------------------- */
/* The home club teaser now uses the longer, already published club text and
   deliberately has no additional button. */
.home-club__content p + p {
  margin-top: 10px;
}
.home-club__content p:last-child {
  margin-bottom: 0;
}

/* Dedicated “Kurzvorstellung” page. */
.about-page {
  min-height: 70vh;
  background: #f7f8f9;
}
.about-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(255,255,255,.98), rgba(247,248,249,.95)),
    #fff;
}
.about-hero::before,
.about-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 2px;
  background: rgba(17,19,24,.045);
  transform: rotate(-13deg);
}
.about-hero::before { left: -150px; top: 130px; }
.about-hero::after { left: -60px; top: 235px; }
.about-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 64px;
  align-items: center;
}
.about-hero__eyebrow,
.about-sidebar__eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.about-hero h1 {
  margin: 0 0 22px;
  font-size: clamp(3.3rem, 6.2vw, 6rem);
  line-height: .92;
  letter-spacing: -.065em;
}
.about-hero__lead {
  max-width: 760px;
  margin: 0;
  color: #363b42;
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  line-height: 1.62;
}
.about-hero__visual {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  border: 1px solid #e9e1d8;
  border-radius: 18px;
  background: #fcfaf7;
  box-shadow: 0 18px 42px rgba(17,19,24,.08);
}
.about-hero__shrine {
  width: 100%;
  height: 100%;
  min-height: 315px;
  object-fit: cover;
  object-position: center 54%;
  filter: saturate(.9) contrast(.99) brightness(1.025);
}
.about-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 42px rgba(255,255,255,.5);
}
.about-hero__logo-frame {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 57%;
  width: 110px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 7px rgba(255,255,255,.97), 0 6px 18px rgba(17,19,24,.13);
}
.about-hero__logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.about-facts {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  padding: 0 0 36px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.about-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-inline: 1px solid var(--line);
}
.about-fact {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}
.about-fact:last-child { border-right: 0; }
.about-fact strong {
  color: var(--red);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.about-fact span {
  margin-top: 7px;
  color: #41464d;
  font-size: .82rem;
}
.about-content {
  padding: 60px 0 86px;
}
.about-content__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 38px;
  align-items: start;
}
.about-story {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17,19,24,.055);
}
.about-section {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  padding: 34px 38px;
  border-bottom: 1px solid var(--line);
}
.about-section:last-child { border-bottom: 0; }
.about-section__number {
  margin: 2px 0 0;
  color: var(--red);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.about-section h2,
.about-section h3 {
  margin: 0 0 15px;
  letter-spacing: -.025em;
}
.about-section h2 { font-size: clamp(1.35rem, 2vw, 1.72rem); }
.about-section h3 {
  margin-top: 25px;
  font-size: 1.05rem;
}
.about-section p {
  margin: 0 0 15px;
  color: #363b42;
  font-size: .96rem;
  line-height: 1.78;
}
.about-section p:last-child { margin-bottom: 0; }
.about-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 20px;
}
.about-timeline,
.about-download {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17,19,24,.045);
}
.about-timeline {
  padding: 27px 27px 10px;
}
.about-timeline h2,
.about-download h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: -.025em;
}
.about-timeline ol {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.about-timeline li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 0 22px 22px;
  border-left: 2px solid #eceef0;
}
.about-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px #fff;
}
.about-timeline li:last-child { padding-bottom: 12px; }
.about-timeline time {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}
.about-timeline strong {
  font-size: .9rem;
}
.about-download {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
}
.about-download__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
}
.about-download__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.about-download p:not(.about-sidebar__eyebrow) {
  margin: 10px 0 14px;
  color: #50565d;
  font-size: .8rem;
  line-height: 1.55;
}
.about-download__link {
  color: var(--red);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.about-download__link:hover { text-decoration: underline; }

@media (max-width: 1050px) {
  .about-hero__grid { grid-template-columns: 1fr 380px; gap: 34px; }
  .about-content__layout { grid-template-columns: 1fr; }
  .about-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 820px) {
  .about-hero { padding-top: 42px; }
  .about-hero__grid { grid-template-columns: 1fr; }
  .about-hero__visual { min-height: 270px; }
  .about-hero__shrine { min-height: 270px; }
  .about-facts__grid { grid-template-columns: repeat(2, 1fr); }
  .about-fact:nth-child(2) { border-right: 0; }
  .about-fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .about-hero h1 { font-size: clamp(3rem, 17vw, 4.5rem); }
  .about-facts__grid { grid-template-columns: 1fr; }
  .about-fact,
  .about-fact:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .about-fact:last-child { border-bottom: 0; }
  .about-section {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 22px;
  }
  .about-section__number { margin-bottom: 0; }
}

/* KCP Modern 0.8 --------------------------------------------------------- */
/* Compact refinement of the “Kurzvorstellung” page. */
.about-hero--compact { padding: 48px 0 46px; }
.about-hero--compact .about-hero__grid { min-height: 360px; }
.about-hero--compact h1 { font-size: clamp(3.7rem, 6.1vw, 6.2rem); }
.about-hero--compact .about-hero__lead { max-width: 690px; line-height: 1.55; }
.about-hero--compact .about-hero__visual { min-height: 330px; }
.about-facts--compact { padding: 0; }
.about-facts--compact .about-fact { min-height: 105px; padding: 22px 26px; }
.about-facts--compact .about-fact strong { font-size: clamp(1.9rem, 3vw, 2.65rem); }
.about-facts--compact .about-fact span { color: #4f5660; }
.about-story { max-width: 100%; }
.about-section { padding: 44px 44px 44px 36px; grid-template-columns: 46px minmax(0, 1fr); }
.about-section > div { max-width: 790px; }
.about-section p { line-height: 1.78; margin-bottom: 18px; }
.about-section--years > div { max-width: 850px; }
.about-years { display: grid; gap: 18px; margin-top: 26px; }
.about-year { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid #e8ebee; }
.about-year:first-child { border-top: 0; padding-top: 0; }
.about-year > strong { color: var(--red); font-size: .86rem; letter-spacing: .04em; }
.about-year p { margin: 0; }
.about-sidebar { gap: 18px; }
.about-timeline, .about-download { padding: 25px 25px 23px; }
.about-timeline li { padding: 0 0 18px 21px; }
.about-timeline li::before { width: 9px; height: 9px; }
.about-download { grid-template-columns: 48px 1fr; }
.about-download__icon { width: 48px; height: 48px; }

/* Shared subpage hero. */
.subpage-hero { position: relative; overflow: hidden; color: var(--ink); background: linear-gradient(112deg, #fff 0%, #f7f8f9 72%, #eef1f3 100%); border-bottom: 1px solid var(--line); }
.subpage-hero::before, .subpage-hero::after { content: ""; position: absolute; width: 520px; height: 2px; background: #e9ecef; transform: rotate(-14deg); }
.subpage-hero::before { left: -130px; top: 72px; }
.subpage-hero::after { left: -75px; top: 160px; }
.subpage-hero__inner { position: relative; z-index: 1; min-height: 280px; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.subpage-hero__eyebrow { margin: 0 0 10px; color: var(--red); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.subpage-hero h1 { margin: 0; font-size: clamp(3.8rem, 7vw, 6.7rem); line-height: .92; letter-spacing: -.065em; }
.subpage-hero__mark { flex: 0 0 190px; width: 190px; height: 190px; display: grid; place-items: center; border: 1px solid #e3e6e9; border-radius: 50%; color: var(--red); background: rgba(255,255,255,.78); box-shadow: 0 20px 50px rgba(17,19,24,.06); }
.subpage-hero__mark svg { width: 88px; height: 88px; fill: currentColor; }

/* Trainingszeiten. */
.schedule-page, .trainer-page { background: #f5f6f7; }
.schedule-section { padding: 54px 0 86px; }
.schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.schedule-day { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 12px 34px rgba(17,19,24,.045); }
.schedule-day__header { min-height: 72px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 17px 21px; border-bottom: 1px solid #e8ebee; }
.schedule-day__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(213,22,27,.09); }
.schedule-day__header h2 { margin: 0; font-size: 1.35rem; }
.schedule-day__header > span:last-child { color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.schedule-day__sessions { padding: 3px 21px 8px; }
.schedule-session { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid #eceef0; }
.schedule-session:last-child { border-bottom: 0; }
.schedule-session time { color: var(--red-dark); font-size: .88rem; font-weight: 800; white-space: nowrap; }
.schedule-session strong { display: block; margin-bottom: 5px; font-size: .95rem; line-height: 1.35; }
.schedule-session span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }

/* Übungsleiter and legacy photo profiles. */
.trainer-section { padding: 54px 0 90px; }
.trainer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.trainer-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(17,19,24,.045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.trainer-card:hover, .trainer-card:focus-within, .trainer-card.is-selected { transform: translateY(-3px); border-color: rgba(213,22,27,.38); box-shadow: 0 18px 38px rgba(17,19,24,.08); }
.trainer-card__link { display: block; height: 100%; color: var(--ink); text-decoration: none; }
.trainer-card__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eef0f2; }
.trainer-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 23%; transition: transform .22s ease; }
.trainer-card:hover .trainer-card__photo img { transform: scale(1.025); }
.trainer-card__body { min-height: 128px; display: flex; flex-direction: column; align-items: flex-start; padding: 18px 19px 17px; }
.trainer-card__body strong { font-size: 1rem; line-height: 1.25; }
.trainer-card__body > span:not(.trainer-card__action) { margin-top: 5px; color: var(--red); font-size: .82rem; font-weight: 800; }
.trainer-card__action { margin-top: auto; padding-top: 18px; color: var(--ink); font-size: .76rem; font-weight: 750; }
.trainer-card:hover .trainer-card__action { color: var(--red); }
.trainer-profile { padding: 46px 0 0; background: #f5f6f7; }
.trainer-profile__back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 24px; color: var(--ink); font-size: .82rem; font-weight: 750; text-decoration: none; }
.trainer-profile__back:hover { color: var(--red); }
.trainer-profile__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.trainer-profile__heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.045em; }
.trainer-profile__heading > strong { padding: 10px 15px; border-radius: 999px; color: #fff; background: var(--red); font-size: .82rem; white-space: nowrap; }
.trainer-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 34px rgba(17,19,24,.045); }
.trainer-gallery a { min-width: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 10px; background: #eef0f2; }
.trainer-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .2s ease; }
.trainer-gallery a:hover img { transform: scale(1.025); }

@media (max-width: 1100px) {
  .trainer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trainer-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .subpage-hero__inner { min-height: 235px; }
  .subpage-hero__mark { flex-basis: 135px; width: 135px; height: 135px; }
  .subpage-hero__mark svg { width: 62px; height: 62px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .trainer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-year { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 580px) {
  .subpage-hero__inner { min-height: 210px; }
  .subpage-hero__mark { display: none; }
  .subpage-hero h1 { font-size: clamp(3.4rem, 17vw, 4.8rem); }
  .schedule-session { grid-template-columns: 1fr; gap: 7px; }
  .trainer-grid, .trainer-gallery { grid-template-columns: 1fr; }
  .trainer-card__photo { aspect-ratio: 16 / 11; }
  .trainer-profile__heading { align-items: flex-start; flex-direction: column; }
  .about-section { padding: 34px 24px; grid-template-columns: 1fr; }
}

/* KCP Modern 0.9 --------------------------------------------------------- */
/* Übungsleiter: karatebezogenes Hero-Icon und hochwertige Profilansicht. */
.subpage-hero__mark--karate img {
  width: 116px;
  height: 116px;
  object-fit: contain;
}

.trainer-page--profile { min-height: calc(100vh - 160px); }
.trainer-page--profile .trainer-profile { padding: 44px 0 88px; }
.trainer-profile__heading { align-items: center; margin-bottom: 28px; }
.trainer-profile__heading h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 5.1rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.trainer-profile__media {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.trainer-profile__media--single { grid-template-columns: minmax(280px, 470px); }
.trainer-profile__portrait,
.trainer-profile__thumb {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 36px rgba(17,19,24,.055);
  cursor: zoom-in;
}
.trainer-profile__portrait { min-height: 490px; }
.trainer-profile__portrait img,
.trainer-profile__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  transition: transform .22s ease;
}
.trainer-profile__portrait.is-lowres img,
.trainer-profile__thumb.is-lowres img {
  object-fit: contain;
  padding: 16px;
  background: #f2f3f4;
}
.trainer-profile__portrait:hover img,
.trainer-profile__thumb:hover img { transform: scale(1.018); }
.trainer-profile__portrait > span,
.trainer-profile__thumb > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17,19,24,.78);
  font-size: .69rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
}
.trainer-profile__portrait:hover > span,
.trainer-profile__portrait:focus-visible > span,
.trainer-profile__thumb:hover > span,
.trainer-profile__thumb:focus-visible > span {
  opacity: 1;
  transform: translateY(0);
}
.trainer-profile__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(215px, 1fr);
  gap: 18px;
}
.trainer-profile__thumb:first-child:last-child { grid-column: 1 / -1; }
.trainer-profile__thumb:nth-child(3):last-child { grid-column: 1 / -1; }

.trainer-card__photo { aspect-ratio: 4 / 5; }
.trainer-card__photo img { object-position: center 16%; }
.trainer-card__photo.is-lowres img {
  object-fit: contain;
  padding: 13px;
  background: #eef0f2;
}
.trainer-card__action { color: var(--red); }

.trainer-lightbox {
  width: min(94vw, 1180px);
  max-width: none;
  max-height: 92vh;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
}
.trainer-lightbox::backdrop { background: rgba(7,9,12,.82); backdrop-filter: blur(5px); }
.trainer-lightbox figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #111318;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.trainer-lightbox img {
  width: 100%;
  max-height: 84vh;
  display: block;
  object-fit: contain;
  background: #111318;
}
.trainer-lightbox figcaption {
  padding: 12px 18px 14px;
  color: #fff;
  background: #111318;
  font-size: .82rem;
}
.trainer-lightbox__close {
  position: absolute;
  z-index: 2;
  top: -17px;
  right: -17px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .trainer-profile__media { grid-template-columns: minmax(240px, 330px) minmax(0, 1fr); }
  .trainer-profile__portrait { min-height: 430px; }
  .trainer-profile__gallery { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .trainer-profile__thumb:nth-child(3):last-child { grid-column: auto; }
}
@media (max-width: 720px) {
  .trainer-profile__heading { align-items: flex-start; }
  .trainer-profile__media,
  .trainer-profile__media--single { grid-template-columns: 1fr; }
  .trainer-profile__portrait { min-height: 440px; }
  .trainer-profile__gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .trainer-lightbox__close { top: 8px; right: 8px; }
}
@media (max-width: 580px) {
  .subpage-hero__mark--karate { display: none; }
  .trainer-card__photo { aspect-ratio: 4 / 5; }
  .trainer-profile__portrait { min-height: 390px; }
}

/* KCP Modern 1.0 ---------------------------------------------------------
   Vereinheitlichte Übungsleiterfotos und flexible Profilgalerien. */
.trainer-grid {
  align-items: stretch;
}
.trainer-card {
  height: 100%;
}
.trainer-card__link {
  display: flex;
  flex-direction: column;
}
.trainer-card__photo {
  aspect-ratio: 4 / 5;
  background: #eef0f2;
}
.trainer-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}
.trainer-card:hover .trainer-card__photo img {
  transform: scale(1.012);
}
.trainer-card__body {
  flex: 1;
  min-height: 142px;
}

.trainer-page--profile .trainer-profile {
  padding-bottom: 78px;
}
.trainer-profile__media {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  align-items: start;
}
.trainer-profile__media--single {
  grid-template-columns: minmax(280px, 440px);
}
.trainer-profile__portrait,
.trainer-profile__thumb {
  min-height: 0;
  height: auto;
}
.trainer-profile__portrait {
  aspect-ratio: 4 / 5;
}
.trainer-profile__portrait img,
.trainer-profile__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: #eef0f2;
}
.trainer-profile__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: auto;
  gap: 18px;
  align-items: start;
}
.trainer-profile__thumb.is-landscape {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}
.trainer-profile__thumb.is-portrait {
  aspect-ratio: 4 / 5;
}
.trainer-profile__thumb.is-square {
  aspect-ratio: 1;
}
.trainer-profile__thumb:first-child:last-child {
  grid-column: 1 / -1;
}
.trainer-profile__thumb:nth-child(3):last-child {
  grid-column: auto;
}

@media (max-width: 980px) {
  .trainer-profile__media {
    grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
  }
  .trainer-profile__gallery {
    gap: 14px;
  }
}
@media (max-width: 760px) {
  .trainer-profile__media,
  .trainer-profile__media--single {
    grid-template-columns: 1fr;
  }
  .trainer-profile__portrait {
    width: min(100%, 520px);
    margin-inline: auto;
  }
  .trainer-profile__gallery {
    grid-template-columns: 1fr;
  }
  .trainer-profile__thumb.is-landscape,
  .trainer-profile__thumb.is-portrait,
  .trainer-profile__thumb.is-square {
    grid-column: auto;
  }
  .trainer-profile__thumb.is-landscape { aspect-ratio: 16 / 10; }
  .trainer-profile__thumb.is-portrait { aspect-ratio: 4 / 5; }
  .trainer-profile__thumb.is-square { aspect-ratio: 1; }
}

/* KCP Modern 1.1 ---------------------------------------------------------
   Saubere Trainerbilder, neue Vereins-/Info-Seiten und zentrale Termine. */
.subpage-hero--compact .subpage-hero__inner { min-height: 230px; }
.subpage-hero--compact h1 { font-size: clamp(3.5rem, 6vw, 6rem); }
.subpage-hero--compact .subpage-hero__mark { flex-basis: 150px; width: 150px; height: 150px; font-size: 3.5rem; font-weight: 800; }
.subpage-hero--compact .subpage-hero__mark .kcp-icon { width: 70px; height: 70px; fill: currentColor; }
.standard-subpage { background: #f5f6f7; }
.standard-section { padding: 52px 0 90px; }

/* Trainer cards: no artificial blurred/inset compositions. */
.trainer-card__photo { background: #e9ecef; }
.trainer-card__photo img { object-fit: cover; object-position: center 45%; filter: none; }
.trainer-card__body { min-height: 132px; }
.trainer-profile__media { grid-template-columns: minmax(270px, 360px) minmax(0, 1fr); gap: 22px; align-items: start; }
.trainer-profile__portrait { aspect-ratio: 4 / 5; min-height: 0; }
.trainer-profile__portrait img { object-fit: cover; object-position: center 45%; }
.trainer-profile__gallery { display: block; columns: 2 280px; column-gap: 18px; }
.trainer-profile__thumb { width: 100%; display: block; break-inside: avoid; margin: 0 0 18px; aspect-ratio: auto !important; }
.trainer-profile__thumb img { width: 100%; height: auto; max-height: 520px; object-fit: contain; background: #eef0f2; }
.trainer-profile__thumb.is-landscape img { aspect-ratio: 16 / 10; object-fit: cover; }
.trainer-profile__thumb.is-portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.trainer-profile__thumb.is-square img { aspect-ratio: 1; object-fit: cover; }

/* Vorstand. */
.board-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.board-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(17,19,24,.05); }
.board-card__photo { aspect-ratio: 4 / 5; overflow: hidden; background: #eceff1; }
.board-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.board-card__body { min-height: 162px; display: flex; flex-direction: column; align-items: flex-start; padding: 19px 20px 20px; }
.board-card__body p { margin: 0 0 5px; color: var(--red); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.board-card__body h2 { margin: 0 0 13px; font-size: 1.12rem; }
.board-card__body a { display: block; color: var(--ink); font-size: .82rem; text-decoration: none; overflow-wrap: anywhere; }
.board-card__body a:hover { color: var(--red); }
.info-callout { margin-top: 28px; padding: 28px 30px; border-left: 5px solid var(--red); border-radius: 0 14px 14px 0; background: #fff; box-shadow: 0 10px 30px rgba(17,19,24,.04); }
.info-callout h2 { margin: 0 0 10px; font-size: 1.25rem; }
.info-callout p { max-width: 920px; margin: 0 0 10px; line-height: 1.7; }
.info-callout p:last-child { margin-bottom: 0; }
.info-callout--muted { border-left-color: #686f77; }

/* Mitgliedschaften and links. */
.association-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.association-card { min-height: 138px; display: grid; grid-template-columns: 105px 1fr auto; align-items: center; gap: 20px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; color: var(--ink); background: #fff; text-decoration: none; box-shadow: 0 10px 28px rgba(17,19,24,.04); }
.association-card:hover { border-color: rgba(213,22,27,.35); transform: translateY(-2px); }
.association-card__logo { height: 78px; display: grid; place-items: center; }
.association-card__logo img { max-width: 100%; max-height: 72px; width: auto; height: auto; }
.association-card__body { display: grid; gap: 7px; }
.association-card__body strong { font-size: 1.05rem; }
.association-card__body span { color: var(--muted); font-size: .8rem; }
.external-links-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.external-link-card { min-height: 124px; display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: #fff; text-decoration: none; }
.external-link-card:hover { border-color: rgba(213,22,27,.35); box-shadow: 0 12px 30px rgba(17,19,24,.055); }
.external-link-card__logo { height: 62px; display: grid; place-items: center; }
.external-link-card__logo img { max-width: 68px; max-height: 58px; width: auto; height: auto; }
.external-link-card strong, .external-link-card small { display: block; }
.external-link-card strong { margin-bottom: 5px; line-height: 1.25; }
.external-link-card small { color: var(--muted); overflow-wrap: anywhere; }
.external-link-card b { color: var(--red); }

/* Fees. */
.fees-layout { max-width: 980px; }
.fees-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fee-card { min-height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(17,19,24,.045); }
.fee-card p { max-width: 340px; margin: 0 0 18px; font-size: 1.08rem; font-weight: 750; }
.fee-card strong { color: var(--red); font-size: 2.7rem; line-height: 1; letter-spacing: -.04em; }
.fee-card span { margin-top: 7px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }
.fee-card--wide { grid-column: 1 / -1; min-height: 115px; }
.fee-card--wide p { margin-bottom: 0; }

/* FAQ. */
.faq-list { max-width: 960px; display: grid; gap: 14px; }
.faq-list details { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 25px rgba(17,19,24,.035); }
.faq-list summary { position: relative; padding: 22px 62px 22px 24px; cursor: pointer; font-size: 1.05rem; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 1.65rem; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details > div { padding: 0 24px 22px; color: #343a40; line-height: 1.7; }
.faq-list details p { margin: 0 0 12px; }
.faq-list details p:last-child { margin-bottom: 0; }
.faq-list a { color: var(--red-dark); }

/* Privacy. */
.privacy-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; align-items: start; }
.legal-document { min-width: 0; padding: clamp(26px, 4vw, 48px); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 34px rgba(17,19,24,.04); }
.legal-document h2 { margin: 42px 0 14px; padding-top: 22px; border-top: 1px solid #e6e9ec; font-size: 1.45rem; }
.legal-document h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-document h3 { margin: 26px 0 8px; font-size: 1.03rem; }
.legal-document p { margin: 0 0 14px; line-height: 1.72; overflow-wrap: anywhere; }
.legal-toc { position: sticky; top: 110px; display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.legal-toc strong { margin-bottom: 5px; }
.legal-toc a { color: var(--ink); font-size: .84rem; text-decoration: none; }
.legal-toc a:hover { color: var(--red); }

/* Termine. */
.events-list { display: grid; gap: 16px; }
.event-card { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 10px 30px rgba(17,19,24,.04); }
.event-card time { color: var(--red); font-size: 1.05rem; font-weight: 850; }
.event-card h2 { margin: 0 0 7px; font-size: 1.15rem; }
.event-card__content { color: var(--muted); font-size: .86rem; line-height: 1.55; }
.event-card__content p { margin: 0; }
.event-card > a { padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--red); font-size: .78rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.events-admin-hint { margin: 24px 0 0; padding: 15px 18px; border-radius: 10px; color: #394047; background: #e9ecef; font-size: .82rem; }
.update-list a { color: inherit; text-decoration: none; }
.update-list a:hover { color: var(--red); }

@media (max-width: 1100px) {
  .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .external-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .board-grid, .association-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .event-card { grid-template-columns: 110px minmax(0, 1fr); }
  .event-card > a { grid-column: 2; justify-self: start; }
  .trainer-profile__gallery { columns: 1; }
}
@media (max-width: 600px) {
  .board-grid, .association-grid, .external-links-grid, .fees-grid { grid-template-columns: 1fr; }
  .fee-card--wide { grid-column: auto; }
  .association-card { grid-template-columns: 82px 1fr auto; }
  .event-card { grid-template-columns: 1fr; gap: 12px; }
  .event-card > a { grid-column: auto; }
  .subpage-hero--compact .subpage-hero__inner { min-height: 190px; }
}

/* KCP Modern 1.2 ---------------------------------------------------------
   Originalgetreue Vorstandsseite, sauber skalierte Trainerfotos,
   Lehrgangsseiten, Voranmeldung und Prüfungsarchive. */

/* Trainer overview: all cards use a clean, full-size 4:5 crop without
   artificial blurred backgrounds or inset miniatures. */
.trainer-grid { max-width: 1180px; margin-inline: auto; }
.trainer-card__photo { aspect-ratio: 4 / 5; background: #eef0f2; }
.trainer-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: none; }
.trainer-card__body { min-height: 132px; }

/* Trainer profiles preserve the natural format of each original. Small
   historical images are kept compact instead of being stretched over large
   areas. */
.trainer-profile__media { grid-template-columns: minmax(230px, 340px) minmax(0, 1fr); gap: 24px; align-items: start; }
.trainer-profile__media--single { grid-template-columns: minmax(230px, 340px); }
.trainer-profile__portrait { min-height: 0; height: auto; aspect-ratio: auto; }
.trainer-profile__portrait img { width: 100%; height: auto; max-height: 620px; object-fit: contain; background: #eef0f2; }
.trainer-profile__gallery { columns: 2 300px; column-gap: 18px; }
.trainer-profile__thumb { width: 100%; height: auto; min-height: 0; margin: 0 0 18px; break-inside: avoid; aspect-ratio: auto !important; }
.trainer-profile__thumb img { width: 100%; height: auto; max-height: 560px; object-fit: contain; background: #eef0f2; }
.trainer-profile__thumb.is-lowres { max-width: 290px; margin-inline: auto; }
.trainer-profile__thumb.is-lowres img { max-height: 360px; }
.trainer-profile__portrait.is-lowres { max-width: 320px; margin-inline: auto; }

/* Vorstand: compact identity cards deliberately match the small historical
   portraits used on the legacy page. */
.board-section { padding: 52px 0 90px; }
.board-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.board-card--compact { min-height: 210px; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: stretch; }
.board-card--compact .board-card__photo { aspect-ratio: auto; min-height: 210px; display: grid; place-items: center; padding: 16px; background: #f0f2f3; }
.board-card--compact .board-card__photo img { max-width: 118px; max-height: 166px; width: auto; height: auto; object-fit: contain; object-position: center; border-radius: 6px; box-shadow: 0 8px 20px rgba(17,19,24,.1); }
.board-card--compact .board-card__body { min-height: 0; justify-content: center; padding: 24px 24px 22px; }
.board-card--compact .board-card__body h2 { font-size: 1.24rem; }
.board-card--compact .board-card__body a { margin-top: 4px; }

/* Course pages. */
.course-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 28px; align-items: start; }
.course-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.course-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(17,19,24,.05); }
.course-gallery img { width: 100%; height: auto; display: block; object-fit: contain; }
.course-gallery figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
.course-gallery--single { grid-template-columns: 1fr; }
.course-gallery--single figure { max-width: 760px; }
.course-info-card { position: sticky; top: 110px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(17,19,24,.05); }
.course-info-card h2 { margin: 0 0 16px; font-size: 1.55rem; }
.course-info-card p { margin: 0 0 18px; line-height: 1.7; }

/* Registration form. */
.registration-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 28px; align-items: start; }
.registration-intro, .registration-form-card { padding: clamp(24px,4vw,38px); border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(17,19,24,.045); }
.registration-intro h2 { margin-top: 0; }
.registration-intro p, .registration-intro li { line-height: 1.7; }
.registration-intro ol { padding-left: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-grid label, .check-row { display: grid; gap: 7px; font-weight: 750; font-size: .86rem; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 12px 13px; border: 1px solid #cfd4d9; border-radius: 8px; background: #fff; font: inherit; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--red); outline: 3px solid rgba(213,22,27,.13); }
.form-grid__wide { grid-column: 1 / -1; }
.check-row { grid-template-columns: auto 1fr; align-items: start; margin: 18px 0; font-weight: 500; }
.check-row input { margin-top: 3px; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin-bottom: 20px; padding: 14px 16px; border-radius: 9px; }
.form-notice--success { color: #155724; background: #dff0e3; }
.form-notice--error { color: #721c24; background: #f8d7da; }

/* DAN holders. */
.dan-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: start; }
.dan-group { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(17,19,24,.045); }
.dan-group header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; color: #fff; background: #17191d; }
.dan-group header span { font-size: 1.22rem; font-weight: 850; }
.dan-group header strong { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); }
.dan-group ul { columns: 2 170px; margin: 0; padding: 18px 22px 22px 40px; }
.dan-group li { margin: 0 0 8px; break-inside: avoid; }

/* DAN exam archive. */
.exam-archive { display: grid; gap: 14px; }
.exam-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 8px 26px rgba(17,19,24,.035); }
.exam-card summary { display: grid; grid-template-columns: 150px minmax(0,1fr) minmax(180px,.6fr) auto; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; }
.exam-card summary::-webkit-details-marker { display: none; }
.exam-card summary::after { content: "+"; justify-self: end; color: var(--red); font-size: 1.5rem; grid-column: 4; }
.exam-card[open] summary::after { content: "–"; }
.exam-card__date { color: var(--red); font-weight: 850; }
.exam-card__place { font-weight: 800; }
.exam-card__grades { color: var(--muted); }
.exam-card__body { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; padding: 0 24px 24px; border-top: 1px solid #eceef0; }
.exam-card__body > div { padding-top: 22px; }
.exam-card__body h2 { margin: 0 0 12px; font-size: 1rem; }
.exam-card__body ul { margin: 0; padding-left: 20px; columns: 2 190px; }
.exam-card__body li { margin-bottom: 7px; break-inside: avoid; }

/* Prüfungsordnung. */
.rules-card { min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 38px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 32px rgba(17,19,24,.045); }
.rules-card h2 { margin: 0 0 10px; font-size: 1.8rem; }
.rules-card p { margin: 0; color: var(--muted); }

/* Frontend contains no editor instructions. */
.events-admin-hint { display: none !important; }

@media (max-width: 1000px) {
  .board-grid--compact { grid-template-columns: 1fr; }
  .course-layout, .registration-layout { grid-template-columns: 1fr; }
  .course-info-card { position: static; }
  .dan-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .exam-card summary { grid-template-columns: 125px minmax(0,1fr); }
  .exam-card__grades { grid-column: 2; }
  .exam-card summary::after { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 760px) {
  .trainer-profile__media { grid-template-columns: 1fr; }
  .trainer-profile__portrait { width: min(100%,340px); margin-inline: auto; }
  .trainer-profile__gallery { columns: 1; }
  .trainer-profile__thumb.is-lowres { max-width: 280px; }
  .course-gallery { grid-template-columns: 1fr; }
  .course-gallery figure:last-child:nth-child(odd) { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid__wide { grid-column: auto; }
  .dan-groups { grid-template-columns: 1fr; }
  .exam-card summary { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .exam-card__place, .exam-card__grades { grid-column: 1; }
  .exam-card summary::after { grid-column: 2; grid-row: 1 / span 3; }
  .exam-card__body { grid-template-columns: 1fr; gap: 0; }
  .rules-card { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .board-card--compact { grid-template-columns: 112px minmax(0,1fr); min-height: 180px; }
  .board-card--compact .board-card__photo { min-height: 180px; padding: 10px; }
  .board-card--compact .board-card__photo img { max-width: 92px; max-height: 138px; }
  .board-card--compact .board-card__body { padding: 18px 16px; }
  .dan-group ul, .exam-card__body ul { columns: 1; }
}

/* KCP Modern 1.3 --------------------------------------------------------- */
.home-audiences { padding: 34px 0 18px; }
.home-audiences__heading { display:flex; justify-content:space-between; align-items:end; gap:40px; margin-bottom:20px; }
.home-audiences__heading h2 { margin:4px 0 0; font-size:clamp(1.8rem,3vw,2.7rem); letter-spacing:-.045em; }
.home-audiences__heading > p { max-width:520px; margin:0; color:var(--muted); line-height:1.6; }
.section-kicker { margin:0; color:var(--red); font-size:.72rem; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.audience-card { position:relative; padding-top:36px; }
.audience-card__badge { position:absolute; top:12px; left:18px; color:var(--red); font-size:.62rem; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.update-list a { color:inherit; text-decoration:none; }
.update-list a:hover { color:var(--red); }

.protected-email { display:inline-flex; align-items:center; margin-top:8px; padding:8px 11px; border:1px solid rgba(213,22,27,.28); border-radius:8px; color:var(--red-dark); background:#fff; font:inherit; font-size:.8rem; font-weight:800; cursor:pointer; }
.protected-email:hover { color:#fff; background:var(--red); }
.protected-email__link { display:inline-block; margin-top:8px; color:var(--red-dark); font-size:.82rem; font-weight:750; overflow-wrap:anywhere; }

.scroll-top { position:fixed; z-index:1000; right:24px; bottom:88px; width:46px; height:46px; display:grid; place-items:center; border:2px solid #fff; border-radius:50%; color:#fff; background:#272b30; box-shadow:0 10px 28px rgba(17,19,24,.2); cursor:pointer; opacity:0; transform:translateY(8px); pointer-events:none; transition:.18s ease; }
.scroll-top.is-visible { opacity:1; transform:none; pointer-events:auto; }
.scroll-top svg { width:22px; height:22px; fill:currentColor; }

.content-feed { display:grid; gap:22px; margin-top:26px; }
.content-entry { display:grid; grid-template-columns:minmax(260px,.42fr) minmax(0,.58fr); overflow:hidden; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 12px 34px rgba(17,19,24,.045); }
.content-entry__image { min-height:280px; margin:0; overflow:hidden; background:#eef0f2; }
.content-entry__image img { width:100%; height:100%; object-fit:cover; }
.content-entry__body { padding:30px 32px; }
.content-entry__date { margin:0 0 8px; color:var(--red); font-weight:850; }
.content-entry__body h2 { margin:0 0 18px; font-size:clamp(1.5rem,2.5vw,2.2rem); }
.content-entry__text { line-height:1.7; }
.content-entry__text p:first-child { margin-top:0; }

.contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.contact-card, .legal-card, .shop-card { padding:30px; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 12px 32px rgba(17,19,24,.045); }
.contact-card--primary { border-top:4px solid var(--red); }
.contact-card h2, .legal-card h2, .shop-card h2 { margin:7px 0 14px; }
.contact-card address, .legal-card address { margin:0 0 14px; font-style:normal; line-height:1.6; }
.contact-card > a { display:block; margin-top:7px; color:var(--ink); text-decoration:none; }
.legal-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.shop-card { display:grid; grid-template-columns:1fr 180px; gap:30px; align-items:center; }
.shop-card__symbol { display:grid; place-items:center; width:150px; height:150px; border-radius:50%; color:var(--red); background:#f5f6f7; }
.shop-card__symbol svg { width:76px; height:76px; fill:currentColor; }

.registration-form input, .registration-form select, .registration-form textarea { width:100%; box-sizing:border-box; }
.form-honeypot { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }
.form-required { color:var(--muted); font-size:.75rem; }

.exam-grade-groups { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:14px; }
.exam-grade-group { padding:16px 17px; border:1px solid #e5e8eb; border-radius:12px; background:#f8f9fa; }
.exam-grade-group h3 { margin:0 0 10px; color:var(--red); font-size:1rem; }
.exam-grade-group ul { columns:1 !important; padding-left:18px; }
.rules-mark svg { width:98px; height:98px; fill:var(--red); }
.dan-japanese { font-size:2.35rem !important; letter-spacing:.05em; }

.children-course { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr); gap:26px; align-items:start; }
.children-course__hero { overflow:hidden; border-radius:18px; background:#fff; box-shadow:0 14px 38px rgba(17,19,24,.07); }
.children-course__hero img { width:100%; display:block; }
.children-course__intro { padding:32px; border:1px solid var(--line); border-radius:16px; background:#fff; box-shadow:0 12px 32px rgba(17,19,24,.045); }
.children-course__intro h2 { margin:6px 0 14px; font-size:2rem; }
.children-schedule { grid-column:1/-1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.children-schedule article { padding:22px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.children-schedule span { display:block; margin-bottom:10px; color:var(--red); font-weight:850; }
.children-schedule strong, .children-schedule small { display:block; line-height:1.45; }
.children-schedule small { margin-top:7px; color:var(--muted); }
.children-gallery { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.children-gallery figure { margin:0; overflow:hidden; border-radius:16px; background:#fff; }
.children-gallery img { width:100%; height:100%; min-height:260px; object-fit:cover; display:block; }

@media (max-width:850px) {
  .home-audiences__heading { align-items:flex-start; flex-direction:column; gap:10px; }
  .content-entry { grid-template-columns:1fr; }
  .content-entry__image { min-height:220px; max-height:420px; }
  .contact-grid, .legal-layout, .children-course { grid-template-columns:1fr; }
  .shop-card { grid-template-columns:1fr; }
  .shop-card__symbol { display:none; }
  .children-schedule { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:580px) {
  .children-schedule, .children-gallery { grid-template-columns:1fr; }
  .content-entry__body { padding:24px 22px; }
  .scroll-top { right:18px; bottom:82px; }
}

/* KCP Modern 1.4 --------------------------------------------------------- */
/* Die Überschrift erklärt den Bereich bereits; die Karten benötigen kein
   wiederholtes Label „Anfängerlehrgang“. */
.home-audiences .audience-card {
  padding-top: 20px;
}
.home-audiences .audience-card__badge {
  display: none;
}

/* Kinderseite: kompakter Einstieg, sodass die Altersgruppen bereits im
   ersten sichtbaren Seitenbereich erkennbar sind. */
.children-course-v14 {
  display: grid;
  grid-template-columns: minmax(300px, .76fr) minmax(0, 1.24fr);
  gap: 24px;
  align-items: stretch;
}
.children-course-v14__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17,19,24,.05);
}
.children-course-v14__intro h2 {
  margin: 7px 0 14px;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  letter-spacing: -.04em;
}
.children-course-v14__intro p:not(.section-kicker) {
  margin: 0 0 24px;
  color: #373c42;
  line-height: 1.7;
}
.children-course-v14__intro .button { align-self: flex-start; }
.children-course-v14__photo {
  min-height: 330px;
  max-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e9ecef;
  box-shadow: 0 14px 38px rgba(17,19,24,.07);
}
.children-course-v14__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 44%;
}
.children-course-v14__offers {
  grid-column: 1 / -1;
  padding-top: 8px;
}
.children-course-v14__offers-head {
  margin-bottom: 18px;
}
.children-course-v14__offers-head h2 {
  margin: 5px 0 0;
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  letter-spacing: -.035em;
}
.children-schedule--v14 article {
  position: relative;
  min-height: 150px;
  padding-top: 25px;
  box-shadow: 0 8px 24px rgba(17,19,24,.035);
}
.children-schedule--v14 article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 44px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--red);
}
.children-course-v14__note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 74px minmax(0,1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 24px 28px;
  border: 1px solid rgba(213,22,27,.2);
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(213,22,27,.045), #fff 48%);
}
.children-course-v14__note-icon img {
  width: 68px;
  height: 58px;
  object-fit: contain;
}
.children-course-v14__note h2 { margin: 0 0 5px; font-size: 1.25rem; }
.children-course-v14__note p { margin: 0; color: var(--muted); }

/* Historische News und Erfolge: Bilder werden immer entsprechend ihrer
   tatsächlichen Orientierung dargestellt. EXIF-Drehungen wurden beim Import
   fest eingerechnet; CSS dreht keine Bilder. */
.content-feed--archive .content-entry {
  grid-template-columns: minmax(290px, 410px) minmax(0, 1fr);
  content-visibility: auto;
  contain-intrinsic-size: 620px;
}
.content-feed--archive .content-entry--portrait {
  grid-template-columns: minmax(250px, 350px) minmax(0, 1fr);
}
.content-feed--archive .content-entry--no-image {
  grid-template-columns: 1fr;
}
.content-feed--archive .content-entry__image {
  min-height: 300px;
  max-height: 540px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: #f0f2f3;
}
.content-feed--archive .content-entry__image img {
  width: 100%;
  height: 100%;
  max-height: 516px;
  display: block;
  object-fit: contain;
  object-position: center;
  image-orientation: from-image;
  border-radius: 9px;
}
.content-feed--archive .content-entry--landscape .content-entry__image {
  min-height: 280px;
}
.content-feed--archive .content-entry__body {
  min-width: 0;
}
.content-entry__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #eceef0;
}
.content-entry__gallery a {
  min-height: 105px;
  max-height: 170px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f2f3f4;
}
.content-entry__gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  image-orientation: from-image;
}
.content-entry__text { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .children-course-v14 { grid-template-columns: 1fr; }
  .children-course-v14__photo { min-height: 280px; max-height: 390px; }
  .content-feed--archive .content-entry,
  .content-feed--archive .content-entry--portrait { grid-template-columns: 1fr; }
  .content-feed--archive .content-entry__image { min-height: 220px; max-height: 440px; }
  .content-feed--archive .content-entry__image img { max-height: 416px; }
}
@media (max-width: 680px) {
  .children-course-v14__photo { min-height: 230px; max-height: 310px; }
  .children-course-v14__note { grid-template-columns: 58px 1fr; }
  .children-course-v14__note .button { grid-column: 1 / -1; justify-self: stretch; text-align: center; }
  .content-entry__gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
}


/* KCP Modern 1.6 --------------------------------------------------------- */
/* Ein einzelner, nicht duplizierter Lauftext. Mehrere aktive Meldungen werden
   nacheinander ausgegeben und zentral im Backend unter „Newsticker“ gepflegt. */
.home-ticker {
  position: relative;
  z-index: 5;
  border-top: 1px solid #eceef0;
  border-bottom: 1px solid #e3e6e9;
  background: #fff;
  box-shadow: 0 3px 12px rgba(17,19,24,.025);
}
.home-ticker__inner {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 18px;
}
.home-ticker__label {
  position: relative;
  padding-right: 20px;
  color: var(--red);
  font-size: .78rem;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-ticker__label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 22px;
  transform: translateY(-50%);
  background: #dfe2e5;
}
.home-ticker__viewport {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.home-ticker__track {
  width: max-content;
  min-width: 100%;
  display: flex;
  align-items: center;
  padding-left: 100%;
  animation: kcp-ticker-scroll var(--ticker-duration, 28s) linear infinite;
  will-change: transform;
}
.home-ticker__item {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 44px 12px 0;
  color: #22262b;
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.home-ticker__item + .home-ticker__item::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-right: 35px;
  border-radius: 50%;
  background: var(--red);
}
.home-ticker__item span {
  color: var(--red);
  font-size: 1.1rem;
  line-height: 1;
}
.home-ticker__item:not(.home-ticker__item--text):hover,
.home-ticker__item:not(.home-ticker__item--text):focus-visible {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.home-ticker:hover .home-ticker__track,
.home-ticker:focus-within .home-ticker__track {
  animation-play-state: paused;
}
@keyframes kcp-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .home-ticker__viewport { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .home-ticker__track {
    width: auto;
    min-width: 0;
    padding-left: 0;
    animation: none;
  }
  .home-ticker__item {
    white-space: normal;
  }
}
@media (max-width: 720px) {
  .home-ticker__inner {
    min-height: 44px;
    grid-template-columns: auto minmax(0,1fr);
    gap: 12px;
  }
  .home-ticker__label {
    padding-right: 13px;
    font-size: .68rem;
  }
  .home-ticker__label::after { height: 19px; }
  .home-ticker__item {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: .77rem;
  }
}


/* KCP Modern 1.7: editable page additions and WordPress 7 admin-safe output. */
.kcp-editor-addition{padding:0 0 72px;background:#f5f6f7}.kcp-editor-addition__surface{max-width:1120px;padding:clamp(24px,4vw,44px);border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 12px 34px rgba(17,19,24,.045)}.kcp-editor-addition__surface>:first-child{margin-top:0}.kcp-editor-addition__surface>:last-child{margin-bottom:0}.kcp-editor-addition__surface h2,.kcp-editor-addition__surface h3{letter-spacing:-.025em}.kcp-editor-addition__surface a{color:var(--red-dark);text-underline-offset:.18em}.kcp-editor-addition__surface img{max-width:100%;height:auto;border-radius:12px}

/* KCP Modern 2.0.3 -------------------------------------------------------
   Exact approved course icons. These files are the selected originals,
   tightly cropped on transparent canvases and not redrawn as SVGs. */
.audience-card__icon img,
.subpage-hero__mark--karate img {
  object-fit: contain;
  object-position: center;
}
.audience-card__icon img {
  width: 82px;
  height: 72px;
}
.subpage-hero__mark--karate img {
  width: 120px;
  height: 120px;
}


/* KCP Modern 2.0.4 -------------------------------------------------------
   Floating controls: same diameter, same right edge and a consistent gap.
   The accessibility pictogram keeps its standard shape and receives a
   small decorative black karate belt without changing its accessible name. */
:root {
  --kcp-floating-control-size: 52px;
  --kcp-floating-control-right: 22px;
  --kcp-floating-control-bottom: 22px;
  --kcp-floating-control-gap: 12px;
}
.a11y-fab,
.scroll-top {
  right: var(--kcp-floating-control-right);
  width: var(--kcp-floating-control-size);
  height: var(--kcp-floating-control-size);
  box-sizing: border-box;
  border-width: 3px;
}
.a11y-fab {
  bottom: var(--kcp-floating-control-bottom);
}
.scroll-top {
  bottom: calc(
    var(--kcp-floating-control-bottom) +
    var(--kcp-floating-control-size) +
    var(--kcp-floating-control-gap)
  );
}
.a11y-fab__belt {
  fill: #17191d;
  stroke: none;
}
@media (max-width: 580px) {
  :root {
    --kcp-floating-control-right: 18px;
    --kcp-floating-control-bottom: 18px;
    --kcp-floating-control-gap: 10px;
  }
  .scroll-top {
    right: var(--kcp-floating-control-right);
    bottom: calc(
      var(--kcp-floating-control-bottom) +
      var(--kcp-floating-control-size) +
      var(--kcp-floating-control-gap)
    );
  }
}


/* KCP Modern 2.0.5 -------------------------------------------------------
   Approved unified shrine image. The KCP logo is baked into the image with
   equal white spacing and exact horizontal centering, so no separate overlay
   can drift out of position. */
.home-club__art {
  min-height: 320px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17,19,24,.045);
}
.home-club__art picture {
  display: block;
  width: 100%;
  height: 100%;
}
.home-club__shrine {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: none;
}
.home-club__art::after,
.home-club__logo-frame {
  display: none;
}
@media (max-width: 720px) {
  .home-club__art { min-height: 250px; }
}

/* KCP Modern 2.0.6 -------------------------------------------------------
   Final shrine presentation: the approved artwork is used on the homepage
   and the club introduction. Only the redundant outer white canvas/card
   treatment is removed; the artwork itself remains unchanged. */
.home-club__art,
.about-hero__visual {
  min-height: 0;
  aspect-ratio: 1374 / 990;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
}
.home-club__art picture,
.about-hero__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}
.home-club__shrine,
.about-hero__shrine {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  filter: none;
}
.home-club__art::after,
.about-hero__visual::after,
.home-club__logo-frame,
.about-hero__logo-frame {
  display: none;
}
.about-hero--compact .about-hero__visual {
  min-height: 0;
}
@media (max-width: 720px) {
  .home-club__art,
  .about-hero__visual,
  .about-hero--compact .about-hero__visual {
    min-height: 0;
  }
}

/* KCP Modern 2.0.7: Kinder-Schnuppertraining und Kontakt */
.children-course-v14__service {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.children-service-card {
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(17, 19, 24, .04);
}
.children-service-card--trial {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.children-service-card__icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff7f7;
}
.children-service-card__icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.children-service-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}
.children-service-card p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.children-service-card--contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
.children-service-card__contact {
  margin-top: 18px;
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.65;
}
.children-service-card--contact .button {
  align-self: flex-start;
}
@media (max-width: 760px) {
  .children-course-v14__service { grid-template-columns: 1fr; }
  .children-service-card--trial { grid-template-columns: 58px minmax(0, 1fr); gap: 16px; }
  .children-service-card__icon { width: 58px; height: 58px; }
  .children-service-card__icon img { width: 40px; height: 40px; }
  .children-service-card--contact .button { align-self: stretch; text-align: center; }
}

/* KCP Modern 2.0.8: Kinderseite – zusammenhängender Schnupper-/Kontaktbereich
   Der Bereich nutzt die gesamte Inhaltsbreite und wirkt als eine gemeinsame,
   ruhige Servicefläche statt als zwei schmale, voneinander losgelöste Karten. */
.children-course-v14__service {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(0, 1.34fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(17, 19, 24, .05);
}
.children-course-v14__service .children-service-card {
  min-width: 0;
  min-height: 220px;
  padding: clamp(26px, 3.4vw, 40px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.children-service-card--trial {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at 12% 28%, rgba(213, 22, 27, .13), transparent 34%),
    linear-gradient(135deg, rgba(213, 22, 27, .075), rgba(213, 22, 27, .018));
  border-right: 1px solid rgba(17, 19, 24, .08);
}
.children-service-card--trial::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--red);
}
.children-service-card__icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(213, 22, 27, .16);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 9px 24px rgba(17, 19, 24, .055);
}
.children-service-card__icon img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.children-service-card h2 {
  margin: 5px 0 10px;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.children-service-card p:not(.section-kicker) {
  margin: 0;
  color: #454a50;
  line-height: 1.65;
}
.children-service-card--trial p:not(.section-kicker) {
  max-width: 31rem;
  font-size: 1.04rem;
}
.children-service-card--contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(26px, 4vw, 54px);
  row-gap: 20px;
  align-items: center;
}
.children-service-card--contact > div:first-child {
  min-width: 0;
}
.children-service-card__contact {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.7;
}
.children-service-card--contact .button {
  align-self: center;
  justify-self: end;
  min-width: 168px;
  text-align: center;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .children-course-v14__service {
    grid-template-columns: 1fr;
  }
  .children-service-card--trial {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 19, 24, .08);
  }
}
@media (max-width: 620px) {
  .children-course-v14__service .children-service-card {
    min-height: 0;
    padding: 24px 22px;
  }
  .children-service-card--trial {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 17px;
  }
  .children-service-card__icon {
    width: 66px;
    height: 66px;
  }
  .children-service-card__icon img {
    width: 44px;
    height: 44px;
  }
  .children-service-card--contact {
    grid-template-columns: 1fr;
  }
  .children-service-card--contact .button {
    justify-self: stretch;
    width: 100%;
  }
}

/* KCP Modern 2.1.0 -------------------------------------------------------
   Authentic hero integration, DKV trust bar, social footer and improved
   registration guidance. The people in the original club photo are not
   altered; only crop, tonal balance and a CSS fade are applied. */
@media (min-width: 1001px) {
  .home-hero {
    min-height: 370px;
    background: #f5f7f8;
  }
  .home-hero__inner {
    min-height: 370px;
    grid-template-columns: 50% 50%;
  }
  .home-hero__copy {
    padding: 48px 0 50px 4px;
  }
  .home-hero__media {
    width: 62%;
    background: #f5f7f8;
  }
  .home-hero__media::before {
    inset: 0 auto 0 0;
    width: 62%;
    background: linear-gradient(
      90deg,
      #f5f7f8 0%,
      rgba(245,247,248,.98) 12%,
      rgba(245,247,248,.82) 28%,
      rgba(245,247,248,.46) 45%,
      rgba(245,247,248,.12) 61%,
      transparent 76%
    );
  }
  .home-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(17,19,24,.025));
  }
  .home-hero__media img {
    object-position: 60% 44%;
    filter: saturate(.84) contrast(.96) brightness(1.07);
  }
}

.home-affiliation {
  padding: 0 0 26px;
  background: #fff;
}
.home-affiliation__bar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(17,19,24,.035);
}
.home-affiliation__identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.home-affiliation__identity img {
  width: 76px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: contain;
}
.home-affiliation__identity strong {
  font-size: 1rem;
  line-height: 1.35;
}
.home-affiliation__bar > a {
  flex: 0 0 auto;
  color: var(--red);
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}
.home-affiliation__bar > a:hover {
  color: var(--red-dark);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.site-footer {
  padding: 0 0 10px;
  background: #fff;
}
.site-footer__top.site-footer__top--expanded {
  min-height: 0;
  grid-template-columns: minmax(220px, .9fr) minmax(360px, 1.35fr) minmax(170px, .65fr);
  align-items: start;
  gap: clamp(28px, 5vw, 70px);
  padding: 30px 0 26px;
}
.site-footer__brand-column,
.site-footer__social,
.site-footer__top--expanded .footer-navigation {
  min-width: 0;
}
.site-footer__top--expanded .footer-brand {
  align-items: center;
}
.site-footer__top--expanded .footer-brand img {
  width: 58px;
  height: 58px;
}
.site-footer__top--expanded .footer-brand strong {
  font-size: .86rem;
}
.site-footer__top--expanded h2 {
  margin: 0 0 12px;
  font-size: .92rem;
  line-height: 1.2;
}
.site-footer__social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.social-link {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 700;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(213,22,27,.4);
  box-shadow: 0 7px 18px rgba(17,19,24,.06);
}
.social-link svg {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}
.social-link--instagram svg { color: #e1306c; }
.social-link--facebook svg { color: #1877f2; }
.site-footer__top--expanded .footer-menu {
  display: grid;
  justify-content: start;
  gap: 5px;
}
.site-footer__top--expanded .footer-menu li + li::before {
  display: none;
}
.site-footer__top--expanded .footer-menu a,
.site-footer__top--expanded .footer-a11y-button {
  font-size: .77rem;
  line-height: 1.45;
}
.site-footer__bottom {
  margin-top: 0;
  padding-top: 10px;
}

.registration-layout {
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.25fr);
  gap: 30px;
}
.registration-intro {
  padding: clamp(24px, 3vw, 34px);
}
.registration-intro__eyebrow {
  margin: 0 0 8px !important;
  color: var(--red);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.registration-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.registration-intro__lead {
  margin: 0 0 22px;
  color: #42474e;
  font-size: .94rem;
  line-height: 1.65 !important;
}
.registration-course-grid {
  display: grid;
  gap: 10px;
}
.registration-course-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfbfc;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.registration-course-card:hover,
.registration-course-card.is-selected {
  border-color: rgba(213,22,27,.42);
  background: rgba(213,22,27,.035);
}
.registration-course-card:hover {
  transform: translateY(-1px);
}
.registration-course-card__icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
}
.registration-course-card__icon img {
  width: 58px;
  height: 54px;
  object-fit: contain;
}
.registration-course-card__body h3 {
  margin: 0 0 4px;
  font-size: .98rem;
  line-height: 1.22;
}
.registration-course-card__body h3 a {
  text-decoration: none;
}
.registration-course-card__body h3 a:hover {
  color: var(--red);
}
.registration-course-card__body p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45 !important;
}
.registration-course-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
}
.registration-course-card__actions a {
  color: #343940;
  font-size: .7rem;
  font-weight: 750;
  text-decoration: none;
}
.registration-course-card__actions a:hover {
  color: var(--red);
}
.registration-course-card__actions .registration-course-card__select {
  color: var(--red);
}
.registration-intro__note {
  margin: 20px 0 0 !important;
  padding: 13px 14px;
  border-left: 3px solid var(--red);
  color: #4c525a;
  background: #f7f8f9;
  font-size: .75rem;
  line-height: 1.55 !important;
}
.registration-form-card {
  scroll-margin-top: 125px;
}

@media (max-width: 1000px) {
  .site-footer__top.site-footer__top--expanded {
    grid-template-columns: 1fr 1.35fr;
  }
  .site-footer__top--expanded .footer-navigation {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid #eceef0;
  }
  .site-footer__top--expanded .footer-menu {
    grid-template-columns: repeat(5, max-content);
    gap: 8px 20px;
  }
}
@media (max-width: 720px) {
  .home-affiliation__bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .home-affiliation__identity {
    gap: 14px;
  }
  .site-footer__top.site-footer__top--expanded {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .site-footer__top--expanded .footer-navigation {
    grid-column: auto;
  }
  .site-footer__social-links {
    grid-template-columns: 1fr;
  }
  .site-footer__top--expanded .footer-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .registration-course-card {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 12px;
  }
  .registration-course-card__icon {
    width: 54px;
    height: 54px;
  }
  .registration-course-card__icon img {
    width: 50px;
    height: 48px;
  }
}

/* KCP Modern 2.1.1 -------------------------------------------------------
   Registration label alignment and guaranteed authentic hero refresh. */
.form-field-label {
  display: inline-flex;
  align-items: baseline;
  gap: .22em;
  min-height: 1.25em;
  line-height: 1.25;
}
.required-marker {
  display: inline;
  color: var(--red);
  font-weight: 850;
  line-height: 1;
}
.registration-form-card .form-grid label {
  align-content: start;
}
.registration-form-card .form-grid input,
.registration-form-card .form-grid select,
.registration-form-card .form-grid textarea {
  margin-top: 2px;
}

.home-hero__media picture {
  width: 100%;
  height: 100%;
  display: block;
}
.home-hero__media picture img {
  display: block;
}
@media (min-width: 1001px) {
  .home-hero__media {
    width: 60%;
  }
  .home-hero__media::before {
    width: 70%;
    background: linear-gradient(
      90deg,
      #f5f7f8 0%,
      rgba(245,247,248,1) 11%,
      rgba(245,247,248,.96) 23%,
      rgba(245,247,248,.78) 38%,
      rgba(245,247,248,.43) 52%,
      rgba(245,247,248,.12) 66%,
      transparent 79%
    );
  }
  .home-hero__media img {
    object-position: 61% 43%;
    filter: none;
  }
}


/* KCP Modern 2.1.2 -------------------------------------------------------
   Preserve registration data after server-side validation and blend the
   authentic club photo more strongly into the welcome design. */
.registration-form .form-field--error > .form-field-label,
.registration-form .check-row.form-field--error {
  color: #9f191d;
}
.registration-form .form-field--error input,
.registration-form .form-field--error select,
.registration-form .form-field--error textarea,
.registration-form input[aria-invalid="true"],
.registration-form select[aria-invalid="true"] {
  border-color: #d5161b;
  box-shadow: 0 0 0 3px rgba(213,22,27,.10);
}

@media (min-width: 1001px) {
  .home-hero {
    min-height: 390px;
  }
  .home-hero__inner {
    min-height: 390px;
    grid-template-columns: 48% 52%;
  }
  .home-hero__copy {
    padding-top: 52px;
    padding-bottom: 52px;
  }
  .home-hero__media {
    left: 38%;
    right: 0;
    width: auto;
    background: #f5f7f8;
  }
  .home-hero__media::before {
    inset: 0 auto 0 0;
    width: 58%;
    background:
      linear-gradient(90deg,
        #f5f7f8 0%,
        rgba(245,247,248,1) 14%,
        rgba(245,247,248,.97) 27%,
        rgba(245,247,248,.82) 40%,
        rgba(245,247,248,.52) 54%,
        rgba(245,247,248,.20) 67%,
        rgba(245,247,248,.04) 78%,
        transparent 88%),
      linear-gradient(180deg, rgba(255,255,255,.05), transparent 28%, transparent 76%, rgba(245,247,248,.08));
  }
  .home-hero__media picture,
  .home-hero__media img {
    width: 100%;
    height: 100%;
  }
  .home-hero__media img {
    object-fit: cover;
    object-position: 61% 43%;
    transform: scale(1.075);
    transform-origin: 68% 46%;
    filter: saturate(.92) contrast(.99) brightness(1.035);
  }
}

/* KCP Modern 2.1.3 -------------------------------------------------------
   Stable registration course values and a true full-width hero composition.
   The original club photograph remains unchanged; only layout, crop and a
   soft CSS transition are used. */
@media (min-width: 1001px) {
  .home-hero {
    min-height: 400px;
    isolation: isolate;
    background: #f5f7f8;
  }
  .home-hero__inner {
    min-height: 400px;
    display: block;
  }
  .home-hero__copy {
    position: relative;
    z-index: 5;
    width: min(47%, 690px);
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .home-hero__brush {
    z-index: 3;
    right: auto;
    width: 61%;
    opacity: .68;
  }
  .home-hero__media {
    inset: 0;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    background: #f5f7f8;
  }
  .home-hero__media picture {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 66%;
    height: 100%;
  }
  .home-hero__media::before {
    inset: 0;
    width: 100%;
    z-index: 3;
    background:
      linear-gradient(90deg,
        #f5f7f8 0%,
        #f5f7f8 24%,
        rgba(245,247,248,.99) 31%,
        rgba(245,247,248,.94) 38%,
        rgba(245,247,248,.74) 46%,
        rgba(245,247,248,.42) 54%,
        rgba(245,247,248,.14) 62%,
        transparent 70%),
      linear-gradient(180deg,
        rgba(245,247,248,.10) 0%,
        transparent 22%,
        transparent 78%,
        rgba(245,247,248,.08) 100%);
  }
  .home-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 58%, rgba(17,19,24,.018) 100%);
  }
  .home-hero__media picture img,
  .home-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 61% 43%;
    transform: scale(1.035);
    transform-origin: 67% 45%;
    filter: saturate(.92) contrast(.99) brightness(1.035);
  }
}

/* KCP Modern 2.2.1: compact homepage club link and supplied training photo. */
.home-hero__copy p:last-child { margin-bottom: 0; }
.home-hero__media--custom picture img {
  display: block;
  object-position: 55% 18%;
  transform: none;
  filter: none;
}
.home-club__grid {
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}
.home-club__art { width: 100%; max-width: 480px; min-height: 0; }
.home-club__content h2 { margin-bottom: 0; text-transform: none; }
.home-club__link { text-decoration: none; color: inherit; }
.home-club__link span { color: var(--red); }
.home-club__link:hover { color: var(--red); text-decoration: underline; }
@media (min-width: 1001px) {
  .home-hero__inner { display: flex; align-items: center; }
  .home-hero__media--custom picture { width: 62%; }
  .home-hero__media--custom::before {
    background: linear-gradient(90deg, #f5f7f8 0%, #f5f7f8 30%, rgba(245,247,248,.97) 38%, rgba(245,247,248,.68) 44%, rgba(245,247,248,.15) 52%, transparent 59%);
  }
}
@media (max-width: 820px) {
  .home-club__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-club__art { max-width: 380px; justify-self: center; }
  .home-club__content { align-items: center; text-align: center; padding: 8px 0 16px; }
}
@media (max-width: 720px) {
  .home-hero__media--custom { height: auto; aspect-ratio: 4 / 3; }
  .home-hero__media--custom picture { display: block; width: 100%; height: 100%; }
  .home-hero__media--custom picture img { object-position: center; }
}
