/* Dokumentation: Dieses Stylesheet enthält die CSS-Stile für die HOPS24-Website. */
:root {
  --bg: #fff8fb;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #666;
  --line: #e8d8f0;
  --brand:  #ff4fa3;
  --brand2: #5b4fff;
  --accent: #ffca3a;
  --green:  #2ecc71;
  --orange: #ff7f3f;
  --teal:   #00c9c8;
  --success: #1f9d55;
  --danger: #cf2e2e;
  --shadow: 0 8px 28px rgba(91,79,255,.13);
  --shadow-card: 0 6px 22px rgba(255,79,163,.12);
  --r: 20px;
  --r-sm: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  background: #fff8fb;
  color: var(--text);
  /* subtle confetti-dot background */
  background-image:
    radial-gradient(circle, #ffd6ec 1px, transparent 1px),
    radial-gradient(circle, #d6eaff 1px, transparent 1px),
    radial-gradient(circle, #fff0b3 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px, 80px 80px;
  background-position: 0 0, 20px 20px, 10px 40px;
}

a { color: inherit; text-decoration: none; }

.wrap { width: min(1100px, calc(100% - 24px)); margin: 0 auto; }

/* Topbar */
.topbar {
  position: sticky; top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--line);
  z-index: 10;
  box-shadow: 0 3px 16px rgba(255,79,163,.10);
}
.topbar__inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 0; gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.4rem;
  background: linear-gradient(90deg, var(--brand2), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}
.brand__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 6px 14px rgba(91,79,255,.16));
}
.brand__text {
  display: inline-block;
}
.nav { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  transition: background .15s, color .15s;
}
.nav a:hover { background: #efe9ff; color: var(--brand2); }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 52px;
  min-height: 52px;
  padding: 0 14px;
  border: 2px solid #d8c8ff;
  border-radius: 16px;
  background: #fff;
  color: var(--brand2);
  box-shadow: 0 8px 18px rgba(91,79,255,.10);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}
.nav-toggle span {
  display: block;
}
.nav-toggle span:not(.nav-toggle__label) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .15s, opacity .15s;
}
.nav-toggle__label {
  margin-left: 4px;
  font-size: .92rem;
}
.nav-toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle--open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.footer__linkbutton {
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer__linkbutton:hover {
  text-decoration: underline;
}

.main { padding: 22px 0 40px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  background: linear-gradient(135deg, #fff5fe 0%, #eaf0ff 50%, #fff9e0 100%);
  padding: 32px 28px;
  border: 2px solid #e0d0ff;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(91,79,255,.12);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 12px; right: 16px;
  font-size: 1.6rem;
  letter-spacing: 4px;
  opacity: .55;
  pointer-events: none;
}
.hero h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 52px);
  line-height: 1.1;
  background: linear-gradient(90deg, var(--brand2) 0%, var(--brand) 55%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}
.hero p { margin: 0; color: var(--muted); font-size: 1.05rem; }

/* Searchbar */
.searchbar {
  background: #fff;
  border: 2px solid #e0d0ff;
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Grid */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Cards */
.card, .form-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-card);
  padding: 16px;
  transition: transform .18s, box-shadow .18s;
}
.card:hover {
  transform: translateY(-4px) rotate(-0.4deg);
  box-shadow: 0 16px 40px rgba(255,79,163,.18);
}

/* rainbow card top border cycle */
.card:nth-child(4n+1) { border-top: 4px solid var(--brand); }
.card:nth-child(4n+2) { border-top: 4px solid var(--brand2); }
.card:nth-child(4n+3) { border-top: 4px solid var(--accent); }
.card:nth-child(4n+4) { border-top: 4px solid var(--teal); }

