:root {
  --paper: #f5f3ef;
  --surface: #fffdf9;
  --ink: #241813;
  --muted: #786c66;
  --peach: #f2cdb4;
  --peach-soft: #fae9dd;
  --accent: #b96842;
  --green: #3e7251;
  --line: rgba(36, 24, 19, 0.12);
  --shadow: 0 18px 50px rgba(67, 39, 25, 0.10);
  --font-display: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper); color: var(--ink); scroll-behavior: smooth; }
body { margin: 0; min-height: 100dvh; font-family: var(--font-body); font-size: 16px; }
button, input, textarea, a { font: inherit; }
a { color: inherit; }

.guest-page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 90% 2%, rgba(242, 205, 180, 0.5), transparent 30rem),
    var(--paper);
}

.topbar {
  width: min(1500px, calc(100% - 5vw));
  min-height: 108px;
  margin: 0 auto;
  padding: 22px 0 18px;
  display: grid;
  grid-template-columns: 148px 1fr auto;
  align-items: center;
  gap: 32px;
}

.brand { position: relative; display: block; width: 132px; height: 48px; color: var(--ink); text-decoration: none; }
.brand svg { width: 132px; height: 48px; display: block; }
.brand-fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.brand-light { color: var(--paper); }
.brand-light svg { display: none; }
.brand-light .brand-fallback { position: static; z-index: auto; color: var(--paper); }

.topbar-title { display: flex; flex-direction: row; align-items: baseline; gap: 14px; min-width: 0; white-space: nowrap; }
.topbar-title span {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.045em;
}
.topbar-title small { margin-top: 0; color: var(--muted); font-size: 0.7rem; font-weight: 650; letter-spacing: 0.08em; }

.venue-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.5);
  font-size: 0.84rem;
  font-weight: 600;
}
.venue-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(62,114,81,0.12); }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.guest-topline {
  grid-template-columns: 132px minmax(170px, 1fr) auto auto auto;
  gap: clamp(10px, 1.5vw, 24px);
}
.guest-topline .topbar-title small { display: none; }
.packages-link {
  min-height: 42px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: var(--ink);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}
.packages-link-back { justify-self: end; }

.display-shell { width: min(1500px, calc(100% - 5vw)); margin: 0 auto; padding: 8px 0 30px; min-height: 0; }
.period-toolbar {
  margin-bottom: 16px;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.78);
  box-shadow: 0 7px 24px rgba(60, 37, 25, 0.05);
  backdrop-filter: blur(12px);
}
.period-summary { display: flex; flex-direction: column; gap: 2px; }
.period-summary span { color: var(--muted); font-size: 0.73rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.period-summary strong { font-size: 1.05rem; font-weight: 650; }
.period-switch { padding: 4px; display: inline-grid; grid-template-columns: repeat(3, auto); gap: 3px; border-radius: 14px; background: #ebe6e1; }
.period-switch button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-weight: 650; cursor: pointer; transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.period-switch button.is-active { color: white; background: var(--ink); box-shadow: 0 5px 14px rgba(36, 24, 19, 0.18); }
.price-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(240px, 1fr);
  gap: 14px;
}

.price-card, .booking-card, .customer-card, .packages-card {
  position: relative;
  min-width: 0;
  min-height: 250px;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 3px 0 rgba(83, 54, 39, 0.12),
    0 12px 22px rgba(60, 37, 25, 0.16),
    0 24px 48px rgba(60, 37, 25, 0.10);
  transform: translateZ(0);
}

.price-card {
  padding: 0;
  display: block;
  text-align: left;
  color: white;
  background: #392a23;
  cursor: pointer;
  isolation: isolate;
  transition: transform 240ms ease, box-shadow 240ms ease, filter 240ms ease;
}
.price-card:nth-child(1), .price-card:nth-child(2) { grid-column: auto; }
.price-card:nth-child(1) { min-height: 250px; }
.price-card:hover, .price-card:focus-visible {
  transform: translateY(-6px) scale(1.008);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    0 4px 0 rgba(83,54,39,.14),
    0 20px 34px rgba(60,37,25,.22),
    0 32px 58px rgba(60,37,25,.16);
}
.price-card:active { transform: translateY(-1px) scale(0.99); }

.card-image { position: absolute; inset: 0; display: block; }
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,15,12,0.04) 20%, rgba(22,15,12,0.82) 100%);
}
.card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.8,.2,1); }
.price-card:hover .card-image img, .price-card:focus-visible .card-image img { transform: scale(1.045); }

