/* ---- Kontaktformular (Tagungen & Feiern) ----
   The button sits under the prospectus on the Tagungen sheet; the form opens as a
   note pinned over the page, in the same family as the "Jetzt neu" sticky note but
   on the book's paper so the fields read clearly. */

/* the button on the sheet: sized off the card like the rest of the prospectus */
.prospekt-contact {
  margin-top: 2em; /* clear of the preview sheet above */
  margin-bottom: auto;
  /* same look as the "Benachrichtigen" button, scaled down: rounded rectangle,
     terracotta, sentence case */
  padding: 0.7em 1.5em;
  border: 0;
  border-radius: 0.35em;
  background: var(--terracotta);
  color: #fff;
  font: 600 0.9em/1.2 "Montserrat", sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  /* buried sheets must not catch clicks; script.js routes them by geometry */
  pointer-events: none;
}
.flipcard[data-stage="4"] .prospekt-contact { pointer-events: auto; }
.prospekt-contact:hover,
.prospekt-contact.is-hot { background: var(--terracotta-dark); transform: translateY(-1px); }
.prospekt-contact:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* the overlay: covers everything; the page behind is also made inert by kontakt.js.
   Laid out like an iOS sheet: a bar with the close button, grouped rows, a fixed send
   button. Centred card on desktop, bottom sheet on phones. */
.kontakt {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 4vw, 2.5rem);
  background: rgba(43, 39, 35, 0.42);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  animation: kontakt-in 0.25s ease both;
}
.kontakt[hidden] { display: none; }
.kontakt--out { animation: kontakt-out 0.2s ease both; }

.kontakt-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 31rem;
  max-height: min(100%, 52rem);
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  box-shadow: 0 1px 3px rgba(43, 39, 35, 0.12), 0 30px 70px -20px rgba(43, 39, 35, 0.55);
  animation: kontakt-pop 0.32s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

