/* ====================================================================
   MALEA CONCEPT · SHARED SITE STYLES
   Für die holistische Mehrseiten-Website (index.html, malea.html,
   leistungen.html, referenzen.html, kontakt.html).
   Der schnelle Buchungs-Funnel (buchen.html, workshop.html) bleibt
   bewusst self-contained und nutzt dieses File NICHT.
   ==================================================================== */

:root {
  --ivory:    #F5F1EB;
  --espresso: #1E1715;
  --bronze:   #7A5C4D;
  --sand:     #D8CABE;
  --stone:    #8A817A;
  --hairline: #C9BEB1;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ========== Editorial typography ========== */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow-stone { color: var(--stone); }
.eyebrow-sand { color: var(--sand); }

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.display em { font-style: italic; color: var(--bronze); }

h1.display { font-size: clamp(40px, 6.5vw, 80px); }
h2.display { font-size: clamp(32px, 4.5vw, 52px); }
h3.display { font-size: clamp(22px, 2.6vw, 30px); }

.lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--stone);
  max-width: 640px;
}

/* ========== Layout primitives ========== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (min-width: 768px) { .container { padding: 0 64px; } }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
@media (min-width: 768px) { .container-narrow { padding: 0 64px; } }

section { padding: clamp(64px, 10vw, 140px) 0; position: relative; }

.section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}
.section-head .num {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--bronze);
}
.section-head .rule {
  height: 1px;
  background: var(--bronze);
  width: 32px;
  margin-right: 16px;
  display: inline-block;
  vertical-align: middle;
}
.section-head .label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ========== Top navigation ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--ivory);
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 768px) { .topbar { padding: 22px 64px; } }
.topbar .mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--espresso);
}
.topbar .nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 900px) { .site-nav { display: flex; } }
.site-nav a {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--stone);
  transition: color 0.25s ease;
  position: relative;
}
.site-nav a:hover { color: var(--espresso); }
.site-nav a.active { color: var(--espresso); }
.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--bronze);
}
.topbar .lang-toggle { display: none; }
@media (min-width: 900px) { .topbar .lang-toggle { display: flex; } }
.lang-toggle {
  align-items: center;
  gap: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--espresso);
}
.mobile-nav-panel .lang-toggle { display: flex; margin-bottom: -8px; }
.lang-toggle button {
  padding: 6px 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: inherit;
  opacity: 0.55;
  transition: opacity 0.25s ease;
}
.lang-toggle button.active { opacity: 1; font-weight: 500; }
.lang-toggle button:hover { opacity: 1; }
.lang-toggle .divider { opacity: 0.4; font-size: 11px; }

.nav-cta {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--espresso);
  padding: 12px 22px;
  border: 1px solid var(--espresso);
  transition: all 0.3s ease;
  white-space: nowrap;
}
.topbar .nav-cta { display: none; }
@media (min-width: 900px) { .topbar .nav-cta { display: inline-flex; } }
.nav-cta:hover { background: transparent; color: var(--espresso); }

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--hairline);
}
@media (min-width: 900px) { .mobile-nav-toggle { display: none; } }
.mobile-nav-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ivory);
  padding: 100px 32px 48px;
  flex-direction: column;
  gap: 28px;
}
.mobile-nav-panel.open { display: flex; }
.mobile-nav-panel a {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--espresso);
}
.mobile-nav-panel .mnp-close {
  position: absolute;
  top: 24px; right: 32px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 18px 36px;
  border: 1px solid currentColor;
  transition: all 0.35s ease;
  cursor: pointer;
  background: transparent;
  color: currentColor;
}
.btn-light { color: var(--ivory); }
.btn-light:hover { background: var(--ivory); color: var(--espresso); }
.btn-dark { color: var(--espresso); }
.btn-dark:hover { background: var(--espresso); color: var(--ivory); }
.btn .arrow { transition: transform 0.3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ========== Footer ========== */
footer {
  background: var(--espresso);
  color: rgba(245,241,235,0.55);
  padding: 48px 0 32px;
  font-size: 11px;
  letter-spacing: 0.2em;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
  align-items: center;
}
@media (min-width: 768px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-mark {
  font-family: var(--font-sans);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sand);
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--ivory); }
.footer-social { display: flex; gap: 28px; }
.footer-social a {
  transition: color 0.3s;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.footer-social a:hover { color: var(--ivory); }

/* ========== Scroll reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ========== Reusable video card ========== */
.video-card {
  position: relative;
  background: #1a1410;
  aspect-ratio: 9 / 16;
  overflow: hidden;
}
.video-card.landscape { aspect-ratio: 16 / 9; }
.video-card video, .video-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* ========== Hero (page-header) ========== */
.page-hero {
  min-height: 72vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #2A201D 0%, #1E1715 100%);
}
.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,23,21,0.35) 0%, rgba(30,23,21,0.15) 35%, rgba(30,23,21,0.72) 100%);
  z-index: 2;
}
.page-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 80px 32px 88px;
  color: var(--ivory);
}
@media (min-width: 768px) { .page-hero-content { padding: 100px 64px 110px; } }
.page-hero-content .eyebrow { color: var(--sand); margin-bottom: 20px; }
.page-hero-content h1 { max-width: 900px; color: var(--ivory); margin-bottom: 20px; }
.page-hero-content h1 em { color: var(--sand); }
.page-hero-content .lede { color: rgba(245,241,235,0.82); max-width: 560px; margin-bottom: 0; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ========== Big video block (Malea-Portrait-Stil) ========== */
.big-video-card {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(30,23,21,0.16);
}
.big-video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ========== Experience-Video (dunkle Sektion, Click-to-Play) ========== */
.experience-section {
  background: var(--espresso);
  color: var(--ivory);
}
.experience-section .section-head .num,
.experience-section .section-head .label { color: var(--sand); }
.experience-section .section-head .rule { background: var(--sand); }
.experience-section h2 em { font-style: italic; color: var(--sand); }
.experience-section .lede { color: rgba(245,241,235,0.72); max-width: 640px; }
.experience-video {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(245,241,235,0.14);
  background: #000;
}
.experience-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exp-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(180deg, rgba(30,23,21,0.28) 0%, rgba(30,23,21,0.52) 100%);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
.exp-play:hover { background: rgba(30,23,21,0.62); }
.exp-play-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(245,241,235,0.94);
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  padding-left: 5px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.exp-play:hover .exp-play-icon { transform: scale(1.06); background: var(--ivory); }
.exp-play-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
}
.exp-play.is-hidden { display: none; }

