/* ==========================================================================
   VILLA KARO — STYLES (V6)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.7;
  overflow-x: hidden;
}

:root {
  --terracotta: #b8552e;
  --terracotta-dark: #8f3f1f;
  --terracotta-soft: #f4c9a8;
  --sand: #f5efe6;
  --sand-dark: #ebe1d1;
  --ink: #2a2622;
  --ink-soft: #5c534b;
  --deep-green: #2f4a3a;
  --white: #fffdf9;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); letter-spacing: 0.01em; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 8rem 0; }
.centered-block { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
@media (max-width: 768px) { .section { padding: 4.5rem 0; } .container { padding: 0 1.25rem; } }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--terracotta); font-weight: 500; margin-bottom: 1.5rem;
}
.section-title { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
.section-lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 640px; margin: 0 auto; }
.white-text { color: rgba(255,255,255,0.85) !important; }

.btn {
  display: inline-block; padding: 1rem 2.5rem;
  background: var(--terracotta); color: var(--white);
  font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  border: none; cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  font-family: inherit;
}
.btn:hover { background: var(--terracotta-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ink); }

/* -- NAV ----------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled { background: rgba(245, 239, 230, 0.95); backdrop-filter: blur(8px); padding: 0.8rem 2rem; box-shadow: 0 2px 20px rgba(0,0,0,0.05); }

.nav-logo-wrap { position: relative; z-index: 102; display: block; flex-shrink: 0; }
.nav-logo-img { height: 50px; width: auto; filter: brightness(0) invert(1); transition: filter 0.4s ease; }
.nav.scrolled .nav-logo-img { filter: none; }
.nav.menu-open .nav-logo-img { filter: brightness(0) invert(1); }

.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0 auto; }
.nav-links a {
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white); font-weight: 400;
  transition: color 0.4s ease;
}
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--terracotta); }

.lang-switcher { display: flex; gap: 0.25rem; align-items: center; z-index: 102; }
.lang-switcher button {
  background: transparent; border: none; cursor: pointer;
  padding: 0.4rem 0.6rem; font-family: inherit;
  font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s ease;
}
.nav.scrolled .lang-switcher button { color: var(--ink-soft); }
.lang-switcher button.active { color: var(--white); font-weight: 600; }
.nav.scrolled .lang-switcher button.active { color: var(--terracotta); }
.lang-switcher button:hover { color: var(--white); }
.nav.scrolled .lang-switcher button:hover { color: var(--terracotta); }

.burger { display: none; width: 32px; height: 32px; background: transparent; border: none; cursor: pointer; position: relative; z-index: 102; }
.burger span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: var(--white); transition: all 0.35s ease; }
.nav.scrolled .burger span { background: var(--ink); }
.nav.menu-open .burger span { background: var(--white); }
.burger span:nth-child(1) { top: 10px; }
.burger span:nth-child(2) { top: 15.5px; }
.burger span:nth-child(3) { top: 21px; }
.nav.menu-open .burger span:nth-child(1) { top: 15.5px; transform: rotate(45deg); }
.nav.menu-open .burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .burger span:nth-child(3) { top: 15.5px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav { padding: 0.9rem 1.25rem; }
  .nav.scrolled { padding: 0.7rem 1.25rem; }
  .nav-logo-img { height: 40px; }
  .lang-switcher { margin-left: auto; margin-right: 3rem; }
  .lang-switcher button { color: rgba(255,255,255,0.85); }
  .nav.scrolled .lang-switcher button { color: var(--ink-soft); }
  .nav-links.menu-open, .nav.menu-open .nav-links {
    display: flex;
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    background: var(--deep-green);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2.5rem; margin: 0; padding: 0;
    z-index: 101;
  }
  .nav.menu-open .nav-links a { color: var(--white) !important; font-size: 1.25rem; letter-spacing: 0.2em; }
}

/* -- FLOATING VILLA TOGGLE ---------------------------------------------- */
.villa-toggle {
  position: fixed;
  top: calc(1.2rem + 50px + 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  display: inline-flex;
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(42, 38, 34, 0.1);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: top 0.4s ease;
}
.nav.scrolled ~ .villa-toggle { top: calc(0.8rem + 40px + 0.8rem); }
.villa-toggle button {
  background: transparent; border: none; cursor: pointer;
  padding: 0.6rem 1.5rem;
  font-family: inherit;
  font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500;
  border-radius: 999px;
  transition: background 0.3s ease, color 0.3s ease;
}
.villa-toggle button.active { background: var(--terracotta); color: var(--white); }
.villa-toggle button:not(.active):hover { color: var(--ink); }
@media (max-width: 768px) {
  .villa-toggle { top: calc(0.9rem + 40px + 0.75rem); }
  .villa-toggle button { padding: 0.5rem 1rem; font-size: 0.72rem; letter-spacing: 0.12em; }
}

/* -- CROSSFADE (Villa Switch) ------------------------------------------- */
body.villa-switching #villa-detail,
body.villa-switching #daynight,
body.villa-switching #gallery,
body.villa-switching #rates,
body.villa-switching #heroBg,
body.villa-switching #heroTitle,
body.villa-switching #galleryTitle,
body.villa-switching #ratesTitle,
body.villa-switching #villaDetailEyebrow {
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* -- HERO --------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh; height: 100dvh; min-height: 600px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-align: center;
}
.hero-bg { position: absolute; inset: 0; background: var(--deep-green); z-index: 0; transition: opacity 0.5s ease; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: kenburns 20s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.6) 100%); pointer-events: none; }
@keyframes kenburns { 0% { transform: scale(1) translate(0, 0); } 100% { transform: scale(1.12) translate(-1%, -1%); } }

