/* PKC Club – Gestaltung. Bausteine (--pkc-*, .pkc-btn, .pkc-chip, .pkc-label) sind für weitere Seiten gedacht. */
:root {
  --pkc-blau: #150070;
  --pkc-gelb: #FFE000;
  --pkc-orange: #e09900;
  --pkc-orange-text: #9a6200; /* Orange für kleine Schrift auf Hell (WCAG AA) */
  --pkc-rot: #d7263d;
  --pkc-violett: #7b5cff;
  --pkc-text: #1d1640;
  --pkc-grau: #6b6787;
  --pkc-flaeche: #f6f4fb;
  --pkc-linie: #e7e3f3;
  --pkc-radius: 18px;
  --pkc-radius-gross: 22px;
  --pkc-radius-pille: 999px;
  --pkc-schatten: 0 1px 2px rgba(21, 0, 112, .06), 0 8px 24px rgba(21, 0, 112, .08);
  --pkc-schatten-hoch: 0 2px 4px rgba(21, 0, 112, .08), 0 18px 40px rgba(21, 0, 112, .16);
  --pkc-ease: cubic-bezier(.23, 1, .32, 1);
  --pkc-serif: 'Lora', Georgia, serif;
  --pkc-sans: 'Roboto', Helvetica, Arial, sans-serif;
  --pkc-verlauf: linear-gradient(160deg, #150070 0%, #2a1490 45%, #5b2a8f 70%, #e09900 100%);
  --pkc-konfetti-muster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='120'%3E%3Cg opacity='.85'%3E%3Crect x='14' y='18' width='9' height='13' rx='2' fill='%23FFE000' transform='rotate(25 18 24)'/%3E%3Crect x='62' y='8' width='8' height='12' rx='2' fill='%23ffffff' transform='rotate(-30 66 14)'/%3E%3Crect x='112' y='30' width='9' height='13' rx='2' fill='%23d7263d' transform='rotate(50 116 36)'/%3E%3Crect x='38' y='70' width='8' height='12' rx='2' fill='%237b5cff' transform='rotate(-15 42 76)'/%3E%3Crect x='92' y='84' width='9' height='13' rx='2' fill='%23e09900' transform='rotate(70 96 90)'/%3E%3Crect x='136' y='92' width='8' height='12' rx='2' fill='%23FFE000' transform='rotate(-55 140 98)'/%3E%3Ccircle cx='80' cy='52' r='3' fill='%23ffffff'/%3E%3Ccircle cx='140' cy='10' r='2.5' fill='%23FFE000'/%3E%3Ccircle cx='10' cy='100' r='2.5' fill='%23d7263d'/%3E%3C/g%3E%3C/svg%3E");
}

/* Grundlage innerhalb der Plugin-Ausgabe: Divi-Standards (Abstände, Listen, Überschriften) neutralisieren. */
.pkc-ui { font-family: var(--pkc-sans); color: var(--pkc-text); -webkit-font-smoothing: antialiased; }
.pkc-ui, .pkc-ui *, .pkc-ui *::before, .pkc-ui *::after { box-sizing: border-box; }
.pkc-ui h1, .pkc-ui h2, .pkc-ui h3 { font-family: var(--pkc-serif); font-weight: 700; margin: 0; padding: 0; letter-spacing: normal; }
.pkc-ui p { margin: 0; padding: 0; }
body .pkc-ui ul { list-style: none; margin: 0; padding: 0; line-height: inherit; }
body .pkc-ui li { margin: 0; padding: 0; }
.pkc-ui [hidden] { display: none !important; }
.pkc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.pkc-icon { width: 1em; height: 1em; flex: none; }

/* Etikett */
.pkc-ui .pkc-label, .pkc-label { font-family: var(--pkc-sans); font-size: 12px; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--pkc-orange-text); }
.pkc-ui .pkc-label--gelb, .pkc-label--gelb { color: var(--pkc-gelb); }

/* Buttons */
.pkc-btn, .pkc-ui a.pkc-btn, .pkc-ui button.pkc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px;
  border: 0; border-radius: var(--pkc-radius-pille); margin: 0; padding: 14px 24px; cursor: pointer; text-decoration: none;
  font: 700 15px/1.2 var(--pkc-sans); letter-spacing: normal; white-space: nowrap;
  transition: transform 160ms var(--pkc-ease), box-shadow 200ms ease, background-color 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.pkc-btn:active { transform: scale(.97); }
