@font-face {
  font-family: Geist;
  src: url("/lib/blog/fonts/geist-98bbbccb.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #0b0b0b;
  --muted: #646464;
  --paper: #f7f7f7;
  --shell-padding: 20px;
  --line: rgba(11, 11, 11, 0.1);
  --accent: #171717;
  --ease: cubic-bezier(0.32, 0, 0.2, 1);
  --motion-feedback: 420ms;
  --motion-gentle: 680ms;
  --motion-flow: 900ms;
  --dock-bottom: calc(12px + env(safe-area-inset-bottom));
  --dock-height: 86px;
  --dock-rise: 32px;
  --dock-clearance: calc(var(--dock-bottom) + var(--dock-height) + 8px);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--paper);
  scroll-padding-bottom: 110px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    400 16px/1.5 Geist,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
button,
a,
input,
select {
  transition:
    background var(--motion-feedback) var(--ease),
    color var(--motion-feedback) var(--ease),
    box-shadow var(--motion-feedback) var(--ease),
    transform var(--motion-feedback) var(--ease),
    scale var(--motion-gentle) var(--ease),
    filter var(--motion-gentle) var(--ease);
}
button:not(:disabled):active, a[href]:active, .is-pressed {
  scale: .94;
  filter: brightness(.94);
  transition-duration: var(--motion-feedback);
}
.option.is-pressed, .event-open.is-pressed { scale: .985; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(100%, 1000px);
  margin: auto;
  padding: calc(24px + env(safe-area-inset-top)) var(--shell-padding)
    calc(120px + env(safe-area-inset-bottom));
}
.skip {
  position: absolute;
  top: -80px;
  left: 16px;
}
.skip:focus {
  top: 12px;
  background: white;
  z-index: 10;
  padding: 8px;
}
#events-label,
.legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.view {
  animation: appear var(--motion-gentle) var(--ease);
}
.view:focus,
h2:focus {
  outline: 0;
}
.room-list {
  display: grid;
  gap: 26px;
}
.event-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  padding: 4px;
  overflow: hidden;
  transition:
    box-shadow var(--motion-gentle) var(--ease),
    transform var(--motion-gentle) var(--ease);
}
.event-card, #detail-body > .event-image {
  box-shadow: -10px -10px 8px 7px #fff, 9px 11px 22px rgba(0,0,0,.105);
}
.event-open {
  display: block;
  text-align: left;
  width: 100%;
  padding: 0;
  border-radius: 22px;
}
.event-image {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 22px;
  overflow: hidden;
  background: #eaeaea;
}
.event-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(var(--image-gray, 1));
  transition: transform var(--motion-flow) var(--ease), filter var(--motion-flow) var(--ease);
}
.event-image::after {
  content: "";
  position: absolute;
  inset: 12% 0 0;
  background: linear-gradient(transparent 5%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.76));
  pointer-events: none;
}
.image-date {
  position: absolute;
  bottom: 15px;
  left: 17px;
  right: 12px;
  z-index: 1;
  color: white;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 5px rgba(0,0,0,.8), 0 0 16px rgba(0,0,0,.5);
  font-variant-numeric: tabular-nums;
}
.event-copy {
  display: block;
  padding: 19px 17px 4px;
}
.event-levels {
  display: block;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 8px;
}
.event-title {
  display: block;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.event-address {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 9px;
}
.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 10px 6px 17px;
}
.event-metrics {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.metric {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.metric svg {
  width: 16px;
  height: 16px;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.save-action[aria-pressed="true"] svg {
  fill: var(--ink);
}
.icon-button:hover {
  background: #f1f1f1;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  color: var(--muted);
  font-size: 14px;
}
.empty svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.4;
}
.app-nav {
  position: fixed;
  z-index: 20;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 30px;
  border: 1px solid rgba(11, 11, 11, 0.09);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 8px 34px rgba(24, 24, 24, 0.14);
}
.app-nav button {
  width: 48px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: var(--muted);
}
.app-nav button[data-active] {
  background: var(--ink);
  color: white;
}

/* Communications: Die Übersicht hat eine eigene, daumennahe Navigation. */
body.has-forms-dock:is([data-view="overview"], [data-view="event-detail"]) .app-nav,
body[data-view="registration"] .app-nav { display: none; }
body.has-forms-dock:is([data-view="overview"], [data-view="event-detail"]) .shell {
  padding-bottom: calc(var(--dock-clearance) + 32px);
}
body.has-forms-dock:is([data-view="overview"], [data-view="event-detail"]) {
  height: 100dvh;
  overflow: hidden;
}
/* Eine feste Scrollfläche mit eigener Maske bleibt auch während Safari-Gesten stabil. */
body.has-forms-dock:is([data-view="overview"], [data-view="event-detail"]) .shell {
  position: fixed;
  inset: 0;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  --forms-mask: linear-gradient(to bottom,
    transparent, #000 calc(24px + env(safe-area-inset-top)),
    #000 calc(100% - var(--dock-clearance) - 36px),
    #000000f5 calc(100% - var(--dock-clearance) - 28px),
    #000000d6 calc(100% - var(--dock-clearance) - 20px),
    #00000080 calc(100% - var(--dock-clearance) - 12px),
    #00000029 calc(100% - var(--dock-clearance) - 4px),
    #0000000a calc(100% - var(--dock-clearance) + 4px),
    transparent calc(100% - var(--dock-clearance) + 12px));
  -webkit-mask-image: var(--forms-mask);
  mask-image: var(--forms-mask);
}
.forms-dock {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: var(--dock-bottom);
  width: calc(min(100%, 640px) - 2 * var(--shell-padding));
  height: var(--dock-height);
  transform: translateX(-50%);
}
body[data-view="overview"] .forms-dock { width: calc(min(100%, 1000px) - 2 * var(--shell-padding)); }
.dock-surface {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: #fff;
  stroke: rgba(0, 0, 0, .035);
  stroke-width: 1;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .12));
  pointer-events: none;
}
.forms-dock button, .dock-fan a {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.forms-dock .dock-home, .forms-dock .dock-menu {
  top: 13px;
  width: 60px;
  height: 60px;
}
.dock-home { left: calc(20% - 30px); background: var(--ink); color: #fff; }
.dock-menu {
  right: calc(20% - 30px);
  background: var(--ink);
  color: #fff;
}
.forms-dock button:focus-visible, .forms-menu .menu-close:focus-visible,
#registration-close:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.12);
}
.forms-menu .menu-close:focus-visible, #registration-close:focus-visible {
  box-shadow: none;
  background: #eaeaea;
}
.dock-home.dock-back, .app-nav #hdr-back {
  background: var(--ink);
  color: #fff;
}
.dock-back svg, .dock-menu svg, #hdr-back svg { width: 28px; height: 28px; }
.forms-dock .dock-plus {
  top: calc(-1 * var(--dock-rise));
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, #fff, #fdfdfd);
  box-shadow: 0 0 4px rgba(0,0,0,.045), 0 3px 7px rgba(0,0,0,.11), inset 0 1px 0 #fff;
}
.dock-plus svg { width: 25px; height: 25px; transition: transform var(--motion-flow) var(--ease); }
.fan-open .dock-plus svg { transform: rotate(45deg); }
.forms-dock .dock-price {
  top: 48px;
  left: calc(50% - 40px);
  width: 80px;
  height: 30px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.dock-price::after { content: ""; position: absolute; inset: -7px -4px; }
.forms-dock .dock-top {
  top: 48px;
  left: calc(50% - 54px);
  width: 108px;
  height: 30px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
.dock-top::after { content: ""; position: absolute; inset: -7px 0; }
.dock-top span {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1;
  color: transparent;
  background: linear-gradient(180deg, #92969a, #b8bdc1 45%, #c9cdd0);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: .6px 1px 1px rgba(255,255,255,.85);
}
.price-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--dock-height);
  border-radius: 28px;
  background: linear-gradient(160deg, #fff 55%, #fafafa);
  box-shadow: 0 -5px 30px rgba(0, 0, 0, .055);
  clip-path: inset(calc(100% - 1px) 0 0 round 28px);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 1000ms var(--ease), visibility 0s 1000ms;
}
.price-sheet.is-open {
  clip-path: inset(0 0 0 round 28px);
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.price-list {
  height: 100%;
  padding: 12px 20px calc(var(--dock-height) + var(--dock-rise) + 18px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--motion-flow) var(--ease), transform 1000ms var(--ease);
}
.is-open .price-list { opacity: 1; transform: translateY(0); }
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 17px 0;
}
.price-row + .price-row { border-top: 1px solid rgba(0,0,0,.055); }
.price-copy { display: grid; gap: 5px; min-width: 0; }
.price-copy strong { font-size: 16px; line-height: 1.4; font-weight: 600; }
.price-copy span { color: var(--muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.price-ticket {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 70px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(145deg, #fff, #eeeeef);
  box-shadow: inset 0 1px 1px #fff, 0 1px 5px rgba(0,0,0,.045);
  color: #666;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
}
.price-ticket svg { width: 23px; height: 23px; }
.price-ticket .price-arrow { width: 13px; height: 17px; }
.price-ticket:focus-visible { outline: none; box-shadow: inset 0 0 0 2px rgba(0,0,0,.14); }
.detail-roster { transition: opacity var(--motion-flow) var(--ease); }
body.forms-prices-open { overflow: hidden; }
body.has-forms-dock.forms-prices-open .shell { overflow-y: hidden; }
.forms-prices-open .detail-roster { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .price-sheet, .price-list, .detail-roster { transition: none; }
}
.dock-fan a {
  top: -28px;
  left: calc(50% - 28px);
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, #292929, #080808);
  color: #fff;
  box-shadow: 0 0 10px 2px rgba(255,255,255,.6), 0 0 20px 3px rgba(255,255,255,.24), inset 0 1px 1px rgba(255,255,255,.18);
  opacity: 0;
  visibility: hidden;
  transform: scale(.85);
  transition: transform var(--motion-flow) var(--ease), opacity var(--motion-gentle) var(--ease), visibility var(--motion-flow), scale var(--motion-gentle) var(--ease), filter var(--motion-gentle) var(--ease);
}
.fan-open .dock-fan a { opacity: 1; visibility: visible; }
.fan-open [data-channel="instagram"] { transform: translate(-88px, -82px); }
.fan-open [data-channel="tickets"] { transform: translateY(-130px); transition-delay: 60ms; }
.fan-open [data-channel="whatsapp"] { transform: translate(88px, -82px); transition-delay: 120ms; }
.forms-menu-open { overflow: hidden; }
dialog.forms-menu {
  inset: max(16px, env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
  width: min(440px, calc(100% - 32px));
  height: calc(100dvh - max(16px, env(safe-area-inset-top)) - 20px - env(safe-area-inset-bottom));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 20px;
  border: 1px solid rgba(0,0,0,.035);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.16);
  overscroll-behavior: contain;
  overflow-y: auto;
}
.forms-menu[open] { display: flex; flex-direction: column; gap: 18px; }
.forms-menu::backdrop { background: rgba(240,240,240,.68); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.forms-menu .menu-close {
  align-self: flex-end;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #686868;
}
.menu-close svg { transform: rotate(45deg); }
.forms-menu-links { display: grid; }
.forms-menu-links a, .forms-menu-links button {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.09);
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
}
.forms-menu-links a:hover, .forms-menu-links button:hover { color: var(--ink); }
.google-review {
  margin-top: auto;
  padding: 28px 18px 18px;
  border-radius: 26px;
  background: linear-gradient(145deg, #fafafa, #f3f3f3);
  text-align: center;
  flex-shrink: 0;
}
.google-review h2 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -.5px; }
.google-review .review-steps { margin: 10px 0 24px; font-size: 13px; word-spacing: 3px; }
.google-review-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  border-radius: 27px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 6px 14px rgba(0,0,0,.13), inset 0 1px 1px rgba(255,255,255,.2);
}
.google-review-button img { width: 24px; height: 24px; }
@media (min-width: 700px) {
  dialog.forms-menu { height: min(720px, calc(100dvh - 48px)); }
}

body:not([data-view="overview"]) .shell {
  max-width: 640px;
}
.view-head {
  padding: 4px 0 20px;
}
.view-head:has(h2:empty) {
  display: none;
}
h2,
h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
}
.detail-image-title {
  color: white;
  margin-bottom: 8px;
  font-size: 23px;
}
.detail-roster { margin-top: 24px; }
.roster-block {
  border-top: 1px solid var(--line);
}
.roster-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 20px 0;
}
.roster-toggle-title {
  font-size: 14px;
  font-weight: 550;
  flex: 1;
  min-width: 0;
}
.block-time {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}
.roster-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 72px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 24px;
  background: #f7f7f7;
  box-shadow:
    inset 0 0 0 1px #00000004,
    0 2px 6px #00000004;
  color: #a1a1a1;
  flex-shrink: 0;
  transition:
    background var(--motion-feedback) var(--ease),
    box-shadow var(--motion-feedback) var(--ease);
}
.roster-pill > svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  stroke: none;
}
.roster-chev {
  display: flex;
  color: #858585;
}
.roster-chev svg {
  width: 13px;
  height: 13px;
  transform: rotate(90deg);
  transition: transform var(--motion-gentle) var(--ease);
}
.roster-toggle[aria-expanded="true"] .roster-pill {
  background: #eeeeee;
  box-shadow: inset 0 1px 3px #00000006;
}
.roster-toggle[aria-expanded="true"] .roster-chev svg {
  transform: rotate(-90deg);
}
.roster-panel {
  overflow: hidden;
}
.roster-panel-body {
  padding-bottom: 16px;
}
.roster-head {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  margin: 14px 0 8px;
}
.participant {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 9px 0;
  font-size: 14px;
}
.participant:has(+ .participant)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 48px;
  right: 0;
  height: 1px;
  background: #00000007;
  box-shadow: 0 1px 2px #00000002;
}
.person-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #8a8a8a;
  background: white;
  box-shadow:
    0 1px 4px #00000008,
    inset 0 0 0 1px #00000005;
}
.participant[data-role="leader"] .person-avatar {
  background: #eeeeee;
}
.person-avatar svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.4;
}
.pname {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ticket-pill {
  padding: 4px 10px;
  border-radius: 20px;
  background: #f5f5f5;
  color: #858585;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.rtag-you {
  font-size: 11px;
  color: var(--accent);
}
.own-remove {
  color: var(--muted);
}
.private {
  color: var(--muted);
  font-size: 13px;
}
.form-sec {
  margin-bottom: 24px;
}
body[data-view="registration"] .shell {
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
#registration-form {
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 44px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}
.registration-profile {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-top: 8px;
}
#profile-avatar {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fafafa, #ededed);
  color: #999;
  box-shadow: inset 0 1px 1px #fff, 0 3px 8px rgba(0,0,0,.035);
}
#profile-avatar svg { width: 46px; height: 46px; stroke-width: 1.3; }
#profile-name { min-height: 27px; font-size: 18px; font-weight: 550; overflow-wrap: anywhere; text-align: center; }
#registration-close {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f5f5f5;
  color: var(--muted);
}
#registration-close svg { transform: rotate(45deg); }
.registration-profile .welcome { position: absolute; left: 0; top: 0; margin: 0; }
#submit-registration { margin-top: auto; flex-shrink: 0; }
.form-grid {
  display: grid;
  gap: 12px;
}
.field {
  min-width: 0;
}
.field > label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 6px;
}
input:not([type="checkbox"]):not([type="radio"]),
select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f5f5f5;
  padding: 15px 14px;
  font-size: 16px;
  line-height: 1.4;
}
input::placeholder {
  color: #7d7d7d;
}
input[aria-invalid="true"] {
  border-color: #5d5d5d;
}
.phone-group {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 8px;
}
.phone-group[hidden] {
  display: none;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 16px 0;
  min-width: 0;
}
#roles,
.roles-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
  font-size: 14px;
  transition:
    background var(--motion-feedback) var(--ease),
    border-color var(--motion-feedback) var(--ease),
    scale var(--motion-gentle) var(--ease),
    filter var(--motion-gentle) var(--ease);
  margin-bottom: 8px;
}
.option:has(input:checked) {
  background: #efefef;
  border-color: #a3a3a3;
}
.option input {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
  flex: none;
}
.privacy {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}
.privacy:empty,
.status:empty {
  display: none;
}
.af-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  width: 100%;
  border-radius: 18px;
  background: var(--ink);
  color: white;
  font-size: 15px;
  font-weight: 500;
  margin-top: 20px;
  padding: 12px 20px;
}
.af-btn:hover {
  background: #2c2c2c;
}
.status {
  font-size: 13px;
  padding: 12px 0;
}
.status[data-tone="error"] {
  color: #555555;
}
.status[data-tone="ok"] {
  color: var(--accent);
}
#detail-status.entry-saved {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 20px;
  padding: 11px 18px;
  border-radius: 24px;
  background: #edf7f0;
  color: #38694b;
  font-weight: 650;
  text-align: center;
  animation: appear var(--motion-gentle) var(--ease);
}
#detail-status.entry-saved::before {
  content: "";
  width: 25px;
  height: 25px;
  flex: none;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='7' r='3.5'/%3E%3Cpath d='M2 21v-2a7 7 0 0 1 11-5.74m1 3.74 3 3 5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.welcome {
  font-size: 13px;
  margin-bottom: 22px;
  color: var(--muted);
}
.welcome button,
.text-link {
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 8px 0;
}
.phone-known {
  font-size: 12px;
  color: var(--muted);
}
#success:not([hidden]) {
  display: grid;
  align-items: center;
  min-height: calc(
    100svh - 180px - env(safe-area-inset-top) - env(safe-area-inset-bottom)
  );
  padding: 48px 0 24px;
}
.success-card {
  position: relative;
  width: min(100%, 380px);
  margin: auto;
  padding: 76px 26px 26px;
  border: 10px solid white;
  border-radius: 36px;
  background: linear-gradient(155deg, #f4f7f2, #ebf1e9);
  box-shadow:
    0 24px 65px #29292912,
    0 0 0 1px #2a2a2a06;
  text-align: center;
  animation: success-arrive var(--motion-flow) var(--ease) both;
}
.success-card h2 {
  font-size: 23px;
}
.success-orb {
  position: absolute;
  width: 96px;
  height: 96px;
  top: -46px;
  left: calc(50% - 48px);
  display: grid;
  place-items: center;
  border: 7px solid white;
  border-radius: 50%;
  color: white;
  background: radial-gradient(circle at 30% 20%, #76ae87, #3c805e 60%, #286047);
  box-shadow:
    0 12px 24px #2c614b26,
    inset 0 2px 3px #ffffff66;
  animation: success-arrive var(--motion-flow) var(--ease) both;
}
.success-orb svg {
  width: 48px;
  height: 48px;
  stroke-width: 3;
}
.success-orb path {
  stroke-dasharray: 40;
  animation: success-check var(--motion-flow) 240ms var(--ease) both;
}
.success-continue {
  min-height: 50px;
  width: 100%;
  margin-top: 28px;
  border-radius: 25px;
  background: linear-gradient(155deg, #619d77 0%, #3c805e 48%, #286047 100%);
  color: white;
  font-size: 15px;
  font-weight: 500;
  box-shadow:
    0 7px 16px #2f725819,
    inset 0 1px 2px #ffffff55;
}
.success-continue:hover {
  filter: brightness(1.06);
}
@keyframes success-arrive {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes success-check {
  from {
    stroke-dashoffset: 40;
  }
  to {
    stroke-dashoffset: 0;
  }
}
.dial-control {
  position: relative;
  min-width: 0;
}
.dial-control select {
  appearance: none;
  -webkit-appearance: none;
  color: transparent;
}
.dial-control option {
  color: var(--ink);
}
.dial-value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  font-size: 16px;
}
.save-action {
  border-radius: 15px;
  background: #f4f4f4;
  box-shadow:
    inset 0 0 0 1px #2c2c2c10,
    0 2px 5px #2c2c2c05;
}
.save-action[aria-pressed="true"] {
  background: #ebebeb;
  color: var(--accent);
}
.save-action[aria-pressed="true"] svg {
  fill: currentColor;
}
.success-link {
  overflow-wrap: anywhere;
  font-size: 13px;
}
.manage-separate {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 28px;
}
.danger {
  color: #5d5d5d;
}
#manage-form .field {
  margin-bottom: 16px;
}
.event-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.honeypot {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  width: min(440px, calc(100% - 32px));
  color: var(--ink);
  box-shadow: 0 24px 80px #00000022;
}
dialog::backdrop {
  background: #13131344;
  backdrop-filter: blur(5px);
}
dialog[open] {
  animation: appear var(--motion-gentle) var(--ease);
}
dialog p {
  font-size: 14px;
  color: var(--muted);
}
dialog p:empty {
  display: none;
}
.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}
.secondary {
  padding: 14px;
  background: #f1f1f1;
  border-radius: 14px;
  font-size: 14px;
  text-align: center;
}
.dialog-actions .empty {
  min-height: 80px;
}
@media (min-width: 700px) {
  :root { --shell-padding: 32px; }
  .room-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  #phone-field {
    grid-column: 1/-1;
  }
  .event-image {
    aspect-ratio: 16/10;
  }
}
@media (hover: hover) {
  .event-card:hover {
    box-shadow: 0 12px 30px rgba(35, 35, 35, 0.11);
    transform: translateY(-2px);
  }
  .event-open:hover img {
    transform: scale(1.025);
  }
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Formulare: Fokus bleibt vollständig innerhalb des Feldes. */
input:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow:
    inset 0 2px 7px rgba(48, 48, 48, 0.12),
    inset 0 0 0 1px rgba(83, 83, 83, 0.35);
}
.option {
  position: relative;
  min-height: 62px;
  justify-content: space-between;
}
.option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.option:has(input[type="radio"]) {
  justify-content: center;
  font-weight: 500;
}
.option:has(input:focus-visible) {
  box-shadow:
    inset 0 2px 7px rgba(48, 48, 48, 0.12),
    inset 0 0 0 1px rgba(83, 83, 83, 0.35);
}
.option input[type="checkbox"] {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  margin: 0;
  opacity: 0;
}
.selection-mark { width: 26px; height: 26px; margin-left: 12px; color: #333; }
.selection-empty { stroke: #aaa; stroke-width: 1.3; }
.selection-check { opacity: 0; stroke-width: 2.6; }
.selection-mark circle, .selection-mark g {
  transition: opacity var(--motion-gentle) var(--ease);
}
.option input:checked + .selection-mark .selection-empty { opacity: 0; }
.option input:checked + .selection-mark .selection-check { opacity: 1; }
.option:has(input:checked) {
  background: #ebebeb;
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(83, 83, 83, 0.18);
}
.nav-brand {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -1px;
}
#nav-language {
  font-size: 12px;
  font-weight: 500;
}
.welcome {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.welcome button {
  text-decoration: none;
  padding: 0;
  background: #f3f3f3;
}
