/* ============================================================
   Eiscafé Livan · Modernes Design-System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Montserrat', Arial, sans-serif;

  /* Palette – inspiriert von Vanille, Pistazie, Espresso */
  --cream:        #FAF6EF;
  --cream-warm:   #F3EAD6;
  --cream-mid:    #EEE3CA;
  --gold:         #B8872A;
  --gold-hover:   #9A7020;
  --gold-pale:    #F0E4C2;
  --gold-light:   #DDB96A;
  --espresso:     #1A0F06;
  --chocolate:    #3B1F0C;
  --text:         #2D1A08;
  --text-mid:     #6B4A2A;
  --text-light:   #A88560;
  --warm-white:   #FFFDF9;

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(44, 26, 8, 0.06);
  --shadow-sm: 0 2px 12px rgba(44, 26, 8, 0.08);
  --shadow-md: 0 6px 28px rgba(44, 26, 8, 0.11);
  --shadow-lg: 0 16px 50px rgba(44, 26, 8, 0.14);

  /* Border */
  --radius:    6px;
  --radius-lg: 12px;

  /* Transitions */
  --ease: 0.32s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); color: var(--text); background: var(--cream); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button { cursor: pointer; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.25; }

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); }
h4 { font-size: 1rem;    font-weight: 500; font-family: var(--font-body); }

p  { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.text-gold  { color: var(--gold); }
.text-mid   { color: var(--text-mid); }
.text-center{ text-align: center; }

/* Section label / eyebrow */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  transition: background var(--ease), box-shadow var(--ease), transform var(--ease);
}
.btn:hover {
  background: var(--gold-hover);
  box-shadow: 0 6px 20px rgba(44, 26, 8, 0.2);
  transform: translateY(-1px);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}
.btn-white {
  background: rgba(255,255,255,0.95);
  color: var(--chocolate);
}
.btn-white:hover {
  background: #fff;
  color: var(--chocolate);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
  box-shadow: none;
  transform: translateY(-1px);
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--ease), box-shadow var(--ease);
}
.site-nav.scrolled {
  background: rgba(250, 246, 239, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(30, 15, 6, 0.08);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: height var(--ease);
}
.site-nav.scrolled .nav-inner {
  height: 68px;
}
/* Brand logo */
.nav-brand img {
  height: 80px;
  width: auto;
  display: block;
  transition: height var(--ease), filter var(--ease);
}
.site-nav.scrolled .nav-brand img {
  height: 46px;
}
body.has-hero .site-nav:not(.scrolled) .nav-brand img {
  filter: brightness(0) invert(1);
}
/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 2px;
  color: var(--text);
  transition: color var(--ease);
  white-space: nowrap;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 14px; right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--ease);
  transform-origin: left;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }
.nav-menu a:hover,
.nav-menu a.active { color: var(--gold); }

/* Hero-Transparenz nur auf Desktop – Drawer hat weißen Hintergrund, Link muss lesbar bleiben */
@media (min-width: 901px) {
  body.has-hero .site-nav:not(.scrolled) .nav-menu a {
    color: rgba(255,255,255,0.88);
  }
  body.has-hero .site-nav:not(.scrolled) .nav-menu a::after {
    background: rgba(255,255,255,0.7);
  }
  body.has-hero .site-nav:not(.scrolled) .nav-menu a:hover,
  body.has-hero .site-nav:not(.scrolled) .nav-menu a.active {
    color: #fff;
  }
}

/* Mobile-only items hidden on desktop */
.nav-menu-mobile { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  gap: 5px;
  padding: 6px;
  flex-shrink: 0;
}
.toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease), background var(--ease);
}
body.has-hero .site-nav:not(.scrolled) .toggle-bar { background: #fff; }
.nav-toggle.open .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero – Startseite ──────────────────────────────────────── */
.hero-home {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    170deg,
    rgba(26, 15, 6, 0.28) 0%,
    rgba(26, 15, 6, 0.62) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 780px;
}
.hero-content .eyebrow {
  color: var(--gold-light);
  margin-bottom: 18px;
}
.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
  font-style: italic;
}
.hero-content .hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.88);
  font-weight: 400;
  letter-spacing: 0.5px;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-hint span {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hero-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: arrowBounce 2s infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* ── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  position: relative;
  height: 58vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  padding-bottom: 64px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 15, 6, 0.15) 0%,
    rgba(26, 15, 6, 0.65) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}
