/* Nolden Architektur – Website
   Layout: helle, ruhige Flaechen mit dunkelgruenen Baendern; eine Laufbahn-Linie zieht sich
   beim Scrollen durch die Seite (assets/js/laufbahn.js). Bewusst ein einziges, helles Farbschema nach CI. */

@font-face { font-family: "Landasans"; src: url("../fonts/landasans-ultralight.woff") format("woff"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Landasans"; src: url("../fonts/landasans-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clear Sans"; src: url("../fonts/clearsans-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Clear Sans"; src: url("../fonts/clearsans-medium.woff") format("woff"); font-weight: 500; font-display: swap; }

:root {
  /* CI-Farben */
  --gruen-dunkel: #3e4533;
  --gruen-tief: #2f3527;
  --gruen-hell: #d8e4a2;
  --orange: #fbdd94;
  --orange-kraeftig: #f2c25c;
  --weiss: #ffffff;
  /* abgeleitete Neutraltoene mit leichtem Gruenstich */
  --papier: #f7f8f1;
  --linie: #dfe3d0;
  --text: #2a2f22;
  --text-leise: #5d6550;

  --font-display: "Landasans", "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-text: "Clear Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --breite: 1160px;
  --radius: 4px;
  --schatten: 0 18px 40px -24px rgba(47, 53, 39, .45);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
.zusammen { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--orange-kraeftig); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); font-weight: 500; }
h3 { font-size: 1.5rem; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--breite) + 2 * 32px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .85rem;
  color: var(--text-leise);
}
.button {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.4em;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--orange { background: var(--orange); color: var(--gruen-tief); }
.button--orange:hover { background: var(--orange-kraeftig); }
.button--rand { border: 1px solid currentColor; color: inherit; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(247, 248, 241, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.kopf.ist-gescrollt { border-bottom-color: var(--linie); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.kopf__logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: .92rem; position: relative; }
.nav a:not(.button)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--orange-kraeftig); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:not(.button):hover::after { transform: scaleX(1); }
.nav .button { padding: .6em 1.1em; }
.menue-knopf { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--gruen-dunkel); }
.menue-knopf span { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .25s ease, opacity .25s ease; }

@media (max-width: 900px) {
  .kopf__logo img { height: 42px; }
  .menue-knopf { display: block; }
  .nav {
    position: fixed; inset: 66px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papier); border-bottom: 1px solid var(--linie);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px));
    transform: translateY(-120%); transition: transform .3s ease;
  }
  .nav a:not(.button) { padding: 14px 0; border-bottom: 1px solid var(--linie); font-size: 1.05rem; }
  .nav .button { margin-top: 16px; justify-content: center; }
  .kopf.menue-offen .nav { transform: none; }
  .kopf.menue-offen .menue-knopf span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .kopf.menue-offen .menue-knopf span:nth-child(2) { opacity: 0; }
  .kopf.menue-offen .menue-knopf span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Einstieg ---------- */
.einstieg { position: relative; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 8vw, 120px); }
.einstieg__raster { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.einstieg__text { display: grid; gap: 24px; min-width: 0; position: relative; z-index: 2; }
.einstieg h1 {
  font-weight: 500;
  font-size: clamp(3rem, 1.6rem + 6vw, 6.4rem);
  line-height: .95;
  color: var(--gruen-dunkel);
}
.einstieg h1 strong { font-weight: 200; display: block; }
/* "Planung," im Logo-Schriftzug Crocky – als Grafik, die Schrift selbst wird nicht eingebunden */
.schriftzug { display: block; }
.schriftzug img { height: 1.3em; width: auto; max-width: 100%; margin: 0 0 .08em -.04em; }
.nur-vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.einstieg__lead { font-size: 1.15rem; max-width: 34em; color: var(--text-leise); }
.einstieg__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.einstieg__knoepfe .button--rand { color: var(--gruen-dunkel); }
.einstieg__bild { position: relative; z-index: 2; min-width: 0; }
.einstieg__bild img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 0 18%);
  box-shadow: var(--schatten);
}
.einstieg__bild figcaption {
  position: absolute; left: -18px; bottom: 28px;
  background: var(--gruen-dunkel); color: var(--gruen-hell);
  padding: 14px 18px; max-width: 15em;
  font-size: .9rem; line-height: 1.4;
}
.einstieg__bild figcaption b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: var(--orange); }
@media (max-width: 820px) {
  .einstieg__raster { grid-template-columns: 1fr; }
  .einstieg__bild img { aspect-ratio: 4 / 3; }
  .einstieg__bild figcaption { left: 12px; bottom: 12px; }
}

