/* ==========================================================================
   Palmenhaus Eventlocation – Stylesheet
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Raveo"; src: url("../fonts/raveo-thin.woff2") format("woff2");       font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Raveo"; src: url("../fonts/raveo-extralight.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Raveo"; src: url("../fonts/raveo-light.woff2") format("woff2");      font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Raveo"; src: url("../fonts/raveo-regular.woff2") format("woff2");    font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Raveo"; src: url("../fonts/raveo-medium.woff2") format("woff2");     font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Raveo"; src: url("../fonts/raveo-semibold.woff2") format("woff2");   font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Raveo"; src: url("../fonts/raveo-bold.woff2") format("woff2");        font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Raveo"; src: url("../fonts/raveo-extrabold.woff2") format("woff2");  font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Raveo"; src: url("../fonts/raveo-black.woff2") format("woff2");       font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  --dark: #181e25;
  --base: #f8f7f5;        /* page background */
  --cream: #efede6;       /* alternate section */
  --card: #ffffff;
  --accent: #d6fd70;      /* lime */
  --accent-dark: #b8e04a; /* stars / accents on light */
  --muted: rgba(24, 30, 37, 0.62);
  --muted-light: rgba(255, 255, 255, 0.66);
  --line: rgba(24, 30, 37, 0.12);
  --line-light: rgba(255, 255, 255, 0.28);

  --container: 1280px;
  --pad: clamp(16px, 4vw, 40px);
  --radius: 8px;
  --radius-lg: 16px;

  --font: "Raveo", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--dark);
  background: var(--base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 9vw, 120px); background: var(--base); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--dark); color: #fff; }

.section-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 22px; }

.title { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
.title.lg { font-size: clamp(2.4rem, 6.5vw, 4.6rem); }
.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--muted); }
.section--dark .lead { color: var(--muted-light); }

