/* ONEART · Website-Update v4: Geschichte „21:40 Uhr“, Entwurf-Starter im Hero, Bewertungen, Print-Collage. Baut auf styles.css, growth.css und oneart-v3.css auf. */

/* ------------------------------------------------------------------ Hero: Entwurf-Starter */
.v4-starter {
  max-width: 600px;
  margin: 1.7rem 0 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(197, 16, 36, 0.12), rgba(255, 255, 255, 0.03) 55%);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
}

.v4-starter__label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.75rem;
  color: #ecdcc9;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.v4-starter__label i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: v4-pulse 2.4s ease-in-out infinite;
}

.v4-starter__row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto;
  gap: 0.5rem;
}

.v4-starter input,
.v4-starter select {
  width: 100%;
  min-height: 3.1rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: #1b1917;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  outline: 0;
}

.v4-starter select {
  appearance: none;
  padding-right: 2rem;
  background: #1b1917 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8dfd5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.7rem center / 15px;
  cursor: pointer;
}

.v4-starter input::placeholder {
  color: #9e968c;
}

.v4-starter input:focus,
.v4-starter select:focus {
  border-color: #e8dfd5;
}

.v4-starter button {
  min-height: 3.1rem;
  padding: 0 1.15rem;
  border: 0;
  background: var(--signal, #c51024);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms ease;
}

.v4-starter button:hover {
  background: #e01a30;
  transform: translateY(-1px);
}

.v4-starter__note {
  margin: 0.65rem 0 0;
  color: #a39b91;
  font-size: 0.78rem;
}

.g-hero .g-actions .button--outline {
  border-color: rgba(255, 255, 255, 0.35);
}

.v4-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  color: #e8dfd5;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.v4-rating b {
  color: #f5b301;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.v4-rating:hover {
  color: #fff;
}

/* ------------------------------------------------------------------ Geschichte „21:40 Uhr“ */
.st {
  --st-bg: #0c0e13;
  position: relative;
  overflow: clip;
  isolation: isolate;
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--st-bg);
  color: #f3eee7;
  transition: background-color 1.2s ease;
}

.st[data-step="3"] {
  --st-bg: #1e1510;
}

.st::before,
.st::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  transition: opacity 1.2s ease;
}

.st::before {
  background:
    radial-gradient(55% 45% at 78% 30%, rgba(70, 104, 190, 0.3), transparent 70%),
    radial-gradient(40% 35% at 8% 92%, rgba(197, 16, 36, 0.12), transparent 70%);
}

.st::after {
  opacity: 0;
  background:
    radial-gradient(70% 55% at 80% 92%, rgba(255, 158, 66, 0.45), transparent 70%),
    radial-gradient(45% 40% at 18% 12%, rgba(255, 214, 170, 0.12), transparent 70%);
}

.st[data-step="3"]::before {
  opacity: 0;
}

.st[data-step="3"]::after {
  opacity: 1;
}

.st-stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 14%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 28% 32%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.4px 1.4px at 46% 8%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 63% 22%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.3px 1.3px at 84% 12%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(1px 1px at 92% 38%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.1px 1.1px at 6% 56%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1px 1px at 38% 64%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.2px 1.2px at 72% 58%, rgba(255, 255, 255, 0.35), transparent);
  transition: opacity 1.2s ease;
}

.st[data-step="3"] .st-stars {
  opacity: 0;
}

.st-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  column-gap: clamp(2rem, 6vw, 6rem);
}

.st-intro {
  grid-column: 1;
  padding-bottom: clamp(1rem, 4vh, 3rem);
}

