:root {
  --bg: #f4efe6;
  --surface: rgba(255, 251, 245, 0.78);
  --surface-strong: #fffaf3;
  --surface-dark: #173126;
  --text: #1b241d;
  --muted: #59665d;
  --accent: #2f6b4f;
  --accent-strong: #234f3b;
  --line: rgba(27, 36, 29, 0.12);
  --shadow: 0 28px 70px rgba(25, 40, 31, 0.12);
  --radius-lg: 10px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(111, 158, 111, 0.14), transparent 32%),
    radial-gradient(circle at right 20%, rgba(217, 165, 90, 0.18), transparent 24%),
    linear-gradient(180deg, #f7f1e7 0%, #f2ecdf 100%);
}

body.nav-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: 180ms ease;
  z-index: -1;
}

.site-header.is-scrolled::before {
  background: rgba(255, 248, 240, 0.76);
  border-color: rgba(27, 36, 29, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 34px rgba(23, 49, 38, 0.08);
}

.brand,
.site-nav a,
.button,
.feature-number,
.contact-link span {
  letter-spacing: 0.01em;
}

.brand {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.9);
}

.nav-toggle span {
  width: 1rem;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "copy-top visual"
    "copy-bottom visual";
  align-items: start;
  gap: 3rem;
  padding: 3rem 0 2rem;
}

.hero-copy {
  max-width: 42rem;
  margin-inline: auto;
}

.hero-copy-top {
  grid-area: copy-top;
}

.hero-copy-bottom {
  grid-area: copy-bottom;
  width: 100%;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero h1,
.section-heading h2,
.panel h2,
.showcase-copy h2,
.contact-copy h2 {
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.93;
}

.hero-text,
.panel p,
.feature-card p,
.showcase-copy p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 38rem;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 18px 32px rgba(47, 107, 79, 0.22);
}

.button-secondary {
  background: rgba(255, 250, 243, 0.76);
  border: 1px solid rgba(27, 36, 29, 0.12);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.hero-map-card {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid rgba(27, 36, 29, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-map-copy .eyebrow {
  margin-bottom: 0.35rem;
}

.hero-map-copy h2 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-map-embed {
  overflow: hidden;
  border-radius: 14px;
}

.hero-map-embed iframe {
  display: block;
  width: 100%;
  height: 13rem;
  border: 1px solid rgba(27, 36, 29, 0.18);
}

.hero-map-link {
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-facts div,
.feature-card,
.panel,
.contact-card {
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-facts div {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(27, 36, 29, 0.08);
  border-radius: var(--radius-sm);
}

.hero-facts dt {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-facts dd {
  margin: 0;
  font-weight: 700;
}

.hero-visual {
  grid-area: visual;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.hero-media {
  position: relative;
  min-height: 38rem;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card img,
.gallery-item img,
.showcase-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-main img {
  object-position: center 28%;
}

.hero-card-main {
  inset: 0 0 4.25rem 2rem;
}

.hero-card-accent {
  right: 2rem;
  bottom: 0;
  width: 42%;
  aspect-ratio: 0.9;
  border: 10px solid rgba(255, 250, 243, 0.9);
}

.intro-panel {
  padding: 3rem 0 0.5rem;
}

.panel {
  padding: 2rem;
  border: 1px solid rgba(27, 36, 29, 0.08);
  border-radius: var(--radius-lg);
}

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.panel h2,
.section-heading h2,
.showcase-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
}

.features,
.gallery-section,
.contact-section {
  padding: 5rem 0 0;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.5rem;
  border: 1px solid rgba(27, 36, 29, 0.08);
  border-radius: var(--radius-md);
}

.feature-number {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.feature-card h3 {
  margin: 0 0 0.7rem;
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: 5rem 0 0;
}

.check-list {
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.8rem;
  height: 0.8rem;
  background: linear-gradient(135deg, #d9a55a 0%, #b8723f 100%);
  border-radius: 50%;
}

.showcase-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.showcase-stack img {
  min-height: 20rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.showcase-stack img:last-child {
  transform: translateY(3rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 16rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item::after {
  content: "Vergrössern";
  position: absolute;
  inset: auto 1rem 1rem auto;
  padding: 0.45rem 0.7rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(12, 22, 17, 0.68);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: 180ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 33rem;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  padding: 2rem;
  border: 1px solid rgba(27, 36, 29, 0.08);
  border-radius: var(--radius-lg);
}

.contact-meta {
  display: grid;
  gap: 1rem;
}

.contact-link {
  display: block;
  padding: 1.25rem 1.35rem;
  color: #fff;
  background: var(--surface-dark);
  border-radius: var(--radius-md);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
}

.contact-link-static:hover,
.contact-link-static:focus-visible {
  transform: none;
}

.contact-link span {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.contact-link strong {
  font-size: 1.15rem;
}

.contact-link-call {
  position: relative;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow:
    0 22px 40px rgba(35, 79, 59, 0.3),
    0 0 0 4px rgba(47, 107, 79, 0.14);
}

.contact-link-call::after {
  content: "Jetzt anrufen";
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-link-call:hover,
.contact-link-call:focus-visible {
  box-shadow:
    0 26px 46px rgba(35, 79, 59, 0.35),
    0 0 0 5px rgba(47, 107, 79, 0.2);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 5rem 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox {
  width: min(92vw, 1100px);
  padding: 1rem;
  border: 0;
  border-radius: 1.2rem;
  background: rgba(12, 22, 17, 0.95);
}

.lightbox::backdrop {
  background: rgba(11, 17, 13, 0.78);
  backdrop-filter: blur(5px);
}

.lightbox-image {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero,
  .split-showcase,
  .contact-card,
  .panel-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-areas:
      "copy-top"
      "visual"
      "copy-bottom";
    padding-top: 1.5rem;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    gap: 1rem;
  }

  .hero-media {
    min-height: 32rem;
  }

  .hero-card-main {
    inset: 0 0 3rem 0;
  }

  .hero-card-accent {
    right: 1rem;
    width: 40%;
  }

  .showcase-stack img:last-child {
    transform: none;
  }

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

  .gallery-item-large {
    min-height: 22rem;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-top: 0.8rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    background: rgba(255, 248, 240, 0.95);
    border: 1px solid rgba(27, 36, 29, 0.08);
    border-radius: 1.4rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 180ms ease;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.7rem 0.5rem;
  }

  .hero-facts,
  .showcase-stack,
  .gallery-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    display: grid;
  }

  .hero-copy-bottom {
    display: flex;
    flex-direction: column;
  }

  .hero-facts {
    order: 1;
  }

  .hero-actions {
    order: 2;
    margin-top: 1.25rem;
  }

  .hero-map-card {
    max-width: none;
  }

  .hero-visual {
    gap: 0.85rem;
  }

  .hero-media {
    min-height: 24rem;
  }

  .hero-card-main {
    inset: 0 0 0 0;
  }

  .hero-card-accent {
    display: none;
  }

  .split-showcase .showcase-stack {
    display: none;
  }

  .gallery-item-large {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 16rem;
  }

  .site-footer {
    display: grid;
    justify-content: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
  }
}
