@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --green: #173f35;
  --green-dark: #102e27;
  --green-soft: #eaf0eb;
  --cream: #f8f6f0;
  --paper: #fffefa;
  --ink: #26332f;
  --muted: #67736e;
  --line: #dfe5df;
  --gold: #c69e62;
  --white: #fff;
  --shadow: 0 20px 60px rgba(22, 47, 39, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--green);
}

.skip-link:focus {
  top: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 254, 250, .97);
  border-bottom: 1px solid rgba(23, 63, 53, .10);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 166px;
  max-height: 62px;
  object-fit: contain;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  color: #34443e;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #a2753b;
}

.language-links {
  display: flex;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.language-links a {
  color: var(--muted);
  font-size: .78rem;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(700px, 78vh);
  min-height: min(700px, 78svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(12, 38, 31, .84) 0%,
    rgba(12, 38, 31, .64) 45%,
    rgba(12, 38, 31, .16) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 96px 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ead7b6;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #987542;
}

.hero h1,
h2,
h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 6.4vw, 5.5rem);
  letter-spacing: -.035em;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: 1.2;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}

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

.button-light {
  color: var(--green-dark);
  background: var(--white);
}

.button-light:hover {
  background: #f0e7d8;
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, .72);
  background: transparent;
}

.button-outline:hover {
  background: rgba(255, 255, 255, .12);
}

.button-green {
  color: var(--white);
  background: var(--green);
}

.button-green:hover {
  background: var(--green-dark);
}

.project-note {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .74);
  font-size: .84rem;
}

/* About and approach */
.intro {
  background: var(--cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(42px, 8vw, 100px);
}

.intro-copy h2,
.section-heading h2,
.contact-copy h2,
.location h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  letter-spacing: -.025em;
}

.intro-copy p:not(.eyebrow) {
  color: #58645e;
}

.intro-copy strong {
  color: var(--green);
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  color: var(--green);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.intro-image {
  position: relative;
  margin: 0;
  padding: 0 0 22px 22px;
}

.intro-image::before {
  position: absolute;
  z-index: 0;
  inset: 22px 22px 0 0;
  content: '';
  border: 1px solid var(--gold);
}

.intro-image picture {
  position: relative;
  z-index: 1;
  display: block;
}

.intro-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.intro-image figcaption {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  color: var(--muted);
  font-size: .78rem;
}

.approach {
  background: var(--paper);
}

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

.section-heading > p:last-child {
  margin-top: 18px;
  color: var(--muted);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.approach-card {
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}

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

.card-number {
  color: #a17843;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.approach-card h3 {
  margin: 22px 0 10px;
  color: var(--green);
  font-size: 1.5rem;
}

.approach-card p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.disclaimer {
  margin: 26px 0 0;
  padding: 14px 18px;
  color: #55635c;
  background: var(--green-soft);
  font-size: .88rem;
}

/* Location */
.location {
  padding: 0 0 100px;
  background: var(--paper);
}

.location-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(30px, 5vw, 58px);
  color: var(--white);
  background: var(--green);
}

.location-panel > div {
  max-width: 700px;
}

.location h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.location-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .82);
}

.location-panel .eyebrow {
  color: #e4c99d;
}

/* Contact and footer */
.contact {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 420px;
  color: var(--muted);
}

.contact-details {
  margin-top: 30px;
}

.contact-details p {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details span {
  color: var(--muted);
  font-size: .88rem;
}

.contact-details a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.whatsapp-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 22px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 42px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  margin: 0 0 6px;
  color: #34443e;
  font-size: .9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #cfd8d1;
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(198, 158, 98, .3);
  border-color: #a77c42;
}

.g-recaptcha {
  margin: 0 0 14px;
}

.form-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.5;
}

.contact-form .button {
  align-self: flex-start;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, .78);
  background: var(--green-dark);
  font-size: .86rem;
}

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

