/* ============================================================
   Insy Reception — Globale CSS
   Bunny Fonts (DSGVO-konform)
   ============================================================ */

@import url('https://fonts.bunny.net/css2?family=Playfair+Display:wght@400;500;600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   CSS Variablen
   ============================================================ */
:root {
  --tp:     #4a1c6b;   /* Primär Lila */
  --tpl:    #6b3fa0;   /* Lila hell */
  --tpp:    #f0eaf7;   /* Lila sehr hell */
  --tg:     #c9a84c;   /* Gold */
  --td:     #1a0a2e;   /* Dunkel */
  --border: #e8e0f0;   /* Border */
  --muted:  #7a6a8a;   /* Gedämpft */
  --white:  #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
}

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

/* ============================================================
   Basis
   ============================================================ */
html, body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--td);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--tpl);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ============================================================
   Logo / Branding
   ============================================================ */
.logo {
  text-align: center;
  margin-bottom: 32px;
}

.logo-label {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--tg);
  font-weight: 600;
  text-transform: uppercase;
}

.logo-name {
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  margin-top: 6px;
}

.logo-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
  margin-top: 6px;
}

/* ============================================================
   Card
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--td);
  margin-bottom: 6px;
}

.card-sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all .15s;
}

.btn-primary {
  background: var(--tp);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--tpl);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 28, 107, .2);
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--border);
  font-family: inherit;
  background: var(--white);
  color: var(--td);
  transition: all .15s;
}

.btn-google:hover {
  border-color: var(--tpl);
  background: var(--tpp);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 28, 107, .12);
}

.btn-google:disabled,
.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   Fehler / Hinweise
   ============================================================ */
.error {
  font-size: 12px;
  color: #c0392b;
  margin-top: 12px;
  min-height: 16px;
}

.note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 20px;
}

.note a {
  color: var(--tpl);
  text-decoration: none;
}

/* ============================================================
   Header (hd) — geteilt zwischen booking.html & success.html
   ============================================================ */
.hd {
  background: linear-gradient(135deg, #3d1568 0%, #5a2d82 60%, #4a1f72 100%);
  padding: 14px 20px;
  width: calc(100% + 72px);
  position: relative;
  border-radius: 20px 20px 0 0;
  margin: -40px -36px 24px;
  text-align: center;
}
.hd-inner { display: flex; align-items: flex-start; justify-content: center; gap: 16px; }
.hd-left  { flex: 1; min-width: 0; text-align: center; }
.hd-logo  { font-family: 'Playfair Display', serif; font-size: 0.65rem; font-weight: 600; color: #fff; letter-spacing: .16em; text-transform: uppercase; line-height: 1; margin-bottom: 3px; }
.hd-logo span { color: #C9A84C; }
.hd-name  { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 5px; line-height: 1.2; }
.hd-meta  { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.hd-meta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hd-chip  { font-size: 12px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 5px; }
.hd-hours-inline { cursor: pointer; position: relative; user-select: none; }
.hd-hours-inline:hover { color: rgba(255,255,255,.82); }
.hd-hours-drop { position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border: 1.5px solid #e8e0f0; border-radius: 10px; padding: 10px 14px; min-width: 200px; z-index: 300; box-shadow: 0 4px 16px rgba(74,28,107,.12); display: none; }
.hd-hour-row    { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; color: #7a6a8a; padding: 3px 0; }
.hd-hour-today  { color: #3d1568; font-weight: 600; }
.hd-hour-closed { color: #c8bcd8; }

/* ============================================================
   Bestätigung / Success
   ============================================================ */
.check-wrap { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg,rgba(201,168,76,0.35),rgba(201,168,76,0.15)); border: 2px solid rgba(201,168,76,0.55); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.conf-title { font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 20px; text-align: center; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 24px; }
.pill  { display: inline-flex; align-items: center; font-size: 12px; padding: 5px 12px; border-radius: 99px; background: rgba(255,255,255,.12); color: #fff; }
.pill.gold { background: rgba(201,168,76,.2); color: #e8d08a; border: 1px solid rgba(201,168,76,.3); }

/* ============================================================
   Detail Rows
   ============================================================ */
.details { background: rgba(0,0,0,.15); border-radius: 12px; padding: 14px 16px; margin-bottom: 24px; text-align: left; }
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 12px; }
.detail-row:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,.06); }
.detail-label { color: rgba(255,255,255,.45); }
.detail-value { color: #fff; font-weight: 500; text-align: right; }

/* ============================================================
   Kalender / Cancel / New Booking Buttons
   ============================================================ */
.cal-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(201,168,76,.15); border: 1.5px solid rgba(201,168,76,.35); border-radius: 10px; padding: 10px 20px; font-size: 13px; color: #e8d08a; cursor: pointer; font-family: inherit; transition: all .2s; text-decoration: none; margin-top: 12px; }
.cal-btn:hover { background: rgba(201,168,76,.25); border-color: rgba(201,168,76,.6); }
.cancel-btn { display: inline-flex; align-items: center; gap: 6px; background: #c0392b; border: 1.5px solid #c0392b; border-radius: 10px; padding: 7px 16px; font-size: 11px; color: #fff; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .2s; }
.cancel-btn:hover { background: #a93226; border-color: #a93226; }
.new-link { display: inline-flex; background: #2e8b57; color: #fff; border: 1.5px solid #2e8b57; border-radius: 10px; padding: 10px 22px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all .2s; }
.new-link:hover { background: #256e46; }
