/* KS Dienstleistungen – Website. Schriften lokal (OFL), keine externen Dateien. */

@font-face { font-family: "Montserrat"; src: url("/schriften/montserrat.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/schriften/source-sans-3.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/schriften/source-sans-3-kursiv.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --gruen: #5e7416;          /* Überschriften, Links (5,6:1 auf Weiß) */
  --gruen-dunkel: #3f4e0e;   /* Knöpfe (weiße Schrift 9:1) */
  --limette: #8bb500;        /* Akzent aus dem Logo, nur Schmuck */
  --oliv: #8d9936;
  --tinte: #23271b;
  --text: #3a3f31;
  --text-leise: #5b6150;
  --flaeche: #f5f7ee;
  --flaeche-2: #eaeedc;
  --linie: #dfe4cf;
  --fuss: #1e2310;
  --weiss: #fff;
  --radius: 18px;
  --schatten: 0 1px 2px rgb(35 39 27 / .06), 0 8px 28px -12px rgb(35 39 27 / .18);
  --breite: 1200px;
  --kopf: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--weiss); color: var(--text);
  font: 400 1.0625rem/1.65 "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen); text-underline-offset: .18em; }
a:hover { color: var(--gruen-dunkel); }
:focus-visible { outline: 3px solid var(--limette); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: "Montserrat", system-ui, sans-serif; color: var(--tinte); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
a[href^="tel:"], a[href^="mailto:"], .nowrap { white-space: nowrap; }

.innen { width: min(100% - 32px, var(--breite)); margin-inline: auto; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gruen-dunkel); color: #fff; padding: 10px 16px; border-radius: 8px; }
.sprung:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; white-space: nowrap;
  font: 600 1rem/1 "Montserrat", sans-serif; text-decoration: none; cursor: pointer;
  padding: 1em 1.5em; border-radius: 999px; border: 2px solid var(--gruen-dunkel);
  background: var(--gruen-dunkel); color: #fff; transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.knopf:hover { background: var(--tinte); border-color: var(--tinte); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px -10px rgb(0 0 0 / .5); }
.knopf svg { width: 1.15em; height: 1.15em; flex: none; }
.knopf--hell { background: #fff; border-color: #fff; color: var(--gruen-dunkel); }
.knopf--hell:hover { background: var(--flaeche); border-color: var(--flaeche); color: var(--tinte); }
.knopf--rand { background: transparent; color: #fff; border-color: rgb(255 255 255 / .7); }
.knopf--rand:hover { background: #fff; color: var(--tinte); border-color: #fff; }
.knopf--leise { background: transparent; color: var(--gruen-dunkel); }
.knopf--leise:hover { background: var(--gruen-dunkel); color: #fff; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px 14px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgb(35 39 27 / .07); }
.kopf .innen { display: flex; align-items: center; gap: 4px 24px; min-height: var(--kopf); }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tinte); margin-right: auto; }
.marke img { width: 112px; height: auto; }
.marke span { font: 600 1.05rem/1.2 "Montserrat", sans-serif; }
.menue ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.menue a { display: block; padding: .55em .9em; border-radius: 999px; text-decoration: none; color: var(--tinte); font: 500 .98rem/1.2 "Montserrat", sans-serif; }
.menue a:hover, .menue a[aria-current] { background: var(--flaeche-2); color: var(--gruen-dunkel); }
.kopf-anruf { padding: .75em 1.15em; font-size: .92rem; }
.menue-knopf { display: none; }
@media (max-width: 1140px) { .marke span { display: none; } }
@media (max-width: 940px) { .kopf-anruf { display: none; } }
@media (max-width: 760px) {
  :root { --kopf: 64px; }
  .marke img { width: 92px; }
  .js .menue-knopf {
    display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--flaeche-2); color: var(--tinte);
    font: 600 .95rem/1 "Montserrat", sans-serif; padding: .7em 1em; border-radius: 999px; cursor: pointer;
  }
  .menue-knopf svg { width: 20px; height: 20px; }
  .js .menue { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); box-shadow: 0 18px 30px -18px rgb(0 0 0 / .3); display: none; }
  .js .menue.offen { display: block; }
  .js .menue ul { flex-direction: column; padding: 8px 16px 16px; }
  .js .menue a { padding: .9em 1em; font-size: 1.05rem; }
  .menue ul { justify-content: flex-end; }
}

/* Titel */
.titel { position: relative; isolation: isolate; color: #fff; min-height: min(86vh, 760px); display: grid; align-items: end; overflow: hidden; }
.titel picture, .titel picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -2; }
.titel::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(24 29 10 / .88) 0%, rgb(24 29 10 / .6) 48%, rgb(24 29 10 / .15) 100%), linear-gradient(0deg, rgb(24 29 10 / .55), transparent 45%); }
.titel .innen { padding-block: clamp(110px, 18vh, 200px) clamp(56px, 9vh, 96px); }
.titel h1 { color: #fff; max-width: 15ch; margin-bottom: .45em; }
.titel h1 em { font-style: normal; color: #c9e46b; }
.titel p { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 34rem; color: rgb(255 255 255 / .9); margin-bottom: 1.6em; }
.titel-band { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding: 0; list-style: none; font-size: .98rem; color: rgb(255 255 255 / .88); }
.titel-band li { display: flex; align-items: center; gap: 8px; }
.titel-band svg { width: 18px; height: 18px; color: #c9e46b; flex: none; }

/* Abschnitte */
.abschnitt { padding-block: clamp(64px, 9vw, 120px); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt-kopf { max-width: 46rem; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.abschnitt-kopf p { color: var(--text-leise); font-size: 1.12rem; text-wrap: balance; margin: 0; }
.dachzeile { display: inline-flex; align-items: center; gap: 10px; font: 600 .82rem/1 "Montserrat", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--gruen); margin-bottom: 14px; }
.dachzeile::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--limette); }

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 0; }
.leistung { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px 28px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.leistung:hover { transform: translateY(-3px); box-shadow: var(--schatten); border-color: transparent; }
.leistung h3 { margin: 18px 0 .35em; hyphens: manual; }
.leistung p { color: var(--text-leise); margin-bottom: .9em; }
.leistung ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.leistung li { position: relative; padding-left: 22px; }
.leistung li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--limette); }
.symbol { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--flaeche-2); color: var(--gruen-dunkel); }
.symbol svg { width: 28px; height: 28px; }
@media (max-width: 980px) { .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .leistungen { grid-template-columns: minmax(0, 1fr); } .leistung { padding: 24px 22px 20px; } }

