/* ============================================================
   Sissi Creation – Website (Phase 1)
   Farbwelt: Weiss / Creme / Tinte / Gold (wie im Entwurf)
   Schriften: Jost (UI) · Crimson Pro (Überschriften)
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --cream: #FAF7F2;
  --ink: #171717;
  --body: #5F5A54;
  --gold: #B7985F;
  --gold-deep: #A8874F;
  --hairline: #EBE5DA;
  --footer-bg: #F4EFE6;
  --radius-card: 12px;
  --radius-pill: 999px;
  --header-h: 170px;
  --header-h-compact: 108px;
  --font-ui: "Jost", "Segoe UI", sans-serif;
  --font-display: "Crimson Pro", Georgia, serif;
  --shadow-soft: 0 10px 30px rgba(23, 23, 23, 0.08);
}

/* ---------- Basis ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0; color: var(--ink); }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* Anker-Ziele: fester Header darf Titel nicht verdecken */
section[id] { scroll-margin-top: calc(var(--header-h-compact) + 24px); }

/* ---------- Typo-Bausteine ---------- */

.kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.kicker--gold { color: var(--gold); }

.section-title,
.kat-title-h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.kat-intro {
  max-width: 46ch;
  font-size: 16.5px;
}

/* ---------- Platzhalter-Bilder (Beispielbilder) ---------- */

.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F5F1EA 0%, #E6DFD3 100%);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.ph--main { aspect-ratio: 4 / 3; width: 100%; }
.ph--thumb { aspect-ratio: 1 / 1; width: 100%; border-radius: 8px; }
.ph--store { aspect-ratio: 4 / 3; width: 100%; }

