:root {
  --sand: #efe6d8;
  --sand2: #e6dac8;
  --lehm: #b5673f;
  --lehm-dark: #8f4f2f;
  --lehm-soft: #d98f66;
  --text: #3f2f26;
  --muted: #6b5c4f;
  --olive: #7c7a54;
  --sonne: #d9a441;
  --line: #dccdb4;
  --ink: #3a2a1e;

  --display: "Fraunces", Georgia, serif;
  --body: "Karla", Arial, sans-serif;

  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  background: var(--sand);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: inherit; }

/* Baum/Wurzel-Hintergrund */
.tree-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#tree-svg {
  display: block;
  width: 100%;
}

.tree-ink { opacity: 0.5; }
#tree-svg .ink-shape {
  fill: var(--ink);
  stroke: none;
}

/* Kleine Tusche-Akzente in ansonsten undurchsichtigen Abschnitten, damit
   sich der Pinsel-Look über die ganze Seite zieht */
.ink-accent {
  display: block;
  width: 130px;
  height: 34px;
  margin: 0 auto 18px;
  color: var(--ink);
  opacity: 0.4;
  filter: url(#tree-rough);
}

.cta .ink-accent,
footer .ink-accent { color: var(--sand2); opacity: 0.5; }

/* Alles, was Inhalt ist, liegt über dem Baum */
header, .hero, .quote, .section, .cta, footer {
  position: relative;
  z-index: 1;
}

/* Deko: Sonnenstrahlen-Kringel, wiederkehrendes Motiv aus dem Logo */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sonne);
  margin-bottom: 14px;
}

.rays-deco {
  width: 46px;
  height: 46px;
  color: var(--sonne);
  margin: 0 auto 18px;
  display: block;
}

.ring-deco {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--sonne);
  stroke-width: 1.5;
  stroke-dasharray: 4 7;
  opacity: 0.7;
}

.leaf-deco {
  position: absolute;
  bottom: -16px;
  left: -16px;
  width: 46px;
  height: 46px;
  fill: var(--olive);
  opacity: 0.55;
  transform: rotate(-12deg);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img { height: 44px; width: auto; }

.brand-text {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--lehm-dark);
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-family: var(--body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

nav.mainnav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.mainnav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

nav.mainnav a:hover { color: var(--lehm); }
nav.mainnav a.btn:hover { color: var(--sand); }

.hasdrop { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 4px 18px 4px 18px;
  padding: 8px 0;
  min-width: 260px;
  box-shadow: 0 8px 24px rgba(63,47,38,0.1);
}

.hasdrop:hover .dropdown,
.hasdrop:focus-within .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 0.9rem;
}

.dropdown a:hover { background: var(--sand2); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 70px 24px 90px;
  max-width: 1080px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--lehm-dark);
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  background: var(--lehm);
  color: var(--sand);
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease-bounce);
}

.btn:hover { transform: scale(1.05); }

.btn-line {
  background: transparent;
  border: 1px solid var(--lehm);
  color: var(--lehm-dark);
  margin-left: 12px;
}

/* Unterseiten (z. B. einzelne Angebote) */
.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.back-link:hover { color: var(--lehm-dark); }

.subhero {
  padding: 50px 24px 70px;
  max-width: 1080px;
  margin: 0 auto;
}

.subhero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.subhero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--lehm-dark);
}

.subhero .lead {
  font-size: 1.15rem;
  font-family: var(--display);
  font-style: italic;
  color: var(--lehm-dark);
}

.prose p {
  max-width: 680px;
  margin: 0 0 18px;
}

.benefits {
  list-style: none;
  margin: 30px 0;
  padding: 0;
  display: grid;
  gap: 13px;
  max-width: 680px;
}

.benefits li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.benefits li::before {
  content: '✺';
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--sonne);
}

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

.closing-line {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--lehm-dark);
  text-align: center;
  margin: 46px 0 0;
}

.btn-white {
  background: var(--sand);
  color: var(--lehm-dark);
}

.hero-photo {
  position: relative;
  border-radius: 58% 42% 63% 37% / 45% 55% 45% 55%;
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 6px solid var(--sand2);
}

.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Wellenlinie als Übergang/Lückenfüller, z. B. zwischen Lead-Zitat und Fließtext */
.wave-divider {
  display: block;
  width: 200px;
  height: 40px;
  margin: -10px auto 30px;
  color: var(--lehm);
  opacity: 0.55;
}

/* Quote */
.quote {
  text-align: center;
  padding: 60px 24px 64px;
  background: var(--sand2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote p {
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--lehm-dark);
  max-width: 640px;
  margin: 0 auto;
}

.quote span {
  display: block;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 14px;
}

/* Section */
.section {
  padding: 80px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--lehm-dark);
  margin-bottom: 16px;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  border-radius: 4% 40% 6% 40% / 4% 20% 6% 20%;
}

.motto {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--lehm-dark);
  background: var(--sand2);
  border-radius: 30px 8px 30px 8px;
  padding: 14px 24px;
  display: inline-block;
  margin: 4px 0 18px;
}

.motto span { color: var(--olive); }

/* Themen-Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.chips span {
  position: relative;
  background: var(--sand2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.chips span:hover {
  border-color: var(--lehm);
  color: var(--lehm-dark);
  transform: scale(1.04);
}

/* Angebote grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.card {
  background: var(--sand2);
  border: 1px solid var(--line);
  border-radius: 26px 26px 26px 6px;
  padding: 30px;
  transition: transform 0.3s var(--ease-bounce);
}

.card:nth-child(even) { border-radius: 26px 26px 6px 26px; }
.grid-2 .card { border-radius: 26px 26px 26px 6px; }

.card:hover { transform: translateY(-4px); }

.card h3 {
  font-family: var(--display);
  color: var(--lehm-dark);
  margin: 0 0 10px;
  font-size: 1.2rem;
}

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

/* Ablauf/Steps */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.route-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.route-line .route-path {
  fill: none;
  stroke: var(--lehm);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.55;
}

.step { position: relative; z-index: 1; text-align: center; padding: 0 8px; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lehm);
  color: var(--sand);
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--display);
  color: var(--lehm-dark);
  margin: 0 0 8px;
}

.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* CTA */
.cta {
  background: var(--lehm-dark);
  color: var(--sand);
  text-align: center;
  padding: 80px 24px;
  border-radius: 0;
}

.cta h2 {
  font-family: var(--display);
  font-size: 2rem;
  margin: 0 0 12px;
}

.cta p { color: var(--sand2); margin-bottom: 28px; }

/* Footer */
footer {
  background: var(--text);
  color: var(--sand);
  text-align: center;
  padding: 50px 24px;
}

footer .brand-text { color: var(--sand); }
footer .brand-text span { color: var(--sand2); }
footer p { color: var(--sand2); font-size: 0.85rem; }

/* Sanfte Einblend-Animationen */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-bounce);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  nav.mainnav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .about { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .subhero-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
