/* ==========================================================================
   ODW Studio – Webdesign aus dem Odenwald
   Farbwelt: Buchenwald, Morgennebel, roter Buntsandstein, Herbstlaub
   ========================================================================== */

/* ---------- Schriften (lokal, DSGVO-freundlich) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --forest-950: #14221b;
  --forest-900: #1b2d24;
  --forest-800: #23392e;
  --forest-700: #2f4a3b;
  --moss-600: #4b6a4f;
  --moss-500: #6d8a5f;
  --moss-300: #a9bb98;
  --sage-200: #d3dccb;
  --mist-100: #e9ecdf;
  --cream: #f6f3ec;
  --paper: #fffdf8;
  --sand: #eee7d9;
  --sand-300: #ddd1bb;
  --stone-700: #873a24;
  --stone-600: #a2482f;   /* Buntsandstein */
  --stone-500: #c0613f;
  --beech-400: #d8a657;   /* Herbstbuche */

  --ink: #1c2a22;
  --ink-soft: #4b5950;
  --on-dark: #f6f3ec;
  --on-dark-soft: rgba(246, 243, 236, .72);
  --line: rgba(28, 42, 34, .13);
  --line-strong: rgba(28, 42, 34, .24);
  --line-light: rgba(246, 243, 236, .14);

  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 9vw, 8.5rem);
  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(20, 34, 27, .05), 0 4px 14px -6px rgba(20, 34, 27, .08);
  --shadow: 0 2px 6px rgba(20, 34, 27, .05), 0 24px 50px -18px rgba(20, 34, 27, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --hills-h: clamp(300px, 35vw, 680px);
  --footer-hills-h: max(90px, 15vw);
  --divider-h: max(80px, 10.625vw);

  interpolate-size: allow-keywords;
}