.hero-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 60vw);
  height: auto; z-index: 2;
  opacity: 0.18;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 3; padding: 0 1.25rem; opacity: 0; animation: fadeUp 1.4s ease 0.3s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { font-size: 0.75rem; letter-spacing: 0.4em; text-transform: uppercase; margin-bottom: 1.5rem; opacity: 0.9; }
.hero h1 { font-size: clamp(3rem, 9vw, 7rem); color: var(--white); font-weight: 300; letter-spacing: 0.03em; margin-bottom: 1rem; transition: opacity 0.4s ease; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.5rem); font-style: italic; opacity: 0.95; margin-bottom: 2.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: var(--white); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.7; z-index: 3; animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }
@media (max-width: 500px) { .scroll-hint { display: none; } .hero-watermark { width: 80vw; } }

.petals {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
  z-index: 2;
  perspective: 800px;   /* 3D-Kontext für rotateY */
}
.petal {
  position: absolute;
  top: -40px;
  width: 22px;
  height: 36px;
  /* Fallback: pinker Blob */
  background: radial-gradient(ellipse at 50% 30%, #e94572, #a5195b);
  border-radius: 50% 50% 60% 60% / 60% 60% 40% 40%;
  /* Einzelnes Bougainvillea-Blütenblatt als SVG */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 40'><defs><linearGradient id='g' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%23e04477'/><stop offset='1' stop-color='%23a01e5c'/></linearGradient></defs><path d='M12 2 C 3 10, 3 28, 12 38 C 21 28, 21 10, 12 2 Z' fill='url(%23g)'/><path d='M12 5 L 12 34' stroke='%23801845' stroke-width='0.5' opacity='0.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.8;
  animation: fall linear infinite;
}
.petal:nth-child(1) { left: 8%;  animation-duration: 14s; animation-delay: 0s;   }
.petal:nth-child(2) { left: 22%; animation-duration: 18s; animation-delay: -3s;  }
.petal:nth-child(3) { left: 40%; animation-duration: 16s; animation-delay: -7s;  }
.petal:nth-child(4) { left: 58%; animation-duration: 20s; animation-delay: -2s;  }
.petal:nth-child(5) { left: 72%; animation-duration: 15s; animation-delay: -10s; }
.petal:nth-child(6) { left: 88%; animation-duration: 17s; animation-delay: -5s;  }
@keyframes fall {
  0%   { transform: translate(0,       0)    rotateY(0deg)   rotate(-15deg); opacity: 0; }
  8%   { opacity: 0.8; }

  /* Kante zur Kamera → schneller Abstieg */
  15%  { transform: translate(25px,   20vh)  rotateY(90deg)  rotate(-5deg);  }

  /* Fläche flach zur Kamera → verlangsamt, driftet seitlich */
  30%  { transform: translate(30px,   25vh)  rotateY(180deg) rotate(10deg);  }

  /* Kippt zurück → beschleunigt */
  45%  { transform: translate(0,      48vh)  rotateY(270deg) rotate(-5deg);  }

  /* Wieder flach → langsam, driftet in andere Richtung */
  60%  { transform: translate(-30px,  55vh)  rotateY(360deg) rotate(15deg);  }

  /* Kante → schneller Endabstieg */
  75%  { transform: translate(-15px,  78vh)  rotateY(450deg) rotate(-10deg); }

  95%  { opacity: 0.8; }
  100% { transform: translate(20px,   110vh) rotateY(720deg) rotate(0deg);   opacity: 0; }
}

/* -- WILLKOMMEN --------------------------------------------------------- */
.willkommen { background: var(--sand); text-align: center; }
.willkommen-inner { max-width: 780px; margin: 0 auto; }
.willkommen-lead { font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.6rem); font-style: italic; color: var(--ink); line-height: 1.55; margin-top: 1rem; }

