.wbh-inquiry-shell,
.wbh-public-calendar,
.wbh-dashboard-public {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(18, 31, 45, 0.12);
  color: #12202f;
  padding: clamp(24px, 4vw, 48px);
}

.wbh-progress {
  color: #d6004c;
  font-weight: 800;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.wbh-step { display: none; }
.wbh-step.is-active { display: block; }
.wbh-step h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-top: 0; }

.wbh-choice-grid,
.wbh-field-grid,
.wbh-dashboard-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wbh-choice,
.wbh-inquiry-form label {
  display: grid;
  font-weight: 700;
  gap: 8px;
}

.wbh-choice {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  cursor: pointer;
  padding: 18px;
}

.wbh-inquiry-form input,
.wbh-inquiry-form select,
.wbh-inquiry-form textarea {
  border: 1px solid #d9e1ea;
  border-radius: 14px;
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

.wbh-inquiry-form .has-error input,
.wbh-inquiry-form .has-error select { border-color: #d6004c; }

.wbh-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 28px;
}

.wbh-primary,
.wbh-secondary,
.wbh-ticket-link {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  padding: 13px 22px;
  text-decoration: none;
}

.wbh-primary,
.wbh-ticket-link { background: #d6004c; color: #fff; }
.wbh-secondary { background: #edf2f7; color: #12202f; }
.is-hidden { display: none; }

.wbh-internal-estimate,
.wbh-alert,
.wbh-dev-note {
  background: #f7fafc;
  border-left: 4px solid #d6004c;
  border-radius: 14px;
  margin-top: 18px;
  padding: 14px 16px;
}

.wbh-internal-estimate small { display: block; margin-top: 6px; }
.wbh-alert-success { border-color: #198754; }
.wbh-alert-error { border-color: #dc3545; }

.wbh-event-card,
.wbh-mini-row {
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  display: grid;
  gap: 16px;
  grid-template-columns: auto 1fr auto;
  padding: 18px 0;
}

.wbh-event-date {
  background: #12202f;
  border-radius: 18px;
  color: #fff;
  display: grid;
  min-width: 72px;
  padding: 10px;
  text-align: center;
}

.wbh-event-date strong { font-size: 1.7rem; }
.wbh-event-body h3 { margin: 0 0 6px; }
.wbh-event-subtitle,
.wbh-event-meta { color: #5c6b7a; margin: 0 0 6px; }
.wbh-mini-row { grid-template-columns: 140px 1fr; }
.wbh-mini-row.is-private { opacity: 0.7; }

.wbh-modal-open { overflow: hidden; }

.wbh-inquiry-modal[aria-hidden="true"] { display: none; }

.wbh-inquiry-modal {
  inset: 0;
  position: fixed;
  z-index: 9999;
}

.wbh-inquiry-modal__backdrop {
  background: rgba(7, 15, 25, 0.72);
  inset: 0;
  position: absolute;
}

.wbh-inquiry-modal__dialog {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  left: 50%;
  max-height: calc(100vh - 40px);
  max-width: min(960px, calc(100vw - 28px));
  overflow: auto;
  padding: clamp(18px, 3vw, 32px);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.wbh-inquiry-modal__close {
  align-items: center;
  background: #12202f;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 44px;
}

.wbh-inquiry-modal__intro {
  margin: 0 56px 18px 0;
}

.wbh-inquiry-modal__intro span {
  color: #d6004c;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wbh-inquiry-modal__intro h2 {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  margin: 8px 0 0;
}

.wbh-inquiry-modal .wbh-inquiry-shell {
  box-shadow: none;
  padding: 0;
}

.anfrage-cta-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.anfrage-cta-card .form-submit {
  display: inline-flex;
  justify-content: center;
  text-decoration: none;
}

.wbh-tool-body {
  background: #eef3f8;
  color: #12202f;
  margin: 0;
  min-height: 100vh;
}

.wbh-tool-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.wbh-tool-sidebar {
  background: #0f1d2d;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.wbh-tool-brand {
  display: grid;
  gap: 4px;
  margin-bottom: 34px;
}

.wbh-tool-brand span {
  align-items: center;
  background: #d6004c;
  border-radius: 16px;
  display: inline-flex;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.wbh-tool-brand strong { font-size: 1.2rem; }
.wbh-tool-brand small { color: rgba(255, 255, 255, 0.55); }

.wbh-tool-nav {
  display: grid;
  gap: 10px;
}

.wbh-tool-nav a,
.wbh-tool-sidebar-footer a {
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  padding: 12px 14px;
  text-decoration: none;
}

.wbh-tool-nav a.is-active,
.wbh-tool-nav a:hover,
.wbh-tool-sidebar-footer a:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.wbh-tool-sidebar-footer {
  display: grid;
  gap: 6px;
  margin-top: auto;
}

.wbh-tool-main {
  padding: clamp(24px, 4vw, 48px);
}

.wbh-tool-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.wbh-tool-header span,
.wbh-tool-kicker {
  color: #d6004c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wbh-tool-header h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 6px 0 0;
}

.wbh-tool-user,
.wbh-tool-panel,
.wbh-tool-stats article,
.wbh-tool-login-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 29, 45, 0.08);
}

.wbh-tool-user {
  display: grid;
  min-width: 220px;
  padding: 14px 18px;
  text-align: right;
}

.wbh-tool-user small { color: #607083; }

.wbh-tool-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 22px;
}

.wbh-tool-stats article {
  display: grid;
  gap: 4px;
  padding: 22px;
}

.wbh-tool-stats strong {
  color: #d6004c;
  font-size: 2.2rem;
}

.wbh-tool-panel {
  padding: 24px;
}

.wbh-tool-panel h2 { margin-top: 0; }

.wbh-tool-table-wrap { overflow-x: auto; }

.wbh-tool-table {
  border-collapse: collapse;
  width: 100%;
}

.wbh-tool-table th,
.wbh-tool-table td {
  border-bottom: 1px solid #e4ebf2;
  padding: 13px 10px;
  text-align: left;
  vertical-align: top;
}

.wbh-tool-table th {
  color: #607083;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.wbh-tool-table tr.is-private td,
.wbh-tool-table tr.is-private {
  background: #fff8e6;
}

.wbh-tool-login {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.wbh-tool-login-card {
  max-width: 460px;
  padding: clamp(28px, 5vw, 48px);
  width: 100%;
}

.wbh-tool-login-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 8px 0 10px;
}

.wbh-tool-login-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.wbh-tool-login-form label {
  display: grid;
  font-weight: 800;
  gap: 8px;
}

.wbh-tool-login-form input[type="text"],
.wbh-tool-login-form input[type="password"] {
  border: 1px solid #d9e1ea;
  border-radius: 14px;
  font: inherit;
  padding: 13px 14px;
  width: 100%;
}

.wbh-tool-check {
  align-items: center;
  display: flex !important;
  font-weight: 600 !important;
}

@media (max-width: 860px) {
  .wbh-tool-layout { grid-template-columns: 1fr; }
  .wbh-tool-sidebar { position: static; }
  .wbh-tool-header { align-items: flex-start; flex-direction: column; gap: 16px; }
  .wbh-tool-user { text-align: left; }
}
