/* =========================================================
   Lokale Schriftarten (self-hosted, kein Google-Fonts-Aufruf)
   ========================================================= */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/fraunces-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/work-sans-latin-700-normal.woff2') format('woff2');
}

/* =========================================================
   Design-Tokens
   ========================================================= */
:root {
  --sand:        #9CAF8A;
  --sand-deep:   #86A073;
  --sage:        #9CAF8A;
  --sage-deep:   #7E9670;
  --teal:        #4E0D11;
  --ochre:       #C98A3E;
  --ink:         #4E0D11;
  --white:       #FFFFFF;

  --font-display: "Fraunces", serif;
  --font-body:    "Work Sans", sans-serif;

  --radius: 18px;
  --wrap-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--teal);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 500; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

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

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 0.6em;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--ochre);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(201, 138, 62, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  border: 1.5px solid var(--teal);
  color: var(--teal);
}
.btn-ghost:hover { background: var(--teal); color: var(--white); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--teal);
  border-bottom: 1px solid #6B1319;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 52px;
  width: auto;
  border-radius: 10px;
}
.brand-logo-footer {
  height: 44px;
}

.main-nav #nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
  color: var(--white);
}
.main-nav #nav-list a { color: var(--white); }
.main-nav a:hover { color: var(--sand); }
.nav-phone {
  background: var(--sage);
  color: var(--teal) !important;
  padding: 0.55em 1.2em;
  border-radius: 999px;
  font-weight: 600;
}
.nav-phone:hover { background: var(--white); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--white);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-deep) 100%);
  padding: 96px 0 0;
  overflow: hidden;
  text-align: center;
}
.hero-inner { max-width: 760px; }
.hero-logo {
  max-width: 420px;
  width: 100%;
  height: auto;
  margin: 0 auto 2.5em;
  border-radius: 16px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 2em;
  flex-wrap: wrap;
}
.wave-divider {
  line-height: 0;
  margin-top: 64px;
}
.wave-divider svg { width: 100%; height: 80px; display: block; }
.wave-divider path { fill: var(--white); }

/* =========================================================
   Sections generic
   ========================================================= */
.section {
  background: var(--white);
  padding: 96px 0;
  text-align: center;
}
.section > .wrap > h2 { max-width: 640px; margin-left: auto; margin-right: auto; }

/* =========================================================
   Team
   ========================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.team-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.team-group-photo {
  max-width: 720px;
  margin: 56px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--sand-deep);
}
.team-group-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--sand-deep);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role {
  color: var(--sage-deep);
  font-weight: 500;
  margin: 0 0 0.4em;
}
.team-services {
  display: inline-block;
  text-align: left;
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
  font-size: 0.92rem;
  color: var(--ink);
}
.team-services li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.3em;
}
.team-services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}
.team-email {
  margin: 0;
  font-size: 0.92rem;
}
.team-email a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: var(--sand-deep);
  text-underline-offset: 3px;
}
.team-email a:hover { color: var(--sage-deep); }

/* =========================================================
   Kontakt
   ========================================================= */
/* =========================================================
   Slideshow (Einblicke)
   ========================================================= */
.slideshow {
  position: relative;
  max-width: 820px;
  margin: 56px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand-deep);
}
.slideshow-track {
  display: flex;
  transition: transform 0.4s ease;
}
.slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(78, 13, 17, 0.75);
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.slide-nav:hover { background: var(--teal); }
.slide-prev { left: 16px; }
.slide-next { right: 16px; }
.slide-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}
.slide-dot.is-active { background: var(--white); }

.kontakt { background: var(--sand); text-align: left; }
.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.kontakt-list {
  margin: 2em 0 0;
  display: grid;
  gap: 24px;
}
.kontakt-list dt {
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 2px;
}
.kontakt-list dd { margin: 0; }
.kontakt-list a:hover { color: var(--sage-deep); }
.map-placeholder {
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background 0.15s ease;
}
.map-placeholder:hover { background: #6B1319; }
.map-hint {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: normal;
  opacity: 0.85;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--teal);
  color: var(--sand);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav { display: flex; gap: 20px; }
.footer-nav a:hover { color: var(--ochre); }

/* =========================================================
   Rechtstexte (Impressum / Datenschutz)
   ========================================================= */
.legal { text-align: left; }
.legal-inner {
  max-width: 720px;
  padding-top: 32px;
  padding-bottom: 32px;
}
.legal h1 { margin-bottom: 0.6em; }
.legal h2 {
  font-size: 1.15rem;
  margin-top: 2em;
}
.legal p { color: var(--ink); }
.legal a { text-decoration: underline; text-decoration-color: var(--sand-deep); }
.legal a:hover { color: var(--sage-deep); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 860px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .kontakt-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .main-nav #nav-list {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--teal);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-bottom: 1px solid #6B1319;
  }
  .main-nav #nav-list.is-open { display: flex; }
  .team-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