/* -- VILLA AUSWAHL ------------------------------------------------------ */
.villas { background: var(--white); }
.villa-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .villa-choice-grid { grid-template-columns: 1fr; } }
.villa-choice-card { display: block; background: var(--sand); overflow: hidden; transition: transform 0.5s ease, box-shadow 0.5s ease; color: inherit; cursor: pointer; }
.villa-choice-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.villa-choice-card img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform 1.5s ease; }
.villa-choice-card:hover img { transform: scale(1.06); }
.villa-choice-body { padding: 2rem; }
.villa-choice-eyebrow { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; margin-bottom: 0.75rem; }
.villa-choice-features { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.villa-choice-rate { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); margin-bottom: 0.25rem; }
.villa-choice-rate-sub { font-size: 0.8rem; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 1.5rem; text-transform: lowercase; }
.villa-choice-cta { font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--terracotta); font-weight: 500; }

/* -- VILLA DETAIL ------------------------------------------------------- */
.villa-detail { background: var(--sand-dark); }
.tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 700px) { .tour-grid { grid-template-columns: 1fr; } }
.tour-card { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--sand-dark); }
.tour-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-card img { transition: transform 1.5s ease; }
.tour-card:hover img { transform: scale(1.06); }
.tour-overlay { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.75rem; color: var(--white); background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%); transform: translateY(20%); transition: transform 0.5s ease; }
.tour-card:hover .tour-overlay { transform: translateY(0); }
.tour-overlay h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 0.4rem; }
.tour-overlay p { font-size: 0.9rem; opacity: 0.9; color: rgba(255,255,255,0.9); }

/* -- DAY & NIGHT -------------------------------------------------------- */
.daynight { background: var(--deep-green); color: var(--white); }
.daynight .section-title { color: var(--white); }
.daynight .eyebrow { color: var(--terracotta-soft); }
.daynight .section-lead { color: rgba(255,255,255,0.8); }
.dn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .dn-grid { grid-template-columns: 1fr; } }
.dn-card { position: relative; overflow: hidden; aspect-ratio: 3/2; cursor: pointer; background: #000; }
.dn-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dn-night { opacity: 0; transition: opacity 0.9s ease; }
.dn-card:hover .dn-night, .dn-card.active .dn-night { opacity: 1; }
.dn-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem; z-index: 2; color: var(--white); font-family: var(--serif); font-size: 1.4rem; font-style: italic; letter-spacing: 0.05em; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.6)); }
.dn-hint { position: absolute; top: 1rem; right: 1rem; z-index: 2; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.85); background: rgba(0,0,0,0.35); padding: 0.4rem 0.8rem; border-radius: 999px; backdrop-filter: blur(4px); transition: opacity 0.4s ease; }
.dn-card:hover .dn-hint, .dn-card.active .dn-hint { opacity: 0; }