.pkc-btn:focus-visible { outline: 3px solid var(--pkc-blau); outline-offset: 3px; }
.pkc-btn--gelb, .pkc-ui a.pkc-btn--gelb { background: var(--pkc-gelb); color: var(--pkc-blau); box-shadow: 0 6px 18px rgba(224, 153, 0, .35); }
.pkc-btn--umrandet, .pkc-ui a.pkc-btn--umrandet { background: transparent; color: var(--pkc-blau); box-shadow: inset 0 0 0 2px var(--pkc-linie); }
.pkc-btn--hell, .pkc-ui a.pkc-btn--hell { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.pkc-btn--hell:focus-visible { outline-color: var(--pkc-gelb); }
.pkc-btn .pkc-btn__pfeil { width: 16px; height: 16px; transition: transform 200ms var(--pkc-ease); }
@media (hover: hover) and (pointer: fine) {
  .pkc-btn--gelb:hover, .pkc-ui a.pkc-btn--gelb:hover { color: var(--pkc-blau); box-shadow: 0 10px 26px rgba(224, 153, 0, .45); }
  .pkc-btn--umrandet:hover, .pkc-ui a.pkc-btn--umrandet:hover { color: var(--pkc-blau); box-shadow: inset 0 0 0 2px var(--pkc-blau); }
  .pkc-btn--hell:hover, .pkc-ui a.pkc-btn--hell:hover { color: #fff; background: rgba(255, 255, 255, .22); }
  .pkc-btn:hover .pkc-btn__pfeil { transform: translateX(3px); }
}

/* Etiketten mit Icon */
body .pkc-ui .pkc-chip, .pkc-chip { display: inline-flex; align-items: center; gap: 6px; font: 500 13px/1.3 var(--pkc-sans); background: var(--pkc-flaeche); color: var(--pkc-blau); border-radius: var(--pkc-radius-pille); padding: 6px 12px; }
.pkc-chip .pkc-chip__icon { width: 14px; height: 14px; color: var(--pkc-orange-text); }

/* ---------- Kopf der Übersicht (Divi-Sektion mit module_class="pkc-kopf") ---------- */
html body .et_pb_section.pkc-kopf {
  position: relative; padding: 0 !important; margin: 0 !important; color: #fff;
  background-color: var(--pkc-blau);
  background-image: radial-gradient(1200px 600px at 85% 110%, rgba(255, 224, 0, .95), rgba(224, 153, 0, .9) 30%, transparent 60%), var(--pkc-verlauf);
}
.et_pb_section.pkc-kopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: #fff; clip-path: ellipse(70% 100% at 50% 100%); z-index: 1; pointer-events: none; }
.et_pb_section.pkc-kopf > .et_pb_row { position: relative; z-index: 3; }
html body .et_pb_section.pkc-kopf > .et_pb_row.pkc-kopf__zeile { z-index: 2; width: calc(100% - 48px); max-width: 1132px; margin: 0 auto; padding: 72px 0 150px; }
.pkc-kopf__inhalt { color: #fff; }
html body .pkc-kopf .pkc-ui h1.pkc-kopf__titel { font-family: var(--pkc-serif) !important; font-weight: 700; font-size: clamp(48px, 8vw, 120px) !important; line-height: .95 !important; text-transform: uppercase; color: #fff; margin: 6px 0 0; padding: 0; overflow-wrap: break-word; hyphens: manual; }
.pkc-ui .pkc-kopf__text { max-width: 520px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .9); margin: 18px 0 28px; }

/* Konfetti im Kopf (vom Skript erzeugt, nur ohne „Bewegung reduzieren“) */
.pkc-konfetti { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.pkc-konfetti span { position: absolute; top: 0; width: 10px; height: 14px; border-radius: 2px; opacity: .85; animation: pkc-fall 9s linear infinite; will-change: transform; }
.pkc-konfetti.is-pausiert span { animation-play-state: paused; }
@keyframes pkc-fall {
  from { transform: translate3d(0, -40px, 0) rotate(0deg); }
  to { transform: translate3d(var(--pkc-drift, 0px), var(--pkc-fall, 620px), 0) rotate(540deg); }
}

/* Countdown als Glas-Kacheln */
.pkc-ui .pkc-countdown--glas { padding: 0; text-align: left; color: #fff; }
.pkc-ui .pkc-countdown--glas .pkc-countdown__titel { font: 400 14px/1.5 var(--pkc-sans); color: rgba(255, 255, 255, .9); text-align: left; margin: 0 0 10px; }
.pkc-countdown--glas .pkc-countdown__name { font-weight: 700; color: #fff; }
.pkc-countdown--glas .pkc-countdown__zahlen { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; margin-top: 8px; }
.pkc-countdown--glas .pkc-countdown__kachel { min-width: 86px; padding: 14px 12px; border-radius: 16px; text-align: center; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pkc-countdown--glas .pkc-countdown__wert { display: block; font: 700 34px/1 var(--pkc-serif); font-variant-numeric: tabular-nums; color: #fff; }
.pkc-countdown--glas .pkc-countdown__label { display: block; margin-top: 6px; font: 400 12px/1.2 var(--pkc-sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.pkc-countdown--glas abbr { text-decoration: none; border: 0; cursor: inherit; }
.pkc-countdown--glas .pkc-countdown__heute { font: 700 30px/1.2 var(--pkc-serif); color: var(--pkc-gelb); text-align: left; }

/* ---------- Übersicht [pkc_termine] ---------- */
html body .et_pb_section.pkc-termine-sektion { padding: 0 !important; }
html body .et_pb_section.pkc-termine-sektion > .et_pb_row.pkc-termine-zeile { width: 100%; max-width: none; padding: 0; }
.pkc-termine { font-size: 16px; line-height: 1.5; }
.pkc-termine__saison { padding: 30px 0 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.pkc-ui .pkc-termine__monate { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; color: var(--pkc-blau); margin-top: 4px; }
.pkc-termine__raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 28px; padding: 20px 0 64px; }
.pkc-ui .pkc-termine__leer { font-size: 18px; text-align: center; padding: 48px 0 64px; color: var(--pkc-blau); }

/* Karte eines Termins */
.pkc-ev { background: #fff; border-radius: var(--pkc-radius); overflow: hidden; box-shadow: var(--pkc-schatten); display: flex; flex-direction: column; transition: transform 260ms var(--pkc-ease), box-shadow 260ms ease; }
.pkc-ev__bild { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pkc-flaeche); }
.pkc-ev__bild .pkc-ev__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 600ms var(--pkc-ease); }
.pkc-ev__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(21, 0, 112, .55)); pointer-events: none; }
.pkc-ev__bild--leer { background-color: var(--pkc-blau); background-image: var(--pkc-konfetti-muster), radial-gradient(500px 260px at 90% 120%, rgba(255, 224, 0, .7), transparent 60%), var(--pkc-verlauf); background-size: 160px 120px, 100% 100%, 100% 100%; }
.pkc-ev__datum { position: absolute; left: 16px; top: 16px; z-index: 1; min-width: 62px; padding: 8px 12px; border-radius: 14px; background: #fff; color: var(--pkc-blau); text-align: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.pkc-ev__wt { display: block; font: 700 11px/1.3 var(--pkc-sans); letter-spacing: .12em; color: var(--pkc-orange-text); }
.pkc-ev__tag { display: block; font: 700 26px/1 var(--pkc-serif); }
.pkc-ev__monat { display: block; margin-top: 2px; font: 500 12px/1.3 var(--pkc-sans); text-transform: uppercase; }
.pkc-ev__preis { position: absolute; right: 16px; bottom: 14px; z-index: 1; background: var(--pkc-gelb); color: var(--pkc-blau); font: 700 15px/1.2 var(--pkc-sans); border-radius: var(--pkc-radius-pille); padding: 6px 14px; }
.pkc-ev__stempel { position: absolute; right: -42px; top: 22px; z-index: 2; transform: rotate(35deg); background: var(--pkc-rot); color: #fff; font: 700 12px/1.2 var(--pkc-sans); letter-spacing: .14em; text-transform: uppercase; padding: 6px 50px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
.pkc-ev__inhalt { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pkc-ui .pkc-ev__titel { font-size: 22px; line-height: 1.2; color: var(--pkc-blau); overflow-wrap: break-word; }
.pkc-ui ul.pkc-ev__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pkc-ev__aktionen { margin-top: auto; padding-top: 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pkc-ev__aktionen .pkc-btn, .pkc-ui .pkc-ev__aktionen a.pkc-btn { padding: 12px 18px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .pkc-ev:hover { transform: translateY(-4px); box-shadow: var(--pkc-schatten-hoch); }
  .pkc-ev:hover .pkc-ev__img { transform: scale(1.04); }
}

/* Gestaffeltes Einblenden: Startzustand nur mit JS (html.pkc-js), das Skript setzt .is-da */
html.pkc-js .pkc-ev:not(.is-da) { opacity: 0; transform: translateY(14px); }
html.pkc-js .pkc-ev.is-rein { transition: opacity 500ms var(--pkc-ease) var(--pkc-verzoegerung, 0ms), transform 500ms var(--pkc-ease) var(--pkc-verzoegerung, 0ms), box-shadow 260ms ease; }

/* So findet ihr uns */
.pkc-ort { background: var(--pkc-flaeche); padding: 70px 0; }
.pkc-ort__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 36px; align-items: center; }
.pkc-ui .pkc-ort__name { font-size: 36px; line-height: 1.15; color: var(--pkc-blau); margin: 8px 0 14px; }
.pkc-ui .pkc-ort__adresse { font-size: 16px; line-height: 1.7; color: var(--pkc-grau); }
.pkc-ort__aktionen { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.pkc-ort__karte { min-width: 0; }

@media (max-width: 900px) {
  .pkc-termine__raster { grid-template-columns: minmax(0, 1fr); }
  .pkc-ort__raster { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  html body .et_pb_section.pkc-kopf > .et_pb_row.pkc-kopf__zeile { padding: 8px 0 96px; }
  html body .et_pb_section.pkc-kopf > .et_pb_row:not(.pkc-kopf__zeile) .et_pb_menu { margin-bottom: 24px !important; }
  .et_pb_section.pkc-kopf::after { height: 48px; }
  .pkc-ui .pkc-kopf__text { font-size: 17px; margin: 14px 0 24px; }
  .pkc-countdown--glas .pkc-countdown__zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .pkc-countdown--glas .pkc-countdown__kachel { min-width: 0; padding: 12px 4px; border-radius: 14px; }
  .pkc-countdown--glas .pkc-countdown__wert { font-size: 28px; }
  .pkc-countdown--glas .pkc-countdown__label { font-size: 11px; letter-spacing: .06em; }
  .pkc-termine__saison { padding-top: 22px; }
  .pkc-termine__raster { gap: 22px; padding-bottom: 48px; }
  .pkc-ev__inhalt { padding: 18px 18px 20px; }
  .pkc-ui .pkc-ev__titel { font-size: 20px; }
  .pkc-ort { padding: 48px 0; }
  .pkc-ui .pkc-ort__name { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .pkc-konfetti { display: none; }
  .pkc-btn, .pkc-btn .pkc-btn__pfeil, .pkc-ev, .pkc-ev__bild .pkc-ev__img { transition: none; }
  .pkc-btn:active, .pkc-btn:hover .pkc-btn__pfeil, .pkc-ev:hover, .pkc-ev:hover .pkc-ev__img { transform: none; }
  html.pkc-js .pkc-ev:not(.is-da) { transform: none; }
  html.pkc-js .pkc-ev.is-rein { transition: opacity 300ms ease; }
}
@media print {
  html.pkc-js .pkc-ev { opacity: 1; transform: none; }
  .pkc-konfetti { display: none; }
}

/* ---------- Einzelseite: Kopf (Divi-Sektion module_class="pkc-kopf pkc-kopf--termin") ---------- */
/* Bild und Verlauf füllen die ganze Sektion (auch hinter der Menüzeile); der Inhalt steht unten. */
html body .et_pb_section.pkc-kopf--termin { display: flex; flex-direction: column; min-height: 560px; overflow: hidden; }
.et_pb_section.pkc-kopf--termin::after { content: none; }
html body .et_pb_section.pkc-kopf--termin > .et_pb_row.pkc-kopf__zeile { margin-top: auto; padding: 40px 0 56px; }
html body .et_pb_section.pkc-kopf--termin > .et_pb_row.pkc-kopf__zeile,
html body .et_pb_section.pkc-kopf--termin > .et_pb_row.pkc-kopf__zeile > .et_pb_column,
html body .et_pb_section.pkc-kopf--termin .pkc-kopf__zeile .et_pb_text,
html body .et_pb_section.pkc-kopf--termin .pkc-kopf__zeile .et_pb_text_inner { position: static; }
.pkc-termin-kopf__bild { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--pkc-blau); }
.pkc-termin-kopf__bild .pkc-termin-kopf__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transform-origin: 50% 40%; }
.pkc-termin-kopf__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 0, 112, .35) 0%, rgba(21, 0, 112, .15) 30%, rgba(21, 0, 112, .85) 78%); pointer-events: none; }
.pkc-termin-kopf__bild--leer { background-color: var(--pkc-blau); background-image: var(--pkc-konfetti-muster), radial-gradient(1200px 600px at 85% 110%, rgba(255, 224, 0, .85), rgba(224, 153, 0, .7) 30%, transparent 60%), var(--pkc-verlauf); background-size: 160px 120px, 100% 100%, 100% 100%; }
.pkc-termin-kopf__bild--leer::after { background: linear-gradient(180deg, rgba(21, 0, 112, .1), rgba(21, 0, 112, .55) 80%); }
.pkc-termin-kopf.is-vorbei .pkc-termin-kopf__bild { filter: grayscale(.35); }
.pkc-termin-kopf__inhalt { position: relative; z-index: 2; color: #fff; }
html body .pkc-kopf--termin .pkc-ui h1.pkc-termin-kopf__titel { font-family: var(--pkc-serif) !important; font-weight: 700; font-size: clamp(26px, 7.5vw, 76px) !important; line-height: 1.02 !important; text-transform: uppercase; color: #fff; max-width: 14ch; margin: 10px 0 0; padding: 0; overflow-wrap: normal; hyphens: manual; text-wrap: balance; text-shadow: 0 2px 24px rgba(21, 0, 112, .35); }
.pkc-ui ul.pkc-termin-kopf__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
body .pkc-ui .pkc-chip--hell { background: rgba(21, 0, 112, .35); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pkc-chip--hell .pkc-chip__icon { color: var(--pkc-gelb); }
/* Leichtes Zoom-out beim Laden: einmal, langsam, nur mit JS und ohne „Bewegung reduzieren“. */
@media (prefers-reduced-motion: no-preference) {
  html.pkc-js .pkc-termin-kopf__img { animation: pkc-zoom 12s var(--pkc-ease) both; }
}
@keyframes pkc-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* „vorbei“-Banner: schwebt per negativem Rand über dem unteren Rand des Kopfes */
html body .et_pb_section.pkc-termin-sektion { padding: 0 !important; overflow: visible; }
html body .et_pb_section.pkc-termin-sektion > .et_pb_row.pkc-termin-zeile { width: 100%; max-width: none; padding: 0; }
.pkc-termin-details { font-size: 16px; line-height: 1.5; }
.pkc-vorbei-huelle { position: relative; z-index: 5; }
.pkc-vorbei { display: flex; gap: 16px; align-items: center; max-width: 1132px; margin: -34px auto 0; padding: 18px 22px; background: #fff; border-radius: var(--pkc-radius); border-left: 6px solid var(--pkc-orange); box-shadow: var(--pkc-schatten-hoch); }
.pkc-vorbei__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff4cc; color: var(--pkc-orange-text); }
.pkc-vorbei__icon .pkc-icon { width: 22px; height: 22px; }
.pkc-vorbei__text { flex: 1 1 220px; min-width: 0; color: var(--pkc-grau); font-size: 14px; line-height: 1.5; }
.pkc-vorbei__titel { display: block; font: 700 18px/1.3 var(--pkc-serif); color: var(--pkc-blau); }
.pkc-ui a.pkc-vorbei__knopf { margin-left: auto; padding: 11px 18px; font-size: 14px; }

/* Zweispaltig: mitlaufende Info-Spalte links, Beschreibung rechts */
.pkc-termin-raster { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; padding: 56px 0 64px; align-items: start; }
.pkc-termin-raster--ohne-text { grid-template-columns: minmax(0, 380px); }
.pkc-info-stapel { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pkc-info-stapel.is-mitlaufend { position: sticky; top: 24px; }
.admin-bar .pkc-info-stapel.is-mitlaufend { top: 56px; }
.pkc-info { background: #fff; border-radius: var(--pkc-radius); padding: 20px 22px; box-shadow: var(--pkc-schatten); min-width: 0; }
.pkc-ui .pkc-info__titel { display: flex; align-items: center; gap: 8px; font: 700 13px/1.3 var(--pkc-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pkc-orange-text); margin: 0 0 12px; }
.pkc-info__titel .pkc-info__icon { width: 18px; height: 18px; }
.pkc-ui .pkc-info__preis { font: 700 34px/1.1 var(--pkc-serif); color: var(--pkc-blau); }
.pkc-ui .pkc-info__status { margin: 6px 0 14px; font-size: 14px; color: var(--pkc-grau); }
.pkc-ui a.pkc-info__knopf, .pkc-ui a.pkc-info__route { display: flex; width: 100%; }
.pkc-ui a.pkc-info__route { margin-top: 12px; }
.pkc-ui .pkc-termin__ausverkauft { display: inline-block; margin-top: 10px; padding: 6px 14px; border-radius: var(--pkc-radius-pille); background: var(--pkc-rot); color: #fff; font: 700 12px/1.3 var(--pkc-sans); letter-spacing: .14em; text-transform: uppercase; }
.pkc-info__zeilen { margin: 0; padding: 0; }
.pkc-info__zeile { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--pkc-linie); font-size: 15px; line-height: 1.45; }
.pkc-info__zeile:first-child { border-top: 0; padding-top: 0; }
.pkc-info__zeile dt { margin: 0; color: var(--pkc-grau); font-weight: 400; }
.pkc-info__zeile dd { margin: 0; color: var(--pkc-blau); font-weight: 700; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.pkc-ui .pkc-info__wert { font-weight: 700; color: var(--pkc-blau); font-size: 16px; line-height: 1.45; }
.pkc-ui a.pkc-info__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; color: var(--pkc-blau); font-size: 14px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--pkc-linie); text-underline-offset: 4px; text-decoration-thickness: 2px; transition: text-decoration-color 200ms ease; }
.pkc-info__link .pkc-icon { width: 16px; height: 16px; color: var(--pkc-orange-text); }
.pkc-ui a.pkc-info__link:focus-visible { outline: 3px solid var(--pkc-blau); outline-offset: 2px; border-radius: 4px; }
.pkc-info .pkc-karte-box--klein { margin-top: 12px; }
@media (hover: hover) and (pointer: fine) {
  .pkc-ui a.pkc-info__link:hover { text-decoration-color: var(--pkc-blau); }
}

.pkc-termin-text { min-width: 0; padding-top: 4px; }
.pkc-termin-text__inhalt { margin-top: 10px; font-size: 17px; line-height: 1.8; color: #2d2850; max-width: 68ch; }
.pkc-ui .pkc-termin-text__inhalt p { margin: 0 0 1em; }
.pkc-ui .pkc-termin-text__inhalt p:last-child { margin-bottom: 0; }
.pkc-termin-text__inhalt strong { color: var(--pkc-blau); }
.pkc-ui .pkc-termin-text__inhalt h2, .pkc-ui .pkc-termin-text__inhalt h3 { color: var(--pkc-blau); line-height: 1.25; margin: 1.2em 0 .5em; }
.pkc-ui .pkc-termin-text__inhalt ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.pkc-termin-text__inhalt a { color: var(--pkc-blau); text-decoration: underline; }

/* „Das kommt als Nächstes“ */
html body .et_pb_section.pkc-weitere-sektion { padding: 0 !important; }
html body .et_pb_section.pkc-weitere-sektion > .et_pb_row.pkc-weitere-zeile { width: 100%; max-width: none; padding: 0; }
.pkc-weitere { background: var(--pkc-flaeche); padding: 56px 0 64px; }
.pkc-ui .pkc-weitere__titel { font-size: 30px; line-height: 1.2; color: var(--pkc-blau); margin-top: 4px; }
.pkc-weitere__streifen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.pkc-ev--klein { position: relative; }
.pkc-ev--klein .pkc-ev__inhalt { padding: 18px 20px 20px; }
.pkc-ui .pkc-ev--klein .pkc-ev__titel { font-size: 20px; }
.pkc-ui a.pkc-ev__link { color: inherit; text-decoration: none; }
.pkc-ev__link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.pkc-ev--klein { border-radius: var(--pkc-radius); }
.pkc-ev--klein:has(.pkc-ev__link:focus-visible) { outline: 3px solid var(--pkc-blau); outline-offset: 3px; }
.pkc-ui a.pkc-ev__link:focus-visible { outline: none; }
/* Ganze Event-Karte klickbar: Titel-Link spannt über die Karte, Buttons bleiben darüber bedienbar. */
.pkc-ev { position: relative; cursor: pointer; }
.pkc-ev__aktionen { position: relative; z-index: 4; }
.pkc-ev:has(.pkc-ev__link:focus-visible) { outline: 3px solid var(--pkc-blau); outline-offset: 3px; }

/* Info-Karten blenden ein wie die Terminkarten (Startzustand nur mit JS) */
html.pkc-js .pkc-info:not(.is-da) { opacity: 0; transform: translateY(14px); }
html.pkc-js .pkc-info.is-rein { transition: opacity 500ms var(--pkc-ease) var(--pkc-verzoegerung, 0ms), transform 500ms var(--pkc-ease) var(--pkc-verzoegerung, 0ms); }

@media (max-width: 900px) {
  .pkc-termin-raster, .pkc-termin-raster--ohne-text { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pkc-info-stapel.is-mitlaufend { position: static; }
  .pkc-weitere__streifen { grid-template-columns: minmax(0, 1fr); }
  .pkc-vorbei { margin: -28px 0 0; flex-wrap: wrap; }
  .pkc-ui a.pkc-vorbei__knopf { margin-left: 60px; }
}
@media (max-width: 767px) {
  html body .et_pb_section.pkc-kopf--termin { min-height: 480px; }
  html body .et_pb_section.pkc-kopf--termin > .et_pb_row.pkc-kopf__zeile { padding: 24px 0 48px; }
  /* Lange Einzelwörter (FASCHINGSDIENSTAG) trennen statt abschneiden; auf dem Desktop bleibt es bei 14ch ohne Trennung. */
  html body .pkc-kopf--termin .pkc-ui h1.pkc-termin-kopf__titel { max-width: none; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
  .pkc-ui ul.pkc-termin-kopf__chips { gap: 8px; margin-top: 14px; }
  .pkc-termin-raster { padding: 36px 0 48px; }
  .pkc-vorbei { padding: 16px 18px; gap: 12px 14px; }
  .pkc-ui a.pkc-vorbei__knopf { margin-left: 0; flex: 1 1 100%; }
  .pkc-ui .pkc-info__preis { font-size: 30px; }
  .pkc-termin-text__inhalt { font-size: 16px; line-height: 1.75; }
  .pkc-weitere { padding: 44px 0 48px; }
  .pkc-ui .pkc-weitere__titel { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .pkc-termin-kopf__img { animation: none; transform: none; }
  html.pkc-js .pkc-info:not(.is-da) { transform: none; }
  html.pkc-js .pkc-info.is-rein { transition: opacity 300ms ease; }
  .pkc-ui a.pkc-info__link { transition: none; }
}
@media print {
  html.pkc-js .pkc-info { opacity: 1; transform: none; }
  .pkc-info-stapel.is-mitlaufend { position: static; }
}

/* Countdown [pkc_countdown] – optisch wie der Divi-Countdown im Header */
.pkc-countdown { padding: 4%; text-align: center; font-family: Roboto, sans-serif; color: #150070; }
.pkc-countdown__titel { font-family: Roboto, sans-serif; font-weight: 500; font-size: 30px; line-height: 1.3; color: #150070; text-align: center; margin: 0 0 30px; padding: 0; }
.pkc-countdown__zahlen { display: flex; justify-content: center; align-items: flex-start; flex-wrap: nowrap; }
.pkc-countdown__gruppe { width: 17%; max-width: 160px; display: flex; flex-direction: column; align-items: center; }
.pkc-countdown__wert, .pkc-countdown__trenner { font-family: Roboto, sans-serif; font-size: 54px; line-height: 54px; color: #150070; text-align: center; }
.pkc-countdown__label { font-family: Roboto, sans-serif; font-size: 14px; line-height: 25px; color: #150070; text-align: center; }
.pkc-countdown__trenner { display: block; }
.pkc-countdown__heute { font-family: Roboto, sans-serif; font-size: 54px; line-height: 1.1; color: #150070; font-weight: 500; }
@media (max-width: 980px) {
  .pkc-countdown__titel { font-size: 22px; }
  .pkc-countdown__wert, .pkc-countdown__trenner { font-size: 64px; line-height: 64px; }
  .pkc-countdown__heute { font-size: 40px; }
}
@media (max-width: 767px) {
  .pkc-countdown__titel { margin-bottom: 20px; }
  .pkc-countdown__wert, .pkc-countdown__trenner { font-size: 32px; line-height: 32px; }
  .pkc-countdown__heute { font-size: 28px; }
}
@media (max-width: 380px) {
  .pkc-countdown__wert, .pkc-countdown__trenner { font-size: 24px; line-height: 24px; }
  .pkc-countdown__label { font-size: 12px; }
}

.pkc-termine [hidden], .pkc-termin-details [hidden], .pkc-weitere[hidden], .pkc-countdown[hidden] { display: none !important; }


/* Karte mit Zustimmung */
.pkc-karte-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; border-radius: var(--pkc-radius-gross); overflow: hidden; background: #2b3b2b var(--pkc-karte-bild) center/cover; box-shadow: var(--pkc-schatten-hoch); font-family: var(--pkc-sans); }
/* Seitenverhältnis nur als Mindesthöhe (Abstandhalter in derselben Rasterzelle); braucht der Hinweis mehr Platz, wächst die Box mit. */
.pkc-karte-box::before { content: ""; grid-area: 1 / 1; aspect-ratio: var(--pkc-karte-format, 16 / 10); }
.pkc-karte-box--gross { --pkc-karte-format: 16 / 10; min-height: 320px; }
.pkc-karte-box--klein { --pkc-karte-format: 4 / 3; min-height: 200px; border-radius: 14px; box-shadow: none; }
.pkc-karte-box__platzhalter { grid-area: 1 / 1; position: relative; z-index: 1; display: grid; place-items: center; text-align: center; color: #fff; padding: 24px; background: linear-gradient(135deg, rgba(21, 0, 112, .82), rgba(21, 0, 112, .6)); box-sizing: border-box; }
.pkc-karte-box__inhalt { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; max-width: 400px; min-width: 0; overflow-wrap: anywhere; }
.pkc-karte-box .pkc-karte-box__icon { width: 34px; height: 34px; color: var(--pkc-gelb); }
.pkc-karte-box__titel { font: 700 22px/1.2 var(--pkc-serif); color: #fff; }
.pkc-karte-box--klein .pkc-karte-box__titel { font-size: 17px; }
.pkc-karte-box__text, .pkc-ui .pkc-karte-box__text { margin: 0 0 8px; padding: 0; max-width: 380px; color: #fff; font-size: 14px; line-height: 1.5; }
.pkc-karte-box--klein .pkc-karte-box__text { font-size: 13px; margin-bottom: 4px; }
.pkc-karte-box__text a, .pkc-karte-box a.pkc-karte-box__cookies { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.pkc-karte-box a.pkc-karte-box__cookies { font-size: 13px; }
.pkc-karte-box__laden { appearance: none; max-width: 100%; white-space: normal; border: 0; border-radius: var(--pkc-radius-pille); background: var(--pkc-gelb); color: var(--pkc-blau); font: 700 15px/1.2 var(--pkc-sans); padding: 14px 24px; min-height: 44px; cursor: pointer; box-shadow: 0 6px 18px rgba(224, 153, 0, .35); transition: transform 160ms var(--pkc-ease), box-shadow 200ms ease; -webkit-tap-highlight-color: transparent; }
.pkc-karte-box--klein .pkc-karte-box__laden { padding: 9px 16px; font-size: 13px; min-height: 40px; }
.pkc-karte-box__laden:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .pkc-karte-box__laden:hover { box-shadow: 0 10px 26px rgba(224, 153, 0, .45); }
}
@media (prefers-reduced-motion: reduce) {
  .pkc-karte-box__laden { transition: none; }
  .pkc-karte-box__laden:active { transform: none; }
}
.pkc-karte-box__laden:focus-visible, .pkc-karte-box a:focus-visible { outline: 3px solid var(--pkc-gelb); outline-offset: 2px; }
.pkc-karte-box__rahmen { position: absolute; inset: 0; z-index: 1; }
.pkc-karte-box__rahmen iframe { width: 100%; height: 100%; border: 0; display: block; }
.pkc-karte-box a.pkc-karte-box__aus { position: absolute; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); color: var(--pkc-blau); font-size: 13px; padding: 6px 12px; border-radius: var(--pkc-radius-pille); text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.pkc-karte-box [hidden] { display: none !important; }
.pkc-karte-box a.pkc-karte-box__aus:focus-visible { outline: 3px solid var(--pkc-blau); outline-offset: 2px; }
.pkc-karte-box a.pkc-karte-box__aus { z-index: 2; }
@media (max-width: 480px) {
  .pkc-karte-box--klein .pkc-karte-box__platzhalter { padding: 16px 14px; }
  .pkc-karte-box--klein .pkc-karte-box__inhalt { gap: 6px; }
  .pkc-karte-box--klein .pkc-karte-box__icon { width: 26px; height: 26px; }
  .pkc-karte-box--klein .pkc-karte-box__titel { font-size: 16px; }
}

/* ---------- Kartenreservierung [pkc_kartenreservierung], Seitenkopf [pkc_seitenkopf] und Fly-In ---------- */
.pkc-ui { --pkc-rot-text: #a8182c; --pkc-gruen: #1f8a4c; --pkc-drawer: cubic-bezier(.32, .72, 0, 1); }
.pkc-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html body .pkc-kopf .pkc-ui h1.pkc-kopf__titel.pkc-seitenkopf__titel { font-size: clamp(40px, 7vw, 96px) !important; overflow-wrap: break-word; -webkit-hyphens: manual; hyphens: manual; }
html body .et_pb_section.pkc-res-sektion { padding: 0 !important; }
html body .et_pb_section.pkc-res-sektion > .et_pb_row.pkc-res-zeile { width: 100%; max-width: none; padding: 0; }

.pkc-res { font-size: 16px; line-height: 1.5; padding: 8px 0 72px; }
body .pkc-ui ol.pkc-res__schritte { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
body .pkc-ui .pkc-res__schritt { margin: 0; padding: 18px 20px; background: var(--pkc-flaeche); border-radius: 16px; }
.pkc-res__nr { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 8px; border-radius: 50%; background: var(--pkc-gelb); color: var(--pkc-blau); font: 700 15px/1 var(--pkc-sans); }
.pkc-ui .pkc-res__schritt-titel { font-size: 17px; line-height: 1.3; color: var(--pkc-blau); }
.pkc-ui .pkc-res__schritt p { margin-top: 4px; color: var(--pkc-grau); font-size: 14px; line-height: 1.5; }

.pkc-res__form { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pkc-res__liste { display: flex; flex-direction: column; gap: 12px; min-width: 0; container-type: inline-size; }
.pkc-ui .pkc-res__vorschau, .pkc-ui .pkc-res__nicht-frei { margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; background: #eee9ff; color: var(--pkc-blau); }
.pkc-res__vorschau b { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: var(--pkc-radius-pille); background: var(--pkc-blau); color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; vertical-align: 1px; }
.pkc-ui .pkc-res__nicht-frei { background: #fff4cc; color: #6b4a00; margin: 0; }

/* Zeile eines Termins */
.pkc-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 14px 16px; background: #fff; border-radius: 16px; box-shadow: var(--pkc-schatten); transition: box-shadow 200ms ease; }
.pkc-zeile.is-aktiv { box-shadow: 0 0 0 2px var(--pkc-gelb), var(--pkc-schatten-hoch); }
.pkc-zeile.is-fehler { box-shadow: 0 0 0 2px var(--pkc-rot), var(--pkc-schatten-hoch); }
.pkc-zeile.is-aus > :not(.pkc-zeile__fehler) { opacity: .55; }
.pkc-zeile--platzhalter { height: 84px; background: var(--pkc-flaeche); box-shadow: none; }
.pkc-zeile__datum { width: 56px; padding: 6px 0; border-radius: 12px; background: var(--pkc-flaeche); text-align: center; }
.pkc-zeile__datum small { display: block; font: 700 10px/1.4 var(--pkc-sans); letter-spacing: .12em; color: var(--pkc-orange-text); }
.pkc-zeile__datum b { display: block; font: 700 22px/1 var(--pkc-serif); color: var(--pkc-blau); }
.pkc-zeile__datum i { display: block; font: 500 11px/1.4 var(--pkc-sans); font-style: normal; text-transform: uppercase; color: var(--pkc-text); }
.pkc-zeile__text { min-width: 0; }
.pkc-ui .pkc-zeile__titel { font-size: 17px; line-height: 1.25; color: var(--pkc-blau); overflow-wrap: break-word; }
.pkc-zeile__meta { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--pkc-grau); }
.pkc-zeile__status.is-knapp { color: var(--pkc-orange-text); font-weight: 700; }
.pkc-zeile__status.is-aus { color: var(--pkc-rot-text); font-weight: 700; }
.pkc-zeile__hinweis { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: var(--pkc-radius-pille); background: #fff4cc; color: #6b4a00; font-size: 12px; line-height: 1.5; }
.pkc-ui .pkc-zeile__fehler { grid-column: 1 / -1; margin-top: 4px; padding: 8px 12px; border-radius: 10px; background: #fde6e9; color: var(--pkc-rot-text); font-size: 14px; line-height: 1.45; font-weight: 500; }
.pkc-zahl { display: flex; align-items: center; gap: 6px; }
.pkc-ui .pkc-zahl button { display: grid; place-items: center; width: 42px; height: 42px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--pkc-flaeche); color: var(--pkc-blau); font: 700 20px/1 var(--pkc-sans); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 140ms var(--pkc-ease), background-color 200ms ease, opacity 200ms ease; }
.pkc-ui .pkc-zahl button:active:not(:disabled) { transform: scale(.92); }
.pkc-ui .pkc-zahl button:disabled { opacity: .35; cursor: not-allowed; }
.pkc-ui .pkc-zahl button:focus-visible { outline: 3px solid var(--pkc-blau); outline-offset: 2px; }
.pkc-zahl output { min-width: 26px; text-align: center; font: 700 18px/1 var(--pkc-serif); color: var(--pkc-blau); font-variant-numeric: tabular-nums; }
.pkc-zeile.is-aus .pkc-zahl { display: none; }
@media (hover: hover) and (pointer: fine) {
  .pkc-ui .pkc-zahl button:hover:not(:disabled) { background: #ebe6f7; }
}
/* Schmale Liste (Handy, Fly-In am Handy): Plus/Minus unter den Text */
@container (max-width: 380px) {
  .pkc-zeile { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .pkc-zahl { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* Panel */
.pkc-res__panel { position: sticky; top: 24px; padding: 22px; background: #fff; border-radius: 20px; box-shadow: var(--pkc-schatten-hoch); min-width: 0; }
.admin-bar .pkc-res__panel { top: 56px; }
.pkc-ui .pkc-res__panel-titel { margin: 4px 0 14px; font-size: 24px; line-height: 1.2; color: var(--pkc-blau); }
.pkc-res__posten { margin-bottom: 16px; }
.pkc-ui .pkc-res__posten-zeile { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: 14px; color: var(--pkc-text); }
.pkc-res__posten-zeile span:last-child { flex: none; font-variant-numeric: tabular-nums; }
.pkc-ui .pkc-res__klein { margin: 10px 0 14px; font-size: 12px; line-height: 1.5; color: var(--pkc-grau); }
.pkc-ui .pkc-res__nichts { margin: 0 0 10px; }
.pkc-res__klein a { color: var(--pkc-blau); text-decoration: underline; text-underline-offset: 2px; }
.pkc-feld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pkc-feld__label { font: 500 13px/1.3 var(--pkc-sans); color: var(--pkc-grau); }
.pkc-ui input.pkc-feld__eingabe { width: 100%; margin: 0; padding: 13px 14px; border: 2px solid var(--pkc-linie); border-radius: 12px; background: #fff; color: var(--pkc-text); font: 400 16px/1.3 var(--pkc-sans); box-shadow: none; outline: none; -webkit-appearance: none; appearance: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.pkc-ui input.pkc-feld__eingabe::placeholder { color: #9a96b0; opacity: 1; }
.pkc-ui input.pkc-feld__eingabe:focus { border-color: var(--pkc-blau); box-shadow: 0 0 0 3px rgba(21, 0, 112, .12); }
.pkc-ui input.pkc-feld__eingabe[aria-invalid="true"] { border-color: var(--pkc-rot); }
.pkc-ui .pkc-feld__fehler { font-size: 13px; line-height: 1.4; color: var(--pkc-rot-text); font-weight: 500; }
.pkc-res__honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pkc-res__summe { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--pkc-linie); font-size: 15px; }
.pkc-res__summe b { font: 700 28px/1.1 var(--pkc-serif); color: var(--pkc-blau); font-variant-numeric: tabular-nums; }
.pkc-ui .pkc-res__fehler { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #fde6e9; color: var(--pkc-rot-text); font-size: 14px; line-height: 1.45; font-weight: 500; }
.pkc-ui button.pkc-res__los { width: 100%; }
.pkc-ui button.pkc-res__los:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.pkc-ui button.pkc-res__los[aria-busy="true"] { opacity: .75; cursor: progress; }

/* Leer-Zustand */
.pkc-res__leer { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 24px; border-radius: var(--pkc-radius-gross); background: var(--pkc-flaeche); text-align: center; }
.pkc-res__leer-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--pkc-orange-text); box-shadow: var(--pkc-schatten); }
.pkc-res__leer-icon .pkc-icon { width: 26px; height: 26px; }
.pkc-ui .pkc-res__leer p { max-width: 520px; font: 500 18px/1.55 var(--pkc-sans); color: var(--pkc-blau); }

/* Danke */
.pkc-res__danke { padding: 40px 10px 20px; text-align: center; }
.pkc-res__haken { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: #e4f6ec; color: var(--pkc-gruen); }
.pkc-res__danke:not([hidden]) .pkc-res__haken { animation: pkc-pop 420ms var(--pkc-ease) both; }
@keyframes pkc-pop { from { transform: scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.pkc-ui .pkc-res__danke-titel { font-size: 30px; line-height: 1.2; color: var(--pkc-blau); outline: none; }
.pkc-ui .pkc-res__danke-text { margin: 12px auto 0; max-width: 520px; font-size: 16px; line-height: 1.9; }
.pkc-ui .pkc-res__danke-klein { margin: 10px 0 22px; font-size: 13px; color: var(--pkc-grau); }
.pkc-res__code { padding: 2px 10px; border-radius: 8px; background: var(--pkc-gelb); color: var(--pkc-blau); font: 700 20px/1.3 var(--pkc-sans); letter-spacing: .06em; white-space: nowrap; }
.pkc-res__danke b { overflow-wrap: anywhere; }

/* Fly-In: Drawer von rechts. Markup gibt es nur, wenn freigegeben oder ?karten-vorschau=1. */
.pkc-fly { position: fixed; inset: 0; z-index: 100001; }
.pkc-fly[hidden] { display: none; }
.pkc-fly__scrim { position: absolute; inset: 0; background: rgba(21, 0, 112, .45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity 200ms ease; }
.pkc-fly__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(460px, 100%); background: #fff; box-shadow: -20px 0 60px rgba(21, 0, 112, .25); outline: none; transform: translate3d(100%, 0, 0); transition: transform 300ms var(--pkc-drawer); }
.pkc-fly.is-offen .pkc-fly__scrim { opacity: 1; transition-duration: 260ms; }
.pkc-fly.is-offen .pkc-fly__panel { transform: none; transition-duration: 380ms; }
.pkc-fly__kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--pkc-linie); }
.pkc-ui .pkc-fly__titel { font-size: 22px; line-height: 1.2; color: var(--pkc-blau); }
.pkc-ui button.pkc-fly__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--pkc-flaeche); color: var(--pkc-blau); cursor: pointer; transition: transform 140ms var(--pkc-ease), background-color 200ms ease; }
.pkc-ui button.pkc-fly__x:active { transform: scale(.92); }
.pkc-ui button.pkc-fly__x:focus-visible { outline: 3px solid var(--pkc-blau); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .pkc-ui button.pkc-fly__x:hover { background: #ebe6f7; } }
.pkc-fly__form { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.pkc-fly__inhalt { display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 16px 20px; }
.pkc-fly .pkc-res__liste { gap: 10px; }
.pkc-fly .pkc-res__vorschau { margin: 0; }
.pkc-fly .pkc-zeile { box-shadow: inset 0 0 0 1px var(--pkc-linie); }
.pkc-fly .pkc-zeile.is-aktiv { box-shadow: inset 0 0 0 2px var(--pkc-gelb), 0 6px 18px rgba(21, 0, 112, .08); }
.pkc-fly .pkc-zeile.is-fehler { box-shadow: inset 0 0 0 2px var(--pkc-rot); }
.pkc-fly .pkc-zeile--platzhalter { box-shadow: none; }
.pkc-fly .pkc-res__leer { padding: 32px 20px; }
.pkc-fly .pkc-res__leer .pkc-btn { display: none; }
.pkc-fly__fuss { padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--pkc-linie); }
.pkc-fly .pkc-feld { margin-bottom: 10px; }
.pkc-fly .pkc-res__summe { margin: 0 0 12px; padding-top: 4px; border-top: 0; }
.pkc-ui .pkc-fly__klein { margin: 10px 0 0; text-align: center; }
.pkc-fly .pkc-res__danke { flex: 1; overflow: auto; padding: 56px 24px 32px; }

@media (max-width: 900px) {
  .pkc-res__form { grid-template-columns: minmax(0, 1fr); }
  .pkc-res__panel { position: static; }
  body .pkc-ui ol.pkc-res__schritte { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 767px) {
  .pkc-res { padding-bottom: 48px; }
  body .pkc-ui ol.pkc-res__schritte { margin-bottom: 24px; }
  body .pkc-ui .pkc-res__schritt { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; padding: 14px 16px; }
  .pkc-res__nr { grid-row: span 2; margin: 0; }
  .pkc-ui .pkc-res__schritt p { margin-top: 0; }
  .pkc-res__panel { padding: 20px 18px; }
  .pkc-ui .pkc-res__danke-titel { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .pkc-fly__panel { transform: none; opacity: 0; transition: opacity 160ms ease; }
  .pkc-fly.is-offen .pkc-fly__panel { opacity: 1; transition-duration: 160ms; }
  .pkc-fly__scrim, .pkc-fly.is-offen .pkc-fly__scrim { transition-duration: 160ms; }
  .pkc-res__danke:not([hidden]) .pkc-res__haken { animation: none; }
  .pkc-zeile, .pkc-ui .pkc-zahl button, .pkc-ui button.pkc-fly__x, .pkc-ui input.pkc-feld__eingabe { transition: none; }
  .pkc-ui .pkc-zahl button:active:not(:disabled), .pkc-ui button.pkc-fly__x:active { transform: none; }
}
@media print { .pkc-fly { display: none !important; } }

/* ---------- Kartenbüro [pkc_kartenbuero] – Handy zuerst, am Rechner mittige Spalte ---------- */
html body .et_pb_section.pkc-kb-sektion { min-height: 100vh; background: var(--pkc-flaeche); }
body:has(.pkc-kb) { background: var(--pkc-flaeche); }
.pkc-kb { --pkc-kb-breite: 760px; --pkc-kb-rand: max(16px, calc((100% - var(--pkc-kb-breite)) / 2 + 12px)); font-size: 16px; line-height: 1.5; padding-bottom: 96px; }
.pkc-kb__gruss { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px var(--pkc-kb-rand) 4px; background: var(--pkc-blau); color: #fff; }
.pkc-kb__wer { flex: 1; min-width: 0; }
/* Höher als die Website-Regel „body:not(.home) .et_pb_section_0 .et_pb_text h1 { … !important }“. */
html body .pkc-ui h1.pkc-kb__hallo, html body:not(.home) .et_pb_text .pkc-kb h1.pkc-kb__hallo { font-size: 26px !important; line-height: 1.2 !important; color: #fff; margin: 0; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pkc-ui a.pkc-kb__abmelden { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: rgba(255, 255, 255, .85); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.pkc-kb__kopf { position: sticky; top: 0; z-index: 50; padding: 10px var(--pkc-kb-rand) 14px; background: var(--pkc-blau); box-shadow: 0 8px 20px rgba(21, 0, 112, .18); }
.admin-bar .pkc-kb__kopf { top: 32px; }
@media (max-width: 782px) { .admin-bar .pkc-kb__kopf { top: 46px; } }
@media (max-width: 600px) { .admin-bar .pkc-kb__kopf { top: 0; } }
.pkc-kb__suche { display: flex; gap: 8px; margin: 0; }
.pkc-kb__suchfeld { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.pkc-kb__suchfeld > .pkc-icon { position: absolute; left: 13px; color: var(--pkc-grau); pointer-events: none; }
.pkc-ui .pkc-kb__suchfeld input { width: 100%; height: 48px; margin: 0; padding: 0 44px 0 40px; border: 0; border-radius: 12px; background: #fff; color: var(--pkc-text); font: 400 16px/1.2 var(--pkc-sans); box-shadow: none; outline: none; -webkit-appearance: none; appearance: none; }
.pkc-ui .pkc-kb__suchfeld input::-webkit-search-cancel-button { -webkit-appearance: none; }
.pkc-ui .pkc-kb__suchfeld input::placeholder { color: #8a86a3; opacity: 1; }
.pkc-ui .pkc-kb__suchfeld input:focus-visible { box-shadow: 0 0 0 3px var(--pkc-gelb); }
.pkc-ui a.pkc-kb__suche-weg { position: absolute; right: 2px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--pkc-grau); }
.pkc-ui button.pkc-kb__suchknopf { flex: none; min-width: 88px; height: 48px; margin: 0; padding: 0 16px; border: 0; border-radius: 12px; background: var(--pkc-gelb); color: var(--pkc-blau); font: 700 15px/1 var(--pkc-sans); cursor: pointer; transition: transform 160ms var(--pkc-ease); }
.pkc-ui button.pkc-kb__suchknopf:active { transform: scale(.97); }
.pkc-ui button.pkc-kb__suchknopf:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.pkc-kb__haupt { max-width: var(--pkc-kb-breite); margin: 0 auto; padding: 0 12px; }
.pkc-kb__reiter { display: flex; gap: 8px; overflow-x: auto; margin: 0 -12px; padding: 14px 12px 6px; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.pkc-kb__reiter::-webkit-scrollbar { display: none; }
.pkc-ui a.pkc-kb__tab { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--pkc-radius-pille); background: #fff; color: var(--pkc-blau); font: 500 14px/1 var(--pkc-sans); text-decoration: none; white-space: nowrap; box-shadow: var(--pkc-schatten); scroll-snap-align: start; transition: transform 160ms var(--pkc-ease); }
.pkc-ui a.pkc-kb__tab:active { transform: scale(.97); }
.pkc-ui a.pkc-kb__tab.is-aktiv { background: var(--pkc-blau); color: #fff; font-weight: 700; }
.pkc-ui a.pkc-kb__tab:focus-visible { outline: 3px solid var(--pkc-blau); outline-offset: 2px; }
.pkc-kb__tab-test { padding: 1px 6px; border-radius: 6px; background: #eee9ff; color: var(--pkc-blau); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pkc-kb__tab.is-aktiv .pkc-kb__tab-test { background: rgba(255, 255, 255, .2); color: #fff; }

/* Abend: Titel, Belegung */
.pkc-kb-abend, .pkc-kb-kont, .pkc-kb-box { margin: 10px 0; padding: 16px; background: #fff; border-radius: 16px; box-shadow: var(--pkc-schatten); }
.pkc-ui .pkc-kb-abend__titel { font-size: 20px; line-height: 1.25; color: var(--pkc-blau); overflow-wrap: break-word; }
.pkc-ui .pkc-kb-abend__wann { margin-top: 2px; font-size: 14px; color: var(--pkc-grau); }
.pkc-ui .pkc-kb-abend__klein { margin-top: 8px; font-size: 13px; color: var(--pkc-grau); }
.pkc-kb-balken { display: flex; height: 12px; margin: 14px 0 8px; border-radius: var(--pkc-radius-pille); background: var(--pkc-flaeche); overflow: hidden; }
.pkc-kb-balken span { display: block; height: 100%; }
.pkc-kb-balken__bezahlt { background: linear-gradient(90deg, var(--pkc-orange), var(--pkc-gelb)); }
.pkc-kb-balken__offen { background: repeating-linear-gradient(-45deg, #ffe98a 0 5px, #fff3bf 5px 10px); }
.pkc-kb-zahlen { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--pkc-grau); font-variant-numeric: tabular-nums; }
.pkc-kb-zahlen + .pkc-kb-zahlen { margin-top: 2px; }
.pkc-kb-zahlen b { color: var(--pkc-blau); }
.pkc-kb-zahlen i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: 0; }
.pkc-kb-zahlen__bezahlt i { background: linear-gradient(90deg, var(--pkc-orange), var(--pkc-gelb)); }
.pkc-kb-zahlen__offen i { background: repeating-linear-gradient(-45deg, #f5d65a 0 3px, #fff3bf 3px 6px); }
.pkc-ui .pkc-kb-hinweis { margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #eee9ff; color: var(--pkc-blau); font-size: 14px; line-height: 1.45; }
.pkc-ui .pkc-kb-hinweis--warn { background: #fff4cc; color: #6b4a00; font-weight: 500; }

/* Listen */
.pkc-kb__liste-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 2px 4px; font-size: 15px; color: var(--pkc-text); }
.pkc-ui a.pkc-kb__textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--pkc-blau); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.pkc-ui .pkc-kb-gruppe { display: flex; align-items: center; gap: 8px; margin: 18px 2px 6px; font: 700 12px/1.4 var(--pkc-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--pkc-orange-text); }
.pkc-kb-gruppe span { padding: 1px 8px; border-radius: var(--pkc-radius-pille); background: #fff; color: var(--pkc-blau); letter-spacing: 0; }
.pkc-kb-aus > summary { min-height: 44px; cursor: pointer; list-style: none; }
.pkc-kb-aus > summary::-webkit-details-marker { display: none; }
.pkc-kb-aus > summary::after { content: ""; width: 8px; height: 8px; margin-left: 4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-2px); transition: transform 200ms var(--pkc-ease); }
.pkc-kb-aus[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.pkc-ui .pkc-kb-leer { margin: 14px 2px; padding: 18px; border-radius: 14px; background: #fff; color: var(--pkc-grau); font-size: 15px; text-align: center; }

/* Reservierung */
.pkc-kb-res { margin: 8px 0; padding: 14px 16px; background: #fff; border-radius: 14px; box-shadow: var(--pkc-schatten); scroll-margin-top: 96px; }
.admin-bar .pkc-kb-res { scroll-margin-top: 140px; }
.pkc-kb-res.is-aus { background: #fbfaff; box-shadow: inset 0 0 0 1px var(--pkc-linie); }
.pkc-kb-res.is-aus .pkc-kb-res__name, .pkc-kb-res.is-aus .pkc-kb-res__meta { color: var(--pkc-grau); }
@media (prefers-reduced-motion: no-preference) {
  .pkc-kb-res:target { animation: pkc-kb-markiert 1600ms var(--pkc-ease) both; }
}
@keyframes pkc-kb-markiert { 0%, 30% { box-shadow: 0 0 0 3px var(--pkc-gelb), var(--pkc-schatten-hoch); } 100% { box-shadow: var(--pkc-schatten); } }
.pkc-kb-res__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px 10px; flex-wrap: wrap; }
.pkc-kb-res__wer { min-width: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.pkc-kb-res__code { padding: 1px 7px; border-radius: 6px; background: var(--pkc-flaeche); color: var(--pkc-blau); font: 700 13px/1.5 var(--pkc-sans); letter-spacing: .03em; white-space: nowrap; }
.pkc-kb-res__name { font-size: 16px; color: var(--pkc-text); overflow-wrap: anywhere; }
.pkc-ui .pkc-kb-res__meta { margin-top: 4px; font-size: 14px; color: var(--pkc-grau); }
body .pkc-ui ul.pkc-kb-res__posten { margin: 6px 0 0; font-size: 13px; color: var(--pkc-grau); }
body .pkc-ui ul.pkc-kb-res__posten li { padding-left: 14px; position: relative; }
.pkc-kb-res__posten li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--pkc-linie); }
.pkc-kb-res__posten li.is-hier { color: var(--pkc-text); font-weight: 500; }
.pkc-kb-res__posten li.is-hier::before { background: var(--pkc-orange); }
.pkc-ui .pkc-kb-res__gesamt { margin-top: 4px; font-size: 13px; color: var(--pkc-grau); }
.pkc-kb-res__gesamt b { color: var(--pkc-blau); }
.pkc-ui .pkc-kb-res__mail { display: flex; margin-top: 0; font-size: 13px; color: var(--pkc-grau); min-width: 0; }
/* 44 px hohe Trefferfläche ohne zusätzlichen Abstand. */
.pkc-ui .pkc-kb-res__mail a { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; min-height: 44px; margin: -10px 0 -10px; color: inherit; text-decoration: none; }
.pkc-kb-res__mail a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pkc-ui .pkc-kb-res__mail a:focus-visible { outline: 3px solid var(--pkc-blau); outline-offset: -4px; border-radius: 8px; }
.pkc-ui .pkc-kb-res__marken { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.pkc-kb-st { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: var(--pkc-radius-pille); font: 700 12px/1.45 var(--pkc-sans); white-space: nowrap; }
.pkc-kb-st--offen { background: #fff4cc; color: #6b4a00; }
.pkc-kb-st--frist, .pkc-kb-st--fehler { background: #fde6e9; color: var(--pkc-rot-text); }
.pkc-kb-st--kasse { background: #eee9ff; color: var(--pkc-blau); }
.pkc-kb-st--bezahlt { background: #e4f6ec; color: #17693a; }
.pkc-kb-st--aus { background: #eeecf3; color: var(--pkc-grau); }
.pkc-kb-st--test { background: var(--pkc-blau); color: #fff; letter-spacing: .06em; text-transform: uppercase; font-size: 11px; }
.pkc-kb-st--doppelt { background: #fff0d6; color: #7a4b00; }
.pkc-kb-st--leise { background: #f1eff7; color: var(--pkc-grau); font-weight: 500; }

.pkc-kb-res__form { margin: 0; }
.pkc-kb-res__akt { display: flex; gap: 8px; margin-top: 12px; }
.pkc-ui .pkc-kb-res__akt .pkc-btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 12px 14px; font-size: 15px; white-space: normal; text-align: center; }
.pkc-kb-res__neben { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: 6px; }
.pkc-ui button.pkc-kb-leise { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 2px; border: 0; background: none; color: var(--pkc-blau); font: 500 14px/1.3 var(--pkc-sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pkc-ui button.pkc-kb-leise--rot { color: var(--pkc-rot-text); }
.pkc-ui button.pkc-kb-leise:focus-visible { outline: 3px solid var(--pkc-blau); outline-offset: 2px; border-radius: 4px; }
.pkc-btn--blau, .pkc-ui a.pkc-btn--blau, .pkc-ui button.pkc-btn--blau { background: var(--pkc-blau); color: #fff; }
.pkc-btn--rot, .pkc-ui button.pkc-btn--rot { background: #c62839; color: #fff; }
.pkc-btn--rot:focus-visible { outline-color: #c62839; }
.pkc-ui button.pkc-btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* Rückfrage (Stornieren, Test löschen) */
.pkc-kb-frage { margin-top: 10px; padding: 14px; border-radius: 12px; background: #fff5f6; box-shadow: inset 0 0 0 1px #f6cdd3; }
@media (prefers-reduced-motion: no-preference) {
  .pkc-kb-frage:not([hidden]) { animation: pkc-kb-rein 200ms var(--pkc-ease) both; }
}
@keyframes pkc-kb-rein { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.pkc-ui .pkc-kb-frage__titel { font-weight: 700; color: var(--pkc-text); }
.pkc-ui .pkc-kb-frage__text { margin-top: 2px; font-size: 14px; color: var(--pkc-grau); }
.pkc-kb-frage__knoepfe { display: flex; gap: 8px; margin-top: 12px; }
.pkc-ui .pkc-kb-frage__knoepfe .pkc-btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 12px; white-space: normal; }

/* Kontingent und Ausverkauft */
.pkc-kb-kont { scroll-margin-top: 96px; margin-top: 22px; }
.pkc-kb-kont__form { margin: 0; }
.pkc-kb-kont__zeile { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.pkc-ui .pkc-kb-zahl { gap: 8px; }
.pkc-ui .pkc-kb-zahl button { width: 48px; height: 48px; font-size: 22px; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.pkc-ui input.pkc-kb-zahl__wert { width: 96px; height: 48px; margin: 0; padding: 0 6px; border: 2px solid var(--pkc-linie); border-radius: 12px; background: #fff; color: var(--pkc-blau); font: 700 22px/1 var(--pkc-serif); text-align: center; font-variant-numeric: tabular-nums; box-shadow: none; -moz-appearance: textfield; appearance: textfield; }
.pkc-ui input.pkc-kb-zahl__wert::-webkit-outer-spin-button, .pkc-ui input.pkc-kb-zahl__wert::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pkc-ui input.pkc-kb-zahl__wert:focus { border-color: var(--pkc-blau); outline: none; box-shadow: 0 0 0 3px rgba(21, 0, 112, .12); }
.pkc-ui input.pkc-kb-zahl__wert[aria-invalid="true"] { border-color: var(--pkc-rot); }
.pkc-kb-kont__einheit { font-size: 14px; color: var(--pkc-grau); }
.pkc-ui .pkc-kb-kont__min { margin-top: 8px; font-size: 13px; color: var(--pkc-grau); }
.pkc-ui .pkc-kb-kont__min.is-warn { color: var(--pkc-rot-text); font-weight: 500; }
.pkc-ui button.pkc-kb-kont__speichern { width: 100%; margin-top: 12px; }
.pkc-kb-kont__aus { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--pkc-linie); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pkc-kb-schalter { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; flex: 1 1 220px; }
.pkc-kb-schalter input { position: absolute; opacity: 0; width: 46px; height: 28px; margin: 0; cursor: pointer; }
.pkc-kb-schalter__bahn { position: relative; flex: none; width: 46px; height: 28px; border-radius: var(--pkc-radius-pille); background: #d8d3e8; transition: background-color 200ms ease; }
.pkc-kb-schalter__bahn::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(21, 0, 112, .3); transition: transform 200ms var(--pkc-ease); }
.pkc-kb-schalter input:checked + .pkc-kb-schalter__bahn { background: var(--pkc-rot); }
.pkc-kb-schalter input:checked + .pkc-kb-schalter__bahn::after { transform: translateX(18px); }
.pkc-kb-schalter input:focus-visible + .pkc-kb-schalter__bahn { outline: 3px solid var(--pkc-blau); outline-offset: 2px; }
.pkc-kb-fuss { display: flex; gap: 8px; margin: 14px 0; }
.pkc-ui .pkc-kb-fuss .pkc-btn { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 12px; font-size: 15px; }
.pkc-kb-fuss .pkc-icon { width: 18px; height: 18px; }

/* Einstellungen */
.pkc-kb-einst { margin: 28px 0 10px; background: #fff; border-radius: 16px; box-shadow: var(--pkc-schatten); scroll-margin-top: 96px; }
.pkc-kb-einst__kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; min-height: 60px; padding: 12px 16px; cursor: pointer; list-style: none; }
.pkc-kb-einst__kopf::-webkit-details-marker { display: none; }
.pkc-kb-einst__kopf > span:first-child { font: 700 18px/1.3 var(--pkc-serif); color: var(--pkc-blau); }
.pkc-kb-einst__unter { grid-column: 1; font-size: 13px; color: var(--pkc-grau); }
.pkc-kb-einst__kopf::after { content: ""; grid-row: 1 / span 2; grid-column: 2; width: 10px; height: 10px; border: solid var(--pkc-blau); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 200ms var(--pkc-ease); }
.pkc-kb-einst[open] > .pkc-kb-einst__kopf::after { transform: rotate(225deg); }
.pkc-kb-einst__kopf:focus-visible { outline: 3px solid var(--pkc-blau); outline-offset: 2px; border-radius: 16px; }
.pkc-kb-einst__form { margin: 0; padding: 0 16px 18px; }
.pkc-kb-einst fieldset { margin: 0; padding: 16px 0 6px; border: 0; border-top: 1px solid var(--pkc-linie); min-width: 0; }
.pkc-kb-einst legend { padding: 0; font: 700 16px/1.3 var(--pkc-serif); color: var(--pkc-blau); }
.pkc-ui .pkc-kb-einst__hilfe { margin: 2px 0 10px; font-size: 13px; color: var(--pkc-grau); }
.pkc-ui .pkc-kb-einst__fest { margin: 6px 0 10px; padding: 10px 12px; border-radius: 12px; background: var(--pkc-flaeche); font-size: 14px; line-height: 1.5; color: var(--pkc-text); overflow-wrap: anywhere; }
.pkc-ui textarea.pkc-feld__eingabe { width: 100%; margin: 0; padding: 12px 14px; border: 2px solid var(--pkc-linie); border-radius: 12px; background: #fff; color: var(--pkc-text); font: 400 16px/1.5 var(--pkc-sans); box-shadow: none; outline: none; resize: vertical; -webkit-appearance: none; appearance: none; }
.pkc-ui textarea.pkc-feld__eingabe:focus { border-color: var(--pkc-blau); box-shadow: 0 0 0 3px rgba(21, 0, 112, .12); }
.pkc-kb-abhol { display: flex; flex-direction: column; gap: 8px; }
.pkc-kb-abhol__zeile { display: flex; gap: 6px; align-items: center; }
.pkc-ui button.pkc-kb-abhol__weg { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--pkc-flaeche); color: var(--pkc-grau); cursor: pointer; }
.pkc-ui button.pkc-kb-abhol__weg:focus-visible { outline: 3px solid var(--pkc-blau); outline-offset: 2px; }
.pkc-kb-abhol + .pkc-kb-leise { margin: 4px 0 10px; }
.pkc-ui button.pkc-kb-einst__speichern { width: 100%; margin-top: 8px; }

/* Kein Zugriff / Anmelden */
.pkc-kb-box { margin-top: 40px; padding: 28px 22px; text-align: center; }
.pkc-ui .pkc-kb-box__titel, html body:not(.home) .et_pb_text .pkc-kb h1.pkc-kb-box__titel { margin: 6px 0 8px; font-size: 26px !important; line-height: 1.2 !important; color: var(--pkc-blau); }
.pkc-ui .pkc-kb-box__text { margin: 0 auto 20px; max-width: 460px; color: var(--pkc-grau); }

/* Hinweis unten (nach einer Aktion) */
.pkc-kb-toast-ort { position: fixed; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.pkc-kb-toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; width: min(520px, 100%); min-height: 56px; padding: 8px 8px 8px 16px; border-radius: 14px; background: #1d1640; color: #fff; box-shadow: 0 12px 32px rgba(21, 0, 112, .35); transition: opacity 180ms ease, transform 180ms var(--pkc-ease); }
@media (prefers-reduced-motion: no-preference) {
  .pkc-kb-toast { animation: pkc-kb-toast 260ms var(--pkc-ease) both; }
}
@keyframes pkc-kb-toast { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pkc-kb-toast.is-weg { opacity: 0; transform: translateY(10px); }
.pkc-kb-toast--fehler { background: var(--pkc-rot-text); }
.pkc-kb-toast__icon { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--pkc-gelb); }
.pkc-kb-toast--fehler .pkc-kb-toast__icon { color: #fff; }
.pkc-ui .pkc-kb-toast__text { flex: 1; min-width: 0; font-size: 15px; line-height: 1.4; color: #fff; }
.pkc-kb-toast__undo { margin: 0; flex: none; }
.pkc-ui .pkc-kb-toast__undo button, .pkc-ui button.pkc-kb-toast__x { min-height: 44px; margin: 0; border: 0; background: none; color: var(--pkc-gelb); font: 700 14px/1 var(--pkc-sans); cursor: pointer; }
.pkc-ui .pkc-kb-toast__undo button { padding: 0 10px; }
.pkc-ui button.pkc-kb-toast__x { display: grid; place-items: center; width: 44px; padding: 0; color: rgba(255, 255, 255, .8); }
.pkc-ui .pkc-kb-toast__undo button:focus-visible, .pkc-ui button.pkc-kb-toast__x:focus-visible { outline: 2px solid var(--pkc-gelb); outline-offset: -2px; border-radius: 10px; }

@media (hover: hover) and (pointer: fine) {
  .pkc-ui a.pkc-kb__tab:not(.is-aktiv):hover { box-shadow: inset 0 0 0 2px var(--pkc-blau); }
  .pkc-btn--blau:hover, .pkc-ui a.pkc-btn--blau:hover { color: #fff; background: #23098f; }
  .pkc-btn--rot:hover, .pkc-ui button.pkc-btn--rot:hover { color: #fff; background: #ad1f30; }
  .pkc-ui button.pkc-kb-leise:hover { text-decoration-thickness: 2px; }
  .pkc-ui a.pkc-kb__abmelden:hover { color: #fff; }
}
@media (min-width: 768px) {
  .pkc-kb__gruss { padding-top: 26px; }
  html body .pkc-ui h1.pkc-kb__hallo, html body:not(.home) .et_pb_text .pkc-kb h1.pkc-kb__hallo { font-size: 28px !important; }
  .pkc-kb-res { padding: 16px 18px; }
  .pkc-ui .pkc-kb-res__akt .pkc-btn { flex: 0 1 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .pkc-ui a.pkc-kb__tab, .pkc-ui button.pkc-kb__suchknopf, .pkc-kb-toast, .pkc-kb-schalter__bahn, .pkc-kb-schalter__bahn::after, .pkc-kb-einst__kopf::after, .pkc-kb-aus > summary::after { transition: none; }
  .pkc-ui a.pkc-kb__tab:active, .pkc-ui button.pkc-kb__suchknopf:active { transform: none; }
}
@media print { .pkc-kb__kopf, .pkc-kb-toast-ort, .pkc-kb-res__form, .pkc-kb-einst { display: none !important; } }