.page-hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  font-style: italic;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  margin-bottom: 12px;
}
.page-hero-content .eyebrow {
  color: var(--gold-light);
}

/* ── Section Spacing ────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.section-lg { padding: 130px 0; }
.section-cream  { background: var(--cream); }
.section-white  { background: var(--warm-white); }
.section-warm   { background: var(--cream-warm); }

/* Section heading with ornament */
.section-heading {
  text-align: center;
  margin-bottom: 64px;
}
.section-heading h2 {
  color: var(--chocolate);
  margin-bottom: 16px;
}
.section-heading p {
  color: var(--text-mid);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 18px;
}
.ornament-line {
  width: 50px;
  height: 1px;
  background: var(--gold-light);
}
.ornament-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Start: Produkt-Showcase ────────────────────────────────── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.showcase-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.showcase-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.showcase-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.showcase-card:hover .showcase-card-img img {
  transform: scale(1.04);
}

/* ── Start: Qualitätsbotschaft (Split) ──────────────────────── */
.quality-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}
.quality-image {
  position: relative;
  overflow: hidden;
}
.quality-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.quality-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 70px 70px 64px;
  background: var(--cream-warm);
}
.quality-text h2 {
  color: var(--chocolate);
  margin-bottom: 24px;
  line-height: 1.3;
}
.quality-text p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.quality-text .quality-note {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 600;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 20px 0 32px;
  line-height: 1.6;
}

/* ── Start: Teaser Cards ─────────────────────────────────────── */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.teaser-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.teaser-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.teaser-card:hover img { transform: scale(1.05); }
.teaser-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,15,6,0.75) 0%, rgba(26,15,6,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  transition: background var(--ease);
}
.teaser-card:hover .teaser-card-overlay {
  background: linear-gradient(to top, rgba(26,15,6,0.85) 0%, rgba(26,15,6,0.2) 70%);
}
.teaser-card-label {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  font-style: italic;
  margin-bottom: 10px;
}
.teaser-card-link {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.teaser-card-link::after {
  content: '→';
  transition: transform var(--ease);
}
.teaser-card:hover .teaser-card-link::after {
  transform: translateX(4px);
}

/* ── Alle Sorten: Flavor Grid ───────────────────────────────── */
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.flavor-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 28px 20px 22px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(184, 135, 42, 0.1);
  transition: transform var(--ease), box-shadow var(--ease);
  cursor: default;
}
.flavor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.flavor-card-img {
  width: 130px;
  height: 130px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flavor-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.flavor-card-name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}

/* Info box for sorbets */
.info-box {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 32px;
  max-width: 740px;
  margin: 0 auto 48px;
}
.info-box p {
  font-size: 0.95rem;
  color: var(--chocolate);
  line-height: 1.8;
  margin-bottom: 6px;
}
.info-box p:last-child { margin-bottom: 0; }
.info-box strong { color: var(--gold-hover); }

/* ── Über Uns ───────────────────────────────────────────────── */
.story-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
.story-intro p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* Timeline */
.timeline {
  max-width: 880px;
  margin: 60px auto 0;
  padding: 0 24px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--cream-mid);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 50px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-year {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  text-align: right;
  line-height: 1;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--cream-warm);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.timeline-text {
  text-align: left;
}
.timeline-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--chocolate);
  margin-bottom: 6px;
}
.timeline-text p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0;
}
.timeline-item.reverse .timeline-year { text-align: left; order: 3; }
.timeline-item.reverse .timeline-dot  { order: 2; }
.timeline-item.reverse .timeline-text { order: 1; text-align: right; }