/* -- EXPERIENCE --------------------------------------------------------- */
.experience { background: var(--sand); }
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; }
@media (max-width: 900px) { .exp-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 3rem; } }
@media (max-width: 500px) { .exp-grid { grid-template-columns: 1fr; } }
.exp-card { padding: 2.5rem 1.5rem; text-align: center; border: 1px solid rgba(42, 38, 34, 0.1); background: var(--white); transition: background 0.4s ease, transform 0.4s ease; }
.exp-card:hover { background: var(--sand-dark); transform: translateY(-4px); }
.exp-icon { font-size: 2rem; color: var(--terracotta); margin-bottom: 1.5rem; display: block; }
.exp-card h3 { font-size: 1.4rem; margin-bottom: 0.8rem; }
.exp-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* -- GALLERY ------------------------------------------------------------ */
.gallery { background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; margin-top: 2rem; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 500px) { .gallery-grid { grid-auto-rows: 150px; } }
.gallery-item { overflow: hidden; position: relative; cursor: pointer; background: var(--sand-dark); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; display: block; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(184, 85, 46, 0); transition: background 0.4s ease; }
.gallery-item:hover::after { background: rgba(184, 85, 46, 0.15); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (max-width: 500px) { .g-wide { grid-column: span 2; } .g-tall { grid-row: span 1; } }

/* -- LOCATION ----------------------------------------------------------- */
.location { background: var(--sand); text-align: center; }
.location-inner { max-width: 780px; margin: 0 auto 4rem; }
.location-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; }
@media (max-width: 700px) { .location-facts { grid-template-columns: 1fr; gap: 2rem; } }
.fact-number { font-family: var(--serif); font-size: 3rem; color: var(--terracotta); line-height: 1; margin-bottom: 0.5rem; }
.fact-label { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }

/* -- RATES -------------------------------------------------------------- */
.rates {
  background-image: url('../images/pool_relax_night_02.webp');
  background-size: cover; background-position: center; background-attachment: fixed;
  background-color: var(--deep-green); position: relative; color: var(--white); text-align: center;
}
@media (max-width: 900px) { .rates { background-attachment: scroll; } }
.rates::before { content: ''; position: absolute; inset: 0; background: rgba(42, 38, 34, 0.6); }
.rates .container { position: relative; z-index: 2; }
.rates .eyebrow { color: var(--terracotta-soft); }
.rates .section-title { color: var(--white); }
.rate-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(6px); padding: 3rem 2.5rem; border: 1px solid rgba(255,255,255,0.15); max-width: 480px; margin: 2rem auto; text-align: center; }
.rate-price { font-family: var(--serif); font-size: clamp(2.5rem, 7vw, 4rem); font-weight: 300; color: var(--white); margin-bottom: 0.5rem; }
.rate-price-sub { font-size: 0.85rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; margin-bottom: 2rem; }
.rate-features { list-style: none; padding: 0; margin: 1.5rem 0 0; text-align: left; }
.rate-features li { padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.95rem; opacity: 0.9; }
.rate-features li:last-child { border-bottom: none; }
.rates-details { max-width: 500px; margin: 2rem auto 2.5rem; font-style: italic; font-family: var(--serif); font-size: 1.05rem; opacity: 0.9; }