/* ---------- Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.menu-open body { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 460;
  line-height: 1.08;
  letter-spacing: -.018em;
  font-variation-settings: "SOFT" 60, "WONK" 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.45rem + 2.7vw, 3.65rem); }
h3 { font-size: 1.35rem; font-weight: 540; letter-spacing: -.01em; }
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--stone-600);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.section--forest h2 em { color: var(--beech-400); }

::selection { background: var(--stone-600); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--stone-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.section--forest :focus-visible,
.site-footer :focus-visible,
.mobile-menu :focus-visible { outline-color: var(--beech-400); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .7rem 1.1rem;
  background: var(--forest-900);
  color: var(--cream);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.eyebrow--light { color: var(--beech-400); }

.lead,
.section-head__lead {
  font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.55rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--stone-600);
  color: #fff9f2;
  box-shadow: 0 10px 24px -10px rgba(162, 72, 47, .65);
}
.btn--primary:hover { background: var(--stone-700); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(162, 72, 47, .75); }

.btn--ghost {
  background: rgba(255, 255, 255, .42);
  border-color: var(--line-strong);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, .7); }

.btn--outline { border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { background: var(--forest-900); border-color: var(--forest-900); color: var(--cream); }

.btn--light { background: var(--cream); color: var(--forest-900); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }

.btn--sm { padding: .68rem 1.2rem; font-size: .9rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, transform .45s var(--ease);
}
.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(246, 243, 236, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
  transition: color .3s;
}
.brand__mark { width: 40px; height: 40px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__word { display: flex; align-items: baseline; gap: .45rem; line-height: 1; }
.brand__word b {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 640;
  letter-spacing: .01em;
  font-variation-settings: "SOFT" 100;
}
.brand__word span {
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .72;
}
.brand--light, .menu-open .site-header .brand { color: var(--cream); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(1.1rem, 2vw, 2rem); list-style: none; }
.nav__list a {
  position: relative;
  display: block;
  padding: .45rem 0;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--stone-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .4s var(--ease), background-color .3s, top .4s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.menu-open .nav-toggle { border-color: var(--line-light); background: transparent; }
.menu-open .nav-toggle span { background: var(--cream); top: 21.5px; }
.menu-open .nav-toggle span:first-child { transform: rotate(45deg); }
.menu-open .nav-toggle span:last-child { transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Mobile-Menü ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 0;
  background: var(--forest-900);
  color: var(--cream);
  overflow-y: auto;
  opacity: 0;
  transition: opacity .45s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu__list { list-style: none; }
.mobile-menu__list li {
  border-bottom: 1px solid var(--line-light);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i) * 45ms + 80ms);
}
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu__list a {
  display: block;
  padding: .8rem 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 7vw, 2.4rem);
  font-weight: 420;
  text-decoration: none;
  font-variation-settings: "SOFT" 100;
}
.mobile-menu__list a:hover { color: var(--beech-400); }
.mobile-menu__footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
}
.mobile-menu__mail { color: var(--on-dark-soft); font-weight: 600; }
.mobile-menu__hills {
  width: calc(100% + 2 * var(--gutter));
  max-width: none;
  height: auto;
  min-height: 90px;
  margin: auto calc(-1 * var(--gutter)) 0;
  padding-top: 2rem;
  object-fit: cover;
  object-position: bottom;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(640px, 100svh);
  padding-top: calc(var(--header-h) + clamp(2rem, 6vh, 5rem));
  padding-bottom: calc(var(--hills-h) * .6);
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 78% 62%, rgba(241, 210, 160, .45), transparent 70%),
    linear-gradient(180deg, #f5f3eb 0%, #eef0e4 48%, #e1e8d8 100%);
}

.hero__content { position: relative; z-index: 3; }
.hero__title {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 1.5rem + 5.6vw, 6.4rem);
  font-weight: 420;
  line-height: 1;
  letter-spacing: -.03em;
  font-variation-settings: "SOFT" 80, "WONK" 0;
}
.hero__lead {
  max-width: 36rem;
  margin-bottom: 2.2rem;
  font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-soft);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  list-style: none;
  font-size: .92rem;
  font-weight: 650;
  color: var(--ink-soft);
}
.hero__facts li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__facts .icon { color: var(--moss-500); stroke-width: 2.2; }

.hero__badge {
  position: absolute;
  z-index: 3;
  top: calc(var(--header-h) + 9vh);
  right: max(var(--gutter), calc((100vw - var(--container)) / 2));
  width: 132px;
  display: none;
}
@media (min-width: 1081px) { .hero__badge { display: block; } }
.hero__badge svg { overflow: visible; }
.hero__badge text {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  fill: var(--ink);
}
.hero__badge use { color: var(--forest-900); }
.hero__badge-text { transform-origin: 60px 60px; }

/* Landschaft */
.hills {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  height: var(--hills-h);
  pointer-events: none;
}
.hills__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 100%;
  will-change: translate;
}
.hills__sun {
  position: absolute;
  top: 6%;
  right: 19%;
  width: clamp(80px, 8vw, 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #f6d9a6 0%, #eebd7c 58%, rgba(238, 189, 124, 0) 72%);
  box-shadow: 0 0 120px 70px rgba(244, 205, 150, .32);
}
@media (max-width: 700px) { .hills__sun { top: 24%; right: 14%; } }
.fog {
  position: absolute;
  left: -50%;
  width: 200%;
  height: 34%;
  background:
    radial-gradient(22% 50% at 18% 50%, rgba(247, 246, 239, .85), transparent 70%),
    radial-gradient(18% 42% at 46% 58%, rgba(247, 246, 239, .7), transparent 70%),
    radial-gradient(24% 50% at 72% 46%, rgba(247, 246, 239, .8), transparent 70%),
    radial-gradient(16% 40% at 94% 56%, rgba(247, 246, 239, .7), transparent 70%);
}
.fog--1 { bottom: 40%; }
.fog--2 { bottom: 22%; height: 28%; opacity: .75; }

.hero__bottom {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.4rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, .62);
}
.hero__bottom p { margin: 0; display: inline-flex; align-items: center; gap: .55rem; }
.hero__coords { white-space: nowrap; }
@media (max-width: 600px) {
  .hero__scroll { display: none; }
  .hero__bottom { letter-spacing: .1em; font-size: .7rem; }
}
.hero__scroll span {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgba(246, 243, 236, .25);
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--beech-400);
  transform: translateY(-100%);
}

/* ==========================================================================
   Sektionen allgemein
   ========================================================================== */
.section { position: relative; padding-block: var(--section-y); }
.section--forest { background: var(--forest-900); color: var(--on-dark); }
.section--forest .section-head__lead,
.section--forest .lead { color: var(--on-dark-soft); }
.section--sand { background: var(--sand); }