.card__image {
  height: 180px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 62px;
  overflow: hidden;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.listing-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 12px;
}
.listing-gallery--compact {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.listing-gallery__item {
  display: grid;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}
.listing-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: #fff;
  display: block;
}
/* colorful card image backgrounds per position */
.card:nth-child(4n+1) .card__image { background: linear-gradient(135deg, #ffe7f4, #ffd6ec); }
.card:nth-child(4n+2) .card__image { background: linear-gradient(135deg, #e0d9ff, #d0e8ff); }
.card:nth-child(4n+3) .card__image { background: linear-gradient(135deg, #fff9cc, #ffe8b0); }
.card:nth-child(4n+4) .card__image { background: linear-gradient(135deg, #ccf5f5, #b0e8f0); }

.card__title { font-size: 1.1rem; font-weight: 900; margin: 12px 0 8px; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .93rem; }

/* Notification Bell */
.notif-bell { position: relative; display: inline-flex; align-items: center; }
.notif-bell__btn {
  position: relative;
  background: none; border: none; cursor: pointer;
  padding: 9px 10px;
  color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  transition: background .15s;
}
.notif-bell__btn:hover { background: #efe9ff; color: var(--brand2); }
.notif-bell__badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--brand); color: #fff;
  font-size: .65rem; font-weight: 700; line-height: 1;
  min-width: 16px; height: 16px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  pointer-events: none;
}
.notif-bell__dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  min-width: 220px;
  z-index: 999;
  overflow: hidden;
}
.notif-bell__item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  text-decoration: none; color: var(--text);
  font-size: .9rem;
  border-bottom: 1px solid var(--line);
  transition: background .12s;
}
.notif-bell__item:last-child { border-bottom: none; }
.notif-bell__item:hover { background: #efe9ff; color: var(--brand2); }
.notif-bell__item-count {
  background: var(--brand); color: #fff;
  font-size: .75rem; font-weight: 700;
  min-width: 22px; height: 22px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.notif-bell__empty { margin: 0; padding: 12px 14px; color: var(--muted); font-size: .9rem; }

/* Badges */
.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .82rem;
}
/* cycle badge colors */
.list-inline .badge:nth-child(odd)  { background: #fff4b8; color: #7a5a00; }
.list-inline .badge:nth-child(even) { background: #ffe0f4; color: #a0006a; }
/* hero badge */
.hero .badge { background: linear-gradient(90deg,#ffe0f4,#e8e0ff); color: var(--brand2); }
/* section-title badge */
.section-title .badge { background: #e8e0ff; color: var(--brand2); }
/* Extra-Listing-Badge im Dashboard */
.badge--extra-listing { background: #fff4b8; color: #7a5a00; }
/* Extra-Listing-Card: leicht abgesetzter Rahmen */
.card--extra-listing { border-top-color: #f59e0b; }

/* Standalone-Toggle – hervorgehobene Checkbox für "Eigenständig buchbar" */
.standalone-toggle {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  user-select: none;
}
.standalone-toggle:hover {
  border-color: var(--brand2);
  background: #f5f3ff;
}
.standalone-toggle__cb {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand2);
  cursor: pointer;
}
.standalone-toggle:has(.standalone-toggle__cb:checked) {
  border-color: var(--brand2);
  background: linear-gradient(135deg, #f0ecff, #fff0fa);
}
.standalone-toggle__box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.standalone-toggle__box strong {
  font-size: 1rem;
  color: var(--brand2);
}
.standalone-toggle__desc {
  font-size: .84rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  font-weight: 900;
  font-size: .97rem;
  cursor: pointer;
  transition: filter .15s, transform .12s;
  box-shadow: 0 4px 14px rgba(91,79,255,.25);
  font-family: inherit;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn--alt { background: linear-gradient(135deg, var(--orange), var(--brand)); }
.btn--ghost { background: #f0ebff; color: var(--brand2); box-shadow: none; }
.btn--ghost:hover { background: #e4dcff; }
.btn--sm { padding: 9px 14px; border-radius: 12px; font-size: .9rem; }
.btn--full { width: 100%; }
.btn--green { background: linear-gradient(135deg, #2ecc71, #00c9c8); }
.btn--danger { background: linear-gradient(135deg, #ff5f5f, #cf2e2e); }

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 40;
}

.cookie-banner__card {
  width: min(860px, 100%);
  margin: 0 auto;
  background: rgba(255,255,255,.98);
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(29,29,31,.16);
  padding: 16px 18px;
  display: grid;
  gap: 14px;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.contact-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(91,79,255,.24);
  transition: transform .12s, filter .15s;
}

.contact-fab:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Inputs */
.input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand2);
  box-shadow: 0 0 0 3px rgba(91,79,255,.13);
}
label { display: grid; gap: 6px; font-weight: 800; font-size: .95rem; }
label.label--check { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }

/* Section Title */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 30px 0 16px;
}
.section-title h2 {
  margin: 0;
  font-weight: 900;
  font-size: 1.5rem;
  background: linear-gradient(90deg, var(--brand2), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Footer */
.footer {
  border-top: 2px solid var(--line);
  padding: 34px 0 24px;
  background:
    radial-gradient(circle at top right, rgba(255,79,163,.12), transparent 30%),
    radial-gradient(circle at bottom left, rgba(91,79,255,.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.88), #f8f0ff);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.footer__brand,
.footer__column {
  padding: 18px;
  border-radius: 20px;
  border: 2px solid rgba(216, 200, 255, .65);
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 26px rgba(91,79,255,.06);
}
.footer__brand strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--text);
}
.footer__brand p {
  margin: 0 0 14px;
}
.footer__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  font-weight: 800;
}
.footer__column {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: .94rem;
}
.footer__column h3 {
  margin: 0 0 4px;
  font-size: .98rem;
  color: var(--text);
}
.footer__column a {
  color: var(--muted);
}
.footer__column a:hover {
  color: var(--brand2);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding-top: 16px;
  margin-top: 18px;
  color: var(--muted);
  border-top: 1px solid rgba(216, 200, 255, .75);
  font-size: .9rem;
}
.footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.footer__pay-logo {
  height: 26px;
  width: auto;
  border-radius: 4px;
  display: block;
}

/* Flash Messages – als Fixed-Toast über allem (inkl. Modals/Overlays) */
.flash-toast-container {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(480px, calc(100vw - 32px));
  pointer-events: none;
}
.flash {
  padding: 14px 18px;
  border-radius: 14px;
  font-weight: 800;
  border: 2px solid transparent;
  box-shadow: 0 4px 24px rgba(0,0,0,.13);
  pointer-events: auto;
  animation: flash-in .18s ease;
}
@keyframes flash-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.flash--success { background: #e6fff2; color: #146c3b; border-color: #a3e6c5; }
.flash--error   { background: #fff0f0; color: #a42121; border-color: #f8b0b0; }
.flash--info    { background: #eef5ff; color: #295ea9; border-color: #b0ccf8; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.kpi {
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-card);
}
.kpi:nth-child(1) { border-top: 4px solid var(--brand); }
.kpi:nth-child(2) { border-top: 4px solid var(--brand2); }
.kpi:nth-child(3) { border-top: 4px solid var(--accent); }
.kpi strong { display: block; font-size: 1.6rem; font-weight: 900; }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 14px;
  border: 2px solid #d8c8ff;
  background: #ffffff;
  color: #3d2a6b;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 6px 16px rgba(91,79,255,.10);
  transition: transform .12s, box-shadow .12s, border-color .12s, background .12s, color .12s;
}
.tab:hover {
  transform: translateY(-1px);
  border-color: var(--brand2);
  background: linear-gradient(135deg, #f4efff, #fff1f8);
  color: var(--brand2);
  box-shadow: 0 10px 24px rgba(91,79,255,.16);
}
.tab--active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand2), var(--brand));
  color: #fff;
  box-shadow: 0 10px 26px rgba(255,79,163,.22);
}

/* Table */
.table { width: 100%; border-collapse: collapse; }
.table th { background: linear-gradient(90deg,#f5f0ff,#fff4f9); }
.table th, .table td { padding: 12px; border-bottom: 2px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap {
  overflow-x: auto;
}
.log-section > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 900;
  font-size: 1.05rem;
}
.log-section > summary::-webkit-details-marker {
  display: none;
}
.log-section > summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--brand2);
  font-weight: 900;
  flex: 0 0 auto;
}
.log-section[open] > summary::after {
  content: "−";
}
.log-section__body {
  margin-top: 14px;
}
.log-section__body h2 {
  margin-top: 0;
}
.log-entry-details > summary {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--brand2);
}
.log-entry-details[open] > summary {
  margin-bottom: 8px;
}
.log-section[open] > summary::after {
  content: "-";
}
.table--admin-bookings {
  min-width: 980px;
}
.table--admin-bookings td strong {
  color: var(--text);
}
.admin-booking-actions {
  display: grid;
  gap: 8px;
  min-width: 150px;
}
.admin-booking-select {
  width: 100%;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: .85rem;
}

/* Misc */
.small { font-size: .88rem; color: var(--muted); }
.list-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.pricebox { position: sticky; top: 90px; }
.checkbox-list { display: grid; gap: 10px; }
.checkbox-list--cards { gap: 12px; }
.booking-box {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,246,252,.97));
}
.booking-box__head {
  margin-bottom: 16px;
}
.booking-box__head h2 {
  margin: 0 0 6px;
}
.booking-total-card {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 2px solid #dfe9c8;
  border-radius: 18px;
  background: linear-gradient(180deg, #fffef7, #f7fff1);
}
.booking-total-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.booking-total-card__row strong {
  font-size: 1.35rem;
  color: #245c1c;
}
.booking-total-card__note {
  margin: 8px 0 0;
}
.booking-form {
  display: grid;
  gap: 16px;
}
.booking-group {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 2px solid #eadcf4;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fff9fd);
}
.booking-group h3 {
  margin: 0;
  font-size: 1.05rem;
}
.booking-group--payment {
  border-color: #d8c8ff;
  background: linear-gradient(180deg, #fdfaff, #fff5fb);
}
.booking-fields {
  display: grid;
  gap: 12px;
}
.booking-fields--dates,
.booking-fields--delivery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.booking-note {
  margin: 0;
}
.booking-calendar {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 2px solid #d8ead0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfff8, #fffef6);
}
.booking-calendar__toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}
.booking-calendar__toolbar strong {
  text-align: center;
  text-transform: capitalize;
}
.booking-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.booking-calendar__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: var(--muted);
}
.booking-calendar__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
}
.booking-calendar__dot--free {
  background: #75c46b;
}
.booking-calendar__dot--booked {
  background: #e65b5b;
}
.booking-calendar__dot--blocked {
  background: #f1c84f;
}
.booking-calendar__weekdays,
.booking-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.booking-calendar__weekdays span {
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
}
.booking-calendar__day {
  min-height: 42px;
  border: 2px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s, box-shadow .15s, border-color .15s, opacity .15s;
}
.booking-calendar__day:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}
.booking-calendar__day.is-free {
  background: #e8f8e4;
  color: #1f5e1a;
}
.booking-calendar__day.is-booked {
  background: #fde7e7;
  color: #a12626;
}
.booking-calendar__day.is-blocked {
  background: #fff4cc;
  color: #8a6500;
}
.booking-calendar__day.is-in-range {
  border-color: #4e8f44;
  box-shadow: inset 0 0 0 999px rgba(117,196,107,.16);
}
.booking-calendar__day.is-range-start,
.booking-calendar__day.is-range-end,
.booking-calendar__day.is-range-single {
  border-color: #2f6f2a;
  box-shadow: 0 0 0 3px rgba(117,196,107,.22);
}
.booking-calendar__day.is-outside,
.booking-calendar__day:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.booking-calendar__selection {
  min-height: 1.4em;
}
.booking-anchor-btn {
  display: none;
}
.booking-choice-list {
  display: grid;
  gap: 12px;
}
.choice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 2px solid #eadcf4;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .12s, background .15s;
}
.choice-card:hover {
  border-color: #ccb7ff;
  box-shadow: 0 10px 24px rgba(91,79,255,.08);
  transform: translateY(-1px);
}
.choice-card input[type="checkbox"],
.choice-card input[type="radio"] {
  margin: 2px 0 0;
  width: 20px;
  height: 20px;
  accent-color: var(--brand2);
}
.choice-card__text {
  display: grid;
  gap: 4px;
}
.choice-card__text strong {
  font-size: 1rem;
}
.choice-card:has(input:checked) {
  border-color: #8d79ff;
  background: linear-gradient(180deg, #f8f5ff, #fff2fa);
  box-shadow: 0 12px 28px rgba(91,79,255,.12);
}
.booking-footer {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid #eadcf4;
}
.muted { color: var(--muted); }

/* Responsive */
@media (max-width: 720px) {
  .kpis { grid-template-columns: 1fr; }
  .table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .booking-anchor-btn { display: inline-flex; }
  .pricebox { position: static; }
  .topbar__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: 2px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 12px 28px rgba(91,79,255,.12);
    flex-direction: column;
    align-items: stretch;
  }
  .nav--open {
    display: flex;
  }
  .nav a {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    background: #faf7ff;
  }
  .nav a.btn {
    background: linear-gradient(135deg, var(--brand2), var(--brand));
    color: #fff;
    box-shadow: 0 8px 20px rgba(91,79,255,.20);
  }
  .notif-bell {
    width: 100%;
  }
  .notif-bell__btn {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    background: #faf7ff;
    border-radius: 8px;
  }
  .notif-bell__dropdown {
    left: 0;
    right: 0;
    min-width: 0;
  }
  .hero { padding: 22px 18px; }
  .hero::before { display: none; }
  .tabs { gap: 8px; }
  .tab {
    flex: 1 1 calc(50% - 8px);
    padding: 10px 14px;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-fab {
    right: 12px;
    bottom: 12px;
    min-height: 48px;
    padding: 0 16px;
  }
  .cookie-banner__actions {
    justify-content: stretch;
  }
  .cookie-banner__actions .btn {
    width: 100%;
  }
  .booking-box {
    padding: 16px;
  }
  .booking-total-card__row {
    align-items: flex-start;
    flex-direction: column;
  }
  .booking-group {
    padding: 12px;
    gap: 10px;
  }
  .booking-calendar {
    padding: 12px;
  }
  .booking-calendar__legend {
    gap: 8px 10px;
  }
  .booking-calendar__weekdays,
  .booking-calendar__grid {
    gap: 6px;
  }
  .booking-calendar__day {
    min-height: 38px;
    border-radius: 12px;
    font-size: .92rem;
  }
  .booking-fields--dates,
  .booking-fields--delivery {
    grid-template-columns: 1fr;
  }
  .choice-card {
    padding: 12px 14px;
  }
}

.seo-copy {
  margin-top: 26px;
  padding: 22px 24px;
  border: 2px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,245,252,.94));
  box-shadow: var(--shadow-card);
}
.seo-copy--alt {
  background: linear-gradient(180deg, rgba(250,250,255,.96), rgba(240,248,255,.94));
}
.seo-copy h2,
.faq-list h2,
.feature-grid h3 {
  margin-top: 0;
}
.seo-copy p {
  margin: 0 0 14px;
  line-height: 1.7;
}
.seo-copy p:last-child {
  margin-bottom: 0;
}

/* Städte-Link-Raster auf der Homepage */
.city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.city-links a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f0ecff;
  color: var(--brand2);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.city-links a:hover {
  background: var(--brand2);
  color: #fff;
}

/* Breadcrumb-Navigation */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 0 0;
  font-size: .82rem;
  color: #6b7280;
}
.breadcrumb a {
  color: var(--brand2);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-hidden] { color: #c0c0c0; }

/* Sprach-Switcher in der Navigation */
.nav-lang-switch {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 4px 9px;
  border: 1.5px solid var(--brand2);
  border-radius: 4px;
  color: var(--brand2);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.nav-lang-switch:hover {
  background: var(--brand2);
  color: #fff;
}

/* Bild-Platzhalter in Cards ohne Foto */
.card__image-placeholder {
  font-size: 62px;
  line-height: 1;
  opacity: .5;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.faq-list {
  margin-top: 26px;
}

.provider-proof {
  overflow: hidden;
}

.provider-proof__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .95fr);
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}

.provider-proof__chart {
  padding: 20px;
  border: 2px solid rgba(91,79,255,.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255,79,163,.12), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(244,246,255,.96));
  box-shadow: 0 14px 34px rgba(91,79,255,.12);
}

.provider-proof__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,79,163,.14), rgba(91,79,255,.14));
  color: var(--brand2);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.provider-proof__svg {
  display: block;
  width: 100%;
  height: auto;
}

.provider-proof__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 10px;
  font-weight: 800;
  color: #4b5563;
}

.provider-proof__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.provider-proof__line {
  width: 34px;
  height: 0;
  border-top: 5px solid transparent;
  border-radius: 999px;
}

.provider-proof__line--platform {
  border-top-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(91,79,255,.06);
}

.provider-proof__line--baseline {
  border-top-color: #98a0b3;
}

.provider-proof__stats {
  display: grid;
  gap: 16px;
}

.provider-proof__stat {
  position: relative;
  overflow: hidden;
}

.provider-proof__stat::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--brand2), var(--brand), var(--accent));
}

.provider-proof__value {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--brand2);
}

