/* ---------- Design tokens ---------- */
:root {
  --color-bg: #FAF6EE;
  --color-bg-alt: #F1EAD9;
  --color-surface: #FFFFFF;
  --color-green: #B9D2AE;
  --color-green-dark: #7FA377;
  --color-green-darker: #5E8657;
  --color-green-light: #E3EEDC;
  --color-text: #3B3A32;
  --color-text-muted: #6B6A5E;
  --color-border: #E3DAC9;

  --font-heading: 'Quicksand', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container-width: 1120px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-badge: 4px;

  --shadow-soft: 0 12px 32px rgba(94, 134, 87, 0.10);
}

/* ---------- Reset ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-green-dark);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--color-green-dark);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-green-darker);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-green-dark);
  color: var(--color-green-darker);
}

.btn-secondary:hover {
  background: var(--color-green-light);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 42px;
  width: auto;
}

.logo-footer .logo-img {
  height: 32px;
}

.main-nav ul {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-green-dark);
  transition: width 0.25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-green-darker);
  margin-bottom: 14px;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.section-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 120px;
}

.hero-blob {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 480px;
  height: 480px;
  background: var(--color-green-light);
  transform: rotate(18deg);
  opacity: 0.6;
  z-index: 0;
}

.hero-blob::after {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1.5px solid var(--color-green-dark);
  opacity: 0.35;
  transform: rotate(12deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3.4;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-shape {
  width: 280px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 18px;
  max-width: 560px;
}

/* ---------- Hinweise (Accordion) ---------- */
.info-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.info-accordion {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 28px;
}

.info-accordion summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.info-accordion summary::-webkit-details-marker {
  display: none;
}

.info-accordion summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-green-darker);
  transition: transform 0.25s ease;
}

.info-accordion[open] summary::after {
  transform: rotate(45deg);
}

.info-content {
  padding: 4px 0 28px;
  border-top: 1px solid var(--color-border);
}

.info-content h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-green-darker);
  margin: 24px 0 10px;
}

.info-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 14px;
}

.info-content p:first-child {
  margin-top: 20px;
}

.info-content ul {
  margin-top: 14px;
  padding-left: 4px;
}

.info-content li {
  position: relative;
  padding-left: 22px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: 8px;
}

.info-content li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-green-dark);
}

.info-note {
  font-style: italic;
  font-size: 0.88rem;
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green-light);
  border-radius: var(--radius-badge);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Gallery carousel ---------- */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 6px 20px;
  margin: 0 -6px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-green-dark) transparent;
}

.carousel-track:focus-visible {
  outline: 2px solid var(--color-green-dark);
  outline-offset: 4px;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
  background: var(--color-border);
  border-radius: 999px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--color-green-dark);
  border-radius: 999px;
}

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: min(360px, 78vw);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.carousel-item:hover img {
  transform: scale(1.06);
}

.carousel-btn {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-green-darker);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.carousel-btn:hover {
  background: var(--color-green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-grid-single {
  grid-template-columns: 1fr;
  max-width: 360px;
  margin: 0 auto;
}

.contact-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green-light);
  border-radius: var(--radius-badge);
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--color-text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    aspect-ratio: 16 / 9;
    order: -1;
  }
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .about-shape {
    margin: 0 auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .carousel-btn {
    display: none;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    max-height: 380px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }

  .main-nav li {
    border-bottom: 1px solid var(--color-border);
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 100px 0 80px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .info-accordion {
    padding: 4px 18px;
  }
}
