/* ------------------------------------------------------------------
   parcoursverwaltung.at – Gestaltung
   Farben und Schrift kommen aus der Marke (siehe marke/MARKE.md).
   Montserrat liegt selbst auf dem Server: kein Google-Aufruf, kein
   Datenschutzproblem, keine Einwilligung nötig.
------------------------------------------------------------------- */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("schrift/montserrat-v31-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("schrift/montserrat-v31-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("schrift/montserrat-v31-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("schrift/montserrat-v31-latin-800.woff2") format("woff2");
}
@font-face {
  /* Nur für den Schriftzug GUGL SmartTech – ohne echte Kursive sähe er nach
     schiefgestelltem Fett aus. */
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("schrift/montserrat-v31-latin-800italic.woff2") format("woff2");
}

:root {
  --gruen: #064931;
  --gruen-tief: #04331f;
  --gruen-hell: #0a6544;
  --gruen-blass: #eef4f0;
  --orange: #f99902;
  --orange-tief: #d98200;
  --text: #16241d;
  --text-leise: #5a6b62;
  --linie: #dfe7e2;
  --weiss: #ffffff;
  --sand: #f7f9f7;
  --radius: 14px;
  --breite: 1120px;
  --schatten: 0 1px 2px rgba(6, 73, 49, .06), 0 8px 24px rgba(6, 73, 49, .07);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gruen-hell); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gruen); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; color: var(--gruen); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.huelle { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: 20px; }
.schmal { max-width: 760px; }

.abschnitt { padding: clamp(56px, 8vw, 96px) 0; }
.abschnitt--sand { background: var(--sand); }
.abschnitt--gruen { background: var(--gruen); color: #dff0e7; }
.abschnitt--gruen h2, .abschnitt--gruen h3 { color: var(--weiss); }
/* Nur echte Verweise einfärben – Knöpfe bringen ihre eigenen Farben mit,
   sonst steht orange Schrift auf orangem Grund. */
.abschnitt--gruen a:not(.knopf) { color: var(--orange); }

.ueberzeile {
  font-size: .78rem; font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; color: var(--orange-tief); margin: 0 0 .6em;
}
.abschnitt--gruen .ueberzeile { color: var(--orange); }

.vorspann { font-size: 1.12rem; color: var(--text-leise); max-width: 62ch; }
.abschnitt--gruen .vorspann { color: #bcd8cb; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.knopf:active { transform: translateY(1px); }
.knopf.knopf--haupt { background: var(--orange); color: #241500; }
.knopf.knopf--haupt:hover { background: var(--orange-tief); color: #241500; }
.knopf--rand { border-color: currentColor; color: var(--gruen); }
.knopf--rand:hover { background: var(--gruen); color: var(--weiss); border-color: var(--gruen); }
.abschnitt--gruen .knopf--rand { color: var(--weiss); }
.abschnitt--gruen .knopf--rand:hover { background: var(--weiss); color: var(--gruen); }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }
.aufmacher .knopf--rand { color: var(--weiss); border-color: rgba(255,255,255,.55); }
.aufmacher .knopf--rand:hover { background: var(--weiss); color: var(--gruen); border-color: var(--weiss); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.kopf__logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--gruen);
  font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em;
}
.kopf__logo img { width: 46px; height: 46px; }
.kopf__schalter {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  color: var(--gruen);
}
.kopf__schalter svg { width: 28px; height: 28px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gruen); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .knopf { font-size: .92rem; padding: .6em 1.2em; }

@media (max-width: 900px) {
  .kopf__schalter { display: block; }
  .kopf__logo { font-size: 1.05rem; gap: 9px; }
  .kopf__logo img { width: 38px; height: 38px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--weiss); border-bottom: 1px solid var(--linie);
    padding: 8px 20px 20px; box-shadow: var(--schatten);
  }
  .nav.offen { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--linie); }
  .nav .knopf { margin-top: 14px; justify-content: center; border-bottom: 0; }
}

/* ---------- Aufmacher ---------- */
.aufmacher {
  position: relative; color: var(--weiss);
  background: var(--gruen-tief);
  overflow: hidden;
}
.aufmacher__bild {
  position: absolute; inset: 0;
  background-image: url("bilder/parcours-luftbild.jpg");
  background-size: cover; background-position: center;
  opacity: .55;
}
.aufmacher::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(4,51,31,.90) 0%, rgba(4,51,31,.76) 60%, rgba(4,51,31,.48) 100%);
}
.aufmacher__innen { position: relative; z-index: 2; padding: clamp(56px, 9vw, 120px) 0; }
.aufmacher h1 { max-width: 20ch; }
.aufmacher > .huelle > p { max-width: 68ch; }
.aufmacher h1 { color: var(--weiss); }
.aufmacher p { color: #d4e7dc; font-size: 1.16rem; }

.marker {
  display: flex; flex-wrap: wrap; gap: 8px 28px;
  margin-top: 2.2em; padding-top: 1.6em; border-top: 1px solid rgba(255,255,255,.2);
  font-size: .92rem; color: #bcd8cb; max-width: none;
}
.marker span { display: flex; align-items: center; gap: .45em; }
.marker svg { width: 17px; height: 17px; color: var(--orange); flex: none; }

/* ---------- Karten ---------- */
.raster { display: grid; gap: 22px; }
.raster--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); }