.provider-proof__stat h3 {
  margin: 0 0 8px;
}

.provider-proof__sources {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(216,200,255,.9);
}

.provider-proof__source-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.provider-proof__source-list li + li {
  margin-top: 8px;
}

.provider-proof__source-list a {
  color: var(--brand2);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .provider-proof__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .provider-proof__chart {
    padding: 14px;
  }

  .provider-proof__legend {
    gap: 10px;
    font-size: .92rem;
  }

  .provider-proof__source-list {
    padding-left: 16px;
  }
}
.nav-link-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: none;
}

.nav-link-button:hover,
.nav-link-button:focus-visible {
  text-decoration: underline;
}

/* ── Info-Tooltips (ⓘ) ────────────────────────────────────────────────── */
.info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: transparent;
  color: #aaa;
  border: 1px solid #ccc;
  font-size: .6rem;
  font-weight: 700;
  opacity: .6;
  font-style: normal;
  cursor: help;
  position: relative;
  vertical-align: middle;
  margin-left: 4px;
  flex-shrink: 0;
  user-select: none;
  line-height: 1;
  text-decoration: none;
}
.info-tip::before {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a2e;
  color: #fff;
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 7px 11px;
  border-radius: 9px;
  width: max-content;
  max-width: 220px;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
  transition: opacity .15s ease;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.info-tip::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #1a1a2e;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
  transition: opacity .15s ease;
}
.info-tip:hover::before,
.info-tip:focus-visible::before,
.info-tip:hover::after,
.info-tip:focus-visible::after {
  opacity: 1;
}
/* Tooltip nach rechts ausrichten wenn nahe am linken Rand */
.info-tip--right::before {
  left: 0;
  transform: none;
}
.info-tip--right::after {
  left: 8px;
  transform: none;
}