.ph--rose  { background: linear-gradient(135deg, #F7ECE9 0%, #E8CFC8 100%); }
.ph--green { background: linear-gradient(135deg, #EDF1EA 0%, #CDD8C8 100%); }
.ph--sand  { background: linear-gradient(135deg, #F5EFE6 0%, #DFD2BC 100%); }
.ph--lilac { background: linear-gradient(135deg, #EFECF4 0%, #D4CCDF 100%); }
.ph--peach { background: linear-gradient(135deg, #FBEFE7 0%, #EFCDB6 100%); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body);
  background: rgba(255, 255, 255, 0.92);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.ph--store .badge { color: #F1EDE6; background: rgba(23, 23, 23, 0.35); }

.ph-note {
  margin-top: 10px;
  font-size: 12.5px;
  color: #9A938A;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled { box-shadow: var(--shadow-soft); }

.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 26px 16px 18px;
  transition: padding 0.3s ease;
}

.logo-img {
  height: 66px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.is-compact .logo-row { padding: 14px 16px 8px; }
.site-header.is-compact .logo-img { height: 44px; }

.nav-row {
  width: 100%;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: border-color 0.3s ease;
}

.site-header.is-compact .nav-row { border-top-color: transparent; }

.main-nav { position: relative; }

.nav-label {
  display: none;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  padding: 4px 4px 14px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 19px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s ease;
}

.nav-link:hover { color: var(--gold-deep); }

.chevron { transition: transform 0.25s ease; }
.drop-btn[aria-expanded="true"] .chevron { transform: rotate(180deg); }

/* --- Dropdown Kategorien --- */

.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 250px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.drop-link {
  display: block;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--ink);
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}

.drop-link:hover { background: var(--cream); color: var(--gold-deep); }

.nav-foot { display: none; }

.nav-hint {
  font-size: 11.5px;
  color: #9A938A;
  border-top: 1px solid var(--hairline);
  padding: 16px 4px 4px;
}

/* --- Suche (Platzhalter, Phase 2) --- */

.search-btn {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink);
  transition: color 0.2s ease, background 0.2s ease;
}

.search-btn:hover { color: var(--gold-deep); background: var(--cream); }
.search-btn--mobile { display: none; }

/* --- Burger (nur mobil) --- */

.burger {
  display: none;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 130;
}

.burger-line {
  display: block;
  width: 21px;
  height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.menu-open .burger-line:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.menu-open .burger-line:nth-child(2) { opacity: 0; }
body.menu-open .burger-line:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ============================================================
   KATEGORIE-KARTEN
   ============================================================ */

.kategorien-grid-section { padding: 34px 0 10px; }

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

.kat-card {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: 0 2px 10px rgba(23, 23, 23, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.kat-card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.kat-media {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #F5F1EA 0%, #E6DFD3 100%);
  transition: transform 0.45s ease;
}

.kat-media--rose  { background: linear-gradient(135deg, #F7ECE9 0%, #E8CFC8 100%); }
.kat-media--green { background: linear-gradient(135deg, #EDF1EA 0%, #CDD8C8 100%); }
.kat-media--sand  { background: linear-gradient(135deg, #F5EFE6 0%, #DFD2BC 100%); }
.kat-media--lilac { background: linear-gradient(135deg, #EFECF4 0%, #D4CCDF 100%); }
.kat-media--peach { background: linear-gradient(135deg, #FBEFE7 0%, #EFCDB6 100%); }

.kat-card:hover .kat-media { transform: scale(1.04); }

.kat-title {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 28px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  padding: 9px 18px;
  border-radius: 9px;
}

/* ============================================================
   KATEGORIE-SEKTIONEN
   ============================================================ */

.kat-section { padding: 72px 0; }

.kat-section--cream { background: var(--cream); }

.kat-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}

.kat-section.reverse .kat-media-col { order: 2; }
.kat-section.reverse .kat-text-col { order: 1; }

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.step {
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 18px 16px;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--gold);
  margin-bottom: 8px;
}

.step-title {
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}

.step-text { font-size: 13px; line-height: 1.55; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.fact {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
}

.kat-section--cream .fact { background: var(--bg); }

.price-placeholder {
  margin-top: 24px;
  border: 1.5px dashed #D8CFBF;
  border-radius: 12px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.5);
}

.price-kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 4px;
}

.price-text { font-size: 13.5px; color: #9A938A; }

/* ============================================================
   ÜBER UNS (dunkel)
   ============================================================ */

.ueber-uns {
  background: var(--ink);
  color: #CFC9C0;
  padding: 88px 0;
}

.ueber-uns .ueber-title { color: #FFFFFF; }

.ueber-uns .kicker--gold { color: var(--gold); }

.ueber-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

.ueber-intro { max-width: 52ch; font-size: 16.5px; }

.ueber-facts {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.ueber-fact-title {
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 600;
  color: #F1EDE6;
  margin-bottom: 3px;
}

.ueber-fact-text { font-size: 13.5px; }

.ueber-media .ph--store {
  background: linear-gradient(135deg, #3A3733 0%, #24221F 100%);
}

.ueber-media .ph-note { color: #8A847B; }

/* ============================================================
   SOCIAL MEDIA
   ============================================================ */

.social-section {
  padding: 80px 0;
  text-align: center;
}

.social-section .section-title { margin-bottom: 28px; }

.social-section .kicker { margin-bottom: 10px; }

.social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.social-item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  padding: 11px 22px;
}

.social-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.social-status {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: #9A938A;
}

.social-strip {
  max-width: 860px;
  margin: 0 auto;
  grid-template-columns: repeat(4, 1fr);
}

/* ============================================================
   BESUCHE UNS
   ============================================================ */

.besuche-section {
  background: var(--cream);
  padding: 80px 0;
}

.besuche-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: stretch;
}

.besuche-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 8px;
}

.besuche-address {
  font-style: normal;
  margin-bottom: 26px;
}

.besuche-sub {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 24px 0 10px;
}

.hours { display: grid; gap: 8px; }

.hours li {
  display: flex;
  justify-content: space-between;
  max-width: 340px;
  font-size: 14.5px;
}

.hours li span:first-child { font-weight: 500; color: var(--ink); }

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.wa-link:hover { color: var(--gold-deep); }

.map-placeholder {
  height: 100%;
  min-height: 320px;
  border: 1.5px dashed #D8CFBF;
  border-radius: var(--radius-card);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A938A;
  font-size: 13.5px;
  letter-spacing: 0.06em;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--hairline);
  padding: 56px 0 40px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.footer-logo { height: 48px; width: auto; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}

.footer-nav a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--gold-deep); }

.footer-legal {
  display: flex;
  gap: 24px;
}

.legal-pending {
  font-size: 12.5px;
  color: #9A938A;
}

.footer-note {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B3AC9F;
}

.footer-copy { font-size: 12.5px; color: var(--body); }

/* ============================================================
   ZURÜCK NACH OBEN (unten rechts, kein WhatsApp-Float)
   ============================================================ */

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.to-top.is-visible { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--gold-deep); }

/* ============================================================
   TOAST (Hinweise zu noch nicht aktiven Funktionen)
   ============================================================ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 150;
  background: var(--ink);
  color: #F1EDE6;
  font-size: 13.5px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  max-width: min(90vw, 480px);
  text-align: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (z. B. 834 px): Karten 2-spaltig, Layout enger */
@media (max-width: 900px) {
  :root { --header-h: 150px; }

  .container { padding: 0 24px; }

  .kat-grid { grid-template-columns: repeat(2, 1fr); }

  .kat-layout,
  .ueber-layout,
  .besuche-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .kat-section.reverse .kat-media-col { order: 0; }
  .kat-section.reverse .kat-text-col { order: 1; }

  .kat-section { padding: 56px 0; }

  .steps { grid-template-columns: 1fr; }
}

/* Mobile (z. B. 390 px): Burger-Menü, 2-spaltige Karten */
@media (max-width: 720px) {
  :root { --header-h-compact: 72px; }

  .container { padding: 0 18px; }

  /* Header: Logo mittig, Burger links, Suche rechts */
  .site-header { background: var(--bg); }

  .logo-row { padding: 16px 56px 12px; }
  .logo-img { height: 42px; }
  .site-header.is-compact .logo-img { height: 36px; }
  .site-header.is-compact .logo-row { padding: 12px 56px 8px; }

  .burger { display: flex; }
  .search-btn--mobile { display: flex; right: 14px; }
  .search-btn--desktop { display: none; }

  .nav-row {
    border-top: 0;
    justify-content: flex-start;
  }

  /* Menü-Overlay */
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--bg);
    padding: 84px 26px 32px;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    overflow-y: auto;
    z-index: 120;
  }

  body.menu-open .main-nav { transform: translateX(0); }

  .nav-label { display: block; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list > li { border-bottom: 1px solid var(--hairline); }
  .nav-list > li:last-child { border-bottom: 0; }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 17px 4px;
    font-size: 15px;
    letter-spacing: 0.04em;
    text-transform: none;
  }

  /* Dropdown als Akkordeon im Mobilmenü */
  .dropdown {
    position: static;
    transform: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0 4px 14px;
    display: none;
  }

  .dropdown.is-open { display: block; }

  .drop-link { padding: 9px 0; font-size: 14.5px; }

  .nav-foot { display: block; margin-top: 24px; }

  .kat-grid { gap: 12px; }

  .kat-title {
    font-size: 12px;
    padding: 7px 12px;
    bottom: 10px;
  }

  .kategorien-grid-section { padding: 20px 0 6px; }

  .thumbs { gap: 8px; }

  .facts { flex-direction: column; align-items: flex-start; }

  .social-strip { grid-template-columns: repeat(2, 1fr); }

  .hours li { max-width: none; }

  .to-top { right: 16px; bottom: 16px; }
}

/* Sehr schmale Screens: Karten bleiben 2-spaltig (2 × 3) */
@media (max-width: 380px) {
  .kat-title { font-size: 11px; padding: 6px 10px; }
}

/* ============================================================
   REDUZIERTE ANIMATION (prefers-reduced-motion)
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Sicherheit: das hidden-Attribut gewinnt immer – auch bei
   display-Regeln (Grund: Karten-Bug, Consent blieb sichtbar) */
[hidden] { display: none !important; }