/* Photo Carousel (Über uns) */
.photo-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: grab;
  user-select: none;
}
.photo-carousel.dragging { cursor: grabbing; }
.photo-track { display: flex; }
.photo-item  { flex-shrink: 0; box-sizing: border-box; padding: 0 3px; }
.photo-item img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  border-radius: 4px;
}
.photo-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.photo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cream-mid);
  border: none;
  cursor: pointer;
  transition: background var(--ease), width var(--ease);
  padding: 0;
}
.photo-dot.active {
  background: var(--gold);
  width: 22px;
  border-radius: 4px;
}
.photo-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,253,249,0.88);
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--chocolate);
  font-size: 20px;
  z-index: 5;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: background var(--ease);
}
.photo-btn:hover { background: var(--warm-white); }
.photo-btn.prev { left: 14px; }
.photo-btn.next { right: 14px; }

/* Blurbs */
.blurbs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 60px 0 0;
}
.blurb-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--cream-mid);
}
.blurb-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.blurb-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--gold);
}
.blurb-card h3 {
  font-size: 1rem;
  color: var(--chocolate);
  margin-bottom: 12px;
  line-height: 1.4;
}
.blurb-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* ── Leistungen ─────────────────────────────────────────────── */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.leistung-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  cursor: default;
}
.leistung-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.leistung-card:hover img { transform: scale(1.05); }
.leistung-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,15,6,0.82) 0%,
    rgba(26,15,6,0.08) 55%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 26px;
  transition: background var(--ease);
}
.leistung-card:hover .leistung-overlay {
  background: linear-gradient(
    to top,
    rgba(26,15,6,0.90) 0%,
    rgba(26,15,6,0.15) 65%
  );
}
.leistung-label {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: #fff;
  line-height: 1.3;
}
.leistung-accent {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold-light);
  margin-top: 10px;
  transition: width var(--ease);
}
.leistung-card:hover .leistung-accent { width: 44px; }

/* ── Galerie ────────────────────────────────────────────────── */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.galerie-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
}
.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.galerie-item:hover img { transform: scale(1.06); }
.galerie-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,15,6,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
}
.galerie-item:hover .galerie-item-overlay {
  background: rgba(26,15,6,0.28);
}
.galerie-zoom {
  width: 44px; height: 44px;
  background: rgba(255,253,249,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--ease), transform var(--ease);
  color: var(--chocolate);
  font-size: 18px;
}
.galerie-item:hover .galerie-zoom {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,5,2,0.94);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 26px;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color var(--ease);
  font-weight: 300;
}
.lightbox-close:hover { color: #fff; }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 44px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px 20px;
  transition: color var(--ease);
  font-weight: 300;
  line-height: 1;
}
.lightbox-prev:hover, .lightbox-next:hover { color: #fff; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
}

/* ── Kontakt ────────────────────────────────────────────────── */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.kontakt-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.kontakt-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.kontakt-info {
  padding: 10px 0;
}
.kontakt-logo {
  max-width: 130px;
  margin-bottom: 32px;
}
.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--cream-mid);
}
.kontakt-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.kontakt-icon {
  width: 42px; height: 42px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kontakt-icon svg {
  width: 18px; height: 18px;
  fill: var(--gold);
}
.kontakt-item-text {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.kontakt-item-text strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 4px;
}
.kontakt-item-text a {
  color: var(--text-mid);
  transition: color var(--ease);
}
.kontakt-item-text a:hover { color: var(--gold); }

/* Map */
.map-section {
  line-height: 0;
  border-top: 3px solid var(--gold-pale);
}
.map-section iframe {
  width: 100%;
  height: 380px;
  display: block;
  border: none;
  filter: sepia(15%) brightness(1.02);
}

/* ── Impressum / Datenschutz ────────────────────────────────── */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}
.legal-wrap h2 {
  color: var(--chocolate);
  margin-bottom: 40px;
}
.legal-wrap h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--chocolate);
  margin-top: 32px;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.legal-wrap p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 12px;
}
.legal-wrap ul {
  padding-left: 20px;
  margin: 10px 0 16px;
  list-style: disc;
}
.legal-wrap ul li {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 4px;
}
.legal-wrap a { color: var(--gold); }
.legal-wrap a:hover { text-decoration: underline; }
.legal-note {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--cream-mid);
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Page header for legal pages */
.page-header-plain {
  background: var(--cream-warm);
  padding: 120px 0 60px;
  border-bottom: 1px solid var(--cream-mid);
}
.page-header-plain h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--chocolate);
  text-align: center;
  font-style: italic;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--espresso);
  color: rgba(255,253,249,0.7);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,253,249,0.08);
}
.footer-logo {
  max-width: 110px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,253,249,0.6);
  margin-bottom: 0;
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(255,253,249,0.65);
  margin-bottom: 0;
}
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,253,249,0.6);
  display: block;
  margin-bottom: 8px;
  transition: color var(--ease);
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,253,249,0.35);
  margin: 0;
  letter-spacing: 0.5px;
}
.footer-bottom a {
  color: rgba(255,253,249,0.5);
  transition: color var(--ease);
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ── Back to Top ────────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 42px; height: 42px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease), transform var(--ease), background var(--ease);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
#backToTop svg {
  width: 18px; height: 18px;
  fill: none; stroke: #fff; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover { background: var(--gold-hover); transform: translateY(-2px); }