/* ── Einführungstour ──────────────────────────────────────────────────── */
.tour-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(90deg, var(--brand2), var(--brand));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(91,79,255,.28);
  transition: opacity .15s, transform .15s;
  flex-shrink: 0;
}
.tour-start-btn:hover { opacity: .9; transform: scale(1.04); }

.tour-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,10,40,.6);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}
.tour-overlay[hidden] { display: none; }

.tour-card {
  background: #fff;
  border-radius: 22px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 28px 80px rgba(91,79,255,.28);
  overflow: hidden;
  animation: tour-in .22s ease;
}
@keyframes tour-in {
  from { opacity: 0; transform: translateY(18px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

.tour-header {
  background: linear-gradient(135deg, var(--brand2) 0%, var(--brand) 100%);
  padding: 24px 24px 18px;
  color: #fff;
  position: relative;
}
.tour-close {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: .85rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: background .15s;
}
.tour-close:hover { background: rgba(255,255,255,.38); }
.tour-icon { font-size: 2.2rem; margin-bottom: 8px; }
.tour-step-title { margin: 0 0 2px; font-size: 1.1rem; font-weight: 800; }
.tour-step-counter { font-size: .78rem; opacity: .75; }

.tour-body { padding: 20px 24px; min-height: 80px; }
.tour-text { font-size: .95rem; line-height: 1.65; color: var(--text); margin: 0; }

.tour-footer {
  padding: 14px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  gap: 12px;
}
.tour-dots { display: flex; gap: 5px; flex-wrap: wrap; }
.tour-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}
.tour-dot--active {
  background: var(--brand2);
  transform: scale(1.3);
}
.tour-actions { display: flex; gap: 7px; }
.tour-btn-ghost {
  background: none;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--muted);
  transition: border-color .15s, color .15s;
}
.tour-btn-ghost:hover { border-color: var(--brand2); color: var(--brand2); }
.tour-btn-primary {
  background: linear-gradient(90deg, var(--brand2), var(--brand));
  border: none;
  border-radius: 999px;
  padding: 6px 18px;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  box-shadow: 0 3px 12px rgba(91,79,255,.28);
  transition: opacity .15s;
}
.tour-btn-primary:hover { opacity: .9; }

/* ── Listing-Modal (Angebot anlegen) ───────────────────────────────────── */
.listing-modal {
  border: none;
  border-radius: 16px;
  padding: 0;
  max-width: 820px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(15,10,40,.28);
  animation: listing-modal-in .2s ease;
}
.listing-modal::backdrop {
  background: rgba(15,10,40,.52);
  backdrop-filter: blur(3px);
}
@keyframes listing-modal-in {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.listing-modal__header {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, var(--brand2) 0%, var(--brand) 100%);
  color: #fff;
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}
.listing-modal__header h2 { margin: 0; font-size: 1.1rem; }
.listing-modal__close {
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}
.listing-modal__close:hover { background: rgba(255,255,255,.38); }
.listing-modal__body { padding: 20px 24px 24px; }

/* ── Anbieter-Landingpage (fuer-anbieter.php) ─────────────────────────── */

/* Desktop: Hero mit Text links, Anmelde-Card rechts */
@media (min-width: 721px) {
  .hero--provider {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
}

/* KI-Feature: dunkle Gradient-Box */
.ai-feature-box {
  background: linear-gradient(135deg, #0d0a2e 0%, #1a0f3c 50%, #0d1f3c 100%);
  border-radius: var(--r, 16px);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}

/* Vorher/Nachher-Vergleich: 3-Spalten (Vorher | Pfeil | Nachher) */
.ai-compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 44px;
}

/* CTA-Buttons in der KI-Feature-Box */
.ai-cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Mobile-Overrides für die Anbieter-Landingpage */
@media (max-width: 720px) {
  /* Weniger Innenabstand in der KI-Feature-Box */
  .ai-feature-box {
    padding: 28px 16px;
  }

  /* Vorher/Nachher vertikal stapeln */
  .ai-compare-grid {
    grid-template-columns: 1fr;
  }

  /* KI-Roboter-Pfeil zentrieren wenn gestapelt */
  .ai-compare-grid > *:nth-child(2) {
    margin: 0 auto;
  }

  /* Beide CTAs auf volle Breite */
  .ai-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .ai-cta-group a {
    text-align: center;
    box-sizing: border-box;
  }
}