.karte {
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 26px;
}
.abschnitt--sand .karte { box-shadow: var(--schatten); border-color: transparent; }
.karte h3 { margin-top: 0; }
.karte p:last-child { margin-bottom: 0; }
.karte__zeichen {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gruen-blass); color: var(--gruen);
  display: grid; place-items: center; margin-bottom: 16px;
}
.karte__zeichen svg { width: 24px; height: 24px; }

/* ---------- Wechselnde Blöcke ---------- */
.block { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .block { grid-template-columns: 1fr 1fr; }
  .block--gedreht > :first-child { order: 2; }
}
.block img { border-radius: var(--radius); box-shadow: var(--schatten); }
.block ul { padding-left: 1.1em; margin: 0; }
.block li { margin-bottom: .4em; }

/* ---------- Schriftzug GUGL SmartTech ---------- */
.smarttech {
  white-space: nowrap; font-weight: 800; letter-spacing: -.01em;
  color: inherit;
}
.smarttech i { font-style: italic; color: #f99902; }

/* ---------- Bildschirmfotos ---------- */
.schirm { margin: 0; }
.schirm img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.schirm figcaption {
  margin-top: .7em; font-size: .85rem; color: var(--text-leise); text-align: center;
}
.schirm--hoch img { max-width: 300px; margin-inline: auto; border-radius: 22px; }

.schirm-band { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.abschnitt--gruen .schirm-band .schirm img { border-color: rgba(255,255,255,.18); }
.abschnitt--gruen .schirm-band .schirm figcaption { color: #bcd8cb; }

/* ---------- Preise ---------- */
.preise { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(275px, 1fr)); align-items: start; }
.preis {
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 30px 26px; position: relative;
}
.preis--betont { border-color: var(--orange); border-width: 2px; box-shadow: var(--schatten); }
.preis__band {
  position: absolute; top: -13px; left: 26px;
  background: var(--orange); color: #241500;
  font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .35em 1em; border-radius: 999px;
}
.preis h3 { font-size: 1.35rem; margin-bottom: .1em; }
.preis__zahl { font-size: 2.5rem; font-weight: 800; color: var(--gruen); line-height: 1.1; }
.preis__zahl small { font-size: .95rem; font-weight: 600; color: var(--text-leise); display: block; }
.preis ul { list-style: none; padding: 0; margin: 20px 0 0; }
.preis li { position: relative; padding-left: 1.7em; margin-bottom: .55em; font-size: .97rem; }
.preis li::before {
  content: "›"; position: absolute; left: .35em; top: -.05em;
  color: var(--orange); font-weight: 800; font-size: 1.2em;
}
.preis li.aus { color: var(--text-leise); }
.preis li.aus::before { content: "–"; color: var(--linie); }

/* ---------- Kleines ---------- */
.trenner { border: 0; border-top: 1px solid var(--linie); margin: 0; }

.hinweis {
  border-left: 4px solid var(--orange); background: var(--gruen-blass);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
}
.hinweis p:last-child { margin-bottom: 0; }

.platzhalter {
  background: #fff4d6; border: 1px dashed #d9a441; color: #6b4b00;
  padding: .1em .45em; border-radius: 4px; font-weight: 700;
}

.frage { border-top: 1px solid var(--linie); padding: 22px 0; }
.frage:last-child { border-bottom: 1px solid var(--linie); }
.frage h3 { margin-bottom: .35em; }
.frage p:last-child { margin-bottom: 0; }

.feld-gruppe { margin-bottom: 18px; }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4em; color: var(--gruen); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: .75em .9em; font: inherit; font-size: 1rem;
  border: 1px solid var(--linie); border-radius: 10px; background: var(--weiss); color: var(--text);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.honig { position: absolute; left: -9999px; }

.prosa h2 { margin-top: 1.8em; }
.prosa h3 { margin-top: 1.5em; }
.prosa ul { padding-left: 1.2em; }
.prosa li { margin-bottom: .4em; }

/* ---------- Fuß ---------- */
.fuss { background: var(--gruen-tief); color: #a9c7b7; padding: 56px 0 28px; font-size: .95rem; }
.fuss__raster { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.fuss h4 { color: var(--weiss); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1em; }
.fuss a { color: #cfe4d8; text-decoration: none; }
.fuss a:hover { color: var(--orange); text-decoration: underline; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: .55em; }
.fuss__logo img { width: 150px; height: auto; margin-bottom: 14px; }
.fuss__schluss {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
  font-size: .87rem; color: #86a795;
}

.nur-fuer-lesegeraete {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.sprungmarke {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--orange); color: #241500; padding: .6em 1.2em;
  border-radius: 0 0 8px 8px; font-weight: 700; text-decoration: none;
  transition: top .15s;
}
.sprungmarke:focus { top: 0; }
