/* Confiserie Kurmann - Luzern - Luxury Swiss Chocolaterie & Art-Confiserie */
:root {
  --bg-primary: #FAF7F2;
  --bg-surface: #FFFFFF;
  --bg-card: #F5EFEB;
  --bg-dark: #1E1715;
  --text-main: #241E1C;
  --text-muted: #6E635F;
  --text-light: #F7F3EE;
  --gold-accent: #C59A4B;
  --gold-hover: #D8AA59;
  --gold-light: #F4EAD4;
  --gold-border: rgba(197, 154, 75, 0.35);
  --border-subtle: #E8E0D7;
  --shadow-sm: 0 2px 8px rgba(36, 30, 28, 0.05);
  --shadow-md: 0 8px 24px rgba(36, 30, 28, 0.08);
  --shadow-lg: 0 16px 40px rgba(36, 30, 28, 0.12);
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1240px;
  --nav-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.25;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold-accent); }

p { margin-bottom: 1rem; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header & Sticky Top Bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s ease;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 1002;
}

.brand-logo-wrap img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-accent);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 260px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  list-style: none;
  z-index: 1010;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item a {
  display: block;
  padding: 8px 20px;
  font-size: 0.88rem;
  color: var(--text-main);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown-item a:hover {
  background-color: var(--bg-card);
  color: var(--gold-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--gold-accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(197, 154, 75, 0.3);
}

.btn-outline {
  border-color: var(--gold-accent);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--gold-accent);
  color: #FFFFFF;
}

.btn-phone {
  background-color: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-subtle);
  font-variant-numeric: tabular-nums;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-surface);
  z-index: 1001;
  padding: calc(var(--nav-height) + 24px) 24px 32px;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-sub-list {
  list-style: none;
  padding-left: 16px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-sub-link {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.mobile-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Operational Pill (Geissmättli mechanism #1 adapted) */
.live-status-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.82rem;
}

.status-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2E7D32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}

.status-hours-list {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 64px 0 80px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #F3ECE4 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.hero-headline {
  margin-bottom: 20px;
}

.hero-subhead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  width: 100%;
}

.hero-card-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ECE5DE;
  aspect-ratio: 4/5;
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card:hover .hero-card-img {
  transform: scale(1.03);
}

/* Floating Signature Swan (Signature Motion Mechanism) */
.hero-swan-float {
  position: absolute;
  top: -30px;
  right: -25px;
  width: 110px;
  height: 110px;
  background: var(--bg-surface);
  border: 2px solid var(--gold-accent);
  border-radius: 50%;
  padding: 10px;
  box-shadow: var(--shadow-md);
  animation: floatSwan 4s ease-in-out infinite alternate;
  z-index: 5;
}

@keyframes floatSwan {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-swan-float {
    animation: none;
  }
}

.hero-card-caption {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-main);
}

/* Section Layouts */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Offerings Category Grid */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.offer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-accent);
}

.offer-card-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.offer-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.offer-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.offer-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.offer-card-link:hover {
  color: var(--gold-hover);
}

/* Feature Two-Column / Crafts Showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase-text-wrap h3 {
  margin-bottom: 16px;
}

.facts-badge-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.fact-item {
  background: var(--bg-surface);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.fact-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.fact-label {
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 500;
}

/* Verified Hours & Visit Card */
.visit-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.visit-info-pane {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hours-block {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.season-hours {
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold-accent);
}

.season-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 2px 0;
}

.visit-map-pane {
  background: #EFE8E1;
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 32px;
  text-align: center;
}

.honest-map-fallback {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  max-width: 380px;
  box-shadow: var(--shadow-sm);
}

/* Contact & Voucher Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
}

.contact-direct-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(197, 154, 75, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.honest-form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--gold-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 64px 0 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h4 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-tagline {
  color: rgba(247, 243, 238, 0.7);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.footer-col h5 {
  color: var(--gold-hover);
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(247, 243, 238, 0.75);
  font-size: 0.88rem;
}

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

.footer-contact-info {
  font-size: 0.88rem;
  color: rgba(247, 243, 238, 0.75);
  line-height: 1.7;
}

.footer-contact-info a {
  color: var(--gold-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(247, 243, 238, 0.5);
}

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

.footer-legal-links a:hover {
  color: var(--gold-hover);
}

/* Mobile Sticky Action Bar (Geissmättli mechanism #2 adapted) */
.mobile-sticky-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(30, 23, 21, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gold-border);
  padding: 10px 16px;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.mobile-sticky-action-bar .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.82rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .visit-card-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-menu, .header-actions {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-drawer {
    display: flex;
  }
  .mobile-sticky-action-bar {
    display: flex;
  }
  body {
    padding-bottom: 64px; /* compensate sticky bar */
  }
}

@media (max-width: 580px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .facts-badge-group {
    grid-template-columns: 1fr;
  }
  .hero-swan-float {
    width: 80px;
    height: 80px;
    top: -20px;
    right: -10px;
  }
}