.footer-inner p {
  margin: 0;
}

.footer-brand {
  color: var(--white);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a,
.credit a {
  color: var(--white);
  text-underline-offset: 3px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: #16845b;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .2);
  font-size: 1.7rem;
  text-decoration: none;
}

.floating-whatsapp:hover {
  background: #116c49;
}

:focus-visible {
  outline: 3px solid #c69e62;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 74px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 21px;
    height: 2px;
    background: var(--green);
    transition: transform .2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 16px 24px rgba(20, 40, 32, .08);
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-nav li:not(.language-links) a {
    display: block;
    padding: 11px 0;
  }

  .language-links {
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero {
    min-height: 620px;
  }

  .intro-grid {
    gap: 42px;
  }

  .location-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 36px, 540px);
  }

  .section {
    padding: 72px 0;
  }

  .brand img {
    width: 145px;
  }

  .hero {
    min-height: 620px;
    min-height: 76svh;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(12, 38, 31, .82),
      rgba(12, 38, 31, .45)
    );
  }

  .hero-content {
    padding-block: 76px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-copy {
    max-width: 460px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
  }

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

  .intro-image {
    order: -1;
  }

  .intro-image img {
    min-height: 250px;
    max-height: 380px;
  }

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

  .approach-card {
    min-height: auto;
  }

  .location {
    padding-bottom: 72px;
  }

  .location-panel {
    padding: 30px 24px;
  }

  .contact-form {
    padding: 24px 18px;
  }

  .contact-form .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

/* English and German pages: accommodate longer words, headings and navigation. */
html[lang="en"],
html[lang="de"] {
  scroll-padding-top: 92px;
}

html[lang="en"] .hero h1,
html[lang="de"] .hero h1,
html[lang="en"] h2,
html[lang="de"] h2,
html[lang="en"] h3,
html[lang="de"] h3 {
  text-wrap: balance;
}

html[lang="en"] .hero-copy,
html[lang="de"] .hero-copy,
html[lang="en"] .intro-copy p,
html[lang="de"] .intro-copy p,
html[lang="en"] .section-heading > p,
html[lang="de"] .section-heading > p,
html[lang="en"] .approach-card p,
html[lang="de"] .approach-card p,
html[lang="en"] .location-panel p,
html[lang="de"] .location-panel p,
html[lang="en"] .contact-copy > p,
html[lang="de"] .contact-copy > p {
  hyphens: auto;
  overflow-wrap: break-word;
}

html[lang="de"] .approach-card h3 {
  font-size: clamp(1.25rem, 1.55vw, 1.42rem);
  hyphens: auto;
}

html[lang="en"] .approach-card h3 {
  font-size: clamp(1.3rem, 1.65vw, 1.5rem);
}

html[lang="en"] .contact-details a,
html[lang="de"] .contact-details a {
  overflow-wrap: anywhere;
}

html[lang="en"] .button,
html[lang="de"] .button {
  text-align: center;
  text-wrap: balance;
}

@media (min-width: 901px) and (max-width: 1120px) {
  html[lang="en"] .primary-nav ul,
  html[lang="de"] .primary-nav ul {
    gap: clamp(10px, 1.35vw, 16px);
  }

  html[lang="en"] .primary-nav a,
  html[lang="de"] .primary-nav a {
    font-size: .84rem;
  }

  html[lang="en"] .brand img,
  html[lang="de"] .brand img {
    width: 145px;
  }
}

@media (max-width: 680px) {
  html[lang="de"] .hero h1 {
    font-size: clamp(2.35rem, 10.8vw, 3.7rem);
  }

  html[lang="de"] .approach-card h3 {
    font-size: 1.3rem;
  }

  html[lang="en"] .approach-card h3 {
    font-size: 1.38rem;
  }

  html[lang="en"] .location-panel .button,
  html[lang="de"] .location-panel .button {
    width: 100%;
  }
}

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