/* ── Responsive: Tablet ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .quality-text { padding: 60px 48px; }
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 900px) {
  .nav-inner          { height: 92px; }
  .site-nav.scrolled .nav-inner  { height: 64px; }
  .nav-brand img      { height: 64px; }
  .site-nav.scrolled .nav-brand img { height: 44px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 88vw);
    height: 100vh;
    background: var(--warm-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 90px 0 40px;
    gap: 0;
    box-shadow: -4px 0 30px rgba(26,15,6,0.12);
    transition: right var(--ease);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu li { width: 100%; }
  .nav-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 14px 28px;
    font-size: 0.85rem;
    line-height: 1.4;
    border-bottom: 1px solid var(--cream-mid);
    color: var(--text) !important;
    white-space: normal;
  }
  .nav-menu a::after { display: none; }
  .nav-menu a:hover  { color: var(--gold) !important; }
  .nav-menu a.active { color: var(--gold) !important; }
  .nav-menu-mobile { display: block; }
  .nav-menu-mobile a {
    color: var(--text-mid) !important;
    font-size: 0.78rem !important;
    min-height: 44px !important;
    padding: 10px 28px !important;
  }

  /* Overlay */
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }
  .nav-backdrop.open { display: block; }

  /* Ensure toggle bar is dark on scrolled nav or light on transparent */
  body.has-hero .site-nav:not(.scrolled) .toggle-bar { background: #fff; }

  .showcase-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .quality-split  { grid-template-columns: 1fr; }
  .quality-image  { height: 340px; }
  .quality-image img { width: 100%; height: 100%; }
  .quality-text   { padding: 52px 36px; }
  .teaser-grid    { grid-template-columns: 1fr; gap: 2px; }
  .teaser-card    { aspect-ratio: 16/7; }
  .blurbs-row     { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand   { grid-column: 1 / -1; }
  .kontakt-layout { grid-template-columns: 1fr; }
  .kontakt-image  { order: -1; }
  .kontakt-image img { height: 280px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-sm { padding: 50px 0; }

  .flavor-grid    { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .flavor-card    { padding: 22px 14px 18px; }
  .flavor-card-img { width: 100px; height: 100px; }

  .timeline::before { left: 20px; }
  .timeline-item {
    grid-template-columns: auto auto 1fr;
    gap: 16px;
  }
  .timeline-year {
    font-size: 1.5rem;
    text-align: left;
    min-width: 64px;
  }
  .timeline-item.reverse .timeline-year { order: 0; text-align: left; }
  .timeline-item.reverse .timeline-dot  { order: 1; }
  .timeline-item.reverse .timeline-text { order: 2; text-align: left; }

  .galerie-grid   { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .showcase-grid { grid-template-columns: 1fr; gap: 14px; }
  .showcase-card-img { aspect-ratio: 16/9; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }

  .page-hero { height: 48vh; min-height: 300px; }
  .page-hero-content h1 { font-size: 2rem; }

  h2 { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: 1fr; gap: 8px; }
  .galerie-item { aspect-ratio: 16/10; }
  .nav-inner { padding: 0 18px; }
  .quality-text { padding: 40px 20px; }
  .blurb-card { padding: 28px 20px; }
}