.card-content {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  gap: 4px 18px;
}
.card-name {
  grid-column: 1 / -1;
  align-self: start;
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.price-line { display: flex; align-items: baseline; gap: 7px; }
.price-prefix { font-size: 0.72rem; font-weight: 650; letter-spacing: 0.08em; }
.price-value { font-size: clamp(2.1rem, 3.5vw, 3.4rem); line-height: 0.9; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.price-unit { grid-column: 1; color: rgba(255,255,255,0.76); font-size: 0.83rem; }
.price-value-text { font-size: clamp(1.7rem, 2.6vw, 2.7rem); letter-spacing: -0.035em; }
.card-more {
  grid-column: 2;
  grid-row: 2 / 4;
  align-self: end;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}

.booking-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: var(--peach);
  text-decoration: none;
  transition: transform 240ms ease, background 240ms ease;
}
.booking-card:hover { transform: translateY(-4px); background: #efc2a3; }
.booking-card span, .booking-card small { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.06em; }
.booking-card strong { max-width: 7ch; font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 0.88; font-weight: 600; letter-spacing: -0.055em; }
.booking-card small { align-self: end; }

.customer-card {
  grid-column: auto;
  min-height: 250px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 150px;
  align-items: center;
  gap: 24px;
  color: white;
  background: #2d211c;
  text-decoration: none;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.customer-card:hover, .packages-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(60,37,25,.18); }
.customer-card-copy { display: flex; flex-direction: column; align-items: flex-start; }
.customer-kicker { margin-bottom: 12px; color: var(--peach); font-size: .75rem; font-weight: 750; letter-spacing: .12em; }
.customer-card strong { max-width: 11ch; font-size: clamp(2rem, 3.4vw, 3.7rem); line-height: .92; font-weight: 600; letter-spacing: -.045em; }
.customer-card small { margin-top: 12px; max-width: 38ch; color: rgba(255,255,255,.72); line-height: 1.4; }
.customer-card b { margin-top: 20px; color: var(--peach); font-size: .9rem; }
.customer-card img { width: 150px; height: 150px; padding: 10px; border-radius: 14px; background: white; }

.packages-card {
  grid-column: auto;
  min-height: 250px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  align-items: end;
  gap: 8px 24px;
  color: white;
  background:
    linear-gradient(90deg, rgba(28,20,17,.9), rgba(28,20,17,.45)),
    url("images/minigolf.png") center 58% / cover;
  text-decoration: none;
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.packages-card span { grid-column: 1 / -1; align-self: start; color: var(--peach); font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.packages-card strong { font-size: clamp(2.8rem, 4.5vw, 4.8rem); line-height: .8; font-weight: 600; letter-spacing: -.06em; }
.packages-card small { justify-self: start; padding: 12px 15px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(10px); font-weight: 650; }

.ticker {
  min-height: 50px;
  padding: 13px max(2.5vw, calc((100vw - 1500px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  background: rgba(255,255,255,0.58);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}
.ticker strong { color: var(--ink); font-weight: 650; }
.checkin-code { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.checkin-code span { font-weight: 650; }
.checkin-code strong { min-width: 1.5em; font-variant-numeric: tabular-nums; }

.detail-dialog {
  width: min(1160px, calc(100vw - 30px));
  max-height: calc(100dvh - 28px);
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.detail-dialog::backdrop { background: rgba(24, 16, 12, 0.62); backdrop-filter: blur(10px); }
.dialog-layout { display: grid; grid-template-columns: minmax(300px, 0.9fr) minmax(480px, 1.3fr); min-height: 620px; }
.dialog-visual { display: grid; grid-template-rows: minmax(340px, 1fr) auto; overflow: hidden; border-radius: 26px 0 0 26px; }
.dialog-visual > img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.dialog-hours-wrap { padding: 18px 20px; color: #fff; background: #2d211c; }
.dialog-hours-wrap > span { display: block; margin-bottom: 10px; color: rgba(255,255,255,0.62); font-size: 0.7rem; font-weight: 650; letter-spacing: 0.1em; }
.dialog-hours { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px 18px; }
.dialog-hours div { display: flex; justify-content: space-between; gap: 10px; font-size: 0.83rem; }
.dialog-copy { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: stretch; overflow: auto; background: #f1ebe5; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: 0.72rem; font-weight: 650; letter-spacing: 0.1em; }
.dialog-period { margin-bottom: 8px; color: var(--muted); font-size: 0.85rem; font-weight: 650; }
.dialog-period-switch { align-self: flex-start; margin-top: 18px; }
.dialog-period-switch button { min-height: 40px; }
.dialog-copy h2 { margin: 0; max-width: 11ch; font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: 0.86; font-weight: 600; letter-spacing: -0.06em; text-wrap: balance; }
.dialog-copy p:not(.eyebrow) { margin: 12px 0 16px; max-width: 58ch; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.dialog-price { margin: 20px 0 4px; padding: 16px 20px; display: flex; flex-direction: column; border-radius: 16px; color: white; background: #2d211c; box-shadow: 0 8px 20px rgba(45,33,28,.16); }
.dialog-price span { font-size: clamp(2.5rem, 4.6vw, 4.3rem); line-height: 0.9; font-weight: 600; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.dialog-price small { margin-top: 4px; color: rgba(255,255,255,.75); font-size: 0.9rem; }
.dialog-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dialog-facts div { min-width: 0; padding: 14px 16px; border-radius: 12px; background: #e3cec0; }
.dialog-facts strong { display: block; margin-top: 4px; font-size: 0.9rem; line-height: 1.25; }
.fact-label { color: var(--muted); font-size: 0.67rem; font-weight: 650; letter-spacing: 0.08em; }
.price-details { margin-top: 18px; }
.price-details h3 { margin: 0 0 8px; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.08em; }
.dialog-price-rows { padding: 0 16px; border: 1px solid rgba(36,24,19,.08); border-radius: 14px; background: rgba(255,253,249,.56); }
.detail-price-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid rgba(36,24,19,.12); }
.detail-price-row:last-child { border-bottom: 0; }
.detail-price-row b { font-size: 1rem; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.detail-price-row span { grid-column: 1 / -1; color: var(--muted); font-size: 0.82rem; }
.time-note { margin: 14px 0 0; padding: 13px 16px; display: grid; grid-template-columns: auto 1fr; gap: 12px; border-radius: 12px; background: #e3cec0; font-size: 0.88rem; line-height: 1.4; }
.primary-button, .secondary-button, .outline-button, .topbar-action {
  min-height: 48px;
  padding: 0.8rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.primary-button { color: white; background: var(--ink); }
.dialog-copy .primary-button { margin-top: auto; transition: transform 180ms ease, background 180ms ease; }
.dialog-copy .primary-button:hover { transform: translateY(-2px); background: #3c2b23; }
.dialog-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

/* Verwaltung */
.manage-page { color: var(--ink); background: var(--paper); }
.manage-header { min-height: 92px; padding: 16px clamp(20px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: white; background: #2d211c; }
.manage-header > div { display: flex; align-items: center; gap: 24px; }
.manage-header p { margin: 0; font-size: 1.25rem; font-weight: 600; }
.outline-button { color: var(--ink); background: var(--peach); }
.manage-shell { width: min(1380px, calc(100% - 40px)); margin: 0 auto; padding: 42px 0 120px; }
.manage-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.manage-intro h1 { margin: 0; font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.9; font-weight: 600; letter-spacing: -0.06em; }
.manage-intro p:not(.eyebrow) { max-width: 62ch; color: var(--muted); font-size: 1.03rem; }
.save-status { padding: 10px 14px; border-radius: 10px; background: white; font-weight: 600; white-space: nowrap; }
.save-status.is-saved { color: white; background: var(--green); }
.settings-panel { margin-top: 22px; overflow: hidden; border-radius: 18px; background: var(--surface); box-shadow: 0 8px 32px rgba(60,37,25,0.07); }
.settings-panel > h2, .panel-heading { margin: 0; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.settings-panel h2 { margin: 0; font-size: 1.4rem; font-weight: 600; }
.panel-heading p { margin: 5px 0 0; color: var(--muted); }
.form-grid { padding: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid label, .editor-field { display: grid; gap: 7px; font-weight: 600; }
input[type="text"], input[type="url"], textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: white; font-size: 1rem; }
textarea { min-height: 82px; resize: vertical; font-family: inherit; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(185,104,66,0.55); outline-offset: 2px; }
.activity-editor { display: grid; }
.activity-row { padding: 18px 20px; display: grid; grid-template-columns: 150px 1fr auto; align-items: start; gap: 18px; border-bottom: 1px solid var(--line); }
.activity-row:last-child { border-bottom: 0; }
.activity-row > img { width: 150px; height: 105px; object-fit: cover; border-radius: 12px; }
.activity-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.activity-fields .editor-field:has([data-key="image"]), .activity-fields .editor-field:has([data-key="bookingUrl"]), .activity-fields .editor-field:has([data-key="location"]), .activity-fields .editor-field:has([data-key="timeInfo"]), .activity-fields .editor-field:has([data-key="weekdayRows"]), .activity-fields .editor-field:has([data-key="weekendRows"]) { grid-column: span 3; }
.editor-field span { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.04em; }
.visibility-toggle { display: grid; grid-template-columns: auto auto; align-items: center; gap: 8px; min-width: 92px; font-weight: 650; cursor: pointer; }
.visibility-toggle input { position: absolute; opacity: 0; }
.visibility-toggle span { grid-row: 1; width: 52px; height: 29px; border-radius: 999px; background: #ddd6d1; position: relative; }
.visibility-toggle span::after { content: ""; position: absolute; width: 21px; height: 21px; left: 4px; top: 4px; border-radius: 50%; background: white; transition: transform 180ms ease; }
.visibility-toggle input:checked + span { background: var(--green); }
.visibility-toggle input:checked + span::after { transform: translateX(23px); }
.sticky-actions { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; padding: 13px clamp(20px, 5vw, 72px); display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); background: rgba(245,243,239,0.94); backdrop-filter: blur(12px); }
.secondary-button { color: var(--ink); background: white; box-shadow: inset 0 0 0 1px var(--line); }
.text-button { margin-left: auto; border: 0; color: #8d3e31; background: transparent; font-weight: 650; text-decoration: underline; cursor: pointer; }
.file-button { position: relative; }
.file-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

/* Packages */
.packages-page { min-height: 100dvh; color: var(--ink); background: #f1eee8; }
.packages-shell { width: min(1500px, calc(100% - 5vw)); margin: 0 auto; padding: 8px 0 40px; }
.package-toolbar {
  position: sticky;
  z-index: 5;
  top: 8px;
  margin-bottom: 16px;
  padding: 12px 14px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,253,249,0.92);
  box-shadow: 0 8px 28px rgba(60,37,25,0.08);
  backdrop-filter: blur(14px);
}
.package-toolbar > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.package-kicker { color: var(--muted); font-size: 0.73rem; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; }
.package-toolbar strong { font-size: 1.08rem; }
.package-tabs { padding: 4px; display: grid; grid-template-columns: repeat(3, auto); gap: 3px; border-radius: 14px; background: #e6e0da; }
.package-tabs button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; color: var(--muted); background: transparent; font-weight: 650; cursor: pointer; }
.package-tabs button.is-active { color: white; background: var(--ink); box-shadow: 0 5px 14px rgba(36,24,19,0.18); }
.package-category[hidden] { display: none; }
.package-category.is-active { animation: package-in 260ms ease both; }
@keyframes package-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.package-intro {
  position: relative;
  min-height: 300px;
  margin-bottom: 16px;
  overflow: hidden;
  display: grid;
  align-items: end;
  border-radius: 24px;
  color: white;
  background: #1c1816;
  isolation: isolate;
}
.package-intro::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(18,14,12,.9) 0%, rgba(18,14,12,.58) 45%, rgba(18,14,12,.08) 82%); }
.package-intro img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.package-intro > div { padding: clamp(26px, 4vw, 54px); }
.package-intro span { color: #f2c14e; font-size: 0.78rem; font-weight: 750; letter-spacing: 0.14em; text-transform: uppercase; }
.package-intro h1 { margin: 10px 0 12px; font-size: clamp(3.2rem, 7vw, 6.6rem); line-height: 0.78; font-weight: 650; letter-spacing: -0.065em; text-transform: uppercase; }
.package-intro p { margin: 0; max-width: 42ch; font-size: 1.04rem; line-height: 1.45; }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.package-plan {
  position: relative;
  min-height: 440px;
  padding: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 2px solid var(--plan-color, #273039);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(50,35,28,.07);
}
.plan-dark { --plan-color: #273039; }
.plan-orange { --plan-color: #d97c2e; }
.plan-yellow { --plan-color: #e8a91f; }
.plan-teal { --plan-color: #229a8d; }
.plan-blue { --plan-color: #2e7aca; }
.plan-sage { --plan-color: #849976; }
.plan-label { width: fit-content; padding: 8px 12px; border-radius: 8px; color: white; background: var(--plan-color); font-size: 1.15rem; font-weight: 750; letter-spacing: 0.04em; text-transform: uppercase; }
.plan-price { margin: 28px 0 14px; font-family: Georgia, serif; font-size: clamp(2.8rem, 5vw, 4.8rem); line-height: .9; letter-spacing: -0.05em; }
.plan-price small { margin-top: 10px; display: block; color: var(--muted); font-family: var(--font-body); font-size: .78rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.saving { width: fit-content; margin-bottom: 12px; padding: 7px 10px; color: #221b15; background: #f4d56d; font-size: .84rem; text-transform: uppercase; }
.package-plan ul { margin: auto 0 0; padding: 0; list-style: none; }
.package-plan li { position: relative; padding: 13px 0 13px 31px; border-top: 1px solid var(--line); font-weight: 700; }
.package-plan li::before { content: "✓"; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--plan-color); font-size: .74rem; }
.package-plan li small { margin-top: 3px; display: block; color: var(--muted); font-size: .82rem; font-weight: 450; }
.plan-ribbon { position: absolute; top: 25px; right: -40px; width: 160px; padding: 8px 0; color: #261b12; background: #f5da74; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-align: center; text-transform: uppercase; transform: rotate(40deg); }
.package-note { margin: 14px 0 0; padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 8px; color: var(--muted); background: var(--surface); }
.package-note strong { color: var(--ink); }
.package-contact { margin-top: 16px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 20px; color: white; background: #2d211c; }
.package-contact > div { display: flex; flex-direction: column; }
.package-contact span { color: var(--peach); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.package-contact strong { margin-top: 3px; font-size: 1.5rem; }
.package-contact a { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 12px; color: var(--ink); background: var(--peach); font-weight: 700; text-decoration: none; }

@media (max-width: 1050px) {
  .price-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .price-card:nth-child(1), .price-card:nth-child(2), .packages-card { grid-column: auto; }
  .activity-row { grid-template-columns: 110px 1fr; }
  .activity-row > img { width: 110px; height: 90px; }
  .visibility-toggle { grid-column: 2; }
  .package-plan { padding: 22px; }
}

/* Xiaomi Redmi Pad Pro / große 12–13-Zoll-Tablets: komplette Anzeige ohne Seitenscrollen */
@media (min-width: 761px) and (max-height: 1000px) and (orientation: landscape) {
  .guest-page {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    grid-template-rows: 64px minmax(0, 1fr) 40px;
  }
  .guest-page .topbar {
    width: calc(100% - 32px);
    min-height: 0;
    height: 64px;
    padding: 7px 0;
    grid-template-columns: 106px minmax(155px, 1fr) auto auto auto;
    gap: 10px;
  }
  .guest-page .brand, .guest-page .brand svg { width: 106px; height: 38px; }
  .guest-page .topbar-title { flex-direction: row; gap: 12px; }
  .guest-page .topbar-title span { font-size: 1.48rem; }
  .guest-page .topbar-title small { margin-top: 0; }
  .guest-page .venue-badge { padding: 8px 12px; font-size: .88rem; }
  .guest-page .display-shell {
    width: calc(100% - 32px);
    height: 100%;
    padding: 4px 0 10px;
    display: block;
  }
  .guest-page .price-board { height: 100%; }
  .guest-page .period-summary { gap: 0; }
  .guest-page .period-summary span { font-size: .68rem; }
  .guest-page .period-summary strong { font-size: .9rem; white-space: nowrap; }
  .guest-page .period-switch button { min-height: 38px; padding: 0 14px; font-size: .92rem; }
  .guest-page .price-board {
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 8px;
  }
  .guest-page .price-card,
  .guest-page .booking-card,
  .guest-page .customer-card,
  .guest-page .packages-card {
    min-height: 0;
    border-radius: 15px;
    border-color: rgba(255,255,255,.68);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.48),
      0 3px 0 rgba(74,45,31,.14),
      0 10px 18px rgba(60,37,25,.20),
      0 18px 32px rgba(60,37,25,.13);
  }
  .guest-page .price-card:nth-child(1),
  .guest-page .price-card:nth-child(2) { grid-column: auto; min-height: 0; }
  .guest-page .card-content { padding: 15px; grid-template-columns: 1fr; gap: 4px; }
  .guest-page .card-name { font-size: 1.16rem; }
  .guest-page .price-line { gap: 6px; }
  .guest-page .price-prefix { font-size: .72rem; }
  .guest-page .price-value { font-size: clamp(2.55rem, 3.35vw, 3.25rem); }
  .guest-page .price-value-text { font-size: 2rem; line-height: .95; }
  .guest-page .price-unit { font-size: .84rem; }
  .guest-page .card-more { display: none; }
  .guest-page .booking-card { padding: 15px; }
  .guest-page .booking-card strong { font-size: clamp(1.8rem, 2.9vw, 2.7rem); }
  .guest-page .customer-card { grid-column: 2; padding: 15px; grid-template-columns: 1fr 96px; gap: 14px; }
  .guest-page .customer-card img { width: 96px; height: 96px; padding: 6px; border-radius: 9px; }
  .guest-page .customer-kicker { margin-bottom: 6px; font-size: .74rem; }
  .guest-page .customer-card strong { font-size: clamp(1.8rem, 2.7vw, 2.5rem); }
  .guest-page .customer-card small { margin-top: 7px; font-size: .82rem; }
  .guest-page .customer-card b { margin-top: 8px; font-size: .86rem; }
  .guest-page .packages-card { grid-column: 3; min-height: 0; padding: 16px; }
  .guest-page .packages-card strong { font-size: clamp(3rem, 4.8vw, 4.5rem); }
  .guest-page .packages-card small { padding: 9px 12px; font-size: .82rem; }
  .guest-page .ticker { min-height: 40px; padding: 9px 16px; font-size: .86rem; }
}

/* Attraktionsdetails auf großen Tablets vollständig ohne inneres Scrollen */
@media (min-width: 761px) and (min-height: 600px) and (max-height: 1000px) and (orientation: landscape) {
  .detail-dialog {
    width: calc(100vw - 12px);
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
    overflow: hidden;
    border-radius: 18px;
  }
  .dialog-layout {
    height: 100%;
    min-height: 0;
    grid-template-columns: minmax(270px, .68fr) minmax(0, 1.55fr);
  }
  .dialog-visual {
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    border-radius: 18px 0 0 18px;
  }
  .dialog-visual > img { min-height: 0; }
  .dialog-hours-wrap { padding: 10px 14px; }
  .dialog-hours-wrap > span { margin-bottom: 6px; font-size: .8rem; }
  .dialog-hours { gap: 3px 14px; }
  .dialog-hours div { font-size: .92rem; }
  .dialog-copy { padding: 14px 22px; overflow: hidden; }
  .dialog-copy .eyebrow { display: none; }
  .dialog-period { margin-bottom: 5px; font-size: .92rem; }
  .dialog-copy h2 {
    max-width: none;
    font-size: clamp(3.2rem, 4.5vw, 4.4rem);
    line-height: .9;
  }
  .dialog-period-switch { margin-top: 7px; }
  .dialog-period-switch button { min-height: 38px; padding: 0 16px; font-size: .96rem; }
  .dialog-price { margin: 8px 0 3px; padding: 13px 18px; border-radius: 14px; }
  .dialog-price span { font-size: clamp(4rem, 5.2vw, 5.2rem); }
  .dialog-price small { margin-top: 4px; font-size: 1.12rem; }
  .dialog-copy p:not(.eyebrow) {
    margin: 6px 0 8px;
    max-width: none;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .dialog-facts { gap: 10px; }
  .dialog-facts div {
    padding: 12px 15px;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
  }
  .dialog-facts strong { margin-top: 4px; font-size: 1.3rem; }
  .fact-label { font-size: .82rem; }
  .price-details { margin-top: 8px; }
  .price-details h3 { margin-bottom: 6px; font-size: .9rem; }
  .dialog-price-rows { padding: 0 14px; }
  .detail-price-row { gap: 2px 14px; padding: 8px 0; }
  .detail-price-row strong, .detail-price-row b { font-size: 1.18rem; }
  .detail-price-row span { font-size: .94rem; line-height: 1.2; }
  .time-note { margin: 8px 0 0; padding: 10px 13px; gap: 10px; border-radius: 11px; font-size: 1rem; line-height: 1.25; }
  .dialog-copy .primary-button { min-height: 38px; padding: .55rem .8rem; font-size: .78rem; }
  .dialog-close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 1.4rem; }
}

@media (min-width: 761px) and (max-width: 1050px) and (min-height: 1000px) and (orientation: portrait) {
  .guest-page {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    grid-template-rows: 96px minmax(0, 1fr) 42px;
  }
  .guest-page .topbar { min-height: 0; height: 96px; padding: 12px 0; }
  .guest-page .display-shell {
    height: 100%;
    padding: 5px 0 10px;
    display: block;
  }
  .guest-page .price-board { height: 100%; }
  .guest-page .period-switch button { min-height: 38px; }
  .guest-page .price-board {
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: 9px;
  }
  .guest-page .price-card,
  .guest-page .booking-card,
  .guest-page .customer-card,
  .guest-page .packages-card { min-height: 0; border-radius: 15px; grid-column: auto; }
  .guest-page .price-card:nth-child(1),
  .guest-page .price-card:nth-child(2) { grid-column: auto; min-height: 0; }
  .guest-page .card-content { padding: 15px; }
  .guest-page .card-more { display: none; }
  .guest-page .price-value { font-size: clamp(1.9rem, 5vw, 2.8rem); }
  .guest-page .booking-card { padding: 16px; }
  .guest-page .booking-card strong { font-size: 2.4rem; }
  .guest-page .customer-card { padding: 14px; grid-template-columns: 1fr 72px; gap: 10px; }
  .guest-page .customer-card img { width: 72px; height: 72px; padding: 5px; border-radius: 9px; }
  .guest-page .customer-card strong { font-size: 1.35rem; }
  .guest-page .customer-card small { display: none; }
  .guest-page .customer-card b { margin-top: 8px; font-size: .72rem; }
  .guest-page .packages-card { min-height: 0; padding: 16px; grid-template-columns: 1fr; }
  .guest-page .packages-card span { font-size: .63rem; }
  .guest-page .packages-card strong { font-size: 2.6rem; }
  .guest-page .packages-card small { justify-self: start; padding: 8px 10px; font-size: .68rem; }
  .guest-page .ticker { min-height: 42px; padding: 10px 20px; font-size: .78rem; }
}

@media (max-width: 760px) {
  .topbar { width: calc(100% - 32px); grid-template-columns: 104px 1fr; gap: 16px; }
  .brand, .brand svg { width: 104px; height: 40px; }
  .topbar-title { flex-direction: column; align-items: flex-start; gap: 3px; white-space: normal; }
  .venue-badge { grid-column: 1 / -1; justify-self: start; }
  .topbar-actions { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; }
  .display-shell { width: calc(100% - 24px); }
  .period-toolbar { align-items: stretch; flex-direction: column; }
  .period-switch { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .period-switch button { padding: 0 8px; }
  .price-board { grid-template-columns: 1fr; }
  .price-card:nth-child(1), .price-card:nth-child(2) { grid-column: auto; min-height: 280px; }
  .customer-card { grid-column: auto; grid-template-columns: 1fr 112px; }
  .customer-card img { width: 112px; height: 112px; }
  .packages-card { grid-column: auto; grid-template-columns: 1fr; min-height: 280px; }
  .packages-card small { justify-self: start; }
  .ticker { flex-direction: column; gap: 4px; padding: 13px 16px; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-visual { grid-template-rows: 230px auto; border-radius: 26px 26px 0 0; }
  .dialog-visual > img { min-height: 230px; }
  .dialog-facts { grid-template-columns: 1fr; }
  .manage-header, .manage-intro { align-items: stretch; flex-direction: column; }
  .manage-header > div { align-items: start; flex-direction: column; gap: 12px; }
  .form-grid, .activity-fields { grid-template-columns: 1fr; }
  .activity-fields .editor-field:has([data-key]) { grid-column: 1; }
  .activity-row { grid-template-columns: 1fr; }
  .activity-row > img { width: 100%; height: 180px; }
  .visibility-toggle { grid-column: 1; }
  .sticky-actions { position: static; flex-direction: column; align-items: stretch; }
  .text-button { margin-left: 0; min-height: 44px; }
  .manage-shell { padding-bottom: 30px; }
  .packages-link-back { grid-column: 1 / -1; justify-self: start; }
  .packages-shell { width: calc(100% - 24px); }
  .package-toolbar { position: static; align-items: stretch; flex-direction: column; }
  .package-tabs { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .package-tabs button { padding: 0 8px; }
  .package-intro { min-height: 360px; }
  .package-intro h1 { font-size: clamp(3rem, 16vw, 5.5rem); }
  .package-grid { grid-template-columns: 1fr; }
  .package-plan { min-height: 380px; }
  .package-contact { align-items: stretch; flex-direction: column; }
  .package-contact a { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
