/* Emre Baran – Sport/Fitness Design (bewusst NICHT Natur/Grün) */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --accent: #ff4d00;
  --accent-hover: #e04400;
  --accent-soft: rgba(255, 77, 0, 0.12);
  --accent-glow: rgba(255, 77, 0, 0.35);
  --blue: #0066ff;
  --blue-soft: rgba(0, 102, 255, 0.1);
  --bg: #f4f4f6;
  --bg-page: #ebebef;
  --surface: #ffffff;
  --surface-2: #fafafa;
  --text: #111118;
  --text-muted: #5c5c6a;
  --border: #dddde4;
  --shadow: 0 8px 32px rgba(17, 17, 24, 0.08);
  --shadow-lg: 0 20px 60px rgba(17, 17, 24, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Bebas Neue', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --header-h: 76px;
  --max: 1080px;
  --transition: 0.22s ease;
}

[data-theme="dark"] {
  --bg: #0c0c10;
  --bg-page: #08080b;
  --surface: #16161d;
  --surface-2: #1c1c26;
  --text: #f2f2f5;
  --text-muted: #9494a8;
  --border: #2a2a38;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.55);
  --accent-soft: rgba(255, 77, 0, 0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

.container { width: min(var(--max), 100% - 2rem); margin-inline: auto; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.logo__mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), #ff8a4c);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.logo__tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav { display: flex; gap: 0.25rem; flex-wrap: wrap; }

.nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover, .nav a.active {
  color: var(--text);
  background: var(--accent-soft);
}

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.theme-toggle, .nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}

.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text);
}

.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--blue {
  background: var(--blue);
  color: #fff;
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.82rem; }

/* ── Boxed page shell ── */
.page {
  padding: 2rem 0 4rem;
}

.page-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.page-box--flush { padding: 0; overflow: hidden; }

.page-head {
  margin-bottom: 2rem;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  letter-spacing: 0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.page-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 56ch;
}

.page-head .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ── Home hero ── */
.hero-home {
  padding: 2.5rem 0 1rem;
}