/* the sheet's bar: a quiet title in the middle, a round close button on the right */
.kontakt-head {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  height: 3.4rem;
  border-bottom: 1px solid rgba(43, 39, 35, 0.08);
}
.kontakt-bar {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.kontakt-x {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  width: 1.9rem;
  height: 1.9rem;
  margin-top: -0.95rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(43, 39, 35, 0.08);
  color: rgba(43, 39, 35, 0.6);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.kontakt-x:hover { background: rgba(43, 39, 35, 0.15); color: var(--ink); }
.kontakt-x:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

.kontakt-form {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.kontakt-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 1.3rem clamp(0.9rem, 4vw, 1.4rem) 1.2rem;
}
.kontakt-title {
  font-size: clamp(1.6rem, 6vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.kontakt-intro {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

/* grouped lists: a header above, a rounded white group of rows below */
.ksec {
  margin: 1.5rem 0 0.45rem 0.9rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ksec span { font-weight: 500; letter-spacing: 0.04em; text-transform: none; }
.kgroup {
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 0 0 1px rgba(43, 39, 35, 0.07);
  overflow: hidden;
}
.kgroup--pad { padding: 0.8rem 0.8rem; }
.krow {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 0.9rem;
  cursor: text;
}
.krow + .krow { border-top: 1px solid rgba(43, 39, 35, 0.08); }
.klabel {
  flex: 0 0 7rem;
  padding: 0.85rem 0;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.15s ease;
}
.krow:focus-within .klabel { color: var(--terracotta-dark); }
.kval {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.2rem 0;
}
.krow:has([aria-invalid="true"]) .klabel { color: #b3261e; }

.kval input,
.kval select,
.kontakt-body textarea {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 0.95rem/1.35 "Montserrat", sans-serif; /* 15px+: no iOS zoom on focus */
  -webkit-appearance: none;
          appearance: none;
}
.kval input,
.kval select { height: 2.5rem; padding: 0; }
.kval select {
  padding-right: 1.5rem;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238a7d6f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.15rem center;
  cursor: pointer;
}
.kval select:invalid, .kval select:has(option[value=""]:checked) { color: rgba(43, 39, 35, 0.4); }
.kval input[type="number"] { -moz-appearance: textfield; }
.kval input::-webkit-outer-spin-button,
.kval input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kontakt-body ::placeholder { color: rgba(43, 39, 35, 0.35); }
.kval input:focus,
.kval select:focus,
.kontakt-body textarea:focus { outline: none; }
.kval input:focus-visible,
.kval select:focus-visible { outline: none; }
.kontakt-body textarea {
  display: block;
  min-height: 5.5rem;
  padding: 0.85rem 0.9rem;
  resize: none;
}

/* "+" beside a value: another pick of the same kind. Round, quiet, tinted. */
.kontakt-pick { display: flex; align-items: center; gap: 0.5rem; }
.kontakt-pick > input,
.kontakt-pick > select { flex: 1 1 auto; }
.kontakt-plus {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(173, 83, 64, 0.12);
  color: var(--terracotta-dark);
  font: 500 1.15rem/1 "Montserrat", sans-serif;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.kontakt-plus:hover:not(:disabled) { background: rgba(173, 83, 64, 0.22); }
.kontakt-plus:active:not(:disabled) { transform: scale(0.92); }
.kontakt-plus:disabled { opacity: 0.35; cursor: default; }
.kontakt-minus { background: rgba(43, 39, 35, 0.08); color: rgba(43, 39, 35, 0.6); }
.kontakt-minus:hover:not(:disabled) { background: rgba(43, 39, 35, 0.15); }
.kontakt-plus:focus-visible,
.kontakt-chip-plus:focus-visible,
.kontakt-go:focus-visible,
.kontakt-copy:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

/* Kulinarik: tinted pills */
.kontakt-checks { display: flex; flex-flow: row wrap; gap: 0.45rem; border: 0; padding: 0; margin: 0; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.kontakt-checks label {
  position: relative; /* contains the hidden checkbox, so focusing it can't scroll the card */
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(43, 39, 35, 0.06);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, color 0.15s ease;
}
/* the checkbox itself is hidden: the whole pill is the control */
.kontakt-checks input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.kontakt-checks label:hover { background: rgba(43, 39, 35, 0.1); }
.kontakt-checks label:has(input:checked) { background: var(--terracotta); color: #fff; }
.kontakt-checks label:has(input:checked)::before { content: "\2713"; margin-right: 0.4em; font-size: 0.8em; }
.kontakt-checks label:has(input:focus-visible) { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.kontakt-chip-plus {
  padding: 0.5rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: rgba(173, 83, 64, 0.12);
  color: var(--terracotta-dark);
  font: 600 0.85rem/1.25 "Montserrat", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}
.kontakt-chip-plus:hover { background: rgba(173, 83, 64, 0.22); }
.kontakt-checks input.kontakt-own {
  position: static;
  opacity: 1;
  pointer-events: auto;
  width: auto;
  height: auto;
  flex: 1 1 9rem;
  padding: 0.5rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: rgba(43, 39, 35, 0.06);
  font: 400 0.85rem/1.25 "Montserrat", sans-serif;
  color: var(--ink);
}
.kontakt-checks input.kontakt-own:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; }

/* the send button stays in view under the scrolling form */
.kontakt-foot {
  flex: 0 0 auto;
  padding: 0.8rem clamp(0.9rem, 4vw, 1.4rem) max(1rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(43, 39, 35, 0.08);
  background: rgba(248, 241, 219, 0.9);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  text-align: center;
}
.kontakt-go {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 0;
  border-radius: 14px;
  background: var(--terracotta);
  color: #fff;
  font: 600 1rem/1.2 "Montserrat", sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease;
}
.kontakt-go:hover { background: var(--terracotta-dark); }
.kontakt-go:active { transform: scale(0.99); }
.kontakt-hint {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
}
.kontakt-status {
  margin-top: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.45;
}
.kontakt-status:empty { display: none; }
.kontakt-status--err { color: #b3261e; }
.kontakt-copy {
  margin-top: 0.55rem;
  padding: 0.5rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(43, 39, 35, 0.08);
  color: var(--ink);
  font: 600 0.8rem/1.2 "Montserrat", sans-serif;
  cursor: pointer;
}
.kontakt-copy[hidden] { display: none; }
.kontakt-copy:hover { background: rgba(43, 39, 35, 0.14); }

/* the page underneath holds still while the form is up */
html.kontakt-open { overflow: hidden; }

@keyframes kontakt-in { from { opacity: 0; } }
@keyframes kontakt-out { to { opacity: 0; } }
@keyframes kontakt-pop { from { opacity: 0; transform: scale(0.97) translateY(8px); } }
@keyframes kontakt-rise { from { transform: translateY(100%); } }

/* phones: a bottom sheet that slides up */
@media (max-width: 560px) {
  .kontakt { place-items: end center; padding: 0; }
  .kontakt-card {
    max-width: none;
    max-height: 94vh;
    max-height: 94dvh;
    border-radius: 22px 22px 0 0;
    animation: kontakt-rise 0.38s cubic-bezier(0.2, 0.9, 0.3, 1) both;
  }
  .klabel { flex-basis: 7rem; font-size: 0.88rem; }
}
@media (prefers-reduced-motion: reduce) {
  .kontakt, .kontakt--out, .kontakt-card { animation: none; }
}

/* ===== Business-Stil: Seitenleiste links, Formular rechts =====
   Beschriftung über dem Feld, klare Linien, kleine Radien. Auf dem Handy entfällt die
   Seitenleiste und das Formular wird zum Sheet von unten. (#kontakt trägt data-stil="b".) */
.kontakt-side { display: none; }
.kontakt-main { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; min-width: 0; }

/* -- stacked labels over bordered fields, two columns -- */
.kontakt[data-stil] { --k-ink: #1f2328; --k-line: #d6d1c4; --k-soft: #f6f4ee; --k-text2: #5e5850; }
.kontakt[data-stil] .kontakt-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 28px 70px -22px rgba(0, 0, 0, 0.55);
}
.kontakt[data-stil] .kontakt-head { height: 3.4rem; border-bottom: 1px solid var(--k-line); }
.kontakt[data-stil] .kontakt-body { padding: 1.4rem 1.8rem 1.6rem; }
.kontakt[data-stil] .kontakt-title { font-size: 1.45rem; letter-spacing: 0; color: var(--k-ink); }
.kontakt[data-stil] .kontakt-intro { color: var(--k-text2); font-size: 0.88rem; }
.kontakt[data-stil] .ksec {
  margin: 1.5rem 0 0.85rem;
  padding: 0 0 0.5rem;
  border-bottom: 1px solid var(--k-line);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--k-ink);
}
.kontakt[data-stil] .kgroup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.kontakt[data-stil] .kgroup--pad { display: block; }
.kontakt[data-stil] .krow,
.kontakt[data-stil] .krow + .krow {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  cursor: default;
}
.kontakt[data-stil] .krow--wide { grid-column: 1 / -1; }
.kontakt[data-stil] .klabel {
  display: block;
  padding: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--k-text2);
}
.kontakt[data-stil] .krow:focus-within .klabel { color: var(--k-ink); }
.kontakt[data-stil] .kval { padding: 0; gap: 0.5rem; }
.kontakt[data-stil] .kval input,
.kontakt[data-stil] .kval select {
  height: 2.75rem;
  padding: 0 0.85rem;
  border: 1px solid var(--k-line);
  border-radius: 4px;
  background-color: #fff;
}
.kontakt[data-stil] .kval select { padding-right: 2.2rem; background-position: right 0.85rem center; }
.kontakt[data-stil] .kval input:focus,
.kontakt[data-stil] .kval select:focus,
.kontakt[data-stil] .kontakt-body textarea:focus {
  border-color: var(--k-ink);
  box-shadow: 0 0 0 3px rgba(31, 35, 40, 0.12);
  outline: none;
}
.kontakt[data-stil] .krow:has([aria-invalid="true"]) .klabel { color: #b3261e; }
.kontakt[data-stil] .krow [aria-invalid="true"] { border-color: #b3261e; }
.kontakt[data-stil] .kontakt-body textarea {
  grid-column: 1 / -1;
  min-height: 6rem;
  padding: 0.8rem 0.85rem;
  border: 1px solid var(--k-line);
  border-radius: 4px;
  background: #fff;
}
.kontakt[data-stil] .kgroup:has(> textarea) { display: block; }
.kontakt[data-stil] .kontakt-plus {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--k-line);
  border-radius: 4px;
  background: var(--k-soft);
  color: var(--k-ink);
  font-size: 1.25rem;
}
.kontakt[data-stil] .kontakt-plus:hover:not(:disabled) { background: #ece8dc; }
.kontakt[data-stil] .kontakt-minus { color: var(--k-text2); }
.kontakt[data-stil] .kontakt-checks label,
.kontakt[data-stil] .kontakt-chip-plus,
.kontakt[data-stil] .kontakt-checks input.kontakt-own {
  border-radius: 4px;
  border: 1px solid var(--k-line);
  background: #fff;
  color: var(--k-ink);
}
.kontakt[data-stil] .kontakt-chip-plus { border-style: dashed; color: var(--k-text2); }
.kontakt[data-stil] .kontakt-checks label:hover { background: var(--k-soft); }
.kontakt[data-stil] .kontakt-checks label:has(input:checked) {
  background: var(--k-ink);
  border-color: var(--k-ink);
  color: #fff;
}
.kontakt[data-stil] .kgroup--pad { padding: 0; }
.kontakt[data-stil] .kontakt-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.2rem;
  padding: 1rem 1.8rem;
  background: var(--k-soft);
  border-top: 1px solid var(--k-line);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  text-align: left;
}
.kontakt[data-stil] .kontakt-hint { flex: 1 1 14rem; order: 1; margin: 0; color: var(--k-text2); }
.kontakt[data-stil] .kontakt-go { order: 2; width: auto; min-width: 13rem; border-radius: 4px; background: var(--k-ink); font-size: 0.9rem; letter-spacing: 0.02em; }
.kontakt[data-stil] .kontakt-go:hover { background: #000; }
.kontakt[data-stil] .kontakt-status { order: 3; flex: 1 1 100%; margin: 0; }
.kontakt[data-stil] .kontakt-copy { order: 4; margin: 0; border-radius: 4px; }
.kontakt[data-stil] .kontakt-x { border-radius: 4px; }

/* -- B: Seitenleiste -- */
.kontakt[data-stil="b"] .kontakt-card { max-width: 62rem; flex-direction: row; }
.kontakt[data-stil="b"] .kontakt-side {
  display: flex;
  flex: 0 0 17.5rem;
  flex-direction: column;
  padding: 2.2rem 1.8rem;
  background: var(--terracotta-dark);
  color: #fff;
  overflow-y: auto;
}
/* the logo (images/terracotta-logo.png, terracotta red on transparent) would vanish on the dark panel, so it sits
   on an orange plate; the picture has its own empty margin round the lettering, so the plate needs little padding */
.kontakt[data-stil="b"] .kside-brand {
  margin: 0;
  padding: 0.3rem 0.4rem;
  border-radius: 6px;
  background: #f9e4cb;
}
.kontakt[data-stil="b"] .kside-brand img { display: block; width: 100%; height: auto; filter: brightness(0.94); /* lettering in the panel colour, the PNG file itself stays as is */ }
.kontakt[data-stil="b"] .kside-lead { margin-top: 1rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.25); font-size: 0.9rem; line-height: 1.5; opacity: 0.9; }
.kontakt[data-stil="b"] .kside-list { margin-top: 1.4rem; font-size: 0.88rem; line-height: 1.55; }
.kontakt[data-stil="b"] .kside-list dt { margin-top: 1.2rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
.kontakt[data-stil="b"] .kside-list dt:first-child { margin-top: 0; }
.kontakt[data-stil="b"] .kside-list dd { margin: 0.25rem 0 0; }
.kontakt[data-stil="b"] .kside-list a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.4); }
.kontakt[data-stil="b"] .kontakt-head { justify-content: end; height: 3.2rem; }
.kontakt[data-stil="b"] .kontakt-bar { display: none; }
.kontakt[data-stil="b"] .kontakt-x { background: var(--k-soft); }
.kontakt[data-stil="b"] .kontakt-go { background: var(--terracotta); }
.kontakt[data-stil="b"] .kontakt-go:hover { background: var(--terracotta-dark); }
.kontakt[data-stil="b"] .kontakt-checks label:has(input:checked) { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }
@media (max-width: 860px) {
  .kontakt[data-stil="b"] .kontakt-side { display: none; }
  .kontakt[data-stil="b"] .kontakt-bar { display: block; }
  .kontakt[data-stil="b"] .kontakt-head { justify-content: center; }
}

/* phones: one column, bottom sheet with small radius */
@media (max-width: 560px) {
  .kontakt[data-stil] .kontakt-card { border-radius: 10px 10px 0 0; flex-direction: column; }
  .kontakt[data-stil] .kgroup { grid-template-columns: 1fr; }
  .kontakt[data-stil] .kontakt-body,
  .kontakt[data-stil] .kontakt-foot { padding-left: 1.1rem; padding-right: 1.1rem; }
      .kontakt[data-stil] .kontakt-go { flex: 1 1 100%; }
}

/* ---- date picker: compact iOS-style calendar popover ---- */
.kontakt-form input[data-date] { cursor: pointer; }
.kdp {
  position: fixed;
  z-index: 5;
  width: min(19rem, calc(100vw - 16px));
  padding: 0.7rem 0.7rem 0.8rem;
  border-radius: 16px;
  background: rgba(255, 253, 246, 0.94);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
          backdrop-filter: saturate(1.6) blur(18px);
  border: 1px solid rgba(43, 39, 35, 0.08);
  box-shadow: 0 2px 6px rgba(43, 39, 35, 0.1), 0 22px 44px -12px rgba(43, 39, 35, 0.4);
  color: var(--ink);
  user-select: none;
  -webkit-user-select: none;
  animation: kdp-in 0.16s ease both;
  transform-origin: top left;
}
.kdp[hidden] { display: none; }
.kdp-head { display: flex; align-items: center; justify-content: space-between; padding: 0 0.1rem 0.5rem; }
.kdp-title { font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em; }
.kdp-nav {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--terracotta);
  font: 400 1.6rem/1 "Montserrat", sans-serif;
  cursor: pointer;
  transition: background 0.15s ease;
}
.kdp-nav:hover:not(:disabled) { background: rgba(173, 83, 64, 0.12); }
.kdp-nav:disabled { opacity: 0.25; cursor: default; }
.kdp-week, .kdp-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.kdp-week span {
  text-align: center;
  padding-bottom: 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.kdp-grid { row-gap: 2px; }
.kdp-day {
  justify-self: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
  font: 400 0.95rem/1 "Montserrat", sans-serif;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.12s ease;
}
.kdp-day:hover:not(:disabled):not(.is-chosen) { background: rgba(43, 39, 35, 0.08); }
.kdp-day:disabled { color: rgba(43, 39, 35, 0.25); cursor: default; }
.kdp-day.is-today { color: var(--terracotta); font-weight: 700; }
.kdp-day.is-chosen { background: var(--terracotta); color: #fff; font-weight: 600; }
.kdp-day:focus-visible, .kdp-nav:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
@keyframes kdp-in { from { opacity: 0; transform: scale(0.96); } }
@media (prefers-reduced-motion: reduce) { .kdp { animation: none; } }

/* a slim scrollbar that stays visible in the white section, so it is clear the form goes on */
.kontakt-body::-webkit-scrollbar { width: 8px; }
.kontakt-body::-webkit-scrollbar-track { background: transparent; margin: 6px 0; }
.kontakt-body::-webkit-scrollbar-thumb { background: #c4bdae; border-radius: 4px; }
.kontakt-body::-webkit-scrollbar-thumb:hover { background: #a39b8a; }
@supports not selector(::-webkit-scrollbar) {
  .kontakt-body { scrollbar-width: thin; scrollbar-color: #c4bdae transparent; }
}
/* a soft shadow above the send bar: the form continues underneath (the cue on phones, where scrollbars fade) */
.kontakt[data-stil] .kontakt-foot { box-shadow: 0 -10px 14px -12px rgba(31, 35, 40, 0.28); }
