/* ==========================================================================
   Basis: Fonts, Tokens, Reset, Grid, Utilities, Typografie, Buttons
   Design angelehnt an triagen.de (weiße und grüne Sektionen im Wechsel)
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/jost-latin-ext-var.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/jost-latin-var.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: "Font Awesome 5 Pro"; font-style: normal; font-weight: 300; font-display: block; src: url(../fonts/fa-light-300.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 5 Pro"; font-style: normal; font-weight: 400; font-display: block; src: url(../fonts/fa-regular-400.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 5 Pro"; font-style: normal; font-weight: 900; font-display: block; src: url(../fonts/fa-solid-900.woff2) format("woff2"); }
@font-face { font-family: "Font Awesome 5 Brands"; font-style: normal; font-weight: 400; font-display: block; src: url(../fonts/fa-brands-400.woff2) format("woff2"); }

/* ---------- Design-Tokens ---------- */
:root {
  --green: #007d34;
  --green-dark: #00622a;
  --green-soft: #e8f3ec;
  --green-light: #6ee7a0;
  --ink: #1f2a24;
  --body: #3f4642;
  --muted: #707570;
  --line: #e6e8e7;
  --bg: #fff;
  --bg-soft: #f6f8f7;
  --hero1: #0a2c22;
  --hero2: #0b3d2a;
  --hero3: #0e5a37;
  --green-deep: #0a1712;
  --grad-btn: linear-gradient(135deg, var(--green), var(--green-light));
  --grad-section: linear-gradient(135deg, var(--hero2), var(--hero3));
  --radius: 14px;
  --radius-lg: 24px;
  --shadow: 0 18px 50px rgba(10, 44, 34, .14);
  --shadow-sm: 0 6px 20px rgba(10, 44, 34, .08);
  --fs-base: clamp(15px, 1.12vw, 18px);
  --font: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --section-y: clamp(64px, 7vw, 110px);
}

/* ---------- Reset ---------- */
*, ::before, ::after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
article, aside, figcaption, figure, footer, header, main, nav, section { display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--font); font-weight: 700; line-height: 1.18; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
strong, b { font-weight: 700; color: var(--ink); }
a { color: var(--green); text-decoration: none; background-color: transparent; transition: color .18s; }
img { vertical-align: middle; border-style: none; }
svg:not(:root) { overflow: hidden; }
figure, blockquote { margin: 0; }
label { display: inline-block; margin-bottom: .5rem; }
button, input, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; }
button { text-transform: none; -webkit-appearance: button; }
textarea { overflow: auto; resize: vertical; }
hr { box-sizing: content-box; height: 0; margin: 1rem 0; border: 0; border-top: 1px solid var(--line); }
[hidden] { display: none !important; }
::selection { background-color: var(--green); color: #fff; }
:focus-visible { outline: 3px solid var(--green-light); outline-offset: 3px; }

#page-wrapper { overflow: hidden; position: relative; }

/* ---------- Grid ---------- */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.container_fullsize { max-width: 1340px; }
.row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
[class*="col-"] { position: relative; width: 100%; min-height: 1px; padding-left: 15px; padding-right: 15px; }
@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .offset-lg-1 { margin-left: 8.333333%; }
}
@media (min-width: 1200px) {
  .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xl-6 { flex: 0 0 50%; max-width: 50%; }
  .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-xl-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .offset-xl-1 { margin-left: 8.333333%; }
}