.hero-home__box {
  background: linear-gradient(145deg, #111118 0%, #1a1a28 50%, #2a1520 100%);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-home__box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255,77,0,0.45) 0%, transparent 70%);
  pointer-events: none;
}

.hero-home__box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,102,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-home__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-home__kicker {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-home h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.hero-home h1 span { color: var(--accent); }

.hero-home__sub {
  opacity: 0.85;
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  max-width: 42ch;
}

.hero-home__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-home__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-home__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-home__stat {
  text-align: center;
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
}

.hero-home__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.hero-home__stat span { font-size: 0.72rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Cards grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.card p { font-size: 0.92rem; color: var(--text-muted); }

.card--expandable {
  cursor: pointer;
  user-select: none;
}

.card--expandable.card--open {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.card--expandable .card__teaser { margin-bottom: 0; }

.card__details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.card__list {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.card__list li { margin-bottom: 0.35rem; }

.card__meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.card__toggle {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.card--open .card__toggle { color: var(--text-muted); }

.card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

/* ── Packages ── */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.pkg {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--surface);
}

.pkg--hot {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  position: relative;
}

.pkg--hot::before {
  content: 'TOP';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.1em;
}

.pkg h3 { font-weight: 800; font-size: 1rem; margin-bottom: 0.5rem; }

.pkg__price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0.75rem 0;
}

.pkg__price small { font-family: var(--font-body); font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

.pkg ul { list-style: none; text-align: left; margin: 1rem 0; }

.pkg li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  position: relative;
}

.pkg li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── Certs ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.cert {
  text-align: center;
  padding: 1.25rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.cert__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.cert h4 { font-size: 0.9rem; font-weight: 700; }
.cert p { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── About ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.about-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--accent-soft), var(--blue-soft));
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 4rem;
  border: 1px solid var(--border);
}

/* ── Contact / Social ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  background: var(--surface-2);
}

.social-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── Calendar (termine page) ── */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.25rem;
  align-items: start;
}

.cal-widget {
  padding: 1.25rem;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cal-nav__title { font-weight: 800; font-size: 1rem; }

.cal-nav__btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  color: var(--text);
}

.cal-nav__btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-nav__btn:disabled { opacity: 0.3; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }

.cal-head {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.35rem 0;
  text-transform: uppercase;
}

.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.cal-day--empty { visibility: hidden; }
.cal-day--past { opacity: 0.25; }
.cal-day--blocked { opacity: 0.3; text-decoration: line-through; }

.cal-day--available {
  cursor: pointer;
  background: rgba(198, 40, 40, 0.12);
  color: #c62828;
  font-weight: 700;
}

.cal-day--available:hover { background: #c62828; color: #fff; }
.cal-day--selected { background: #c62828 !important; color: #fff !important; box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.35); }

.cal-day__num { display: block; line-height: 1; }

.cal-day--has-bookings .cal-day__num::after {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
  margin: 2px auto 0;
}

.cal-day--selected.cal-day--has-bookings .cal-day__num::after {
  background: #fff;
}

.cal-day--fully-booked {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cal-legend__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.25rem;
  vertical-align: middle;
}

.cal-legend__dot--booked { background: var(--blue); }

.booking-panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.booking-panel h3 { font-weight: 800; margin-bottom: 0.25rem; }
.booking-panel__date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }

.booking-panel__placeholder { text-align: center; padding: 1.5rem 0.5rem; color: var(--text-muted); font-size: 0.9rem; }

.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-bottom: 1rem; }

.slot-btn {
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-body);
}

.slot-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.slot-btn--active { background: var(--accent); color: #fff; border-color: var(--accent); }
.slot-btn:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

.slot-btn--booked {
  display: block;
  padding: 0.6rem;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: line-through;
  cursor: not-allowed;
}

.slot-btn--blocked {
  display: block;
  padding: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  text-decoration: line-through;
  opacity: 0.5;
  cursor: not-allowed;
}

.form-group { margin-bottom: 0.85rem; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 700; margin-bottom: 0.3rem; }

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }

.booking-status { padding: 0.65rem; border-radius: 8px; font-size: 0.85rem; margin-top: 0.75rem; display: none; }
.booking-status--ok { display: block; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent); }
.booking-status--err { display: block; background: rgba(255,0,0,0.08); color: #c62828; border: 1px solid #c62828; }

/* ── Footer ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.25rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-grid h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.footer-grid p, .footer-grid a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chat-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  min-width: 54px;
  height: 54px;
  padding: 0 1rem 0 0.85rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.chat-fab__icon { font-size: 1.25rem; line-height: 1; }
.chat-fab__label { font-size: 0.85rem; letter-spacing: 0.02em; }

.chat-fab:hover { transform: scale(1.06); }

.chat-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  width: min(360px, calc(100vw - 2rem));
  max-height: min(520px, calc(100vh - 7rem));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 95;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-panel[hidden] { display: none !important; }

.chat-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--accent);
  color: #fff;
}

.chat-panel__head strong { display: block; font-size: 0.95rem; }
.chat-panel__sub { display: block; font-size: 0.72rem; opacity: 0.85; margin-top: 0.1rem; }

.chat-panel__close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.chat-panel__body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.chat-panel__hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.chat-panel__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  min-height: 120px;
  max-height: 240px;
}

.chat-msg {
  max-width: 88%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}

.chat-msg--out {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg--in {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.chat-send {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
}

.chat-send textarea {
  resize: none;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  background: var(--bg);
  color: var(--text);
}

.chat-send textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.chat-panel__foot {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.65rem;
  line-height: 1.4;
}

.chat-panel__error {
  background: rgba(198, 40, 40, 0.12);
  color: #c62828;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
}

.chat-panel__ok {
  background: rgba(0, 102, 255, 0.1);
  color: var(--blue);
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .chat-panel {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    bottom: 5rem;
  }
}

/* Admin (pflege) */
.admin-bar { background: var(--accent); color: #fff; text-align: center; padding: 0.45rem; font-weight: 700; font-size: 0.8rem; }
.weekday-grid { display: grid; gap: 0.65rem; }

.weekday-row {
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  transition: border-color 0.2s, opacity 0.2s, background 0.2s;
}

.weekday-row--on {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 4px 0 0 var(--accent);
}

.weekday-row--off {
  opacity: 0.72;
  border-color: var(--border);
  background: var(--bg);
}

.weekday-row--off .weekday-row__name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.weekday-row--off .weekday-times {
  opacity: 0.45;
  pointer-events: none;
}

.weekday-row--locked {
  opacity: 0.65;
  border-style: dashed;
}

.weekday-row--locked .weekday-row__name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.weekday-row__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.weekday-row__name {
  font-weight: 800;
  font-size: 1rem;
  flex: 1;
}

.weekday-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.weekday-badge--on { background: var(--accent); color: #fff; }
.weekday-badge--off { background: var(--border); color: var(--text-muted); }

.weekday-times {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.weekday-times__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.2rem;
}

.weekday-times input[type="time"] {
  padding: 0.5rem 0.65rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  min-width: 7rem;
}

.weekday-row--on .weekday-times input[type="time"] {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}

.weekday-row--on .weekday-times input[type="time"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.weekday-times__sep {
  font-weight: 800;
  color: var(--text-muted);
  padding-top: 1rem;
}
.toggle-switch { position: relative; width: 46px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch__slider { position: absolute; inset: 0; background: var(--border); border-radius: 999px; transition: 0.2s; cursor: pointer; }
.toggle-switch__slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.2s; }
.toggle-switch input:checked + .toggle-switch__slider { background: var(--accent); }
.toggle-switch input:checked + .toggle-switch__slider::before { transform: translateX(22px); }
.time-range { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; }
.time-range input[type="time"], .time-range select { padding: 0.35rem 0.5rem; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); }
.blocked-dates__list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.blocked-date-tag { display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(255,0,0,0.08); color: #c62828; padding: 0.3rem 0.65rem; border-radius: 999px; font-size: 0.82rem; }
.blocked-date-tag button { background: none; border: none; color: inherit; cursor: pointer; }
.save-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; padding: 1rem; background: var(--surface-2); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.save-status--ok { color: var(--accent); font-weight: 700; }
.save-status--err { color: #c62828; font-weight: 700; }

/* Admin Pflege */
.admin-info {
  background: var(--blue-soft);
  border: 1px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.admin-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.admin-section h3 {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.admin-hint { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }

.admin-mini-cals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-mini-cal h4 {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.admin-mini-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.admin-mini-cal__head {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.2rem 0;
}

.admin-mini-cal__day {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--text);
  position: relative;
}

.admin-mini-cal__day--ok {
  background: rgba(198, 40, 40, 0.12);
  border-color: #c62828;
  color: #c62828;
  font-weight: 800;
}

.admin-mini-cal__day--ok:hover {
  background: #c62828;
  color: #fff;
  border-color: #c62828;
}

/* Gesperrt + Wochenplan zu + Sonntag = „tot“ (schwarz) */
.admin-mini-cal__day--blocked,
.admin-mini-cal__day--weekday-off {
  background: #1a1a22;
  color: #666;
  border-color: #333;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  cursor: default;
}

[data-theme="dark"] .admin-mini-cal__day--blocked,
[data-theme="dark"] .admin-mini-cal__day--weekday-off {
  background: #0a0a0e;
  color: #444;
  border-color: #222;
}

.admin-mini-cal__day--blocked[data-date],
.admin-mini-cal__day--weekday-off[data-date] {
  cursor: pointer;
}

.admin-mini-cal__day--blocked[data-date]:hover,
.admin-mini-cal__day--weekday-off[data-date]:hover {
  opacity: 0.85;
}

.admin-mini-cal__day--pick {
  box-shadow: 0 0 0 3px var(--accent);
  z-index: 1;
}

.admin-mini-cal__day--off {
  opacity: 0.2;
  cursor: not-allowed;
  text-decoration: line-through;
}

.admin-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.admin-cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.admin-cal-legend i {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  display: inline-block;
  border: 1px solid var(--border);
}

.admin-cal-legend i.l-free { background: rgba(198, 40, 40, 0.2); border-color: #c62828; }
.admin-cal-legend i.l-block { background: #1a1a22; border-color: #333; }
.admin-cal-legend i.l-closed { background: #1a1a22; border-color: #333; }
.admin-cal-legend i.l-pick { box-shadow: 0 0 0 2px var(--accent); background: #fff; }

.admin-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.admin-slot-btn {
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--text);
}

.admin-slot-btn:hover { border-color: var(--accent); }
.admin-slot-btn--blocked { background: rgba(198, 40, 40, 0.12); color: #c62828; border-color: #c62828; }

@media (max-width: 700px) {
  .admin-mini-cals { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
}

/* Admin layout: Kalender + Tages-Detail */
.admin-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.admin-section-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.admin-main {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
}

.day-panel {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  min-height: 280px;
}

.day-panel__empty {
  text-align: center;
  padding: 2rem 0.5rem;
  color: var(--text-muted);
}

.day-panel__empty-icon { font-size: 2.5rem; display: block; margin-bottom: 0.75rem; opacity: 0.5; }

.day-panel__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.day-panel__date {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.day-panel__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.day-panel__badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.day-panel__badge--open { background: var(--accent-soft); color: var(--accent); }
.day-panel__badge--blocked { background: rgba(198,40,40,0.12); color: #c62828; }
.day-panel__badge--closed { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }

.day-panel__plan {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.day-panel__slots {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.admin-settings {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  margin-bottom: 1.5rem;
}

.admin-settings summary {
  padding: 1rem 1.25rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.admin-settings summary::-webkit-details-marker { display: none; }

.admin-settings summary::before {
  content: '▶';
  font-size: 0.75rem;
  color: var(--accent);
  transition: transform 0.2s;
}

.admin-settings[open] summary::before { transform: rotate(90deg); }

.admin-settings__sub {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.admin-settings__body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}

.admin-mini-cal__num { display: block; line-height: 1; }

.admin-mini-cal__day--booked .admin-mini-cal__num::after {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
  margin: 2px auto 0;
}

.admin-cal-legend i.l-booked {
  background: var(--blue);
  border-color: var(--blue);
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.admin-subtitle {
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.bookings-overview {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.booking-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.4rem;
  cursor: pointer;
  background: var(--surface);
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.85rem;
  width: 100%;
  color: var(--text);
}

.booking-row:hover { border-color: var(--blue); background: var(--blue-soft); }

.booking-row__date { grid-column: 1 / -1; font-weight: 700; font-size: 0.88rem; }
.booking-row__time { font-weight: 800; color: var(--accent); }
.booking-row__name { font-weight: 600; }
.booking-row__pkg { color: var(--text-muted); font-size: 0.8rem; grid-column: 1 / -1; }

.day-panel__bookings {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
  margin-bottom: 0.5rem;
}

.booking-card {
  background: var(--blue-soft);
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

.booking-card__time { font-weight: 800; font-size: 1.1rem; color: var(--blue); }
.booking-card__name { font-weight: 700; margin-top: 0.25rem; }
.booking-card__meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.15rem; }
.booking-card__contact { font-size: 0.85rem; margin-top: 0.35rem; }
.booking-card__contact a { color: var(--blue); }
.booking-card__note { font-size: 0.82rem; font-style: italic; margin-top: 0.35rem; color: var(--text-muted); }
.booking-card__status {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--blue);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.admin-slot-btn--booked {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 800;
  cursor: default;
  opacity: 1;
}

@media (max-width: 900px) {
  .hero-home__inner { grid-template-columns: 1fr; }
  .about-split, .contact-grid, .booking-layout, .footer-grid { grid-template-columns: 1fr; }
  .booking-panel { position: static; }
}

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 1rem; flex-direction: column; }
  .nav.open { display: flex; }
  .nav-toggle { display: grid; place-items: center; }
  .site-header { position: relative; }
  .site-header__inner { flex-wrap: wrap; }
}

/* ── Legal pages ── */
.legal-content { font-size: 0.92rem; line-height: 1.65; color: var(--text-muted); }
.legal-content h2 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 1.75rem 0 0.5rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 0.75rem; }
.legal-content ul, .legal-content ol { margin: 0 0 0.85rem 1.25rem; }
.legal-content li { margin-bottom: 0.35rem; }
.legal-content a { color: var(--blue); }
.legal-note {
  padding: 0.85rem 1rem;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.legal-placeholder {
  background: rgba(255, 77, 0, 0.15);
  padding: 0 0.2rem;
  border-radius: 3px;
}

.form-check {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.form-check input { margin-top: 0.2rem; flex-shrink: 0; }
.form-check a { color: var(--blue); font-weight: 600; }

.site-footer .footer-grid a { display: block; margin-bottom: 0.35rem; }

