/* ============================================================
   Kleine Bärengruppe – Main Stylesheet
   ============================================================ */

/* ---------- Local Fonts (Self-hosted) ---------- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../src/fonts/nunito-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../src/fonts/nunito-600.ttf') format('truetype');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../src/fonts/nunito-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../src/fonts/nunito-800.ttf') format('truetype');
}

@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../src/fonts/nunito-italic-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../src/fonts/nunito-italic-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../src/fonts/playfair-700.ttf') format('truetype');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../src/fonts/playfair-italic-700.ttf') format('truetype');
}

/* ---------- Design Tokens ---------- */
:root {
  --honey:        #c8954a;
  --honey-light:  #e8b87a;
  --honey-dark:   #a0664a;
  --cream:        #fffdf8;
  --cream-dark:   #f5ede0;
  --green:        #6aaa7a;
  --green-light:  #a8d8b0;
  --rose:         #e87a8a;
  --rose-light:   #f5b8c0;
  --blue:         #6aa0c8;
  --blue-light:   #afd0e8;
  --lavender:     #9888c8;
  --lavender-light:#c8b8e8;
  --dark:         #2a1a0a;
  --text:         #3a2a1a;
  --text-muted:   #7a6a5a;

  --font-body:    'Nunito', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-full:  9999px;

  --shadow-sm:    0 2px 12px rgba(42,26,10,.08);
  --shadow-md:    0 6px 28px rgba(42,26,10,.12);
  --shadow-lg:    0 16px 48px rgba(42,26,10,.16);

  --transition:   0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: auto;
}

/* Keep native cursor globally */
* { cursor: auto; }

/* Fallback used when protocol links (mailto/tel) blur the page */
body.use-native-cursor,
body.use-native-cursor * {
  cursor: auto !important;
}

a {
  color: var(--honey-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--honey); }

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

/* Basic deterrence against casual image drag/save interactions. */
img {
  -webkit-user-drag: none;
  user-select: none;
}

address { font-style: normal; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--dark);
}

/* ---------- Custom Cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 46px; height: 46px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, opacity 0.2s ease, width 0.25s ease, height 0.25s ease;
  will-change: transform;
  display: none;
}

.cursor svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 2px 6px rgba(160, 100, 74, 0.45));
  transition: transform 0.25s var(--transition);
}

.cursor.is-hovering {
  width: 60px; height: 60px;
}
.cursor.is-hovering svg {
  transform: rotate(-15deg) scale(1.1);
}
.cursor.is-clicking svg {
  transform: rotate(-30deg) scale(0.85);
}

.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--honey);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  transition: left 0.18s ease, top 0.18s ease, opacity 0.3s ease;
  will-change: transform, left, top;
  display: none;
}

/* ---------- Floating Background Bears ---------- */
.bg-bears {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-bear {
  position: absolute;
  opacity: 0.06;
  animation: floatBear linear infinite;
  user-select: none;
  will-change: transform;
}

.bg-bear-img {
  display: block;
  width: 100%;
  height: auto;
}

.bg-bear--1 { left: 5%;  width: 56px; animation-duration: 28s; animation-delay:  0s; }
.bg-bear--2 { left: 20%; width: 40px; animation-duration: 22s; animation-delay: -8s; }
.bg-bear--3 { left: 50%; width: 64px; animation-duration: 32s; animation-delay: -4s; }
.bg-bear--4 { left: 70%; width: 32px; animation-duration: 25s; animation-delay: -16s; }
.bg-bear--5 { left: 85%; width: 48px; animation-duration: 30s; animation-delay: -2s; }
.bg-bear--6 { left: 38%; width: 36px; animation-duration: 20s; animation-delay: -12s; }

@keyframes floatBear {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  5%   { opacity: 0.06; }
  95%  { opacity: 0.06; }
  100% { transform: translateY(-15vh) rotate(20deg); opacity: 0; }
}

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}
.container--narrow {
  max-width: 760px;
}

/* ---------- Scroll Reveal Animations (below-fold, needs JS) ---------- */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-up    { transform: translateY(50px); }
.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.32s; }
.delay-4 { transition-delay: 0.46s; }