/* ---------- Pill label ---------- */
.pill {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 22px;
}
.pill--light { border-color: var(--line-light); color: #fff; }
.section--dark .pill { border-color: var(--line-light); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--accent); color: var(--dark); }
.btn-primary:hover { background: #e4ff8f; }
.btn-outline { border-color: var(--line); color: var(--dark); }
.section--dark .btn-outline { border-color: var(--line-light); color: #fff; }
.btn-outline:hover { border-color: currentColor; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: padding .3s ease;
}
.topbar {
  background: var(--accent);
  color: var(--dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity .25s ease, height .25s ease;
}
.topbar-inner { display: flex; justify-content: center; gap: 18px; padding-block: 9px; }
.topbar-inner a { text-decoration: underline; text-underline-offset: 3px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  transition: background .3s ease, box-shadow .3s ease, margin .3s ease;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 30px; width: auto; }
.nav-logo .logo-dark { display: none; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  transition: color .2s ease, background .2s ease, opacity .2s ease;
}
.nav-links a:hover, .nav-links a.active { opacity: .7; }
.nav-right { display: flex; align-items: center; gap: 12px; }

/* Scrolled state -> floating white card, dark text */
.header.scrolled { padding-top: 12px; }
.header.scrolled .topbar { opacity: 0; height: 0; overflow: hidden; padding: 0; }
.header.scrolled .nav {
  background: var(--card);
  box-shadow: 0 10px 40px rgba(24, 30, 37, 0.10);
}
.header.scrolled .nav-logo .logo-white { display: none; }
.header.scrolled .nav-logo .logo-dark { display: block; }
.header.scrolled .nav-links a { color: var(--dark); }
.header.scrolled .nav-links a:hover, .header.scrolled .nav-links a.active { background: var(--base); opacity: 1; }
.header.scrolled .nav-toggle span { background: var(--dark); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: transform .3s ease, opacity .3s ease, background .3s ease; }

@media (max-width: 940px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 100px 28px 28px;
    background: var(--card);
    box-shadow: -20px 0 60px rgba(24,30,37,.15);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { width: 100%; color: var(--dark); font-size: 1.25rem; padding: 12px 14px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-toggle span { background: var(--dark); }
  body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
  padding-top: 140px;
  padding-bottom: clamp(32px, 5vw, 56px);
}
.hero--short { min-height: 78vh; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(24,30,37,.35) 0%, rgba(24,30,37,.05) 35%, rgba(24,30,37,.65) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-top: 6px;
  text-shadow: 0 2px 15px rgba(24, 30, 37, 0.35);
}
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.5rem); margin-top: 18px; color: rgba(255,255,255,.92); }
.hero-cta { margin-top: 30px; }

.hero-bottom {
  position: relative; z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: clamp(48px, 9vw, 110px);
}
.hero-features { display: grid; gap: 18px; }
.hero-feature { display: flex; align-items: center; gap: 14px; font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hf-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-light);
}
.hf-icon svg { width: 16px; height: 16px; }

/* Glassy hero quote card */
.quote-card--glass {
  width: min(360px, 100%);
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 22px;
}
.quote-card--glass .stars { color: var(--accent); }
.quote-card--glass blockquote { font-size: 1.25rem; font-weight: 500; margin: 14px 0 18px; }
.quote-card--glass .qc-author { color: #fff; }
.quote-card--glass .qc-role { color: rgba(255,255,255,.7); }

.stars { display: flex; gap: 4px; font-size: 16px; letter-spacing: 2px; }

/* ==========================================================================
   Split content blocks
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media img, .split-media video { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}
.prose h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.prose p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }
.section--dark .prose p { color: var(--muted-light); }
.prose strong { font-weight: 600; }

/* ==========================================================================
   Accordion (Leistungsspektrum) – lime icon squares
   ========================================================================== */
.accordion { display: grid; gap: 16px; }
.acc-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: box-shadow .2s ease;
}
.section--cream .acc-item { background: var(--base); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: none; border: 0; cursor: pointer;
  font-family: inherit; color: var(--dark);
  text-align: left;
}
.acc-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--accent);
  border-radius: var(--radius);
  color: var(--dark);
}
.acc-icon svg { width: 22px; height: 22px; }
.acc-title { font-size: clamp(1.15rem, 2.4vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.acc-body p { color: var(--muted); padding: 16px 0 6px 64px; max-width: 60ch; }
@media (max-width: 560px) { .acc-body p { padding-left: 0; } }

/* ==========================================================================
   Feature cards (Möglichkeiten / Catering sub) – gray icon squares
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
}
.section--dark .card { background: #222a33; }
.card-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--dark);
  margin-bottom: 22px;
}
.section--dark .card-icon { background: rgba(255,255,255,.08); color: #fff; }
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; }
.section--dark .card p { color: var(--muted-light); }

/* ==========================================================================
   White testimonial / quote card
   ========================================================================== */
.quote-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  max-width: 860px;
}
.section--dark .quote-card { background: #222a33; }
.quote-card .stars { color: var(--accent-dark); margin-bottom: 20px; }
.quote-card blockquote { font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 500; letter-spacing: -0.02em; }
.quote-card .qc-foot { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.quote-card .qc-foot img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote-card .qc-author { font-weight: 600; }
.quote-card .qc-role { color: var(--muted); font-size: .9rem; }
.section--dark .quote-card .qc-role { color: var(--muted-light); }

/* ==========================================================================
   Media (full width image / video)
   ========================================================================== */
.media { width: 100%; border-radius: var(--radius-lg); overflow: hidden; }
.media img, .media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Full-bleed: span the whole viewport width, even inside a container */
.full-bleed { position: relative; left: 50%; right: 50%; width: 100vw; margin-left: -50vw; margin-right: -50vw; border-radius: 0; }

/* Trailer: native controls reveal on hover */
.trailer-wrap { position: relative; max-width: 70%; margin-inline: auto; border: 15px solid #000; }
.trailer-video { cursor: pointer; }
.trailer-sound {
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(24, 30, 37, 0.4);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  z-index: 3;
  transition: opacity .25s ease, background .2s ease;
  animation: blink 0.6s infinite;
}
.trailer-sound:hover { background: rgba(24, 30, 37, 0.65); }
.trailer-sound.hidden { opacity: 0; pointer-events: none; animation: none; }
@media (max-width: 560px) { .trailer-sound { bottom: 40px; } }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* Centered icon-feature row (trailer tags) */
.icon-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(32px, 8vw, 90px); margin-top: 40px; }
.icon-feature { display: grid; justify-items: center; gap: 12px; text-align: center; }
.icon-feature .if-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--cream);
}
.icon-feature .if-icon svg { width: 24px; height: 24px; }
.icon-feature span { font-size: 1.1rem; font-weight: 500; }

/* ==========================================================================
   Specs / detail lists
   ========================================================================== */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
.spec { background: var(--card); padding: 26px; }
.spec dt { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 8px; }
.spec dd { font-size: 1.35rem; font-weight: 500; }

.detail-list { margin-top: 22px; display: grid; gap: 12px; }
.detail-list > div { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.detail-list dt { font-weight: 600; min-width: 180px; }
.detail-list dd { color: var(--muted); flex: 1; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius); }
.gallery .wide { grid-column: span 2; aspect-ratio: 2/1; }
@media (max-width: 600px) { .gallery .wide { grid-column: span 1; } }

/* ==========================================================================
   FAQ – white cards
   ========================================================================== */
.faq { display: grid; gap: 16px; max-width: 980px; margin-inline: auto; }
.faq-item { background: var(--card); border-radius: var(--radius); padding: 4px 24px; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  background: none; border: 0; cursor: pointer;
  font-family: inherit; color: var(--dark);
  font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 500; letter-spacing: -0.02em;
  text-align: left;
}
.faq-q .icon { flex-shrink: 0; transition: transform .3s ease; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { color: var(--muted); padding-bottom: 24px; max-width: 75ch; }

/* ==========================================================================
   CTA band (lime tinted)
   ========================================================================== */
.cta-band {
  text-align: center;
  background: radial-gradient(120% 130% at 50% 115%, #e3fab1 0%, #eef7d6 35%, var(--base) 68%);
  padding-block: clamp(64px, 10vw, 130px);
}
.cta-band .title { margin-bottom: 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card { background: var(--card); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.form-row { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .9rem; color: var(--muted); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--dark);
  background: var(--base); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-dark); }
.field textarea { min-height: 140px; resize: vertical; }
.form-success { display: none; color: #2e7d32; margin-top: 14px; font-weight: 600; }
form.sent .form-success { display: block; }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dt { color: var(--muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.contact-info dd { margin-bottom: 24px; line-height: 1.6; }
.contact-info a:hover { text-decoration: underline; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--card); border-radius: var(--radius-lg); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(48px, 7vw, 80px) clamp(28px, 5vw, 64px) 40px;
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand .footer-logo img { height: 30px; }
.footer-brand .pill { margin-top: 18px; margin-bottom: 0; }
.footer-col h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a:hover { text-decoration: underline; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; background: var(--base); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 440px; }
.newsletter input { flex: 1; font-family: inherit; background: none; border: 0; color: var(--dark); }
.newsletter input:focus { outline: none; }
.newsletter button { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--accent); cursor: pointer; display: grid; place-items: center; }
.newsletter-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: background .2s ease, border-color .2s ease; }
.socials a:hover { background: var(--accent); border-color: var(--accent); }
.socials img { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 22px clamp(28px, 5vw, 64px);
  font-size: .85rem; color: var(--muted);
}
.footer-bottom a { text-decoration: underline; }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   KI Suche - Chat Interface
   ========================================================================== */
.chat-section {
  padding-block: clamp(40px, 6vw, 80px);
}
.chat-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 900px) {
  .chat-grid {
    grid-template-columns: 1fr;
  }
}

.chat-info-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(24, 30, 37, 0.04);
}
.chat-info-card h3 {
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.chat-info-card p {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.chat-wrapper {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(24, 30, 37, 0.08);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header-bar {
  background: var(--dark);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.chat-status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  box-shadow: 0 0 8px #4caf50;
}
.chat-clear-btn {
  background: none;
  border: 0;
  color: var(--muted-light);
  font-family: inherit;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.chat-clear-btn:hover {
  color: #fff;
}

.chat-messages {
  height: 480px;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fafaf9;
}
.chat-messages::-webkit-scrollbar {
  width: 6px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(24, 30, 37, 0.15);
  border-radius: 99px;
}

.message {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  animation: messageFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes messageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.message--user {
  align-self: flex-end;
  background: var(--accent);
  color: var(--dark);
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px rgba(214, 253, 112, 0.2);
}
.message--ai {
  align-self: flex-start;
  background: #fff;
  color: var(--dark);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(24, 30, 37, 0.02);
}

.message--ai p {
  margin-bottom: 12px;
}
.message--ai p:last-child {
  margin-bottom: 0;
}
.message--ai ul, .message--ai ol {
  margin-left: 20px;
  margin-block: 10px;
}
.message--ai li {
  margin-bottom: 6px;
}
.message--ai li:last-child {
  margin-bottom: 0;
}

.chat-input-bar {
  display: flex;
  gap: 10px;
  padding: 18px 24px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.chat-input-field {
  flex: 1;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--base);
  color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-input-field:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(184, 224, 74, 0.15);
}
.chat-submit-btn {
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--dark);
  transition: background 0.2s, transform 0.2s;
}
.chat-submit-btn:hover {
  background: #e4ff8f;
  transform: scale(1.05);
}
.chat-submit-btn:active {
  transform: scale(0.95);
}
.chat-submit-btn svg {
  width: 18px;
  height: 18px;
}

/* Suggestion chips list */
.chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.chip {
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.chip:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* Typing Indicator Animation */
.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 20px;
  padding-inline: 4px;
}
.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--muted);
  border-radius: 50%;
  animation: typingDotBounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0s; }
@keyframes typingDotBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* API-Key Setup Section overlay styled nicely if needed */
.api-key-banner {
  background: #fff9e6;
  border: 1px solid #ffe0b2;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.api-key-banner p {
  font-size: 0.85rem;
  color: #b77c1c;
  line-height: 1.45;
}
.api-key-banner p strong {
  color: #e65100;
}
.api-key-input-row {
  display: flex;
  gap: 10px;
}
.api-key-input {
  flex: 1;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.api-key-input:focus {
  outline: none;
  border-color: var(--accent-dark);
}
.api-key-save-btn {
  background: var(--dark);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.api-key-save-btn:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Raumplan Medien & Sequenz-Player (Location Page)
   ========================================================================== */
.raumplan-section {
  padding-block: clamp(40px, 6vw, 80px);
}

.raumplan-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 72px);
  margin-bottom: clamp(60px, 8vw, 100px);
}

.raumplan-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 40px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.raumplan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.raumplan-card.reverse {
  grid-template-columns: 1fr 1fr;
}
.raumplan-card.reverse .raumplan-media {
  order: 2;
}

.raumplan-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.raumplan-media img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

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

.raumplan-card > * {
  min-width: 0;
}

.raumplan-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.raumplan-content h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
}

.raumplan-content p {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  line-height: 1.6;
}

/* Video Sequence Player */
.sequence-player-wrap {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 40px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
  margin-top: 32px;
}

.sequence-player-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 640px;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sequence-player-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sequence-sound-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(24, 30, 37, 0.85);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sequence-sound-toggle:hover {
  background: rgba(24, 30, 37, 1);
  transform: scale(1.03);
}

.sequence-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.sequence-player-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sequence-counter {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 600;
}

.sequence-title {
  font-size: 1.2rem;
  font-weight: 500;
}

.sequence-nav-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sequence-tags-row {
  grid-column: 1 / -1;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tags-row-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
}

.sequence-playlist-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seq-pill {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--muted-light);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.seq-pill:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.seq-pill.active {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  font-weight: 600;
}

.raumplan-card .seq-pill {
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--dark);
}

.raumplan-card .seq-pill:hover {
  background: var(--dark);
  color: #fff;
}

.raumplan-card .seq-pill.active {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent-dark);
  font-weight: 600;
}

.raumplan-card .sequence-counter {
  color: var(--accent-dark);
}

@media (max-width: 900px) {
  .raumplan-card, .raumplan-card.reverse {
    grid-template-columns: 1fr;
  }
  .raumplan-card.reverse .raumplan-media {
    order: 0;
  }
  .sequence-player-controls {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Lightbox Modal System */
.raumplan-media[data-lightbox] {
  cursor: pointer;
}

/* Subtle Overlay Badges for Photos & Videos */
.lightbox-hint-badge,
.sequence-fullscreen-overlay {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 20, 25, 0.45);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0.75;
  pointer-events: auto;
  transition: opacity 0.25s ease, background 0.25s ease, transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.raumplan-media:hover .lightbox-hint-badge,
.sequence-player-media:hover .sequence-fullscreen-overlay,
.lightbox-hint-badge:hover,
.sequence-fullscreen-overlay:hover {
  opacity: 1;
  background: rgba(15, 20, 25, 0.85);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.03);
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 20, 25, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 96vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 72px rgba(0,0,0,0.6);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-modal.open .lightbox-content img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: var(--accent);
  color: var(--dark);
  border-color: var(--accent);
  transform: scale(1.1);
}

.lightbox-caption {
  margin-top: 14px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

/* ==========================================================================
   AI Phone Assistant Component
   ========================================================================== */
.ai-phone-card {
  background: var(--card);
  color: var(--dark);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.ai-phone-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(162, 197, 67, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.ai-phone-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-phone-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  color: var(--dark);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-phone-pulse {
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
  animation: phonePulse 2s infinite ease-in-out;
}

@keyframes phonePulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(76, 175, 80, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.ai-phone-card h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  color: var(--dark);
  line-height: 1.2;
}

.ai-phone-card p {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.6;
}

.ai-phone-number-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 22px;
  flex-wrap: wrap;
}

.ai-phone-num-group {
  display: flex;
  flex-direction: column;
}

.ai-phone-number {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ai-phone-number:hover {
  color: var(--dark);
}

.ai-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--dark);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ai-phone-btn:hover {
  background: var(--accent);
  color: var(--dark);
  transform: translateY(-2px);
}