.section--topo { isolation: isolate; }
.section--topo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/topo.svg") center / cover no-repeat;
  -webkit-mask-image: radial-gradient(75% 70% at 70% 45%, #000 25%, transparent 80%);
  mask-image: radial-gradient(75% 70% at 70% 45%, #000 25%, transparent 80%);
  pointer-events: none;
}

.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 4.75rem); }
.section-head h2 { margin-bottom: 1.25rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  display: grid;
  max-width: none;
  gap: 1.5rem 4rem;
  align-items: end;
}
.section-head--split h2 { margin-bottom: 0; }
.section-head--split .section-head__lead { margin: 0; max-width: 32rem; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

/* ==========================================================================
   Leistungen
   ========================================================================== */
.services { padding-top: 0; }
.marquee {
  overflow: hidden;
  margin-bottom: clamp(4rem, 8vw, 7rem);
  padding-block: 1.3rem;
  border-bottom: 1px solid var(--line-light);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem);
  font-style: italic;
  font-weight: 380;
  color: var(--moss-300);
  font-variation-settings: "SOFT" 100, "WONK" 1;
  white-space: nowrap;
}
.marquee__track .icon { width: .7em; height: .7em; color: var(--beech-400); stroke-width: 2; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 1px;
  list-style: none;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  background: var(--line-light);
}
.service-card {
  --mx: 50%;
  --my: 0%;
  position: relative;
  isolation: isolate;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: var(--forest-900);
  transition: background-color .4s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(216, 166, 87, .12), transparent 45%);
  opacity: 0;
  transition: opacity .5s;
}
.service-card:hover { background-color: var(--forest-800); }
.service-card:hover::before { opacity: 1; }
.service-card__num {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .95rem;
  color: rgba(246, 243, 236, .32);
}
.service-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.6rem;
  border: 1px solid var(--line-light);
  border-radius: 16px;
  background: rgba(246, 243, 236, .05);
  color: var(--beech-400);
  transition: transform .5s var(--ease), background-color .4s;
}
.service-card__icon .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.service-card:hover .service-card__icon { transform: translateY(-3px) rotate(-4deg); background: rgba(216, 166, 87, .12); }
.service-card h3 { margin-bottom: .7rem; color: var(--cream); }
.service-card p { color: var(--on-dark-soft); font-size: 1rem; }

/* ==========================================================================
   Ansatz (Baum)
   ========================================================================== */
.approach__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
@media (min-width: 900px) {
  .approach__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .approach__visual { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.approach__visual {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  border-radius: 50% 50% var(--radius) var(--radius) / 36% 36% var(--radius) var(--radius);
  background: radial-gradient(70% 55% at 50% 38%, rgba(255, 253, 248, .95), rgba(233, 236, 223, .7) 70%, rgba(233, 236, 223, .2));
}
.tree { width: 100%; max-width: 420px; height: auto; overflow: visible; }

/* Mobil: Überschrift zuerst, dann Baum, dann die drei Ebenen */
@media (max-width: 899px) {
  .approach__grid { gap: 0; }
  .approach__content { display: contents; }
  .approach__content > .eyebrow { order: 1; justify-self: start; }
  .approach__content > h2 { order: 2; }
  .approach__content > .lead { order: 3; }
  .approach__visual { order: 4; width: 100%; max-width: 420px; justify-self: center; margin-bottom: 1.5rem; }
  .approach__visual .tree { max-width: 290px; }
  .layers { order: 5; }
}
.tree__part { transition: opacity .6s var(--ease), filter .6s var(--ease); }
.tree[data-active] .tree__part:not(.is-active) { filter: saturate(.15) brightness(1.4) contrast(.5); }
.tree__crown { transform-box: fill-box; transform-origin: 50% 100%; }
.tree__pin circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.tree__pin text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  text-anchor: middle;
  fill: var(--ink);
  transition: fill .4s;
}
.tree__part.is-active .tree__pin circle { fill: var(--stone-600); stroke: var(--paper); }
.tree__part.is-active .tree__pin text { fill: var(--paper); }

.approach__content .lead { margin: 1.5rem 0 2.5rem; max-width: 36rem; }
.layers { list-style: none; border-top: 1px solid var(--line); }
.layer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  padding: 1.9rem .5rem 1.9rem 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: opacity .5s var(--ease);
}
.layer:focus-visible { outline-offset: -2px; }
.layers.has-active .layer:not(.is-active) { opacity: .5; }
.layer__num {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  font-weight: 800;
  font-size: .95rem;
  transition: background-color .4s, color .4s, border-color .4s;
}
.layer.is-active .layer__num { background: var(--stone-600); border-color: var(--stone-600); color: var(--paper); }
.layer h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .8rem;
  margin: .35rem 0 .6rem;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.95rem);
}
.layer h3 span {
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.layer p { color: var(--ink-soft); }

/* ==========================================================================
   Projekte
   ========================================================================== */
.projects { padding-bottom: calc(var(--section-y) + var(--divider-h)); }
.project-grid {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.75rem);
}
@media (min-width: 820px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project:nth-child(even) { margin-top: 5rem; }
}
.project { display: flex; flex-direction: column; gap: 1.5rem; }
.project__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 5 / 4;
  padding: clamp(1.5rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem) 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--p-bg);
}
.project__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/topo.svg") center / 180% auto no-repeat;
  opacity: .5;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.mock {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 90%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: var(--m-bg);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .04);
  transform: translateY(7%);
  transition: transform .8s var(--ease);
}
.project:hover .mock { transform: translateY(2%); }
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  background: rgba(0, 0, 0, .045);
}
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(0, 0, 0, .14); }
.mock__bar span { width: 40%; height: 12px; margin: 0 auto; border-radius: 6px; background: rgba(0, 0, 0, .07); }
.mock__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
.mock__nav b { width: 54px; height: 11px; border-radius: 4px; background: var(--m-ink); }
.mock__nav span { display: flex; gap: 8px; }
.mock__nav i { width: 22px; height: 5px; border-radius: 3px; background: var(--m-ink); opacity: .3; }
.mock__nav i:last-child { width: 34px; height: 13px; border-radius: 7px; background: var(--m-accent); opacity: 1; }
.mock__hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 16px 16px;
}
.mock__copy b { display: block; height: 11px; margin-bottom: 7px; border-radius: 4px; background: var(--m-ink); width: 92%; }
.mock__copy b + b { width: 64%; margin-bottom: 11px; }
.mock__copy i { display: block; width: 86%; height: 5px; margin-top: 6px; border-radius: 3px; background: var(--m-ink); opacity: .22; }
.mock__copy i + i { width: 70%; }
.mock__copy em { display: block; width: 62px; height: 17px; margin-top: 13px; border-radius: 9px; background: var(--m-accent); }
.mock__img { aspect-ratio: 4 / 3.2; border-radius: 10px; background: var(--m-img); }
.mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
.mock__cards span { height: 64px; border-radius: 8px; background: var(--m-card); }