/* ---------- Hero Animations (CSS-driven, no JS needed) ---------- */
.hero-anim {
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-anim--0 { animation-delay: 0.15s; }
.hero-anim--1 { animation-delay: 0.3s; }
.hero-anim--2 { animation-delay: 0.45s; }
.hero-anim--3 { animation-delay: 0.6s; }
.hero-anim--4 { animation-delay: 0.75s; }

/* Hero illustration slides in from right */
.hero-illustration.hero-anim {
  animation-name: heroFadeRight;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Pause animations when reduced motion is preferred */
@media (prefers-reduced-motion: reduce) {
  .hero-anim { animation: none; }
}

/* ---------- Section Base ---------- */
.section {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--honey);
  background: rgba(200, 149, 74, 0.12);
  padding: 0.3em 1em;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.75em 1.75em;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition-fast), color var(--transition-fast);
  border: 2px solid transparent;
}
.btn:hover  { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(1px) scale(0.97); }

.btn--primary {
  background: var(--honey);
  color: #fff;
  box-shadow: 0 4px 20px rgba(200, 149, 74, 0.4);
}
.btn--primary:hover {
  background: var(--honey-dark);
  color: #fff;
  box-shadow: 0 8px 28px rgba(200, 149, 74, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--ghost:hover {
  background: var(--dark);
  color: var(--cream);
}

.btn--full { width: 100%; justify-content: center; }

/* ---------- NAVIGATION ---------- */
.nav-header {
  position: fixed;
  top: 0; inset-inline: 0;
  z-index: 900;
  padding-block: 0.9rem;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.nav-header.scrolled {
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding-block: 0.5rem;
}

/* ---------- Availability Alert ---------- */
.availability-alert {
  position: fixed;
  top: 96px;
  right: clamp(1rem, 3vw, 2.5rem);
  z-index: 890;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #2f9e44 0%, #3cb25a 100%);
  color: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 20px rgba(47, 158, 68, 0.28);
  transform: rotate(-7deg);
}

.availability-alert__text {
  margin: 0;
  padding: 0.46rem 1rem;
  text-align: left;
  font-weight: 800;
  font-size: clamp(0.92rem, 1.7vw, 1rem);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--dark);
  flex-shrink: 0;
  min-width: 0;
}
.nav-logo:hover { color: var(--honey); }
.nav-logo-img {
  display: block;
  width: clamp(130px, 16vw, 190px);
  height: auto;
  transition: transform var(--transition);
}
.nav-logo:hover .nav-logo-img { transform: scale(1.04); }

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.4em 0.85em;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.nav-link:hover {
  background: rgba(200, 149, 74, 0.12);
  color: var(--honey-dark);
}

.nav-link--cta {
  background: var(--honey);
  color: #fff;
  padding: 0.45em 1.1em;
}
.nav-link--cta:hover {
  background: var(--honey-dark);
  color: #fff;
}
.nav-link.active:not(.nav-link--cta) {
  background: rgba(200, 149, 74, 0.15);
  color: var(--honey-dark);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 910;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fff8ee 0%, #fdefd8 50%, #e8f5e8 100%);
  padding-top: 90px;
}

/* Morphing background blobs */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

.hero-blob {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morphBlob 18s ease-in-out infinite alternate;
  opacity: 0.18;
  will-change: transform, border-radius;
}

.hero-blob--1 {
  width: 55vw; height: 55vw;
  background: var(--honey-light);
  top: -15%; left: -10%;
  animation-duration: 20s;
}
.hero-blob--2 {
  width: 40vw; height: 40vw;
  background: var(--green-light);
  top: 20%; right: -8%;
  animation-duration: 16s;
  animation-delay: -5s;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}
.hero-blob--3 {
  width: 30vw; height: 30vw;
  background: var(--rose-light);
  bottom: 5%; left: 30%;
  animation-duration: 22s;
  animation-delay: -10s;
  border-radius: 30% 70% 40% 60% / 50% 60% 40% 50%;
}

@keyframes morphBlob {
  0%   { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: scale(1) rotate(0deg); }
  33%  { border-radius: 70% 30% 40% 60% / 60% 40% 60% 40%; transform: scale(1.05) rotate(5deg); }
  66%  { border-radius: 30% 70% 60% 40% / 50% 70% 30% 60%; transform: scale(0.97) rotate(-3deg); }
  100% { border-radius: 50% 50% 30% 70% / 40% 60% 40% 60%; transform: scale(1.03) rotate(2deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  position: relative;
  z-index: 2;
  padding-block: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(200, 149, 74, 0.25);
  border-radius: var(--radius-full);
  padding: 0.35em 1em;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--honey-dark);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--dark);
}
.hero-title em {
  font-style: italic;
  color: var(--honey);
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}
.trust-icon {
  width: 22px; height: 22px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Bear illustration */
.hero-illustration {
  flex-shrink: 0;
}
.hero-bear {
  width: clamp(220px, 30vw, 340px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(160, 100, 74, 0.25));
  animation: bearBob 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes bearBob {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  40%       { transform: translateY(-14px) rotate(2deg); }
  60%       { transform: translateY(-10px) rotate(-1deg); }
}

.bear-sparkle text {
  animation: sparkle 2s ease-in-out infinite;
}
.bear-sparkle text:nth-child(2) { animation-delay: 0.5s; }
.bear-sparkle text:nth-child(3) { animation-delay: 1.1s; }

@keyframes sparkle {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50%       { opacity: 0.3; transform: scale(0.6); }
}

.hero-wave {
  position: absolute;
  bottom: -2px; inset-inline: 0;
}
.hero-wave svg { width: 100%; display: block; }

/* ---------- ÜBER UNS ---------- */
.ueber-uns { background: var(--cream); }

.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.ueber-text .lead {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.ueber-text p { margin-bottom: 1rem; color: var(--text-muted); }

.ueber-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.value-chip {
  background: var(--cream-dark);
  border: 1.5px solid var(--honey-light);
  color: var(--honey-dark);
  padding: 0.35em 0.9em;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background var(--transition-fast), transform var(--transition);
}
.value-chip:hover {
  background: var(--honey-light);
  transform: translateY(-2px);
}

.ueber-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--honey);
}
.info-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
}
.info-card--honey { border-top-color: var(--honey); }
.info-card--green { border-top-color: var(--green); }
.info-card--rose  { border-top-color: var(--rose); }
.info-card--blue  { border-top-color: var(--blue); }

.info-card__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.info-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.info-card p  { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- ANGEBOT ---------- */
.angebot {
  background: linear-gradient(160deg, var(--cream-dark) 0%, #edf7ed 100%);
}
.angebot-bg {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8954a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.angebot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.angebot-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.angebot-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--honey), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.angebot-item:hover::before { transform: scaleX(1); }
.angebot-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.angebot-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  display: block;
  transition: transform var(--transition);
}
.angebot-item:hover .angebot-icon { transform: scale(1.2) rotate(-5deg); }

.angebot-item h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.angebot-item p  { font-size: 0.9rem; color: var(--text-muted); }

.angebot-highlight {
  margin-top: 2.5rem;
  background: rgba(200, 149, 74, 0.1);
  border: 1.5px solid rgba(200, 149, 74, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
}
.highlight-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.highlight-emoji { font-size: 1.8rem; flex-shrink: 0; }

/* ---------- TAGESABLAUF ---------- */
.tagesablauf { background: var(--cream); }

.timeline {
  position: relative;
  max-width: 840px;
  margin-inline: auto;
  padding-top: 1rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--honey-light), var(--green-light));
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.timeline-item:nth-child(odd) .timeline-time    { text-align: right; }
.timeline-item:nth-child(odd) .timeline-content { grid-column: 3; }
.timeline-item:nth-child(odd) .timeline-dot     { grid-column: 2; grid-row: 1; }

.timeline-item:nth-child(even) .timeline-time    { grid-column: 3; text-align: left; order: 3; }
.timeline-item:nth-child(even) .timeline-dot     { grid-column: 2; order: 2; }
.timeline-item:nth-child(even) .timeline-content { grid-column: 1; order: 1; text-align: right; }

.timeline-time {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--honey);
  padding-top: 0.1em;
}

.timeline-dot {
  width: 24px; height: 24px;
  background: var(--honey);
  border-radius: 50%;
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 3px var(--honey-light);
  justify-self: center;
  margin-top: 0.25rem;
  transition: transform var(--transition);
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.4);
  background: var(--green);
  box-shadow: 0 0 0 3px var(--green-light);
}

.timeline-content {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.timeline-content:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.timeline-content h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.timeline-content p  { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- RÄUME / GALLERY ---------- */
.raeume { background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item--large {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-grid .gallery-item:nth-child(2) {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm);
}
.gallery-item--large { aspect-ratio: 16/9; }

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.gallery-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item[role="button"] {
  cursor: pointer;
}

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}
.gallery-placeholder--warm    { background: linear-gradient(135deg, #fde8c0, #f5c880); }
.gallery-placeholder--green   { background: linear-gradient(135deg, #c8e8c0, #a0d890); }
.gallery-placeholder--blue    { background: linear-gradient(135deg, #c0d8f0, #90b8e0); }
.gallery-placeholder--rose    { background: linear-gradient(135deg, #f5c8d0, #e0a0b0); }
.gallery-placeholder--honey   { background: linear-gradient(135deg, #f0d890, #e0b860); }
.gallery-placeholder--lavender{ background: linear-gradient(135deg, #d8c8f0, #b8a0e0); }

.gallery-placeholder__icon  { font-size: 2.5rem; }
.gallery-placeholder__label { font-size: 0.95rem; font-weight: 700; color: rgba(42,26,10,.7); }
.gallery-placeholder__sub   { font-size: 0.78rem; color: rgba(42,26,10,.45); font-style: italic; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(42,26,10,.75) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 { font-size: 1rem; margin-bottom: 0.25rem; color: #fff; }
.gallery-overlay p  { font-size: 0.82rem; opacity: 0.85; }

.gallery-note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- TEAM ---------- */
.team {
  background: linear-gradient(160deg, var(--cream-dark) 0%, #e8f5e8 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
  gap: 2rem;
  max-width: 420px;
  margin-inline: auto;
  justify-items: center;
  justify-content: center;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  width: 100%;
  max-width: 420px;
}
.team-card:hover {
  transform: translateY(-8px) rotate(0.5deg);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  display: block;
  width: 168px; height: 168px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-dark);
  border: 4px solid var(--honey-light);
  transition: border-color var(--transition-fast), transform var(--transition);
}
.team-card:hover .team-avatar {
  border-color: var(--honey);
  transform: scale(1.05);
}
.team-avatar svg { width: 100%; height: 100%; }
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.team-card h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.team-role {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--honey-dark);
  background: rgba(200, 149, 74, 0.1);
  padding: 0.2em 0.8em;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}
.team-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1rem; }
.team-photo-hint {
  font-size: 0.82rem;
  color: var(--honey-dark);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.image-modal[hidden] {
  display: none;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 26, 10, 0.72);
  backdrop-filter: blur(8px);
}

.image-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 880px);
  max-height: 90vh;
  background: #fffdf8;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1rem 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.image-modal__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.image-modal__copy {
  min-width: 0;
}

.image-modal__close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(200, 149, 74, 0.14);
  color: var(--dark);
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.image-modal__close:hover {
  background: rgba(200, 149, 74, 0.22);
}

.image-modal__title {
  font-size: 1.1rem;
}

.image-modal__counter {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.image-modal__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.image-modal__nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(200, 149, 74, 0.14);
  color: var(--dark);
  font-size: 2rem;
  line-height: 1;
}

.image-modal__nav:hover {
  background: rgba(200, 149, 74, 0.22);
}

.image-modal__nav[hidden] {
  visibility: hidden;
}

.image-modal__img {
  display: block;
  width: 100%;
  max-height: calc(90vh - 120px);
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--cream-dark);
}

body.modal-open {
  overflow: hidden;
}

.team-quali {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.team-quali span {
  background: var(--cream-dark);
  border-radius: var(--radius-full);
  padding: 0.2em 0.7em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.team-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.5em;
  background: #fff;
  border: 1.5px solid rgba(200, 149, 74, 0.25);
  border-radius: var(--radius-full);
  padding: 0.45em 1.1em;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cert-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cert-icon { font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.faq {
  background: linear-gradient(160deg, #fff8ee 0%, #f5ede0 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ---------- KONTAKT ---------- */
.kontakt { background: var(--cream); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.kontakt-info { display: flex; flex-direction: column; gap: 1.25rem; }

.kontakt-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.kontakt-card h3 { font-size: 1rem; margin-bottom: 0.7rem; }
.kontakt-card address { line-height: 1.8; color: var(--text-muted); }

/* Keep contact card headings text-only across desktop and mobile. */
#kontakt .kontakt-card h3::before,
#kontakt .kontakt-card h3::after {
  content: none !important;
}

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 0.3em 0; color: var(--text-muted); font-size: 0.95rem; }
.hours-table td:first-child { padding-right: 1.5rem; }

.contact-link {
  display: inline-block;
  margin-bottom: 0.3em;
  font-weight: 600;
  color: var(--honey-dark);
}
.contact-link:hover { color: var(--honey); }

.contact-link--phone {
  display: inline-flex;
  align-items: center;
}

.wa-icon {
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.12em;
  margin-left: 0.22em;
}

.contact-note { font-size: 0.83rem; color: var(--text-muted); margin-top: 0.4rem; }

.kontakt-map { border-radius: var(--radius-md); overflow: hidden; }

.kontakt-map iframe[data-map-src] {
  display: none;
}

.kontakt-map.map-loaded iframe[data-map-src] {
  display: block;
}

.map-consent {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid rgba(42, 26, 10, 0.08);
  border-radius: var(--radius-md);
}

.map-consent__text {
  margin: 0;
  color: var(--text-muted);
  max-width: 46ch;
}

.map-consent__btn {
  padding: 0.55em 1.2em;
  font-size: 0.92rem;
}

.kontakt-map.map-loaded .map-consent {
  display: none;
}

/* Contact form */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7em 1em;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(200, 149, 74, 0.15);
}
.form-group input.error,
.form-group textarea.error {
  border-color: var(--rose);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-group--checkbox {
  margin-top: 0.5rem;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 0.2em;
  accent-color: var(--honey);
  flex-shrink: 0;
}

/* ---------- DATENSCHUTZ ---------- */
.datenschutz {
  background: var(--cream-dark);
  padding-block: 3rem;
}
.datenschutz h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.datenschutz h3 { font-size: 1.1rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }
.datenschutz p  { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 0.75rem; }

/* ---------- FOOTER ---------- */
/* ---------- LANG TOGGLE ---------- */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  background: transparent;
  border: 2px solid rgba(200, 149, 74, 0.35);
  border-radius: var(--radius-full);
  padding: 0.3em 0.8em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  transition: border-color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}
.lang-toggle:hover {
  border-color: var(--honey);
  background: rgba(200, 149, 74, 0.08);
}
.lang-toggle [data-lang-opt] {
  opacity: 0.45;
  transition: opacity var(--transition-fast), color var(--transition-fast);
}
.lang-toggle [data-lang-opt].active {
  color: var(--honey-dark);
  opacity: 1;
}
.lang-sep {
  opacity: 0.25;
  font-weight: 400;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark);
  color: rgba(255,253,248,0.8);
  padding-block: 2.5rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
}
.footer-brand strong { display: block; font-size: 1rem; color: var(--cream); }
.footer-brand p { font-size: 0.82rem; opacity: 0.65; }
.footer-logo { width: 44px; height: auto; flex-shrink: 0; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}
.footer-nav a {
  color: rgba(255,253,248,0.65);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}
.footer-nav a:hover { color: var(--honey-light); }

.footer-copy {
  font-size: 0.82rem;
  opacity: 0.5;
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255,253,248,.1);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--honey), var(--green));
  z-index: 1000;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

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

@media (max-width: 1024px) {
  .angebot-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--large { grid-column: span 2; }
}

@media (max-width: 768px) {
  #ueber-uns.section { padding-top: 1.5rem; }

  /* Nav mobile */
  .nav-inner { gap: 0.5rem; }
  .nav-toggle { display: flex; }
  .nav-actions { margin-left: auto; }
  .nav-logo-img { width: min(170px, 48vw); }
  .nav-header.menu-open {
    backdrop-filter: none;
    z-index: 920;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 905;
    width: min(300px, 80vw);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(110%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.5rem;
    overflow-y: auto;
    visibility: hidden;
  }
  .nav-menu li:first-child { margin-top: 0.35rem; }
  .nav-menu.open { transform: translateX(0); visibility: visible; }
  .nav-link { font-size: 1.1rem; padding: 0.6em 1em; width: 100%; }
  .lang-toggle { font-size: 0.72rem; padding: 0.28em 0.65em; }

  .availability-alert {
    top: 74px;
    left: auto;
    right: 0.75rem;
    width: fit-content;
    max-width: calc(100vw - 1.5rem);
    justify-content: flex-start;
    border-radius: 12px;
    transform: none;
    box-shadow: 0 8px 18px rgba(47, 158, 68, 0.22);
  }

  .availability-alert__text {
    width: auto;
    text-align: left;
    padding: 0.45rem 0.65rem;
    font-size: 0.9rem;
  }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-illustration {
    display: block;
    margin-inline: auto;
  }
  .hero-bear {
    width: min(260px, 72vw);
    margin-inline: auto;
  }
  .hero-trust { justify-content: center; }
  .hero-ctas  { justify-content: center; }

  /* About */
  .ueber-grid { grid-template-columns: 1fr; }
  .ueber-cards { grid-template-columns: 1fr 1fr; }

  /* Angebot */
  .angebot-grid { grid-template-columns: 1fr; }

  /* Timeline */
  .timeline::before { left: 12px; transform: none; }
  .timeline-item {
    grid-template-columns: 24px 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem 1rem;
  }
  /* Override desktop nth-child specificity (0,2,0) with equal-weight selectors inside media query */
  .timeline-item:nth-child(odd)  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot    { grid-column: 1; grid-row: 1; }
  .timeline-item:nth-child(odd)  .timeline-time,
  .timeline-item:nth-child(even) .timeline-time   { grid-column: 2; grid-row: 1; text-align: left; }
  .timeline-item:nth-child(odd)  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content{ grid-column: 2; grid-row: 2; text-align: left; }

  .timeline-time { font-size: 1.2rem; padding-top: 0; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--large { grid-column: span 2; }
  .gallery-grid .gallery-item:nth-child(2) {
    grid-row: span 1;
    aspect-ratio: 4/3;
  }

  /* Team */
  .team-grid { grid-template-columns: 1fr; max-width: 420px; }

  /* FAQ */
  .faq-grid { grid-template-columns: 1fr; }

  .image-modal {
    padding: 1rem;
  }

  .image-modal__dialog {
    width: min(94vw, 720px);
    padding: 0.85rem 0.85rem 1rem;
  }

  .image-modal__stage {
    grid-template-columns: 1fr;
  }

  .image-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }

  .image-modal__nav--prev {
    left: 1rem;
  }

  .image-modal__nav--next {
    right: 1rem;
  }

  /* Kontakt */
  .kontakt-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }

  /* Cursor - disable on touch */
  .cursor, .cursor-trail { display: none; }
  * { cursor: auto !important; }
}

@media (max-width: 480px) {
  .ueber-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large { grid-column: span 1; }
  .hero-title { font-size: 2.2rem; }
  .nav-inner { gap: 0.35rem; }

  .availability-alert {
    top: 70px;
    left: auto;
    right: 0.55rem;
    max-width: calc(100vw - 1.1rem);
  }

  .availability-alert__text {
    font-size: 0.82rem;
  }
}

/* ---------- Accessibility / Focus ---------- */
:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .cursor, .cursor-trail, .bg-bears { display: none; }
  * { cursor: auto !important; }
}

/* Print */
@media print {
  .nav-header, .cursor, .cursor-trail, .bg-bears,
  .hero-shapes, .scroll-progress, .hero-wave { display: none; }
  .hero { min-height: auto; }
  body { color: #000; background: #fff; }
}
