:root {
  --color-primary: #0f820f;
  --color-primary-dark: #0a6110;
  --color-header: #15361a;
  --color-primary-light: #1da31d;
  --color-secondary: #f4f1de;
  --color-surface: #ffffff;
  --color-surface-alt: #f7f8f3;
  --color-text: #1f2933;
  --color-muted: #5f6b76;
  --color-border: #e6ebdf;
  --radius: 1rem;
  --radius-lg: 1.3rem;
  --shadow: 0 24px 60px rgba(15, 130, 15, 0.16);
  --shadow-soft: 0 12px 32px rgba(15, 130, 15, 0.08);
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background: linear-gradient(180deg, #fcfefb 0%, #f2f7ee 100%);
  letter-spacing: 0.002em;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.top-contact-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  background: var(--color-header);
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.top-contact-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  padding: 0.4rem 0;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255,255,255,0.94);
  font-weight: 600;
  white-space: nowrap;
  justify-self: center;
}

.top-contact-item .contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: unset;
  flex-shrink: 0;
}

.top-contact-item img {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
}

@media (max-width: 680px) {
  .top-contact-bar__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 0.7rem 0;
  }

  .top-contact-item,
  .top-contact-item:first-child,
  .top-contact-item:last-child {
    justify-self: start;
    font-size: 0.92rem;
  }
}

/* bonheur-royale-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bonheur Royale';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/bonheur-royale-v15-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.hero .hero-brand-bar p.handwriting {
    font-family: 'Bonheur Royale', cursive;
    font-size: 2.4rem;
    line-height: 1.5;
    margin-left: 23px;
    font-weight: bold;
    color: rgba(42, 41, 41, 0.92);
    opacity: 0.8;
    text-shadow: 2px 2px 20px #757474;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 130, 15, 0.08);
  box-shadow: 0 6px 24px rgba(15, 130, 15, 0.05);
}

.header-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.brand img {
  width: 68px;
  height: 68px;
}

.nav-toggle,
.nav-links {
  display: none;
}

.hero {
  padding: 7rem 0 6rem;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 28%), linear-gradient(135deg, #0a6110 0%, #0f820f 55%, #1e9d1e 100%);
  color: white;
}

.hero.hero-extended {
  padding-top: 4rem;
}

.hero-content {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1.2fr 0.8fr;
}

.hero-brand-bar {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.16);
  width: 66%;
  height: 184px;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.9s ease-out 0.2s forwards;
}

.hero-brand-bar img {
  width: 160px;
  height: 160px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeSlideUp 0.9s ease-out 0.35s forwards;
  margin-right: 20px;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand-eyebrow {
  margin: 0 0 0.35rem;
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .hero-brand-bar p {
  color: rgba(0, 0, 0, 0.92);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  color: white;
}

.hero p {
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  color: rgba(255,255,255,0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.26);
  color: white;
  background: rgba(255,255,255,0.12);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.24);
}

.btn-whatsapp:hover {
  background: #1ebc5a;
}

.hero-card {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

main ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

main li {
  margin-bottom: 0.75rem;
  padding-left: 2rem;
  position: relative;
  white-space: normal;
}

main li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.2rem;
  height: 1.2rem;
  background-image: url("../images/icons/blatt.png");
  background-size: contain;
  background-repeat: no-repeat;
}

section { 
    padding: 3.5rem 0 0 0; 
    scroll-margin-top: 5.5rem; 
}
section:last-of-type { 
    padding: 4.75rem 0; 
}
.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  color: var(--color-primary-dark);
}
.section-intro {
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.cards-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdf8 100%);
  border: 1px solid rgba(15, 130, 15, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease;
  min-height: 100%;
}

.card h3 { margin: 0 0 0.85rem; color: var(--color-primary-dark); }
.card ul { margin: 0; padding-left: 1.1rem; }
.card li {
  margin-bottom: 0.4rem;
  white-space: normal;
}

.gallery-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.gallery-stage {
  position: relative;
  width: min(100%, 760px);
  aspect-ratio: 4 / 3;
  overflow: visible;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #dde7d9;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-slide--active {
  left: 50%;
  width: 82%;
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: var(--shadow);
}

.gallery-slide--prev {
  left: -90px;
  width: 82%;
  height: 90%;
  transform: translateX(0) scale(0.92);
  opacity: 0.28;
  z-index: 2;
}

.gallery-slide--next {
  right: -75px;
  left: auto;
  width: 82%;
  height: 90%;
  transform: translateX(0) scale(0.92);
  opacity: 0.28;
  z-index: 2;
}

.gallery-nav {
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 130, 15, 0.95);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
  z-index: 4;
}

.gallery-nav:hover {
  transform: translateY(-2px);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.gallery-dot {
  width: 0.7rem;
  height: 0.7rem;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 130, 15, 0.28);
  cursor: pointer;
  padding: 0;
}

.gallery-dot.active {
  background: var(--color-primary);
  transform: scale(1.15);
}

.quote-band {
  background: linear-gradient(135deg, #0a6110 0%, #0f820f 50%, #1d951d 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.quote-band h2 { color: white; margin: 0 0 0.75rem; }

.site-footer {
  padding: 3.2rem 0 2.2rem;
  background: linear-gradient(135deg, #15361a 0%, #1b4a1f 100%);
  color: rgba(255,255,255,0.86);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
}

.site-footer h3 { margin: 0 0 0.8rem; color: white; }
.site-footer a { color: rgba(255,255,255,0.86); }
.site-footer a:hover { color: white; }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.contact-item img { color: rgba(255,255,255,0.9); }
.footer-meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 6, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
}

.lightbox.active { display: flex; }
.lightbox img {
  max-width: min(100%, 900px);
  max-height: min(90vh, 900px);
  border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: white;
  color: #111;
  border: 0;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav--prev {
  left: 1rem;
}

.lightbox-nav--next {
  right: 1rem;
}

.legal-page .hero {
  padding-bottom: 3rem;
}

.legal-content {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdf8 100%);
  border: 1px solid rgba(15, 130, 15, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
}

.legal-content h2 { color: var(--color-primary-dark); }

@media (min-width: 1024px) {
  .card {
    padding: 2rem;
  }
  .hero-card li,
  .card li {
    white-space: nowrap;
  }
}

@media (max-width: 860px) {
  .hero-content { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-brand-bar { width: 100%;  height: auto; }
  .hero-brand-bar img { height: 84px; }
}

@media (max-width: 680px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 4.4rem;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: rgba(255,255,255,0.97);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .gallery-stage { width: min(100%, 560px); }
  .hero { padding-top: 4rem; }
  .contact-list { flex-direction: column; gap: 0.65rem; }
  .hero .hero-brand-bar p.handwriting {font-size: 1.8rem;}
}

::-webkit-scrollbar {
    -webkit-appearance: none;
}