/* ==========================================================
   Harmonyteam – Stylesheet
   Farben (Markenfarben + abgeleitete Töne)
   ========================================================== */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben */
  --teal: #4f7e88;        /* Hauptfarbe */
  --mist: #98ccd7;        /* Sekundärfarbe, helle Flächen */
  --sand: #cc9868;        /* Akzent: Spur, Linien */
  --bronze: #9c6431;      /* Highlight: Buttons, Links */

  /* Abgeleitet (für Lesbarkeit) */
  --teal-deep: #2f5159;   /* Footer, dunkle Flächen */
  --teal-text: #35585f;   /* Überschriften, Links auf Hell */
  --ink: #1f3235;         /* Fließtext */
  --mist-pale: #e8f3f6;
  --sand-pale: #f6ece1;
  --paper: #fbfdfd;
  --bronze-dark: #7a4c1f;

  --wrap: 1120px;
  --prose: 62ch;
  --radius: 14px;
  --radius-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--bronze); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--bronze-dark); }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--teal-text);
  font-weight: 600;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); line-height: 1.07; letter-spacing: -.012em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.45rem); line-height: 1.15; letter-spacing: -.008em; }
h3 { font-size: 1.3rem; line-height: 1.25; }
p { margin: 0 0 1.1em; }
.prose { max-width: var(--prose); }
.lead { font-size: 1.2rem; line-height: 1.6; max-width: 54ch; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(2.5rem, 8vw, 3.5rem) 0; position: relative; }
.section--mist { background: var(--mist-pale); }
.section--sand { background: var(--sand-pale); }
.section--deep { background: var(--teal); color: #fff; }
.section--deep h2, .section--deep h3 { color: #fff; }

.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Platzhalter-Markierung: überall gelb, damit nichts vergessen wird */
.platzhalter {
  background: #fff1a6;
  color: #3b3200;
  padding: 0 .3em;
  border-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 253, 253, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #d9e6e9;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.logo img { height: 54px; width: auto; }
.nav ul { list-style: none; display: flex; gap: .4rem; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: .5rem .85rem; text-decoration: none; color: var(--teal-text); font-weight: 500; border-radius: 999px; }
.nav a:hover { background: var(--mist-pale); color: var(--teal-text); }
.nav a[aria-current="page"] { background: var(--mist-pale); font-weight: 700; }
.nav .nav-cta a { background: var(--bronze); color: #fff; font-weight: 600; padding-inline: 1.1rem; }
.nav .nav-cta a:hover { background: var(--bronze-dark); color: #fff; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--teal); color: var(--teal-text); border-radius: 999px; padding: .45rem 1rem; font: inherit; font-weight: 600; cursor: pointer; }

@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid #d9e6e9; display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; gap: .2rem; }
  .nav a { padding: .8rem 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font: inherit; font-weight: 600;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  background: var(--bronze); color: #fff; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--bronze-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--teal-text); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.6rem; }
.textlink { font-weight: 600; }

/* ---------- Hero mit Spur ---------- */
/* unten genau so viel Platz, wie die Spur hoch ist (Bild 1400x220, mindestens 900px breit), damit sie nicht über Buttons und Foto läuft */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 calc(max(50vw, 900px) * 0.157 + 1rem); overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; z-index: 1; }
.spur {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; pointer-events: none;
  clip-path: inset(0 100% 0 0);
  animation: spur-lauf 2.6s .3s cubic-bezier(.4,.1,.2,1) forwards;
}
.spur img {
  width: 100%; min-width: 900px; max-width: 1400px; height: auto; margin-inline: auto;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
@keyframes spur-lauf { to { clip-path: inset(0 0 0 0); } }

/* ---------- Foto-Platzhalter ---------- */
.foto {
  margin: 0; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #c4e2e9 0%, #e8d6c0 100%);
  display: grid; place-items: center; text-align: center;
  color: var(--teal-text); font-size: .95rem; padding: 1.5rem;
  border: 2px dashed rgba(53, 88, 95, .35);
}
.foto span { max-width: 22ch; font-weight: 500; }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto--blob { aspect-ratio: 4 / 5; border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; }
.foto--wide { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
.foto--portrait { aspect-ratio: 3 / 4; border-radius: var(--radius-lg) var(--radius-lg) 120px var(--radius-lg); }

/* ---------- Haltung (Definitionsliste, keine Karten) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.haltung { margin: 0; }
.haltung div { padding: 1.2rem 0; border-top: 2px solid var(--sand); }
.haltung div:last-child { border-bottom: 2px solid var(--sand); }
.haltung dt { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 1.25rem; color: var(--teal-text); margin-bottom: .25rem; }
.haltung dd { margin: 0; }

/* ---------- Stationen (Angebote als Weg) ---------- */
.stationen { list-style: none; margin: 2.2rem 0 0; padding: 0; position: relative; }
.stationen > li { position: relative; padding: 0 0 2.6rem 3.6rem; }
.stationen > li:last-child { padding-bottom: 0; }
.stationen > li::before {
  content: ""; position: absolute; left: 1.05rem; top: 2.2rem; bottom: .2rem; width: 0;
  border-left: 4px dotted var(--sand);
}
.stationen > li:last-child::before { display: none; }
.stationen > li::after {
  content: ""; position: absolute; left: 0; top: .2rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--teal) url("pfote.svg") center / 56% no-repeat;
}
.stationen h3 { margin-bottom: .3rem; }
.stationen .meta { font-weight: 600; color: var(--bronze-dark); margin-bottom: .5rem; }
.stationen p { max-width: 60ch; }

/* ---------- Ablauf (echte Reihenfolge, daher nummeriert) ---------- */
.ablauf { list-style: none; counter-reset: schritt; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ablauf li { counter-increment: schritt; border-top: 3px solid var(--teal); padding-top: 1rem; }
.ablauf li::before { content: counter(schritt) "."; font-family: "Fraunces", Georgia, serif; font-size: 2rem; font-weight: 600; color: var(--bronze); display: block; line-height: 1.1; margin-bottom: .3rem; }
.ablauf h3 { font-size: 1.15rem; margin-bottom: .3rem; }

/* ---------- Listen mit Pfotenpunkt ---------- */
.haken { list-style: none; padding: 0; margin: 0 0 1.2em; max-width: 60ch; }
.haken li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.haken li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--sand); }

/* ---------- Qualifikationen ---------- */
.quali { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.quali li { display: grid; grid-template-columns: 11rem 1fr; gap: 1.25rem; padding: 1rem 0; border-top: 1px solid #cfdfe3; }
.quali li:last-child { border-bottom: 1px solid #cfdfe3; }
.quali strong { color: var(--teal-text); font-family: "Fraunces", Georgia, serif; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 1.1rem; max-width: 600px; }
.form label { display: block; font-weight: 600; margin-bottom: .3rem; color: var(--teal-text); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #9db9bf; border-radius: var(--radius); padding: .8rem 1rem;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--mist); border-color: var(--teal); }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; color: var(--ink); }
.form .check input { margin-top: .35rem; width: 1.1rem; height: 1.1rem; accent-color: var(--bronze); flex: none; }
.form .hinweis { font-size: .92rem; color: #4a6166; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 1rem 1.2rem; border-radius: var(--radius); background: #fff1f0; border: 1.5px solid #c24b3f; max-width: 600px; margin-bottom: 1.5rem; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid #cfdfe3; padding: 1rem 0; max-width: 720px; }
.faq details:last-child { border-bottom: 1px solid #cfdfe3; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--teal-text); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--bronze); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; }

/* ---------- Kontakt-Band & Instagram ---------- */
.band { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.band h2 { margin-bottom: .3rem; }
.band p { margin: 0; max-width: 52ch; }
.btn--light { background: #fff; color: var(--teal-deep); }
.btn--light:hover { background: var(--sand-pale); color: var(--teal-deep); }

/* ---------- Rechtstexte ---------- */
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal .hinweisbox { background: #fff8d6; border: 1.5px solid #e2c94a; border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 2rem; max-width: var(--prose); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: #e3eff2; padding: 3.5rem 0 2rem; }
.site-footer a { color: #fff; text-decoration-color: rgba(255,255,255,.4); }
.site-footer a:hover { color: var(--mist); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: .7rem; font-family: "Figtree", sans-serif; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer .logo img { height: 72px; margin-bottom: 1rem; }
.site-footer .klein { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .9rem; color: #bcd3d9; }

/* ---------- Landingpage ---------- */
.lp-header .wrap { min-height: 68px; }
.lp-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.lp-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lp-box { background: #fff; border: 2px solid var(--mist); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 18px 40px -28px rgba(31, 50, 53, .45); }
.lp-box h2 { font-size: 1.5rem; }

/* ---------- Responsiv ---------- */
@media (max-width: 860px) {
  .hero .wrap, .split, .lp-hero .wrap, .band { grid-template-columns: 1fr; }
  .hero .foto--blob { max-width: 340px; }
  .ablauf { grid-template-columns: 1fr; }
  .quali li { grid-template-columns: 1fr; gap: .2rem; }
  .site-footer .cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spur { animation: none; clip-path: none; }
}
