:root {
  --bg: #edf3eb;
  --surface: #f8fbf6;
  --surface-soft: #e5ede0;
  --text: #293327;
  --muted: #546352;
  --line: #b8c6b1;
  --sage: #90a889;
  --sage-deep: #6d8c67;
  --shadow: 0 16px 36px rgba(44, 66, 40, 0.16);
  --shadow-soft: 0 8px 22px rgba(44, 66, 40, 0.1);
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1120px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 20%, rgba(144, 168, 137, 0.16), transparent 36%),
    radial-gradient(circle at 88% 72%, rgba(109, 140, 103, 0.14), transparent 42%),
    linear-gradient(180deg, var(--bg), #e7efe3 50%, #e2ebde);
}

h1,
h2,
h3 {
  margin: 0 0 0.65rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 1000;
  background: #fff;
  color: #000;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
}

.skip-link:focus-visible {
  top: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid rgba(109, 140, 103, 0.24);
  background: rgba(242, 247, 239, 0.9);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 68px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(28%) sepia(12%) saturate(820%) hue-rotate(77deg) brightness(96%) contrast(88%);
}

.nav-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__link {
  position: relative;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.2rem;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sage-deep), var(--sage));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav__link:hover::after,
.nav__link.active-link::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.66rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #f3f8f1;
  background: linear-gradient(90deg, #829f79, #6f8e67);
  box-shadow: var(--shadow-soft);
}

.btn-soft {
  border-color: var(--line);
  background: var(--surface);
}

.section {
  padding: 4.6rem 0;
}

.section-head {
  margin-bottom: 1.8rem;
}

.eyebrow {
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #637860;
}

.hero {
  min-height: max(82vh, 620px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: clip;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/img/behandlung.jpeg');
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(13, 21, 11, 0.62) 2%, rgba(28, 44, 24, 0.4) 48%, rgba(28, 44, 24, 0.26) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-copy {
  max-width: 700px;
  padding: clamp(1.2rem, 2vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(210, 226, 203, 0.45);
  background: rgba(242, 248, 240, 0.82);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.hero-subline {
  color: var(--muted);
}

.hero-img-placeholder {
  margin: 1rem auto 0;
  max-width: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #dbe8d5 0%, #c8d9c0 50%, #b8ccaf 100%);
}

.hero-img-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.about-visual {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, #dbe8d5 0%, #c8d9c0 50%, #b8ccaf 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-content {
  background: rgba(248, 251, 246, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
}

.feature-list {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  margin-bottom: 0.65rem;
  padding-left: 1.4rem;
  position: relative;
}

.feature-list li::before {
  content: '•';
  color: var(--sage-deep);
  position: absolute;
  left: 0;
}

.offers,
.process {
  background: rgba(241, 246, 238, 0.7);
}

.offer-card,
.price-card,
.process-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.offer-card {
  margin-bottom: 1rem;
}

.offer-card .offer-content {
  padding: 1.35rem;
}

.offer-card-alt {
  background: linear-gradient(135deg, rgba(144, 168, 137, 0.2), rgba(248, 251, 246, 0.95));
}

.offer-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.pricing-grid,
.process-grid,
.results-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

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

.price-card {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--radius);
}

.price {
  margin-bottom: 0.25rem;
  color: #486045;
  font-weight: 700;
  font-size: 1.45rem;
}

.duration {
  color: var(--muted);
  font-weight: 500;
}

.price-card.featured {
  border-color: rgba(109, 140, 103, 0.54);
  transform: translateY(-2px);
}

.price-card.compact {
  padding: 0.95rem 1rem;
}

.price-card.compact h3 {
  font-size: 1.04rem;
}

.price-card.compact .price {
  font-size: 1.2rem;
}

.price-card.compact .btn {
  margin-top: 0.35rem;
  width: 100%;
  min-height: 42px;
}

.badge {
  margin: 0;
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #415b3f;
  background: rgba(109, 140, 103, 0.18);
}

.legal-note {
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: rgba(109, 140, 103, 0.08);
  border: 1px solid rgba(109, 140, 103, 0.18);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.legal-note + .legal-note {
  margin-top: 0.4rem;
}

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

.process-step {
  padding: 1.2rem;
}

.step-number {
  margin: 0 0 0.65rem;
  color: var(--sage-deep);
  font-weight: 700;
}

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

.gallery-item {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item span {
  display: block;
  padding: 0.66rem 0.8rem;
  font-weight: 600;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.contact-info,
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.3rem;
}

.contact-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin-bottom: 0.45rem;
}

.map-shell {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 1rem;
}

#map-iframe {
  width: 100%;
  height: 260px;
  margin-top: 0.8rem;
  border: 0;
  border-radius: 10px;
  display: none;
}

#map-iframe.is-loaded {
  display: block;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid #a6b8a0;
  background: #fff;
  font: inherit;
}

.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.92rem;
  color: #476044;
}

.site-footer {
  padding: 2rem 0 6rem;
  border-top: 1px solid var(--line);
  background: #e8f0e4;
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(28%) sepia(12%) saturate(820%) hue-rotate(77deg) brightness(96%) contrast(88%);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(109, 140, 103, 0.4);
  background: rgba(248, 252, 246, 0.6);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
  background: var(--sage);
  border-color: var(--sage);
}

.footer-social a:hover svg {
  fill: #fff;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: #4c6449;
  transition: fill 0.2s ease;
}

.social-rail {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: grid;
  gap: 0.6rem;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgba(109, 140, 103, 0.45);
  background: rgba(248, 252, 246, 0.95);
  box-shadow: var(--shadow-soft);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: #4c6449;
}

.social-link::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 0.6rem);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: #3f583c;
  color: #fff;
  font-size: 0.76rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.social-link:hover::after,
.social-link:focus-visible::after {
  opacity: 1;
}

.social-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.45rem 0.6rem;
  border-top: 1px solid var(--line);
  background: rgba(238, 245, 235, 0.97);
  box-shadow: 0 -6px 20px rgba(30, 24, 18, 0.08);
  gap: 0.4rem;
}