/* ---------- Abschnitte allgemein ---------- */
.abschnitt { position: relative; padding-block: clamp(64px, 9vw, 128px); }
.abschnitt__kopf { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); position: relative; z-index: 2; }
.abschnitt__kopf p { color: var(--text-leise); font-size: 1.1rem; }
.abschnitt--dunkel { background: var(--gruen-dunkel); color: var(--papier); }
.abschnitt--dunkel .eyebrow, .abschnitt--dunkel .abschnitt__kopf p { color: var(--gruen-hell); }

/* ---------- Leistungen ---------- */
.leistungen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); position: relative; z-index: 2; }
.leistung {
  background: var(--weiss);
  display: grid; grid-template-rows: auto 1fr;
  box-shadow: var(--schatten);
  transition: transform .3s ease;
}
.leistung:hover { transform: translateY(-4px); }
.leistung img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.leistung__text { padding: 24px 26px 28px; display: grid; gap: 12px; align-content: start; }
.leistung__nr { font-family: var(--font-display); font-weight: 500; color: var(--orange-kraeftig); letter-spacing: .12em; font-size: .85rem; }
.leistung h3 { color: var(--gruen-dunkel); }
.leistung ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--text-leise); font-size: .98rem; }
.leistung li { padding-left: 18px; position: relative; }
.leistung li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--orange-kraeftig); }
@media (max-width: 760px) { .leistungen { grid-template-columns: 1fr; } }

/* ---------- Zahlen ---------- */
.zahlen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 24px; position: relative; z-index: 2; }
.zahl { display: grid; gap: 6px; border-top: 1px solid rgba(216, 228, 162, .35); padding-top: 18px; }
.zahl b { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 2rem + 2vw, 4rem); line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.zahl span { color: var(--gruen-hell); font-size: .95rem; line-height: 1.4; }
.zahlen__hinweis { margin-top: 32px; color: var(--gruen-hell); font-size: .9rem; max-width: 52em; opacity: .85; }
@media (max-width: 900px) { .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Haltung (Nachhaltigkeit) ---------- */
.haltung { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; z-index: 2; }
.haltung img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--schatten); }
.saeulen { display: grid; gap: 22px; margin-top: 28px; }
.saeule { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.saeule__zeichen { width: 52px; height: 52px; border-radius: 50%; background: var(--gruen-hell); display: grid; place-items: center; color: var(--gruen-dunkel); font-family: var(--font-display); font-weight: 500; }
.saeule h3 { font-size: 1.25rem; color: var(--gruen-dunkel); margin-bottom: 4px; }
.saeule p { color: var(--text-leise); font-size: .98rem; }
@media (max-width: 820px) { .haltung { grid-template-columns: 1fr; } }

/* ---------- Fachartikel ---------- */
.artikel {
  display: grid; grid-template-columns: 1.1fr 1fr;
  background: var(--weiss); box-shadow: var(--schatten);
  text-decoration: none; position: relative; z-index: 2;
}
.artikel img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.artikel__text { padding: clamp(24px, 4vw, 48px); display: grid; gap: 16px; align-content: center; min-width: 0; }
.artikel__meta { font-size: .9rem; color: var(--text-leise); }
.artikel h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); color: var(--gruen-dunkel); }
.artikel p { color: var(--text-leise); }
.artikel__mehr { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--gruen-dunkel); }
.artikel__mehr::after { content: " →"; }
.artikel:hover .artikel__mehr { text-decoration: underline; text-decoration-color: var(--orange-kraeftig); text-underline-offset: 6px; }
.themen { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }
.themen span { border: 1px dashed var(--text-leise); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--text-leise); }
@media (max-width: 820px) { .artikel { grid-template-columns: 1fr; } .artikel img { min-height: 0; aspect-ratio: 16 / 9; } }

