/* Design wie deniseheller.de – Schriften liegen lokal (keine Verbindung zu Google, DSGVO). */
@font-face { font-family: "Bebas Neue"; src: url(fonts/bebas-neue.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Mulish"; src: url(fonts/mulish.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url(fonts/dancing-script.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --primary: #ab0500;
  --berry: #8e0238;
  --mauve: #ab7877;
  --powder: #dbc9c8;
  --taupe: #8f7a79;
  --ink: #262626;
  --heading: #2d2d2d;
  --line: #e0e0e0;
  --bg: #fafafa;
  --soft: rgba(219, 201, 200, .4);
  --error: #a83c39;
  --radius: 16px;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, .08), 0 4px 6px -4px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(219, 201, 200, .55), transparent 70%),
    radial-gradient(900px 400px at -10% 10%, rgba(219, 201, 200, .35), transparent 70%),
    var(--bg);
  color: var(--ink);
  font: 500 16px/1.6 "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; color: inherit; }
a { color: var(--primary); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ── Header ── */
.top { border-bottom: 1px solid rgba(171, 120, 119, .15); background: rgba(255, 255, 255, .6); backdrop-filter: blur(8px); }
.top-inner { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: block; width: 128px; height: 74px; overflow: hidden; border: 1px solid #2d2d2d; background: #fff; }
.logo img { width: 188px; height: 188px; margin: -57px 0 0 -30px; display: block; max-width: none; }
.top-link { color: var(--taupe); text-decoration: none; font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.top-link:hover { color: var(--primary); }
.top-link svg { width: 16px; height: 16px; }

.page { max-width: 1120px; margin: 0 auto; padding: 40px 24px 64px; }

/* ── Hero ── */
.hero { margin-bottom: 32px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--soft); border: 1px solid rgba(171, 120, 119, .3); color: var(--primary);
  border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 600;
}
.badge svg { width: 16px; height: 16px; }
h1 {
  font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400;
  font-size: clamp(30px, 10.5vw, 68px); line-height: .98; letter-spacing: -1px; overflow-wrap: anywhere;
  color: var(--heading); margin: 18px 0 6px;
}
h1 span { display: block; color: var(--primary); }
.script { font-family: "Dancing Script", cursive; font-weight: 600; color: var(--berry); font-size: clamp(26px, 4vw, 36px); line-height: 1.2; margin: 0; }

/* ── Card ── */
.card {
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(171, 120, 119, .15);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 300px 1fr;
  overflow: hidden;
}

/* Left: details */
.side { padding: 32px 28px; background: linear-gradient(180deg, rgba(219, 201, 200, .28), rgba(219, 201, 200, .08)); border-right: 1px solid rgba(171, 120, 119, .15); display: flex; flex-direction: column; gap: 20px; }
.who { display: flex; align-items: center; gap: 14px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--shadow); flex: none; }
.initials { background: var(--primary); color: #fff; display: grid; place-items: center; font-family: "Bebas Neue", sans-serif; font-size: 28px; }
.who small { display: block; color: var(--taupe); font-size: 13px; }
.who b { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 26px; letter-spacing: .3px; color: var(--heading); line-height: 1.1; }
.meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.meta li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 600; font-size: 15px; }
.meta .ic { width: 34px; height: 34px; border-radius: 10px; background: #fff; color: var(--primary); display: grid; place-items: center; flex: none; border: 1px solid rgba(171, 120, 119, .2); }
.meta .ic svg { width: 18px; height: 18px; }
.meta li span:last-child { padding-top: 6px; }
.desc { margin: 0; color: var(--taupe); }
.chosen-slot { background: #fff; border: 1px solid rgba(171, 5, 0, .25); border-radius: var(--radius); padding: 14px 16px; }
.chosen-slot small { color: var(--taupe); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.chosen-slot div { font-weight: 700; color: var(--primary); }
.side .legal { margin-top: auto; }

/* Right: steps */
.main { padding: 32px 36px 36px; min-width: 0; }
.steps { display: flex; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; color: var(--taupe); font-size: 13px; font-weight: 700; }
.steps b { font-weight: 700; }
.steps li + li::before { content: ""; width: 24px; height: 1px; background: var(--powder); margin-right: 2px; }
.steps i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--powder); background: #fff; font-size: 12px; }
.steps .on { color: var(--primary); }
.steps .on i { background: var(--primary); border-color: var(--primary); color: #fff; }
.steps .ok i { background: var(--soft); border-color: transparent; color: var(--primary); }

h2 { font-family: "Bebas Neue", sans-serif; font-weight: 400; font-size: 34px; letter-spacing: .2px; color: var(--heading); margin: 0 0 18px; line-height: 1; }

.pick { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 32px; }
.pick.no-times { grid-template-columns: minmax(0, 1fr); }

.month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.month span { font-family: "Bebas Neue", sans-serif; font-size: 26px; color: var(--heading); letter-spacing: .3px; }
.nav {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(171, 5, 0, .3);
  background: #fff; color: var(--primary); display: grid; place-items: center; cursor: pointer; transition: background .15s;
}
.nav:hover:not(:disabled) { background: var(--soft); }
.nav:disabled { color: #c9bdbc; border-color: var(--line); cursor: default; }

.grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.weekdays { font-size: 12px; font-weight: 800; color: var(--taupe); text-transform: uppercase; letter-spacing: .6px; text-align: center; margin-bottom: 6px; }
.days.loading { opacity: .4; }
.day {
  position: relative; aspect-ratio: 1; max-height: 54px; border-radius: 14px;
  display: grid; place-items: center; border: 0; background: none; color: #bdb3b2; font-weight: 600;
}
.day.free { background: var(--soft); color: var(--primary); font-weight: 800; cursor: pointer; transition: transform .12s, background .12s; }
.day.free:hover { background: rgba(219, 201, 200, .75); transform: translateY(-1px); }
.day.selected, .day.selected:hover { background: var(--primary); color: #fff; box-shadow: 0 6px 14px -6px rgba(171, 5, 0, .6); }
.day.today::after { content: ""; position: absolute; bottom: 7px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

.tz { margin-top: 18px; display: flex; gap: 6px; align-items: center; color: var(--taupe); font-size: 13px; }
.tz svg { width: 15px; height: 15px; }

.times h3 { font-size: 15px; font-weight: 800; margin: 6px 0 14px; color: var(--heading); }
.time-list { display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; padding: 2px 6px 2px 2px; }
.time {
  height: 48px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(171, 5, 0, .3); background: #fff; color: var(--primary);
  font-weight: 700; font-size: 16px; transition: background .12s, border-color .12s;
}
.time:hover { background: var(--soft); border-color: var(--primary); }
.time-pick { display: grid; grid-template-columns: 1fr 1.25fr; gap: 6px; }
.time-pick > * { height: 48px; border-radius: 999px; font-weight: 700; display: grid; place-items: center; }
.time.chosen { background: var(--soft); border-color: transparent; cursor: default; }
.confirm { border: 0; background: var(--primary); color: #fff; cursor: pointer; display: flex !important; align-items: center; justify-content: center; gap: 6px; }
.confirm:hover, .primary:hover { background: #8f0400; }
.confirm svg { width: 16px; height: 16px; }

.none { color: var(--taupe); }
.demo { background: #fff6e0; color: #7a5800; border-radius: 12px; padding: 8px 14px; font-size: 14px; margin: 0 0 16px; }
.alert { background: rgba(168, 60, 57, .08); color: var(--error); border: 1px solid rgba(168, 60, 57, .25); border-radius: 12px; padding: 10px 14px; font-size: 14px; font-weight: 600; }

/* ── Form ── */
.details { max-width: 560px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 16px; }
.field > span, legend { display: block; font-weight: 800; font-size: 14px; margin-bottom: 8px; color: var(--heading); }
i.req { font-style: normal; color: var(--primary); }
.field input, .field textarea, .other-text {
  width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff; font-weight: 500;
  transition: border-color .12s, box-shadow .12s;
}
.field input:focus, .field textarea:focus, .other-text:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(171, 5, 0, .12); }
.field small { color: var(--taupe); font-size: 13px; }

.pill {
  border: 1px solid rgba(171, 5, 0, .3); color: var(--primary); background: #fff;
  border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 14px; cursor: pointer; margin: -2px 0 22px;
  display: inline-flex; gap: 6px; align-items: center;
}
.pill svg { width: 16px; height: 16px; }
.pill:hover { background: var(--soft); }

fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.choices { display: grid; gap: 8px; }
.choices.two { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .12s, background .12s;
}
.choice:hover { border-color: rgba(171, 5, 0, .4); }
.choice:has(input:checked) { border-color: var(--primary); background: rgba(219, 201, 200, .22); }
.choice input[type=radio] { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); flex: none; }
.loc-icon { color: var(--primary); display: flex; }
.choice.other { padding: 6px 6px 6px 14px; }
.other-text { flex: 1; border: 0 !important; box-shadow: none !important; padding: 8px 6px; background: transparent; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 6px 0 22px; cursor: pointer; color: var(--taupe); }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }

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

.primary {
  background: var(--primary); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 28px; font-weight: 700; font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px; transition: background .15s;
}
.primary:disabled { opacity: .6; cursor: progress; }

.back { border: 0; background: none; color: var(--taupe); font-weight: 700; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 0; margin-bottom: 14px; font-size: 14px; }
.back:hover { color: var(--primary); }
.back svg { width: 16px; height: 16px; }

/* ── Done ── */
.done { grid-column: 1 / -1; padding: 56px 24px; text-align: center; }
.done .ok { width: 72px; height: 72px; border-radius: 50%; background: var(--soft); color: var(--primary); display: grid; place-items: center; margin: 0 auto 18px; }
.done .ok svg { width: 34px; height: 34px; }
.done h2 { font-size: 48px; margin-bottom: 4px; }
.done .script { margin-bottom: 18px; }
.done > p { max-width: 480px; margin: 0 auto 26px; color: var(--taupe); }
.summary { display: inline-block; text-align: left; background: #fff; border: 1px solid rgba(171, 120, 119, .2); border-radius: var(--radius); padding: 22px 26px 10px; min-width: min(440px, 100%); box-shadow: var(--shadow); }
.summary-title { font-family: "Bebas Neue", sans-serif; font-size: 26px; color: var(--heading); margin-bottom: 14px; }
.done .legal { justify-content: center; margin-top: 30px; }

.legal { display: flex; gap: 18px; font-size: 13px; flex-wrap: wrap; }
.legal a { color: var(--taupe); text-decoration: none; }
.legal a:hover { color: var(--primary); text-decoration: underline; }

.noscript { padding: 40px; text-align: center; }
button:focus-visible, a:focus-visible, .choice:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .card { grid-template-columns: 1fr; }
  .side { border-right: 0; border-bottom: 1px solid rgba(171, 120, 119, .15); padding: 22px 20px; }
  .side .legal { display: none; }
  .main { padding: 24px 20px 28px; }
  .pick { grid-template-columns: 1fr; gap: 24px; }
  .time-list { max-height: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .time-pick { grid-column: 1 / -1; }
  .mobile-legal { display: flex !important; justify-content: center; margin-top: 24px; }
}
@media (max-width: 560px) {
  .page { padding: 24px 16px 40px; }
  .side { gap: 14px; }
  .avatar { width: 52px; height: 52px; }
  .meta { display: flex; flex-wrap: wrap; gap: 8px; }
  .meta li { font-size: 13px; gap: 6px; align-items: center; white-space: nowrap; background: #fff; border: 1px solid rgba(171, 120, 119, .2); border-radius: 999px; padding: 4px 10px 4px 4px; }
  .meta .ic { width: 24px; height: 24px; border: 0; background: none; }
  .meta li span:last-child { padding-top: 0; }
  .side .desc { display: none; }
  .steps { gap: 4px; }
  .steps li { font-size: 12px; gap: 5px; }
  .steps li + li::before { width: 14px; }
  .steps li:not(.on) b { display: none; }
  .summary .meta, .done .meta { grid-template-columns: 1fr; }
  .top-inner { padding: 12px 16px; }
  .top-link span { display: none; }
  .row, .choices.two { grid-template-columns: 1fr; }
  .card { border-radius: 20px; }
  .grid { gap: 4px; }
  .day { border-radius: 12px; }
  h2 { font-size: 30px; }
  .primary { width: 100%; justify-content: center; }
}
.mobile-legal { display: none; }