/* Alltagsbegleitung */
.begleitung { margin-top: clamp(40px, 6vw, 72px); border-radius: calc(var(--radius) + 8px); background: linear-gradient(135deg, #2c3612, #44551a); color: rgb(255 255 255 / .9); padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.begleitung::after { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgb(139 181 0 / .35), transparent 70%); pointer-events: none; }
.begleitung h2 { color: #fff; font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem); }
.begleitung h2 span { display: block; color: #c9e46b; }
.begleitung .symbol { background: rgb(255 255 255 / .12); color: #c9e46b; margin-bottom: 20px; }
.begleitung h3 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
.begleitung ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.begleitung li { display: flex; gap: 12px; align-items: flex-start; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .1); border-radius: 12px; padding: 10px 14px; }
.begleitung li svg { width: 20px; height: 20px; flex: none; color: #c9e46b; margin-top: 3px; }
@media (max-width: 860px) { .begleitung { grid-template-columns: minmax(0, 1fr); } }

/* Über uns */
.ueber { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 80px); align-items: center; }
.ueber-bild { position: relative; }
.ueber-bild img { border-radius: calc(var(--radius) + 6px); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: var(--schatten); }
.ueber-bild::before { content: ""; position: absolute; inset: 24px -18px -18px 24px; border-radius: calc(var(--radius) + 6px); background: var(--flaeche-2); z-index: -1; }
.ueber-marke { position: absolute; left: -14px; bottom: 28px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--schatten); display: flex; align-items: center; gap: 12px; font: 600 .95rem/1.25 "Montserrat", sans-serif; color: var(--tinte); }
.ueber-marke strong { font-size: 1.9rem; color: var(--gruen); }
.haken { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 10px; }
.haken li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--tinte); }
.haken svg { width: 26px; height: 26px; flex: none; color: #fff; background: var(--gruen); border-radius: 50%; padding: 5px; }
@media (max-width: 860px) { .ueber { grid-template-columns: minmax(0, 1fr); } .ueber-bild { margin-right: 18px; } .ueber-marke { left: 12px; } }

.werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: clamp(48px, 7vw, 88px) 0 0; }
.wert { background: #fff; border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--linie); text-align: center; }
.wert .symbol { margin: 0 auto 14px; border-radius: 50%; }
.wert h3 { margin-bottom: .3em; }
.wert p { color: var(--text-leise); margin: 0; text-wrap: balance; }
@media (max-width: 980px) { .werte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .werte { grid-template-columns: minmax(0, 1fr); } }

/* Auftrag (Aufruf) */
.auftrag { position: relative; isolation: isolate; color: #fff; text-align: center; padding-block: clamp(80px, 11vw, 140px); overflow: hidden; }
.auftrag picture, .auftrag picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auftrag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(30 36 12 / .74); }
.auftrag h2 { color: #fff; }
.auftrag p { font-size: 1.2rem; color: rgb(255 255 255 / .9); max-width: 36rem; margin: 0 auto 1.8em; text-wrap: balance; }
.auftrag .knopfreihe { justify-content: center; }

/* Galerie (erzeugt die Verwaltung) */
.galerie { columns: 3 300px; column-gap: 16px; list-style: none; padding: 0; margin: 0; }
.galerie li { break-inside: avoid; margin-bottom: 16px; }
.galerie a { display: block; position: relative; border-radius: 14px; overflow: hidden; background: var(--flaeche-2); }
.galerie img { width: 100%; transition: transform .5s ease; }
.galerie a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(24 29 10 / .45), transparent 50%); opacity: 0; transition: opacity .3s; }
.galerie a:hover img { transform: scale(1.04); }
.galerie a:hover::after, .galerie a:focus-visible::after { opacity: 1; }

.grossansicht { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.grossansicht::backdrop { background: rgb(14 17 6 / .94); }
.grossansicht-buehne { position: relative; width: 100%; height: 100%; }
.grossansicht img { position: absolute; inset: 64px 72px; width: calc(100% - 144px); height: calc(100% - 128px); object-fit: contain; }
.grossansicht button { position: absolute; border: 0; background: rgb(255 255 255 / .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.grossansicht button:hover { background: rgb(255 255 255 / .25); }
.grossansicht button svg { width: 24px; height: 24px; }
.grossansicht .zu { top: 12px; right: 12px; }
.grossansicht .zurueck { left: 12px; top: 50%; translate: 0 -50%; }
.grossansicht .vor { right: 12px; top: 50%; translate: 0 -50%; }
.grossansicht p { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; color: rgb(255 255 255 / .85); font-size: .95rem; padding-inline: 70px; }
@media (max-width: 640px) {
  .grossansicht img { inset: 64px 8px 84px; width: calc(100% - 16px); height: calc(100% - 148px); }
  .grossansicht .zurueck, .grossansicht .vor { top: auto; bottom: 16px; translate: none; }
  .grossansicht p { bottom: 28px; }
}

/* Bewertungen (erzeugt die Verwaltung) */
.bewertungen { columns: 3 300px; column-gap: 18px; list-style: none; padding: 0; margin: 0; }
.bewertung { break-inside: avoid; margin: 0 0 18px; background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--linie); position: relative; }
.bewertung::before { content: "“"; position: absolute; right: 20px; top: 2px; font: 700 5rem/1 Georgia, serif; color: var(--flaeche-2); pointer-events: none; }
.sterne { display: flex; gap: 2px; color: #e3a008; margin-bottom: 12px; }
.sterne svg { width: 19px; height: 19px; }
.sterne .leer { color: #d8dccb; }
.bewertung blockquote { margin: 0 0 18px; color: var(--text); font-size: 1.05rem; position: relative; }
.bewertung blockquote p:last-child { margin: 0; }
.bewertung figcaption { display: flex; align-items: center; gap: 12px; }
.bewertung figcaption img, .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar { display: grid; place-items: center; background: var(--flaeche-2); color: var(--gruen-dunkel); font: 700 1rem/1 "Montserrat", sans-serif; }
.bewertung cite { font-style: normal; display: block; font-weight: 700; color: var(--tinte); line-height: 1.3; }
.bewertung figcaption small { display: block; color: var(--text-leise); font-size: .93rem; }
.bewertungen-mehr { text-align: center; margin-top: 18px; }
@media (max-width: 420px) { .bewertungen-mehr .knopf { font-size: .9rem; padding-inline: 1.1em; } }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; }
.karte { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: #dfe6cf url("/bilder/karte.svg") center / cover; display: grid; place-items: center; text-align: center; }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte-hinweis { position: relative; background: rgb(255 255 255 / .94); border-radius: 16px; padding: 22px 24px; max-width: 360px; margin: 16px; box-shadow: var(--schatten); }
.karte-hinweis p { font-size: .95rem; color: var(--text-leise); text-wrap: balance; }
.karte-hinweis .knopfreihe { justify-content: center; }
.erreichen { background: var(--flaeche); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.erreichen h3 { font-size: 1.35rem; margin-bottom: 18px; }
.erreichen dl { margin: 0; display: grid; gap: 18px; }
.erreichen div { display: flex; gap: 16px; align-items: flex-start; }
.erreichen .symbol { width: 46px; height: 46px; border-radius: 14px; background: #fff; flex: none; }
.erreichen .symbol svg { width: 22px; height: 22px; }
.erreichen dt { font: 600 .82rem/1.2 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--gruen); margin-bottom: 4px; }
.erreichen dd { margin: 0; color: var(--tinte); }
.erreichen dd a { color: var(--tinte); font-weight: 600; text-decoration: none; }
.erreichen dd a:hover { color: var(--gruen); text-decoration: underline; }
@media (max-width: 860px) { .kontakt { grid-template-columns: minmax(0, 1fr); } .karte { min-height: 340px; } }

/* Rechtstexte */
.text-seite { padding-block: clamp(48px, 7vw, 96px); }
.text-seite .innen { max-width: 820px; }
.text-seite h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.text-seite h2 { font-size: 1.45rem; margin-top: 1.8em; }
.text-seite h3 { margin-top: 1.4em; }
.text-seite address { font-style: normal; margin-bottom: 1em; }

/* Fuß */
.fuss { background: var(--fuss); color: rgb(255 255 255 / .74); padding: clamp(56px, 7vw, 80px) 0 72px; font-size: 1rem; } /* unten Platz für den WhatsApp-Knopf */
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; color: #c9e46b; }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; }
.fuss-marke img { width: 140px; background: #fff; border-radius: 14px; padding: 10px 14px; box-sizing: content-box; margin-bottom: 16px; }
.fuss h2 { font-size: 1rem; color: #fff; margin-bottom: 14px; letter-spacing: .02em; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fuss address { font-style: normal; }
.fuss-unten { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: .92rem; }
.fuss-unten p { margin: 0; }
@media (max-width: 900px) { .fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fuss-marke { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fuss-raster { grid-template-columns: minmax(0, 1fr); } }

/* WhatsApp */
.whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgb(0 0 0 / .45); transition: transform .2s; }
.whatsapp:hover { transform: scale(1.06); color: #fff; }
.whatsapp svg { width: 30px; height: 30px; }

/* 404 */
.nicht-gefunden { text-align: center; padding-block: clamp(80px, 14vw, 160px); }
.nicht-gefunden p { text-wrap: balance; }
.nicht-gefunden .knopfreihe { justify-content: center; }