/* -- TESTIMONIALS ------------------------------------------------------- */
.testimonials { background: var(--sand-dark); text-align: center; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 4rem; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; gap: 2rem; margin-top: 3rem; } }
.testi-card blockquote { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--ink); line-height: 1.6; margin-bottom: 1.5rem; }
.testi-card blockquote::before { content: '"'; font-size: 3rem; color: var(--terracotta); line-height: 0; vertical-align: -0.4em; margin-right: 0.2em; }
.testi-author { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }

/* -- CONTACT ------------------------------------------------------------ */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 4rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; margin-top: 3rem; } }
.contact-form label { display: block; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; margin-top: 1.5rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 0.9rem 0; border: none; border-bottom: 1px solid #d5cbb8; background: transparent; font-family: inherit; font-size: 1rem; color: var(--ink); outline: none; transition: border-color 0.3s ease; }
.contact-form select { padding: 0.9rem 0.5rem 0.9rem 0; cursor: pointer; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--terracotta); }
.contact-form textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.contact-form button { margin-top: 2.5rem; width: 100%; }
.contact-info h3 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.contact-role { color: var(--terracotta); font-style: italic; font-family: var(--serif); font-size: 1rem; margin-bottom: 2rem; }
.contact-list { list-style: none; margin-top: 2rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #ebe1d1; }
.contact-list li:last-child { border-bottom: none; }
.contact-list .icon { width: 20px; height: 20px; color: var(--terracotta); flex-shrink: 0; }
.contact-list .label { font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 0.2rem; }
.contact-list .value { color: var(--ink); font-size: 0.95rem; word-break: break-word; }

/* -- FOOTER ------------------------------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 3rem 0 2rem; text-align: center; font-size: 0.85rem; letter-spacing: 0.05em; }
.footer-logo-img { height: 60px; width: auto; margin: 0 auto 1rem; opacity: 0.9; filter: brightness(0) invert(1); }
.footer-tag { font-family: var(--serif); font-style: italic; color: rgba(255,255,255,0.5); margin-bottom: 2rem; }
.footer-address { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 2rem; }
.footer-address strong { color: rgba(255,255,255,0.8); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.7rem; }
.footer-meta { font-size: 0.75rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.35); }

/* -- REVEAL ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* -- GROSSANSICHT (Galerie) --------------------------------------------- */
.gallery-item:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: #181512;   /* deckend: nichts soll mit dem Foto konkurrieren */
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.35s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }

.lb-stage {
  margin: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column;
  padding: 4.5rem 4.5rem 1.5rem;
}
.lb-stage img {
  flex: 1; min-height: 0; width: 100%;
  object-fit: contain;
  opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.loaded .lb-stage img { opacity: 1; }

.lb-bar {
  flex: none; padding-top: 1.25rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.lb-caption {
  font-family: var(--serif); font-style: italic; font-size: 1.1rem;
  color: rgba(255, 253, 249, 0.88); text-align: center;
}
.lb-counter {
  font-size: 0.7rem; letter-spacing: 0.28em;
  color: rgba(255, 253, 249, 0.45); font-variant-numeric: tabular-nums;
}

.lb-btn {
  position: absolute; background: none; border: 0; padding: 0.75rem;
  line-height: 0; cursor: pointer; color: var(--white); opacity: 0.65;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.lb-btn:hover { opacity: 1; color: var(--terracotta-soft); }
.lb-btn:focus-visible { opacity: 1; outline: 1px solid var(--terracotta-soft); outline-offset: 4px; }
.lb-btn svg {
  width: 30px; height: 30px; fill: none; stroke: currentColor;
  stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round;
}
.lb-close { top: 1.25rem; right: 1.5rem; }
.lb-prev  { left: 0.75rem;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 0.75rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 700px) {
  .lb-stage { padding: 3.75rem 0.75rem 1.25rem; }
  .lb-btn svg { width: 24px; height: 24px; }
  .lb-prev { left: 0; }
  .lb-next { right: 0; }
  .lb-caption { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lb-stage img, .lb-btn { transition: none; }
}