.project--gasthof {
  --p-bg: #6e4330;
  --m-bg: #fbf6ee; --m-ink: #3b2418; --m-accent: #b5562f; --m-card: #efe2d0;
  --m-img: linear-gradient(160deg, #5b311f, #a8683f 55%, #e2b07a);
}
.project--gasthof .mock__hero {
  grid-template-columns: 1fr;
  margin: 0 12px 14px;
  padding: 30px 18px;
  border-radius: 10px;
  background: var(--m-img);
  text-align: center;
}
.project--gasthof .mock__copy b,
.project--gasthof .mock__copy i { margin-inline: auto; background: #f8ecdc; }
.project--gasthof .mock__copy em { margin-inline: auto; background: #f8ecdc; }
.project--gasthof .mock__img { display: none; }

.project--schreiner {
  --p-bg: #cdb18c;
  --m-bg: #ffffff; --m-ink: #2a2724; --m-accent: #d07b2c; --m-card: #f2ece3;
  --m-img: repeating-linear-gradient(97deg, #c38c57 0 7px, #b47b46 7px 10px, #cc9864 10px 18px, #bd844f 18px 21px);
}

.project--hofladen {
  --p-bg: #4b6a4f;
  --m-bg: #fffdf5; --m-ink: #2f4a2a; --m-accent: #e0a526; --m-card: #f1ecd8;
  --m-img: radial-gradient(circle at 72% 32%, #f3c443 0 15%, transparent 15.5%), linear-gradient(180deg, #d6e6bd 0 55%, #8db265 55% 72%, #6f9a4c 72%);
}
.project--hofladen .mock__cards span { border-radius: 50%; height: auto; aspect-ratio: 1; max-width: 64px; justify-self: center; width: 100%; }

.project--praxis {
  --p-bg: #9fb9b4;
  --m-bg: #ffffff; --m-ink: #1f3f3d; --m-accent: #2f7d78; --m-card: #edf4f3;
  --m-img: radial-gradient(circle at 30% 40%, #e9f3f1 0 22%, transparent 23%), linear-gradient(140deg, #cfe3df, #86b2ab);
}
.project--praxis .mock__img { border-radius: 50% 50% 10px 10px; }

/* Echte Referenzen: Screenshot statt Skizze, Link zur Live-Seite */
.project--ref .project__visual { text-decoration: none; cursor: pointer; }
.project--ref .mock { display: flex; flex-direction: column; }
.project--ref .mock__bar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 40%;
  height: 16px;
  padding: 0 .8rem;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  color: rgba(0, 0, 0, .55);
  white-space: nowrap;
}
.mock__shot {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 0;
  max-width: none;
  object-fit: cover;
  object-position: top left;
}
.project__live {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .75rem .3rem .6rem;
  border-radius: 999px;
  background: rgba(255, 253, 248, .92);
  color: var(--forest-900);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .35);
}
.project__live::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3f9a5c;
  box-shadow: 0 0 0 3px rgba(63, 154, 92, .22);
}
.project__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.1rem;
  font-weight: 700;
  color: var(--stone-600);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color .3s;
}
.project__link:hover { border-color: currentColor; }
.project__link .icon { transform: rotate(-45deg); transition: transform .35s var(--ease); }
.project__link:hover .icon { transform: rotate(-45deg) translateX(3px); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.project--lstworld { --p-bg: #22323b; --m-bg: #0c1014; }
.project--lstworld .mock__bar { background: #131920; }
.project--lstworld .mock__bar i { background: rgba(255, 255, 255, .18); }
.project--lstworld .mock__bar span { background: rgba(255, 255, 255, .08); color: rgba(230, 235, 240, .7); }
.project--egolis { --p-bg: #b8893e; --m-bg: #f7f2e9; }
.project--egolis .mock__bar { background: #efe6d6; }

.project__meta {
  margin-bottom: .55rem;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.project__body h3 { margin-bottom: .6rem; font-size: clamp(1.5rem, 1.25rem + .8vw, 1.85rem); }
.project__body > p:not(.project__meta) { color: var(--ink-soft); max-width: 34rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; list-style: none; }
.tags li {
  padding: .3rem .8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 650;
  color: var(--ink-soft);
}

/* ==========================================================================
   Ablauf (Wanderweg / Höhenprofil)
   ========================================================================== */
.process { padding-top: calc(var(--section-y) * .75); }
.divider-top {
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 80px;
  object-fit: cover;
  object-position: bottom;
  pointer-events: none;
}

.trail__profile {
  width: 100%;
  height: auto;
  overflow: visible;
  margin-bottom: 1.25rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.trail__mask { stroke-dasharray: 1; stroke-dashoffset: 0; }
.trail__marker circle { fill: var(--forest-900); stroke: var(--beech-400); stroke-width: 2.5; }
.trail__marker text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  text-anchor: middle;
  fill: var(--cream);
}
.trail__marker--summit circle { fill: var(--beech-400); stroke: var(--beech-400); }
.trail__marker--summit text { fill: var(--forest-950); }

.trail__steps { display: grid; list-style: none; }
.step h3 { margin-bottom: .6rem; color: var(--cream); }
.step p:not(.step__meta) { color: var(--on-dark-soft); font-size: .98rem; }
.step__meta {
  margin-bottom: .5rem;
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--beech-400);
}
.step__marker {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 10px;
  border-top: 5px solid var(--stone-500);
  background: var(--cream);
  color: var(--forest-900);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 650;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
}

@media (min-width: 820px) {
  .trail__steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 0 clamp(.6rem, 1.5vw, 1.4rem); text-align: center; }
  .step__marker { display: none; }
}
@media (max-width: 819px) {
  .trail__profile { display: none; }
  .step { position: relative; padding: 0 0 2.6rem 4.4rem; }
  .step:last-child { padding-bottom: 0; }
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 3.4rem;
    bottom: .5rem;
    left: calc(1.45rem - 1px);
    border-left: 2px dashed rgba(216, 166, 87, .45);
  }
}

/* ==========================================================================
   Pakete
   ========================================================================== */
.price-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 980px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card--featured { --lift: -14px; }
}
@media (max-width: 979px) {
  .price-grid { max-width: 34rem; margin-inline: auto; }
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  translate: 0 var(--lift, 0px);
  transition: box-shadow .5s var(--ease), translate .5s var(--ease);
}
.price-card:hover { box-shadow: var(--shadow); translate: 0 calc(var(--lift, 0px) - 4px); }
.price-card__icon {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: var(--moss-600);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.price-card h3 { font-size: 1.95rem; }
.price-card__sub { margin: .3rem 0 0; color: var(--ink-soft); font-size: .95rem; }
.price-card__fit {
  margin: 0;
  padding-block: 1.1rem;
  border-block: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 480;
  line-height: 1.3;
  font-variation-settings: "SOFT" 100;
}
.price-card__fit span {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone-600);
}

.checklist { display: grid; gap: .75rem; list-style: none; font-size: .98rem; }
.checklist li { display: grid; grid-template-columns: 20px 1fr; gap: .7rem; line-height: 1.45; }
.checklist li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--check-bg, rgba(109, 138, 95, .16));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234b6a4f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.3 2.6 2.6L14 7.5'/%3E%3C/svg%3E");
  background-size: 100%;
}
.price-card .btn { margin-top: auto; width: 100%; }

.price-card--featured {
  border-color: var(--forest-900);
  background: var(--forest-900);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.price-card--featured .price-card__icon { stroke: var(--beech-400); }
.price-card--featured .price-card__sub { color: var(--on-dark-soft); }
.price-card--featured .price-card__fit { border-color: var(--line-light); }
.price-card--featured .price-card__fit span { color: var(--beech-400); }
.price-card--featured .checklist li::before {
  background-color: rgba(216, 166, 87, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23d8a657' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10.3 2.6 2.6L14 7.5'/%3E%3C/svg%3E");
}
.price-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: var(--beech-400);
  color: var(--forest-950);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.pricing__notes {
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
}
@media (min-width: 800px) { .pricing__notes { grid-template-columns: 1fr 1fr; } }
.pricing__note {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.3rem 1.6rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink-soft);
}
.pricing__note .icon { width: 40px; height: 40px; flex: none; color: var(--stone-600); stroke-width: 1.4; }
.pricing__note strong { color: var(--ink); }

/* ==========================================================================
   Über mich
   ========================================================================== */
.about__grid { display: grid; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.about__visual { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background:
    radial-gradient(70% 40% at 70% 52%, rgba(241, 210, 160, .55), transparent 70%),
    linear-gradient(180deg, #f5f3eb 0%, #eef0e4 50%, #dfe6d6 100%);
  box-shadow: var(--shadow);
}
.portrait img,
.portrait .portrait__photo {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 74%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 100%;
}
.portrait .portrait__photo { height: 100%; object-position: center; }
.portrait__sun {
  position: absolute;
  top: 30%;
  left: 58%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #f6d9a6 0%, #eebd7c 58%, rgba(238, 189, 124, 0) 72%);
  box-shadow: 0 0 80px 40px rgba(244, 205, 150, .3);
}
.about__card {
  position: absolute;
  right: clamp(-1.5rem, -3vw, .5rem);
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1.2rem .9rem .9rem;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: .85rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.about__card strong { display: block; color: var(--ink); font-size: .95rem; }
.about__card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--stone-600);
  color: var(--paper);
}
@media (max-width: 520px) { .about__card { right: .75rem; } }

.about__content h2 { margin-bottom: 1.6rem; }
.about__content > p:not(.eyebrow) { color: var(--ink-soft); max-width: 38rem; }
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem 2rem;
  margin-top: 2.4rem;
  list-style: none;
}
.values li { padding-top: 1rem; border-top: 1.5px solid var(--line-strong); }
.values strong {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 560;
}
.values span { font-size: .95rem; color: var(--ink-soft); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .faq__intro { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.faq__intro h2 { margin-bottom: 1.2rem; }
.faq__intro p { color: var(--ink-soft); margin-bottom: 1.8rem; max-width: 24rem; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + .5vw, 1.42rem);
  font-weight: 500;
  line-height: 1.3;
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--stone-600); }
.faq-item__icon {
  position: relative;
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.8px;
  margin: -.9px 0 0 -6px;
  border-radius: 2px;
  background: var(--ink);
  transition: background-color .3s;
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--stone-600); border-color: var(--stone-600); }
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after { background: var(--paper); }
.faq-item__body { padding: 0 3.5rem 1.6rem 0; color: var(--ink-soft); max-width: 44rem; }

@supports selector(::details-content) {
  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size .45s var(--ease), content-visibility .45s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { padding-bottom: calc(var(--section-y) + var(--footer-hills-h)); }
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (min-width: 980px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.contact__intro h2 { margin-bottom: 1.4rem; }
.contact__intro > p:not(.eyebrow) { color: var(--ink-soft); max-width: 30rem; }
.contact-list { display: grid; gap: 1.1rem; margin-top: 2.4rem; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 1rem; font-weight: 650; }
.contact-list small {
  display: block;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-list a { text-decoration: none; border-bottom: 1.5px solid var(--sand-300); transition: border-color .3s; }
.contact-list a:hover { border-color: var(--stone-600); }
.contact-list__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--paper);
  color: var(--stone-600);
}

/* Regionalkarte Buchen / Neckar-Odenwald-Kreis */
.region-map {
  position: relative;
  max-width: 30rem;
  margin: 2.5rem 0 0;
  padding: .75rem .75rem 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.region-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/topo.svg") 30% 40% / 260% auto no-repeat;
  opacity: .7;
  pointer-events: none;
}
.region-map svg { position: relative; width: 100%; height: auto; overflow: visible; }
.region-map__rings circle { fill: none; stroke: var(--stone-600); stroke-opacity: .35; stroke-width: 1.2; stroke-dasharray: 3 5; }
.region-map__ring-label,
.region-map__north text {
  font-family: var(--font-sans);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  fill: var(--stone-600);
}
.region-map__north path { fill: var(--forest-900); }
.region-map__north text { fill: var(--forest-900); }
.region-map__area {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  fill: var(--moss-600);
}
.region-map__town circle { fill: var(--forest-900); stroke: var(--paper); stroke-width: 2; }
.region-map__town text {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 650;
  fill: var(--ink-soft);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.region-map__home path { fill: var(--stone-600); }
.region-map__home text {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.region-map__home .region-map__sub { font-family: var(--font-sans); font-size: 10.5px; font-weight: 650; fill: var(--ink-soft); }
.region-map__pulse { fill: var(--stone-600); opacity: .25; transform-box: fill-box; transform-origin: center; }
.region-map figcaption {
  position: relative;
  padding: .5rem .5rem 0;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.region-map figcaption span {
  display: block;
  margin-top: .2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
}

.contact-form {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.contact-form__fields { display: grid; gap: 1.3rem; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field label,
.field legend {
  display: block;
  margin-bottom: .5rem;
  padding: 0;
  font-size: .88rem;
  font-weight: 750;
}
.optional { font-weight: 500; color: var(--ink-soft); }
.field-row { display: grid; gap: 1.3rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2a22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: #8b958d; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-strong); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--moss-500);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(109, 138, 95, .18);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: var(--stone-600); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.chip span {
  display: inline-block;
  padding: .55rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--forest-900); border-color: var(--forest-900); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--stone-600); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: .8rem;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--stone-600); cursor: pointer; }
.consent a { color: var(--ink); font-weight: 650; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-note { margin: 0; font-size: .85rem; color: var(--ink-soft); }
.contact-form button[disabled] { opacity: .7; cursor: progress; }
.contact-form.is-loading button .icon { animation: nudge 1s ease-in-out infinite; }

.form-status { margin: 0; padding: .95rem 1.15rem; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 600; }
.form-status.is-error { background: #f7e3db; color: var(--stone-700); }

.form-success { padding: clamp(1rem, 4vw, 2.5rem) 0; text-align: center; }
.form-success:focus { outline: none; }
.form-success__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.4rem;
  padding: 16px;
  border-radius: 50%;
  background: rgba(109, 138, 95, .14);
  fill: none;
  stroke: var(--moss-600);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-success h3 { margin-bottom: .8rem; font-size: 1.8rem; }
.form-success p { margin-inline: auto; max-width: 26rem; color: var(--ink-soft); }
.contact-form.is-sent .contact-form__fields { display: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--forest-950);
  color: var(--on-dark-soft);
  font-size: .96rem;
}
.site-footer__hills {
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 90px;
  object-fit: cover;
  object-position: bottom;
  pointer-events: none;
}
.site-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 560px) and (max-width: 899px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
.site-footer__brand p { max-width: 22rem; margin-top: 1.2rem; }
.site-footer__eco { display: flex; align-items: center; gap: .55rem; font-size: .88rem; color: var(--moss-300); }
.footer-title {
  margin-bottom: 1.1rem;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--beech-400);
}
.footer-links { display: grid; gap: .55rem; list-style: none; }
.footer-links a { text-decoration: none; transition: color .25s; }
.footer-links a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem 2rem;
  font-size: .86rem;
}
.site-footer__bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; text-decoration: none; }
.to-top .icon { transform: rotate(-90deg); transition: transform .35s var(--ease); }
.to-top:hover { color: var(--cream); }
.to-top:hover .icon { transform: rotate(-90deg) translateX(3px); }

/* ==========================================================================
   Unterseiten (Impressum, Datenschutz, 404, Danke)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(180deg, #f5f3eb 0%, var(--cream) 100%);
}
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4.4rem); font-weight: 430; }
.page-hero p { margin-top: 1rem; color: var(--ink-soft); max-width: 40rem; }
.page-back {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-left: auto;
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}
.page-back .icon { transform: rotate(180deg); transition: transform .35s var(--ease); }
.page-back:hover .icon { transform: rotate(180deg) translateX(3px); }

.legal { padding: 0 0 calc(var(--section-y) + var(--footer-hills-h)); }
.legal__body > * { max-width: 46rem; }
.legal__body h2 { margin: 2.6rem 0 1rem; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.legal__body h3 { margin: 1.8rem 0 .6rem; font-size: 1.2rem; }
.legal__body p,
.legal__body li { color: var(--ink-soft); }
.legal__body ul { padding-left: 1.2rem; margin-bottom: 1em; }
.legal__body li { margin-bottom: .35rem; }
.legal__body a { color: var(--stone-600); font-weight: 600; }
.legal__address { margin: 0 0 1em; font-style: normal; color: var(--ink); line-height: 1.7; }
.legal-note {
  margin-bottom: 2rem;
  padding: 1.1rem 1.3rem;
  border: 1.5px dashed var(--stone-600);
  border-radius: var(--radius-sm);
  background: #fbefe9;
  color: var(--stone-700) !important;
  font-size: .95rem;
}

.standalone {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 2rem) var(--gutter) calc(var(--footer-hills-h) + 4rem);
  text-align: center;
  background: linear-gradient(180deg, #f5f3eb 0%, #e8ecdf 100%);
}
.standalone__inner { max-width: 36rem; }
.standalone__art { width: min(240px, 60vw); height: auto; margin: 0 auto 2rem; }
.standalone h1 { margin-bottom: 1rem; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem); font-weight: 430; }
.standalone h1 em { font-style: italic; color: var(--stone-600); font-variation-settings: "SOFT" 100, "WONK" 1; }
.standalone p:not(.eyebrow) { margin-bottom: 2rem; color: var(--ink-soft); font-size: 1.1rem; }
.standalone .hero__actions { justify-content: center; }
.standalone + .site-footer { margin-top: 0; }

/* ==========================================================================
   Animationen
   ========================================================================== */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes hills-in {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(22%); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sway {
  from { transform: rotate(-1.1deg); }
  to { transform: rotate(1.1deg); }
}
@keyframes scroll-cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
@keyframes pulse {
  from { transform: scale(.5); opacity: .45; }
  to { transform: scale(3); opacity: 0; }
}
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__in { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * 110ms + 120ms); }
  .hills__layer, .hills__sun { animation: hills-in 1.6s var(--ease) backwards; }
  .hills__layer:nth-of-type(1) { animation-delay: .05s; }
  .hills__layer:nth-of-type(2) { animation-delay: .15s; }
  .hills__layer:nth-of-type(3) { animation-delay: .25s; }
  .hills__layer:nth-of-type(4) { animation-delay: .35s; }
  .hills__layer:nth-of-type(5) { animation-delay: .45s; }
  .fog--1 { animation: drift 70s ease-in-out infinite alternate; }
  .fog--2 { animation: drift 90s ease-in-out infinite alternate-reverse; }
  .hero__badge-text { animation: spin 28s linear infinite; }
  .hero__scroll span::after { animation: scroll-cue 2.4s var(--ease) infinite; }
  .marquee__track { animation: marquee 48s linear infinite; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  .tree__crown { animation: sway 6s ease-in-out infinite alternate; }
  .region-map__pulse { animation: pulse 2.8s ease-out infinite; }
}

/* Scroll-Reveal – nur wenn JavaScript aktiv ist */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
    transition-delay: calc(var(--i, 0) * 100ms);
  }
  .reveal.is-visible { opacity: 1; transform: none; }

  .trail__profile.reveal { transform: none; }
  .trail__mask { stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.45, .1, .2, 1) .2s; }
  .trail__profile.is-visible .trail__mask { stroke-dashoffset: 0; }
  .trail__marker { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(var(--i) * 550ms); }
  .trail__profile.is-visible .trail__marker { opacity: 1; }
}

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