/* ========== Testimonial-Karussell (geteilt mit buchen.html) ========== */
.testimonial-carousel { position: relative; }
.testimonial-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 32px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 4px 8px;
  margin: -4px -4px 0;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 0 0 auto;
  width: min(78vw, 300px);
  scroll-snap-align: start;
}
@media (min-width: 700px) { .testimonial-block { width: min(38vw, 320px); } }
@media (min-width: 1100px) { .testimonial-block { width: 280px; } }
.testimonial-meta .t-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  color: var(--espresso);
  margin-bottom: 10px;
}
.testimonial-meta .t-role {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--stone);
  margin-bottom: 20px;
}
.testimonial-meta .t-context {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze);
  padding-top: 16px;
  border-top: 0.5px solid var(--bronze);
  display: inline-block;
}
.testimonial-nav {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ivory);
  border: 0.5px solid var(--bronze);
  color: var(--espresso);
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.testimonial-nav:hover { background: var(--bronze); color: var(--ivory); }
.testimonial-nav.prev { left: -12px; }
.testimonial-nav.next { right: -12px; }
.testimonial-nav svg { width: 18px; height: 18px; }
.testimonial-nav[disabled] { opacity: 0.3; pointer-events: none; }
@media (min-width: 1100px) { .testimonial-nav { display: flex; } }

.testimonial-swipe-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
  transition: opacity 0.3s ease;
}
.testimonial-swipe-hint svg {
  width: 15px;
  height: 15px;
  animation: testiSwipeNudge 1.6s ease-in-out infinite;
}
@keyframes testiSwipeNudge {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(6px); opacity: 1; }
}
@media (min-width: 1100px) { .testimonial-swipe-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .testimonial-swipe-hint svg { animation: none; } }

.testimonial-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.testimonial-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hairline);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.testimonial-dots button.active { background: var(--bronze); transform: scale(1.35); }
@media (min-width: 1100px) { .testimonial-dots { display: none; } }

/* ========== Teaser-Cards (Home → Über Malea / Leistungen / Referenzen) ========== */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 700px) { .teaser-grid { grid-template-columns: repeat(3, 1fr); } }
.teaser-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 32px;
  border: 1px solid var(--hairline);
  background: #fff;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.teaser-card:hover { border-color: var(--bronze); transform: translateY(-4px); }
.teaser-card .teaser-num {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bronze);
}
.teaser-card h3 { font-family: var(--font-serif); font-size: 24px; }
.teaser-card p { font-size: 14.5px; color: var(--stone); line-height: 1.6; }
.teaser-card .teaser-link {
  margin-top: auto;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--espresso);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.teaser-card .teaser-link .arrow { transition: transform 0.3s ease; }
.teaser-card:hover .teaser-link .arrow { transform: translateX(4px); }

/* ========== Dual CTA (Privat / B2B) ========== */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) { .dual-cta { grid-template-columns: 1fr 1fr; } }
.dual-cta-card {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dual-cta-card.is-private { background: var(--espresso); color: var(--ivory); }
.dual-cta-card.is-b2b { background: var(--sand); color: var(--espresso); }
.dual-cta-card h3 { font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 30px); }
.dual-cta-card p { font-size: 14.5px; line-height: 1.6; opacity: 0.85; max-width: 44ch; }

/* ========== Trust logos (shared with Referenzen) ========== */
.trust-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
  align-items: center;
  justify-items: center;
}
@media (min-width: 700px) { .trust-logos { grid-template-columns: repeat(5, 1fr); } }
.trust-logo { width: 100%; max-width: 160px; opacity: 0.78; transition: opacity 0.4s ease; }
.trust-logo:hover { opacity: 1; }
.trust-logo img { width: 100%; height: auto; display: block; }