/* ---------- Ueber mich ---------- */
.person { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; position: relative; z-index: 2; }
.person__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; box-shadow: var(--schatten); }
.person__text { display: grid; gap: 18px; min-width: 0; }
.person__text h2 { color: var(--gruen-dunkel); }
.person__text > p { color: var(--text-leise); }
.stationen { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--linie); }
.stationen li { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linie); font-size: .97rem; }
.stationen time { font-variant-numeric: tabular-nums; color: var(--text-leise); }
.abschluesse { display: flex; flex-wrap: wrap; gap: 8px; }
.abschluesse span { background: var(--gruen-hell); color: var(--gruen-dunkel); padding: 6px 12px; font-size: .9rem; border-radius: var(--radius); }
@media (max-width: 820px) { .person { grid-template-columns: 1fr; } .person__bild img { aspect-ratio: 1 / 1; } .stationen li { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; position: relative; z-index: 2; }
.kontakt h2 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem); color: var(--papier); }
.kontakt__wege { display: grid; gap: 14px; }
.kontaktweg { display: grid; gap: 2px; padding: 18px 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(216, 228, 162, .25); text-decoration: none; transition: background-color .2s ease; }
.kontaktweg:hover { background: rgba(255, 255, 255, .12); }
.kontaktweg span { font-size: .85rem; color: var(--gruen-hell); text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-display); font-weight: 500; }
.kontaktweg b { font-family: var(--font-display); font-weight: 500; font-size: 1.8rem; color: var(--orange); user-select: all; word-break: break-word; }
@media (max-width: 820px) { .kontakt { grid-template-columns: 1fr; } }

/* ---------- Fuss ---------- */
.fuss { background: var(--gruen-tief); color: var(--gruen-hell); padding-block: 48px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.fuss__raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.fuss img { height: 64px; width: auto; }
.fuss h4 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--orange); }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.fuss__unten { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(216, 228, 162, .2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; opacity: .8; }
@media (max-width: 820px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .fuss__raster { grid-template-columns: 1fr; } }

/* ---------- Schwebende Kontaktknoepfe ---------- */
.schnellkontakt {
  position: fixed; z-index: 60;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid; gap: 10px;
}
.schnellkontakt a {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gruen-dunkel); color: var(--orange);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5);
  transition: transform .2s ease;
}
.schnellkontakt a:hover { transform: scale(1.08); }
.schnellkontakt svg { width: 22px; height: 22px; }

/* ---------- Laufbahn-Linie ---------- */
.laufbahn { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.laufbahn__kante { fill: none; stroke: var(--orange-kraeftig); stroke-linecap: round; opacity: .14; }
.laufbahn__belag { fill: none; stroke: var(--orange); stroke-linecap: round; opacity: .26; }
.laufbahn__bahnlinie { fill: none; stroke: var(--weiss); stroke-width: 1.5; stroke-linecap: round; opacity: .8; }
.laufbahn__spur { fill: none; stroke: var(--orange-kraeftig); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.laufbahn__vorschau { fill: none; stroke: var(--linie); stroke-width: 1.5; stroke-dasharray: 4 8; }
.laufbahn__figur { transition: opacity .3s ease; }
.seite { position: relative; }

/* ---------- Textseiten (Fachartikel, Impressum, Datenschutz) ---------- */
.textseite { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px); }
.textseite__spalte { max-width: 44rem; margin-inline: auto; display: grid; gap: 18px; min-width: 0; }
.textseite h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); color: var(--gruen-dunkel); }
.textseite h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); color: var(--gruen-dunkel); margin-top: 28px; }
.textseite h3 { font-size: 1.3rem; color: var(--gruen-dunkel); margin-top: 12px; }
.textseite p, .textseite li { color: var(--text); }
.textseite ul, .textseite ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.textseite a { color: var(--gruen-dunkel); text-decoration-color: var(--orange-kraeftig); text-underline-offset: 3px; }
.textseite__meta { color: var(--text-leise); font-size: .95rem; }
.textseite__bild { margin: 12px 0; }
.textseite__bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--schatten); }
.textseite__lead { font-size: 1.2rem; color: var(--text-leise); }
.zitat { margin: 12px 0; padding: 20px 24px; background: var(--gruen-hell); color: var(--gruen-dunkel); font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.kasten { padding: 22px 24px; background: var(--weiss); box-shadow: var(--schatten); display: grid; gap: 10px; }
.kasten h3 { margin-top: 0; }
.zurueck { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; color: var(--text-leise); }
.zurueck::before { content: "← "; }
.angaben { display: grid; grid-template-columns: 12em 1fr; gap: 6px 18px; margin: 0; }
.angaben dt { color: var(--text-leise); }
.angaben dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .angaben { grid-template-columns: 1fr; } .angaben dd { margin-bottom: 8px; } }

/* Einblenden: Grundzustand ist sichtbar; nur mit JS wird leicht verzoegert eingeblendet */
.js .einblenden { transition: opacity .8s ease, transform .8s ease; }
.js .einblenden.wartet { opacity: 0; transform: translateY(24px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .einblenden.wartet { opacity: 1; transform: none; }
}
