/* naiiledbycris · Babyblau
   Layout: Laufband → schwebende Pill-Navigation → luftige Abschnitte mit Eyebrow,
   leichter Überschrift und kurzem Balken → weiße, weich abgerundete Karten.
   Bewusst nur ein helles Erscheinungsbild (Pastell-Look). */
:root {
  --bg: #F3F8FD;
  --bg-tint: #E7F1FB;
  --card: #FFFFFF;
  --ink: #1B2B3C;
  --muted: #5F7185;
  --line: #DAE6F2;
  --baby: #AED6F6;
  --baby-soft: #DDEEFC;
  --baby-mid: #74B3E6;
  --blue: #2D6AA1;
  --navy: #0F2B46;
  --amber: #8F5C06;
  --amber-bg: #FFF0D6;
  --amber-dot: #E7A33A;
  --green: #1D7454;
  --green-bg: #DDF3E9;
  --red: #B2323D;
  --red-bg: #FBE5E7;
  --skin: #F2E0D8;
  --shadow-sm: 0 1px 2px rgba(27, 43, 60, .04), 0 6px 18px rgba(45, 106, 161, .06);
  --shadow: 0 2px 6px rgba(27, 43, 60, .04), 0 22px 48px rgba(45, 106, 161, .12);
  --radius: 26px;
  --font-display: "Outfit", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  padding-bottom: var(--badge-platz, 0px); /* Platz für das Netlify-Badge */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.wrap {
  max-width: 1180px; margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.demo-bar { background: var(--amber-bg); color: var(--amber); font-size: .8rem; font-weight: 600; text-align: center; padding: 6px 16px; padding-top: calc(6px + env(safe-area-inset-top, 0px)); }

/* ---------- Laufband ---------- */
.ticker { background: var(--baby); color: var(--navy); overflow: hidden; white-space: nowrap; }
.ticker-track { display: flex; width: max-content; padding-block: 8px; animation: ticker 40s linear infinite; }
.ticker-track span { margin-right: 44px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ticker-track span::before { content: "✦"; margin-right: 12px; opacity: .55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Navigation ---------- */
.nav-shell {
  position: sticky; top: 12px; z-index: 40; margin-top: 12px;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
}
.navbar {
  max-width: 1060px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.logo { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; color: var(--blue); text-decoration: none; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: var(--blue); }
@media (max-width: 820px) { .nav-links { display: none; } .navbar { padding-left: 18px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #C2E1FA, #9CCBF2); color: var(--navy);
  box-shadow: 0 6px 18px rgba(45, 106, 161, .22), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(45, 106, 161, .3), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--baby-mid); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #1A3D5F; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; font-size: .85rem; color: var(--red); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }

/* ---------- Überschriften ---------- */
.eyebrow { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.title { margin-top: 10px; font-weight: 300; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.1; letter-spacing: -.02em; }
.title b { font-weight: 600; }
.bar { display: block; width: 56px; height: 3px; margin-top: 18px; border-radius: 3px; background: var(--baby-mid); }
.section { padding-block: 96px; }
.section.tint { background: var(--bg-tint); }
.section-head { margin-bottom: 44px; }
.section-head .intro { margin: 16px 0 0; max-width: 36rem; color: var(--muted); }
.section-head.center { text-align: center; }
.section-head.center .bar, .section-head.center .intro { margin-inline: auto; }
@media (max-width: 700px) { .section { padding-block: 64px; } }

/* ---------- Karten & Status ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.s-info, .s-frei { background: var(--baby-soft); color: var(--blue); }
.s-offen, .s-angefragt { background: var(--amber-bg); color: var(--amber); }
.s-bestaetigt, .s-gebucht { background: var(--green-bg); color: var(--green); }
.s-abgelehnt { background: var(--red-bg); color: var(--red); }

/* Nagel-Symbol */
.nail { width: 20px; height: 40px; color: var(--baby-mid); }
.nail-finger { fill: var(--skin); }
.nail-plate { fill: currentColor; }
.nail-shine { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; opacity: .65; }

/* =====================================================================
   STARTSEITE
   ===================================================================== */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; padding-block: 64px 80px; }
.hero-title { margin: 0 0 20px; font-size: clamp(2.6rem, 6vw, 4.7rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 300; }
.hero-title span { display: block; }
.hero-title b { display: block; font-weight: 600; color: var(--blue); }
.hero-lede { max-width: 32rem; margin: 0 0 32px; color: var(--muted); font-size: 1.1rem; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; font-size: .9rem; font-weight: 500; color: var(--muted); }
.hero-points li::before { content: "✓"; margin-right: 8px; font-weight: 800; color: var(--blue); }
.hero-visual { position: relative; isolation: isolate; padding: 0 0 44px 44px; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 36px -14px 16px 16px; border-radius: 44px; background: linear-gradient(160deg, var(--baby-soft), var(--baby)); transform: rotate(3deg); }
.hero-main { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow); }
.float-img { position: absolute; right: -10px; top: -22px; width: 34%; aspect-ratio: 1; object-fit: cover; border-radius: 24px; border: 5px solid var(--card); box-shadow: var(--shadow); }
.float-card { position: absolute; left: 0; bottom: 0; display: grid; gap: 2px; min-width: 230px; padding: 16px 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.float-card strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.float-card a { font-size: .86rem; font-weight: 700; color: var(--blue); text-decoration: none; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 44px; padding-block: 36px 56px; }
  .hero-visual { max-width: 520px; padding: 0 0 40px 18px; }
  .hero-visual::before { inset: 30px 4px 14px 10px; }
  .float-img { right: 0; }
}

.how { padding: 32px 36px 36px; }
.how-head { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.icon-badge { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; background: var(--baby); color: var(--navy); font-family: var(--font-display); font-weight: 700; }
.how-head h2 { font-size: 1.3rem; font-weight: 600; }
.how-head p { margin: 0; font-size: .9rem; color: var(--muted); }
.how ol { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; }
.how ol::before { content: ""; position: absolute; top: 24px; left: 17%; right: 17%; border-top: 1px dashed var(--line); }
.how li { text-align: center; padding-inline: 8px; }
.how .num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--blue); font-weight: 700; font-size: .86rem; }
.how h3 { margin-bottom: 6px; font-size: 1.05rem; font-weight: 600; }
.how li p { margin: 0; font-size: .92rem; color: var(--muted); }
.how li p b { color: var(--blue); font-weight: 600; }
@media (max-width: 760px) { .how { padding: 26px 22px; } .how ol { grid-template-columns: minmax(0, 1fr); } .how ol::before { display: none; } }

/* Design-Level */
.levels-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.lvl { display: flex; flex-direction: column; overflow: hidden; }
/* Fotos als Knopf (öffnen groß) */
.ph { display: block; padding: 0; border: 0; background: var(--bg); cursor: zoom-in; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ph:hover img { transform: scale(1.03); }
.ph:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }

/* Fotostreifen der Level-Karten zum Durchwischen */
.lvl-media { position: relative; }
.lvl-photos { display: flex; gap: 3px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.lvl-photos::-webkit-scrollbar { display: none; }
.lvl-photos .ph { flex: 0 0 calc((100% - 6px) / 3); aspect-ratio: 3 / 4; scroll-snap-align: start; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); font: inherit; font-size: 1.3rem; font-weight: 700; box-shadow: var(--shadow-sm); cursor: pointer; }
.car-prev { left: 10px; }
.car-next { right: 10px; }
.lvl-count { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(15, 43, 70, .72); color: #fff; font-size: .74rem; font-weight: 700; pointer-events: none; }
@media (max-width: 560px) { .lvl-photos .ph { flex-basis: 42%; } }

/* Großansicht */
.lightbox { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(10, 22, 36, .94); color: #fff; }
.lightbox::backdrop { background: rgba(10, 22, 36, .6); }
.lb-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; margin: 0; padding: calc(56px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px)); }
.lb-figure img { max-width: 100%; max-height: calc(100% - 40px); width: auto; height: auto; border-radius: 16px; object-fit: contain; }
.lb-figure figcaption { font-size: .88rem; text-align: center; color: rgba(255, 255, 255, .8); }
.lb-btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font: inherit; font-size: 1.5rem; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); font-size: 1.1rem; }
.lb-prev { left: max(12px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .lb-prev, .lb-next { top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: none; } .lb-figure { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
.lvl-body { display: flex; flex-direction: column; gap: 16px; flex: 1; padding: 24px 26px 26px; }
.lvl-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.lvl h3 { font-size: 1.45rem; font-weight: 600; }
.lvl-from { margin: 0; color: var(--muted); font-size: .9rem; }
.lvl-from b { color: var(--ink); font-size: 1.05rem; }
.lvl-tags { margin: 0; color: var(--muted); font-size: .9rem; }
.lvl-link { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--baby-soft); font-size: 1rem; letter-spacing: 0; transition: transform .15s ease; }
.lvl-link:hover .arrow { transform: translateX(3px); }
.lvl.featured { background: linear-gradient(165deg, #D3EAFC, #A8D1F3); border-color: transparent; }
.lvl.featured .lvl-tags, .lvl.featured .lvl-from { color: #2A4A68; }
.lvl.featured .scale li { background: rgba(255, 255, 255, .6); }
.lvl.featured .arrow { background: #fff; }
.lvl.featured .s-info { background: #fff; }
.scale { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; }
.scale li { display: flex; flex-direction: column; align-items: center; padding: 10px 2px 8px; border-radius: 14px; background: var(--bg); }
.scale li.na { opacity: .4; }
.scale .lbl { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.scale .pr { font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.note-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; font-size: .88rem; color: var(--muted); }
.note-line b { color: var(--blue); font-weight: 600; }
@media (max-width: 980px) { .levels-grid { grid-template-columns: minmax(0, 1fr); } }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 14px; }
.gallery .ph { width: 100%; height: 100%; border-radius: 24px; }
.g-a { grid-column: span 2; grid-row: span 2; }
.gallery-foot { margin-top: 28px; text-align: center; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 10px; }
  .gallery .ph { border-radius: 18px; }
}

/* Tooth Gems */
.gems { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); overflow: hidden; }
.gems img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.gems-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 48px; }
.gems-body .title { margin-top: 0; }
.gems-body .bar { margin-top: 0; }
.gems-body p:not(.eyebrow) { margin: 0; max-width: 30rem; color: var(--muted); font-size: 1.02rem; }
.gems-body p b { color: var(--ink); }
.gems-body .cta-row { margin-top: 8px; }
@media (max-width: 860px) {
  .gems { grid-template-columns: minmax(0, 1fr); }
  .gems img { min-height: 0; aspect-ratio: 573 / 465; }
  .gems-body { padding: 28px 24px 32px; }
}

/* Preiskarten */
.menus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.menu { padding: 26px; }
.menu h3 { margin-bottom: 10px; font-size: 1.15rem; font-weight: 600; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { display: flex; align-items: baseline; gap: 8px; padding-block: 8px; font-size: .95rem; }
.menu .dots { flex: 1; min-width: 14px; border-bottom: 1.5px dotted var(--line); transform: translateY(-4px); }
.menu .p { font-weight: 700; white-space: nowrap; color: var(--blue); font-variant-numeric: tabular-nums; }
.menu p { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .menus { grid-template-columns: minmax(0, 1fr); } }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 44px; border-radius: 34px; background: linear-gradient(135deg, #DCEFFD, #A9D2F4); }
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 300; letter-spacing: -.02em; }
.cta-band h2 b { font-weight: 600; }
.cta-band p { margin: 8px 0 0; color: #2A4A68; }
@media (max-width: 600px) { .cta-band { padding: 30px 24px; } }

/* Fußzeile */
.footer { border-top: 1px solid var(--line); background: var(--card); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-block: 40px 56px; font-size: .9rem; color: var(--muted); }
.footer p { margin: 6px 0 0; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.links a { font-weight: 700; color: var(--ink); text-decoration: none; }
.links a:hover { color: var(--blue); }

/* =====================================================================
   BUCHUNG
   ===================================================================== */
.page-head { padding-block: 52px 28px; }
.progress { list-style: none; counter-reset: p; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; }
.progress li { counter-increment: p; display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--muted); }
.progress li::before { content: counter(p, decimal-leading-zero); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); font-size: .72rem; font-weight: 700; }
.progress li.current { color: var(--ink); border-color: var(--baby-mid); box-shadow: 0 0 0 3px var(--baby-soft); }
.progress li.current::before { background: var(--baby); color: var(--navy); }
.progress li.done::before { content: "✓"; background: var(--baby-soft); color: var(--blue); }
.progress li.skip { opacity: .45; }
.booking-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; padding-bottom: 150px; }
.wizard { padding: 32px; min-width: 0; }
.wstep h2 { margin-bottom: 4px; font-size: 1.55rem; font-weight: 600; }
.wstep .lead { margin: 0 0 24px; color: var(--muted); }
.wstep .lead a { color: var(--blue); font-weight: 600; }
.sub { margin: 26px 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.err { margin: 16px 0 0; padding: 10px 14px; border-radius: 12px; background: var(--red-bg); color: var(--red); font-weight: 600; font-size: .9rem; }
.hint { margin: 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 980px) { .booking-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .wizard { padding: 22px 18px; } }

.svc-list { display: grid; gap: 10px; }
.svc { position: relative; }
.svc input, .opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.svc label { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 18px 18px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.svc label:hover { border-color: var(--baby-mid); }
.svc-name { display: block; font-weight: 700; font-size: 1.02rem; }
.svc-meta { display: block; font-size: .86rem; color: var(--muted); }
.svc-meta b { color: var(--blue); }
.svc-pick { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--baby-soft); color: var(--blue); font-size: .82rem; font-weight: 700; }
.svc-pick::before { content: "+ Auswählen"; }
.svc input:checked + label { border-color: var(--baby-mid); box-shadow: 0 0 0 3px var(--baby-soft); }
.svc input:checked + label .svc-pick { background: var(--baby); color: var(--navy); }
.svc input:checked + label .svc-pick::before { content: "✓ Ausgewählt"; }
.svc input:focus-visible + label, .opt input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 460px) { .svc-pick { padding: 8px 10px; } .svc-pick::before { content: "+"; } .svc input:checked + label .svc-pick::before { content: "✓"; } }

.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.options.levels-opt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.options.lengths { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.opt { position: relative; min-width: 0; }
.opt label { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.opt label:hover { border-color: var(--baby-mid); }
.opt input:checked + label { border-color: var(--baby-mid); background: #F7FBFF; box-shadow: 0 0 0 3px var(--baby-soft); }
.opt input:disabled + label { opacity: .35; cursor: not-allowed; }
.opt-name { font-weight: 700; }
.opt-info { font-size: .85rem; color: var(--muted); }
.opt-price { margin-top: 4px; font-weight: 700; font-size: .9rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.levels-opt label { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.levels-opt img { flex: none; width: 48px; height: 64px; object-fit: cover; border-radius: 12px; }
.levels-opt .txt { display: grid; min-width: 0; }
.lengths label { align-items: center; text-align: center; padding: 10px 4px; }
.lengths .opt-name { font-size: .78rem; }
.lengths .opt-price { margin: 0; font-size: .82rem; color: var(--muted); }
.lengths input:checked + label .nail { color: var(--blue); }
.lengths input:checked + label .opt-price { color: var(--blue); }
@media (max-width: 520px) { .options.levels-opt { grid-template-columns: minmax(0, 1fr); } }

.check { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 18px; border: 1px dashed var(--line); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.check span { font-weight: 600; }
.check small { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }

/* Kalender (Kundin) */
.termin { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 30px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.cal-month { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.icon-btn { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.icon-btn:hover:not(:disabled) { border-color: var(--baby-mid); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cal-dows span { padding-block: 4px; text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cal-day { position: relative; aspect-ratio: 1; min-height: 34px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: .9rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.cal-day:disabled { opacity: .5; }
.cal-day.avail { background: var(--baby-soft); color: var(--navy); font-weight: 700; cursor: pointer; }
.cal-day.avail:hover { border-color: var(--baby-mid); }
.cal-day.today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue); }
.cal-day[aria-pressed="true"] { background: var(--blue); color: #fff; }
.times-title { margin: 6px 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.time { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.time:hover { border-color: var(--baby-mid); }
.time[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.hint-box { margin: 18px 0 0; padding: 12px 14px; border-radius: 16px; background: var(--bg); font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .termin { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* Eingabefelder */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: 12px 15px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--baby-mid); outline-offset: 0; border-color: transparent; background: var(--card); }
@media (max-width: 560px) { .fields { grid-template-columns: minmax(0, 1fr); } }

/* Zusammenfassung */
.summary { position: sticky; top: 100px; padding: 24px; }
.summary h3 { margin-bottom: 6px; font-size: 1.1rem; font-weight: 600; }
.summary dl, .done-box dl { margin: 0; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 9px; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.sum-row dt { flex: none; color: var(--muted); }
.sum-row dd { margin: 0; min-width: 0; text-align: right; font-weight: 700; overflow-wrap: anywhere; }
.sum-row dd.empty { font-weight: 400; color: var(--muted); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 18px; }
.sum-total span { font-weight: 700; }
.sum-total output { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.sum-extra { min-height: 1.2em; margin: 0; text-align: right; font-size: .82rem; color: var(--muted); }
.summary .small { margin: 14px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 980px) { .summary { position: static; } }

/* Aktionsleiste unten */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; pointer-events: none; padding: 0 max(12px, env(safe-area-inset-right, 0px)) calc(12px + var(--badge-platz, 0px) + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); transition: padding-bottom .2s ease; }
.actionbar-inner { pointer-events: auto; max-width: 920px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 24px; border-radius: 999px; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ab-info { display: grid; min-width: 0; }
.ab-info span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .86rem; color: var(--muted); }
.ab-info strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--blue); }
.ab-btns { display: flex; flex: none; gap: 8px; }
@media (max-width: 560px) {
  .actionbar-inner { border-radius: 24px; padding: 10px 10px 10px 16px; }
  .ab-btns .btn { padding: 0 16px; }
}

.success { text-align: center; padding-block: 12px; }
.success .tick { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; background: var(--baby); color: var(--navy); font-size: 2rem; font-weight: 800; }
.success .lead { max-width: 30rem; margin-inline: auto; }
.done-box { max-width: 420px; margin: 0 auto 24px; padding: 10px 20px; border-radius: 20px; background: var(--bg); text-align: left; }
.done-box .sum-row:last-child { border-bottom: 0; }

/* =====================================================================
   MANAGER
   ===================================================================== */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 32px max(16px, env(safe-area-inset-right, 0px)) 32px max(16px, env(safe-area-inset-left, 0px)); background: radial-gradient(ellipse at top, var(--baby-soft), var(--bg) 60%); }
.login { width: min(420px, 100%); padding: 34px; display: grid; gap: 16px; }
.login h1 { font-size: 1.8rem; font-weight: 300; letter-spacing: -.02em; }
.login h1 b { font-weight: 600; }
.login .brand-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.demo-hint { margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--amber-bg); color: var(--amber); font-size: .86rem; }

.mgr-top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.mgr-top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-block: 12px; }
.mgr-brand { display: flex; align-items: center; gap: 10px; }
.mgr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mgr-main { padding-block: 28px 80px; }
@media (max-width: 640px) {
  .mgr-top { position: static; }
  .mgr-actions .btn { min-height: 36px; padding: 0 12px; font-size: .8rem; }
}
.mgr-hello { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.mgr-hello h1 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); font-weight: 300; letter-spacing: -.02em; }
.mgr-hello h1 b { font-weight: 600; }
.mgr-hello p { margin: 4px 0 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat { padding: 18px 22px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .86rem; font-weight: 600; color: var(--muted); }
.stat.attention b { color: var(--amber); }
@media (max-width: 640px) { .stats { gap: 8px; } .stat { padding: 14px; } .stat b { font-size: 1.6rem; } .stat span { font-size: .76rem; } }
.load-err { margin-bottom: 18px; }

.tabs { display: inline-flex; gap: 4px; margin-bottom: 20px; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--baby); color: var(--navy); }
.count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .72rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font: inherit; font-weight: 700; font-size: .85rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.req-list { display: grid; gap: 12px; }
.req { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 20px; }
.req.past { opacity: .6; }
.req-when { display: grid; justify-items: center; padding: 12px 6px; border-radius: 18px; background: var(--bg); text-align: center; }
.req-when .d { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.req-when .n { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
.req-when .t { font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.req-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.req h3 { font-size: 1.15rem; font-weight: 600; }
.req-contact { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 4px 0 12px; font-size: .9rem; }
.req-contact a { color: var(--blue); font-weight: 600; text-decoration: none; }
.req-details { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.req-details li { padding: 4px 10px; border-radius: 10px; background: var(--bg); font-size: .84rem; font-weight: 600; }
.req-details li span { margin-right: 4px; font-weight: 400; color: var(--muted); }
.req-wish { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--bg); font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.req-wish::before { content: "Wunsch: "; font-weight: 700; color: var(--muted); }
.req-meta { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.req-bilder { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.req-bild { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); text-decoration: none; }
.req-bild img { width: 100%; height: 100%; object-fit: cover; }
.req-bild span { font-size: .7rem; color: var(--muted); text-align: center; padding: 4px; }

/* Inspo-Bilder im Buchungsformular */
.field-label { margin: 0; font-weight: 700; font-size: .9rem; }
.field-label small { font-weight: 400; color: var(--muted); }
.inspo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.inspo-list { display: contents; }
.inspo-item { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--bg); }
.inspo-item img { width: 100%; height: 100%; object-fit: cover; }
.inspo-item button { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(15, 43, 70, .78); color: #fff; font: inherit; font-size: .75rem; cursor: pointer; }
.inspo-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 84px; padding: 0 20px; border-radius: 14px; border: 1.5px dashed var(--baby-mid); background: var(--bg); color: var(--blue); font-weight: 700; font-size: .92rem; cursor: pointer; }
.inspo-add span { font-size: 1.3rem; line-height: 1; }
.inspo-add:hover { background: var(--baby-soft); }
#inspoInput:focus-visible + .inspo-add, .inspo-add:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.inspo-hint { margin: 2px 0 0; font-size: .82rem; color: var(--muted); }
.req-actions { display: grid; gap: 8px; min-width: 200px; }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }
.empty-state strong { display: block; margin-bottom: 4px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--ink); }
@media (max-width: 860px) {
  .req { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .req-actions { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); min-width: 0; }
}

.mgr-cal-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.mcal { padding: 22px; min-width: 0; }
.mcal .cal-head { margin-bottom: 14px; }
.mcal-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mday { display: flex; flex-direction: column; gap: 4px; min-width: 0; min-height: 88px; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.mday:hover { border-color: var(--baby-mid); }
.mday .num { font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
.mday.past { background: var(--bg); color: var(--muted); }
.mday.today .num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: .8rem; }
.mday[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px var(--baby-soft); }
.mtags { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mtag { overflow: hidden; padding: 1px 6px; border-radius: 6px; font-size: .68rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.mtag.frei { background: var(--baby-soft); color: var(--blue); }
.mtag.angefragt { background: var(--amber-bg); color: var(--amber); }
.mtag.gebucht { background: var(--green-bg); color: var(--green); }
.mlegend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.mlegend span { display: inline-flex; align-items: center; gap: 6px; }
.mlegend i { width: 10px; height: 10px; border-radius: 50%; }
.mlegend .frei { background: var(--baby-mid); }
.mlegend .angefragt { background: var(--amber-dot); }
.mlegend .gebucht { background: var(--green); }
@media (max-width: 1000px) { .mgr-cal-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .mcal { padding: 14px; }
  .mcal-days { gap: 4px; }
  .mday { min-height: 54px; padding: 6px 2px; align-items: center; text-align: center; border-radius: 10px; }
  .mtags { flex-direction: row; justify-content: center; gap: 3px; }
  .mtag { width: 7px; height: 7px; padding: 0; border-radius: 50%; font-size: 0; }
  .mtag.frei { background: var(--baby-mid); }
  .mtag.angefragt { background: var(--amber-dot); }
  .mtag.gebucht { background: var(--green); }
}

.day-panel { position: sticky; top: 90px; padding: 22px; }
.day-panel h3 { font-size: 1.2rem; font-weight: 600; text-transform: capitalize; }
.day-panel .hint { margin-top: 6px; }
.slot-list { margin: 14px 0 0; padding: 0; list-style: none; }
.slot-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 10px; border-bottom: 1px dashed var(--line); }
.slot-row .t { font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.slot-row .who { display: block; font-size: .82rem; color: var(--muted); }
.slot-row .right { display: flex; align-items: center; gap: 10px; }
.add-row { display: flex; gap: 8px; margin-top: 16px; }
.add-row input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); font: inherit; color: var(--ink); }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.quick button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px dashed var(--baby-mid); background: var(--card); color: var(--blue); font: inherit; font-weight: 700; font-size: .84rem; cursor: pointer; }
.day-foot { margin-top: 16px; }
@media (max-width: 1000px) { .day-panel { position: static; } }

.fill { display: grid; gap: 18px; margin-top: 20px; padding: 24px; }
.fill h3 { font-size: 1.2rem; font-weight: 600; }
.fill > p { margin: -10px 0 0; color: var(--muted); font-size: .92rem; }
.fill-row { display: grid; gap: 8px; }
.fill-row > span { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.toggle { min-width: 50px; min-height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.toggle[aria-pressed="true"] { background: var(--baby); border-color: var(--baby); color: var(--navy); }
.time-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
/* Uhrzeiten-Raster zum Antippen */
.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 6px; margin-top: 12px; }
.tslot { min-height: 44px; padding: 0 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.tslot:hover { border-color: var(--baby-mid); }
.tslot[aria-pressed="true"] { background: var(--baby); border-color: var(--baby-mid); color: var(--navy); }
.tslot.lock { cursor: default; border-color: transparent; }
.tslot.lock.angefragt { background: var(--amber-bg); color: var(--amber); }
.tslot.lock.gebucht { background: var(--green-bg); color: var(--green); }
.tslot.arbeitet { opacity: .5; }
.busy .tslot, .busy #btnAndere, .busy #btnFill { pointer-events: none; opacity: .6; }
.andere-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.andere-row select { min-height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; }
.time-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 5px 5px 12px; border-radius: 999px; background: var(--baby-soft); color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }
.time-chip button { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; color: var(--blue); font: inherit; font-weight: 800; line-height: 1; cursor: pointer; }
.time-chips input { width: 120px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font: inherit; color: var(--ink); }
.fill-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + var(--badge-platz, 0px) + env(safe-area-inset-bottom, 0px)); z-index: 100; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 16px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