/* ---------- Utilities ---------- */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
}
.nav { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
.text-center { text-align: center !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.ml-3 { margin-left: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 2.5rem !important; }
.pt-0 { padding-top: 0 !important; }
@media (min-width: 992px) {
  .mt-lg-0 { margin-top: 0 !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
  .ml-lg-4 { margin-left: 1.5rem !important; }
}
@media (min-width: 1200px) { .mt-xl-0 { margin-top: 0 !important; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Icons (Font Awesome 5) ---------- */
.fa, .fab { display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; line-height: 1; -webkit-font-smoothing: antialiased; }
.fa { font-family: "Font Awesome 5 Pro"; font-weight: 900; }
.fab { font-family: "Font Awesome 5 Brands"; font-weight: 400; }
.fa-phone::before { content: "\f095"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-map-marker-alt::before { content: "\f3c5"; }
.fa-linkedin-in::before { content: "\f0e1"; }

/* ---------- Sektionen & Hintergründe ---------- */
.contentblock { position: relative; z-index: 10; padding: var(--section-y) 0; overflow: hidden; }
.bg-white { background: var(--bg); color: var(--body); }
.bg-soft { background: var(--bg-soft); color: var(--body); }
.bg-soft h2 { color: var(--green); }
.bg-green { background: var(--grad-section); color: rgba(255, 255, 255, .86); }
.bg-green h1, .bg-green h2, .bg-green h3, .bg-green strong { color: #fff; }

/* Listen mit grünen Punkten */
.contentblock ul { padding-left: 0; list-style: none; }
.contentblock ul > li { position: relative; padding-left: 1.4em; margin-bottom: .45em; }
.contentblock ul > li::before {
  position: absolute; top: .7em; left: .2em;
  width: .42em; height: .42em; border-radius: 50%;
  content: ""; background: var(--green);
}
.contentblock.bg-green ul > li::before { background: var(--green-light); }
.contentblock img { max-width: 100%; height: auto; }

/* Überschriften */
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 800; letter-spacing: -1px; }
.site h2, #lp24-footer h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.5px; }
.bg-white h2 { color: var(--green); }
.contentblock h2 { margin-bottom: .6em; }
.contentblock h3 { font-size: 1.3em; margin-bottom: .6em; }

/* Kleine Überzeile (Eyebrow) */
.contentblock h3.headline-jost,
.headline-jost {
  display: block;
  margin-bottom: .9rem;
  color: var(--green);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.contentblock.bg-green h3.headline-jost, .bg-green .headline-jost { color: rgba(255, 255, 255, .85); }

.text-large { font-size: 1.35em; line-height: 1.5; }
.text-medium { font-size: 1.2em; line-height: 1.6; }

/* ---------- Buttons ---------- */
.lp-btn-solid,
.lp-btn-white {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 12px 30px;
  border: 2px solid transparent;
  border-radius: 9999px;
  background: var(--green);
  color: #fff;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.6;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s, background .18s, box-shadow .18s;
}
.lp-btn-solid::after { content: "\f061"; font-family: "Font Awesome 5 Pro"; font-weight: 400; font-size: .95em; }
.lp-btn-solid.lp-btn-solid-plain::after { display: none; }
.lp-btn-solid:hover, .lp-btn-white:hover, .lp-btn-solid:focus, .lp-btn-white:focus {
  color: #fff;
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 125, 52, .25);
}
/* Sekundärer Button: grüne Kontur */
.lp-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 12px 30px;
  border: 2px solid var(--green);
  border-radius: 9999px;
  background: transparent;
  color: var(--green);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.6;
  white-space: nowrap;
  transition: background .18s, color .18s, transform .18s;
}
.lp-btn-outline:hover, .lp-btn-outline:focus { background: var(--green); color: #fff; transform: translateY(-1px); }
/* Auf grünem Grund: weißer Button */
.bg-green .lp-btn-white { background: #fff; color: var(--green); }
.bg-green .lp-btn-white:hover, .bg-green .lp-btn-white:focus { background: var(--green-soft); color: var(--green-dark); }
@media (max-width: 575px) { .lp-btn-solid, .lp-btn-white { white-space: normal; text-align: center; justify-content: center; } }

.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--green-light);
  transition: color .2s;
}
.lp-btn-primary::before {
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
  width: 2.2em;
  height: 2.2em;
  margin-right: .8em;
  border-radius: 9999px;
  background: var(--green);
  color: #fff;
  content: "\f061";
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  transition: transform .2s;
}

/* ---------- Einblend-Animation ---------- */
.animated { position: relative; }
.js .animated { opacity: 0; transform: translateY(2.5rem); }
.js .animated.in-view { opacity: 1; transform: none; transition: opacity .7s ease-out, transform .7s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .js .animated { opacity: 1; transform: none; }
}