.st-intro h2 {
  max-width: 13ch;
  margin: 0.7rem 0 1.3rem;
  color: #fff;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.st-intro h2 em {
  display: block;
  margin-top: 0.35rem;
  color: #dcc9b4;
  font-family: var(--font-accent);
  font-size: 0.82em;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.st-lead {
  max-width: 46ch;
  margin: 0;
  color: #bdb4a9;
  font-size: 1.08rem;
  line-height: 1.65;
}

.st-stage {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: relative;
}

.st-sticky {
  position: sticky;
  top: calc(50vh - 345px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding-top: 1rem;
}

.st-steps {
  grid-column: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: st;
}

.st-step {
  display: flex;
  min-height: 74vh;
  flex-direction: column;
  justify-content: center;
  padding-block: 2rem;
  opacity: 0.26;
  transition: opacity 0.6s ease;
}

.st-step.is-active,
.st:not(.is-ready) .st-step {
  opacity: 1;
}

.st-time {
  display: block;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8.5vw, 7rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.88;
  -webkit-text-stroke: 1.5px rgba(243, 238, 231, 0.5);
  transition: color 0.6s ease, -webkit-text-stroke-color 0.6s ease;
}

.st-step.is-active .st-time {
  color: #fff;
  -webkit-text-stroke-color: transparent;
}

.st-step[data-step="3"].is-active .st-time {
  color: #ffc58a;
}

.st-step h3 {
  margin: 1.1rem 0 0.75rem;
  color: #fff;
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  letter-spacing: -0.035em;
}

.st-step p {
  max-width: 44ch;
  margin: 0;
  color: #cbc2b7;
  font-size: 1.06rem;
  line-height: 1.7;
}

.st-step p strong {
  color: #fff;
}

.st-outro {
  grid-column: 1;
  padding-top: clamp(1.5rem, 4vh, 3rem);
}

.st-outro h3 {
  max-width: 20ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.st-outro h3 em {
  color: #ffc58a;
  font-family: var(--font-accent);
  font-weight: 400;
}

.st-outro p {
  max-width: 50ch;
  margin: 0 0 1.6rem;
  color: #d4cabe;
  line-height: 1.7;
}

.st-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
}

.st-actions .button {
  border-color: var(--signal, #c51024);
  background: var(--signal, #c51024);
  color: #fff;
}

.st-actions .button:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink, #11100f);
}

.st-actions .g-link {
  color: #f3eee7;
}

.st-note {
  margin: 1.4rem 0 0 !important;
  color: #8f877d !important;
  font-size: 0.78rem !important;
}

/* Fortschritt unter dem Handy */
.st-progress {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-progress li {
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.4s ease, width 0.4s ease;
}

.st[data-step="0"] .st-progress li:nth-child(1),
.st[data-step="1"] .st-progress li:nth-child(-n + 2),
.st[data-step="2"] .st-progress li:nth-child(-n + 3),
.st[data-step="3"] .st-progress li {
  background: #fff;
}

.st[data-step="3"] .st-progress li {
  background: #ffc58a;
}

.st-caption {
  margin: 0;
  color: #9d958b;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------ Handy */
.st-phone {
  --s: 1;
  position: relative;
  width: calc(300px * var(--s));
  height: calc(620px * var(--s));
  flex: none;
}

.st-phone__body {
  --glow: rgba(88, 120, 225, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 620px;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2f2c29, #0a0908);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 60px 100px -40px rgba(0, 0, 0, 0.95), 0 0 150px -30px var(--glow);
  transform: scale(var(--s));
  transform-origin: 0 0;
  transition: box-shadow 1.2s ease;
}

.st[data-step="3"] .st-phone__body {
  --glow: rgba(255, 158, 66, 0.6);
}

.st-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 37px;
  background: #f6f2ec;
  color: #1d1b19;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.35;
}

.st-phone__bar {
  position: absolute;
  z-index: 6;
  inset: 0 0 auto;
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px 0 30px;
  color: #111;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.st-phone__bar::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 80px;
  height: 22px;
  margin-left: -40px;
  border-radius: 20px;
  background: #0a0908;
}

.st-phone__bar i {
  width: 20px;
  height: 10px;
  border: 1.5px solid #111;
  border-radius: 3px;
  box-shadow: inset -6px 0 0 #fff, inset 0 0 0 1px #111;
  background: #111;
}

.st-screen {
  position: absolute;
  inset: 0;
  padding: 46px 14px 16px;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.55s ease, transform 0.65s var(--ease-out, ease);
  pointer-events: none;
}

.st[data-step="0"] [data-screen="0"],
.st[data-step="1"] [data-screen="1"],
.st[data-step="2"] [data-screen="2"],
.st[data-step="3"] [data-screen="3"] {
  opacity: 1;
  transform: none;
}

/* Bildschirm 1: Suche */
.st-screen--search {
  background: #fff;
}

.st-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f1f3f4;
  color: #202124;
  font-size: 12.5px;
  font-weight: 600;
}

.st-search svg,
.st-screen svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.st-search b {
  display: inline-block;
  width: 1px;
  height: 14px;
  margin-left: -6px;
  background: #1a73e8;
  animation: st-caret 1s steps(1) infinite;
}

.st-muted {
  margin: 0 0 8px;
  color: #70757a;
  font-size: 10.5px;
}

.st-map {
  position: relative;
  height: 92px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(115deg, transparent 46%, #fff 46.5% 49%, transparent 49.5%),
    linear-gradient(25deg, transparent 58%, #fff 58.5% 61%, transparent 61.5%),
    linear-gradient(160deg, transparent 30%, rgba(255, 255, 255, 0.8) 30.5% 32%, transparent 32.5%),
    #e7eee4;
}

.st-map i {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50% 50% 50% 0;
  background: #9aa0a6;
  transform: rotate(-45deg);
}

.st-map i:nth-child(1) { top: 34px; left: 120px; width: 18px; height: 18px; background: #c51024; box-shadow: 0 0 0 6px rgba(197, 16, 36, 0.18); }
.st-map i:nth-child(2) { top: 18px; left: 46px; }
.st-map i:nth-child(3) { top: 54px; left: 196px; }

.st-result {
  margin-bottom: 7px;
  padding: 9px 11px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #fff;
}

.st-result strong {
  display: block;
  color: #1a0dab;
  font-size: 12.5px;
}

.st-result span {
  display: block;
  margin-top: 2px;
  color: #5f6368;
  font-size: 10.5px;
}

.st-result.is-you {
  border-color: #c51024;
  box-shadow: 0 8px 20px -10px rgba(197, 16, 36, 0.45);
}

.st-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.st-tags b,
.st-tags em {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 800;
}

.st-tags b {
  background: #e6f4ea;
  color: #137333;
}

.st-tags em {
  background: #f1f3f4;
  color: #5f6368;
}

.st-tap {
  position: absolute;
  top: 236px;
  left: 168px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(197, 16, 36, 0.28);
  box-shadow: 0 0 0 0 rgba(197, 16, 36, 0.4);
  opacity: 0;
}

.st[data-step="0"] .st-tap {
  animation: st-tap 2.4s 1s ease-out infinite;
}

/* Bildschirm 2: Website */
.st-screen--site {
  padding: 36px 0 0;
  background: #f6f2ec;
}

.st-screen--site img {
  display: block;
  width: 100%;
  height: auto;
}

.st[data-step="1"] .st-screen--site img {
  animation: st-scroll 7s 0.8s cubic-bezier(0.45, 0, 0.25, 1) both;
}

/* Bildschirm 3: Buchung */
.st-screen--book {
  background: #f6f2ec;
}

.st-app-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.st-app-head span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #a2674f;
  border-radius: 50%;
  color: #a2674f;
  font-family: var(--font-accent);
  font-size: 11px;
}

.st-app-head strong {
  font-size: 13px;
}

.st-book-title {
  margin: 0 0 4px;
  font-family: var(--font-accent);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.st-book-sub {
  margin: 0 0 12px;
  color: #6b625a;
  font-size: 11px;
}

.st-label {
  margin: 10px 0 6px;
  color: #8a7f75;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.st-chip {
  padding: 9px 11px;
  border: 1.5px solid #a2674f;
  border-radius: 12px;
  background: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

.st-chip small {
  float: right;
  color: #a2674f;
  font-weight: 800;
}

.st-days,
.st-times {
  display: grid;
  gap: 6px;
}

.st-days {
  grid-template-columns: repeat(4, 1fr);
}

.st-times {
  grid-template-columns: repeat(3, 1fr);
}

.st-days span,
.st-times span {
  padding: 7px 0;
  border: 1px solid #e3dad0;
  border-radius: 10px;
  background: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
}

.st-days span small {
  display: block;
  color: #8a7f75;
  font-size: 9px;
  font-weight: 600;
}

.st-days span.is-on,
.st-times span.is-on {
  border-color: #a2674f;
  background: #a2674f;
  color: #fff;
}

.st-days span.is-on small {
  color: #f3e3da;
}

.st-days span.is-off,
.st-times span.is-off {
  color: #c2b8ad;
  text-decoration: line-through;
}

.st-book-btn {
  margin-top: 14px;
  padding: 12px;
  border-radius: 999px;
  background: #a2674f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.st-done {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: rgba(246, 242, 236, 0.96);
  opacity: 0;
  text-align: center;
  transform: scale(1.04);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.st[data-step="2"] .st-done {
  animation: st-done 6s 1.4s ease both;
}

.st-done__check {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #2f9e5f;
  color: #fff;
}

.st-done__check svg {
  width: 26px;
  height: 26px;
  stroke-width: 3;
}

.st-done strong {
  font-size: 16px;
}

.st-done span {
  color: #6b625a;
  font-size: 11px;
}

/* Bildschirm 4: Dashboard am Morgen */
.st-screen--dash {
  background: #f4f1ec;
}

.st-toast {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  padding: 10px 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-14px);
}

.st[data-step="3"] .st-toast {
  animation: st-toast 0.6s 0.6s var(--ease-out, ease) both;
}

.st-toast span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border-radius: 8px;
  background: #11100f;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.st-toast strong {
  display: block;
  font-size: 11px;
}

.st-toast small {
  color: #6b625a;
  font-size: 10px;
}

.st-dash-hi {
  margin: 0;
  color: #8a7f75;
  font-size: 10.5px;
}

.st-dash-title {
  margin: 2px 0 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.st-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

.st-kpis div {
  padding: 9px 10px;
  border-radius: 12px;
  background: #fff;
}

.st-kpis small {
  display: block;
  color: #8a7f75;
  font-size: 9.5px;
}

.st-kpis b {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.st-kpis div:first-child b {
  color: #c51024;
}

.st-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.st-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 12px;
  background: #fff;
  font-size: 11px;
}

.st-list li b {
  font-variant-numeric: tabular-nums;
}

.st-list li small {
  display: block;
  color: #8a7f75;
  font-size: 9.5px;
}

.st-list li em {
  padding: 2px 7px;
  border-radius: 999px;
  background: #fde7ea;
  color: #c51024;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.st-list li.is-new {
  box-shadow: inset 3px 0 0 #c51024;
}

.st[data-step="3"] .st-list li.is-new {
  animation: st-glow 2.4s 1.2s ease-in-out 2;
}

/* ------------------------------------------------------------------ Bewertungen */
.v4-score {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: -0.3rem 0 1.4rem;
  color: #f3eee7;
  text-decoration: none;
}

.v4-score b {
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.v4-score span {
  color: #f5b301;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.v4-score small {
  color: #b9b0a5;
  font-size: 0.85rem;
}

.v4-score:hover small {
  color: #fff;
}

.v4-qstars {
  display: block;
  margin-bottom: 0.4rem;
  color: #f5b301;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ------------------------------------------------------------------ Arbeiten: Print-Collage */
.g-work .v4-print__stage {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.6;
  border: 1px solid #ffffff25;
  background: radial-gradient(80% 90% at 30% 20%, #e9e0d3, #cbbfae);
}

.g-work .v4-print__stage img {
  position: absolute;
  height: auto;
  padding: 0;
  border: 0;
  aspect-ratio: auto;
  background: none;
  box-shadow: 0 18px 30px -14px rgba(30, 20, 10, 0.55), 0 2px 6px rgba(30, 20, 10, 0.18);
  transition: transform 0.6s var(--ease-out, ease);
}

.g-work .v4-print__flyer {
  top: 9%;
  left: 8%;
  width: 31%;
  transform: rotate(-6deg);
}

.g-work .v4-print__card--a {
  top: 13%;
  left: 43%;
  width: 46%;
  transform: rotate(5deg);
}

.g-work .v4-print__card--b {
  top: 50%;
  left: 36%;
  width: 47%;
  transform: rotate(-3deg);
}

.v4-print__stage:hover .v4-print__flyer {
  transform: rotate(-9deg) translate(-4%, -2%);
}

.v4-print__stage:hover .v4-print__card--a {
  transform: rotate(8deg) translate(3%, -4%);
}

.v4-print__stage:hover .v4-print__card--b {
  transform: rotate(-1deg) translate(2%, 4%);
}

/* ------------------------------------------------------------------ Animationen */
@keyframes v4-pulse {
  50% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}

@keyframes st-caret {
  50% { opacity: 0; }
}

@keyframes st-tap {
  0% { opacity: 0; transform: scale(0.6); box-shadow: 0 0 0 0 rgba(197, 16, 36, 0.45); }
  15% { opacity: 1; transform: scale(1); }
  45% { opacity: 0.9; box-shadow: 0 0 0 16px rgba(197, 16, 36, 0); }
  70%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes st-scroll {
  0%, 12% { transform: translateY(0); }
  100% { transform: translateY(-46%); }
}

@keyframes st-done {
  0% { opacity: 0; transform: scale(1.04); }
  8%, 100% { opacity: 1; transform: none; }
}

@keyframes st-toast {
  to { opacity: 1; transform: none; }
}

@keyframes st-glow {
  50% { background: #fff3f4; }
}

/* ------------------------------------------------------------------ Kleinere Bildschirme */
@media (max-height: 760px) and (min-width: 901px) {
  .st-phone { --s: 0.84; }
  .st-sticky { top: calc(50vh - 300px); }
}

@media (max-width: 900px) {
  .st-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .st-intro,
  .st-steps,
  .st-outro {
    grid-column: 1;
  }

  .st-stage {
    position: sticky;
    z-index: 3;
    top: 74px;
    grid-column: 1;
    grid-row: auto;
    margin-inline: calc(-1 * var(--gutter, 1.1rem));
    padding: 0.6rem var(--gutter, 1.1rem) 1.2rem;
    background: linear-gradient(180deg, var(--st-bg) 82%, transparent);
    transition: background 1.2s ease;
  }

  .st-sticky {
    position: static;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    padding: 0;
  }

  .st-phone {
    --s: 0.6;
  }

  .st-progress {
    flex-direction: column;
    align-self: center;
  }

  .st-progress li {
    width: 3px;
    height: 26px;
  }

  .st-caption {
    display: none;
  }

  .st-step {
    min-height: 62vh;
    justify-content: flex-start;
    padding-block: 1.5rem 3rem;
  }

  .st-time {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .st-step p {
    font-size: 1rem;
  }

  .v4-starter__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .v4-starter__row input {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .st-phone {
    --s: 0.54;
  }

  .v4-starter__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .v4-starter button {
    min-height: 3.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .st,
  .st::before,
  .st::after,
  .st-stars,
  .st-step,
  .st-screen,
  .st-phone__body,
  .v4-print__stage img {
    transition: none !important;
  }

  .st *,
  .v4-starter__label i {
    animation: none !important;
  }

  .st[data-step="2"] .st-done,
  .st[data-step="3"] .st-toast {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ Feinschliff */
.st-phone__bar {
  background: #f6f2ec;
  transition: background 0.4s ease;
}

.st[data-step="0"] .st-phone__bar {
  background: #fff;
}

.st[data-step="3"] .st-phone__bar {
  background: #f4f1ec;
}

.st-label {
  margin-top: 13px;
}

/* Buchung als kleine Abfolge: Tag tippen → Uhrzeit tippen → Knopf → „Gebucht!“ */
.st[data-step="2"] .st-days span.is-on {
  animation: st-pick 0.35s 0.5s both;
}

.st[data-step="2"] .st-times span.is-on {
  animation: st-pick 0.35s 1.1s both;
}

.st[data-step="2"] .st-book-btn {
  animation: st-press 0.45s 1.8s both;
}

.st[data-step="2"] .st-done {
  animation: st-done 5s 2.35s ease both;
}

@keyframes st-pick {
  from { border-color: #e3dad0; background: #fff; color: #1d1b19; }
  to { border-color: #a2674f; background: #a2674f; color: #fff; }
}

@keyframes st-press {
  50% { transform: scale(0.95); filter: brightness(0.88); }
}

.g-hero .g-actions .button.button--outline {
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
  color: #f3eee7;
}

.g-hero .g-actions .button.button--outline:hover {
  border-color: #fff;
  background: #fff;
  color: var(--ink, #11100f);
}

/* Handy: Telefon bleibt nur während der vier Momente stehen, nicht über dem Schluss */
.st-run {
  display: contents;
}

@media (max-width: 900px) {
  .st-run {
    display: block;
  }

  .st-step:last-child {
    min-height: 56vh;
  }
}

@media (min-width: 901px) {
  .st-outro {
    padding-bottom: clamp(5rem, 16vh, 9rem);
  }

  .st {
    padding-bottom: clamp(2rem, 4vw, 3rem);
  }
}

/* Kleine Auszeichnungen im Handy nicht in der Akzentschrift der Website */
.st-tags em,
.st-list li em,
.st-phone__screen em {
  font-family: var(--font-body);
  font-style: normal;
}