.social-bottom a {
  min-height: 44px;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fcf6;
  font-size: 0.88rem;
  font-weight: 600;
}

.social-bottom a svg {
  width: 18px;
  height: 18px;
  fill: #4c6449;
  flex-shrink: 0;
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--sage-deep);
  border-radius: 999px;
  background: var(--sage-deep);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s ease;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.56s ease, transform 0.56s ease;
}

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

.offer-card,
.price-card {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.offer-card:hover,
.offer-card:focus-within,
.price-card:hover,
.price-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(49, 70, 45, 0.14);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 960px);
  max-height: 90vh;
  border-radius: 18px;
  background: #f6faf4;
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.lightbox-dialog img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: #dbe6d6;
}

#lightbox-caption {
  margin: 0.7rem 0 0;
  color: #384d35;
  font-weight: 500;
}

.lightbox-close {
  margin-left: auto;
  margin-bottom: 0.6rem;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.legal-page {
  padding-top: 2rem;
}

.legal-content {
  max-width: 740px;
}

.legal-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.4rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin-top: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--sage-deep);
}

.legal-content p {
  color: var(--muted);
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.legal-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  color: var(--muted);
}

.legal-content ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--sage-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 3px solid #6f8f68;
  outline-offset: 2px;
}

@media (min-width: 1200px) {
  .offer-card {
    width: min(86%, 960px);
  }

  .offer-card:nth-of-type(odd) {
    margin-right: auto;
  }

  .offer-card:nth-of-type(even) {
    margin-left: auto;
  }
}

@media (max-width: 992px) {
  .nav-cta,
  .social-rail {
    display: none;
  }

  .about-grid,
  .contact-grid,
  .process-grid,
  .results-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-item img {
    height: 280px;
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 4.3rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 0.8rem 1rem 1rem;
    border-bottom: 1px solid var(--line);
    background: rgba(242, 247, 239, 0.98);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: stretch;
    display: none;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav__link {
    display: block;
    padding: 0.6rem 0;
  }

  .hero {
    min-height: 84vh;
  }

  .social-bottom {
    display: flex;
  }

  .scroll-top {
    right: 0.8rem;
    bottom: 5.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
