/* TeaFan Media – Custom Style Layer
   Ergänzt Tailwind um Marken-spezifische Effekte, Patterns und a11y-Feinheiten. */

/* Lato – selbst gehostet (DSGVO): keine Verbindung zu Google Fonts.
   Dateien unter /assets/fonts (siehe scripts/fetch-fonts.mjs). */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/lato-light.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lato-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/lato-bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/lato-black.woff2') format('woff2');
}

:root {
  --tf-green: #244009;
  --tf-green-bright: #86a613;
  --tf-yellow: #fff67d;
  --tf-bg-light: #f2f2f2;
  --tf-gray-mid: #9aa5a9;
  --tf-black: #000000;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--tf-black);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Eine Sprache pro URL: die Sprach-Extraktion beim Build entfernt die jeweils
   andere Sprache bereits aus dem DOM – es ist kein CSS-Toggle mehr nötig. */

/* Fokus: deutlich, aber elegant */
:focus-visible {
  outline: 3px solid var(--tf-green-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--tf-green);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Marker-Highlight: gelber Textmarker unter schwarzem Text */
.hl-yellow {
  background-image: linear-gradient(180deg, transparent 55%, var(--tf-yellow) 55%, var(--tf-yellow) 92%, transparent 92%);
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Highlight Variante auf dunkelgrünem Hintergrund: gelbe Schrift */
.hl-on-dark {
  color: var(--tf-yellow);
}

/* Kartenbasis */
.tf-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.5rem 1.5rem;
  transition: border-color 180ms ease, transform 180ms ease;
}
/* Hover-Schatten als separate, GPU-kompositierte Ebene: statt animiertem
   box-shadow (das Chromium pro Frame neu rastert) blenden wir einen fertig
   gerasterten Schatten nur per opacity ein → flüssiger Hover. */
.tf-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 12px 30px -18px rgba(36, 64, 9, 0.35);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}
.tf-card:hover {
  border-color: var(--tf-green-bright);
  transform: translateY(-2px);
}
.tf-card:hover::after {
  opacity: 1;
}

.tf-card-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--tf-green-bright);
  border-radius: 14px;
  padding: 1.5rem;
}

.why-problem-card {
  min-height: 22rem;
  padding: 1.9rem 1.95rem 2.1rem;
  display: flex;
  flex-direction: column;
}
.why-card-head {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}
.why-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--tf-yellow);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 246, 125, 0.26), rgba(255, 246, 125, 0.04) 78%);
  border: 1px solid rgba(255, 246, 125, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 246, 125, 0.18);
}
.why-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.75;
  display: block;
}
.why-card-title {
  margin: 0;
  line-height: 1.3;
}
.why-card-rule {
  width: 4.25rem;
  height: 2px;
  margin: 1.4rem 0 1.5rem;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(255, 246, 125, 0.9), rgba(255, 246, 125, 0));
}
.why-card-copy {
  margin: 0;
}

.tf-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 999px;
  background: var(--tf-green);
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, transform 120ms ease, border-color 160ms ease;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--tf-green);
  color: #ffffff;
}
.btn-primary:hover { background: #31570c; }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  background: transparent;
  color: var(--tf-black);
  border-color: #111;
}
.btn-secondary:hover { background: var(--tf-yellow); border-color: var(--tf-yellow); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost-light:hover {
  background: var(--tf-yellow);
  color: var(--tf-green);
  border-color: var(--tf-yellow);
}

/* Leistungs-Karten – helles Pendant zu den Warum-Karten (grüner Akzent) */
.svc-card {
  position: relative;
  min-height: 22rem;
  padding: 1.9rem 1.95rem 4.1rem;   /* mehr Luft unten + Platz für das Ribbon */
  display: flex;
  flex-direction: column;
}
.svc-card-head {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}
.svc-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--tf-green);
  background:
    radial-gradient(circle at 32% 28%, rgba(134, 166, 19, 0.24), rgba(134, 166, 19, 0.05) 78%);
  border: 1px solid rgba(134, 166, 19, 0.32);
  box-shadow: inset 0 1px 0 rgba(134, 166, 19, 0.2);
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.svc-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.75;
  display: block;
}
.svc-card-title {
  margin: 0;
  line-height: 1.3;
}
.svc-card-rule {
  width: 4.25rem;
  height: 2px;
  margin: 1.4rem 0 1.5rem;
  border-radius: 999px;
  background: linear-gradient(to right, rgba(134, 166, 19, 0.9), rgba(134, 166, 19, 0));
}
.svc-card-copy {
  margin: 0;
}
/* Hover: Icon-Badge füllt sich grün, Trennstrich zieht durch */
.tf-card:hover .svc-card-icon {
  color: #ffffff;
  background: linear-gradient(140deg, var(--tf-green-bright), var(--tf-green));
  border-color: var(--tf-green);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 18px -10px rgba(36, 64, 9, 0.5);
  transform: translateY(-1px);
}
.tf-card:hover .svc-card-rule {
  background: linear-gradient(to right, var(--tf-green-bright), rgba(134, 166, 19, 0.15));
}

/* Lesezeichen-/Einband-Ribbon unten rechts an der Karte.
   Der Container positioniert und wirft den Schatten, der Body trägt Form und
   Farbe (gekerbtes Ende links via clip-path), ::after bildet den Umschlag, der
   nach oben um die rechte Kante greift. Immer sichtbar (auch auf Touch). */
.svc-ribbon {
  position: absolute;
  right: -11px;
  bottom: 1.15rem;
  z-index: 2;
  text-decoration: none;
  filter: drop-shadow(0 1px 2px rgba(36, 64, 9, 0.13));
  /* filter (drop-shadow) NICHT animieren – das rastert in Chromium pro Frame neu.
     Nur die GPU-günstige transform-Verschiebung läuft weich, der Schatten springt. */
  transition: transform 220ms ease;
}
.svc-ribbon-body {
  display: inline-flex;
  align-items: center;
  height: 2.4rem;
  padding: 0 1.05rem 0 1.5rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.015em;
  white-space: nowrap;
  color: #16240a;   /* sehr dunkles, fast schwarzes Grün */
  background: linear-gradient(180deg, #e7e8e5 0%, #dbdcd8 52%, #cccdc8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 15px 50%);
  transition: background 240ms ease, color 200ms ease, box-shadow 200ms ease;
}
.svc-ribbon::after {            /* Umschlag/Fold, der nach oben um die Kante greift */
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 10px;
  height: 9px;
  background: linear-gradient(135deg, #c3c5bf 0%, #a4a6a0 100%);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  transition: background 220ms ease;
}
/* Karten-Hover: Ribbon füllt sich im Markengrün – im Gleichklang mit dem Icon */
.tf-card:hover .svc-ribbon {
  filter: drop-shadow(0 4px 8px rgba(36, 64, 9, 0.22));
  transform: translateY(-1px);
}
.tf-card:hover .svc-ribbon-body {
  color: #fbffe6;
  background: linear-gradient(180deg, var(--tf-green-bright), var(--tf-green));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.tf-card:hover .svc-ribbon::after { background: #1b3107; }
/* Tastatur-Fokus klar sichtbar */
.svc-ribbon:focus-visible {
  outline: 2px solid var(--tf-green);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Navigation Link */
.nav-link {
  position: relative;
  padding: 0.4rem 0;
  font-weight: 400;
  color: #111;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--tf-green-bright);
  transition: width 160ms ease;
}
.nav-link:hover::after,
.nav-link:focus::after { width: 100%; }

/* Lang Switcher Button */
.lang-btn {
  padding: 0.25rem 0.55rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #888;
  border-radius: 6px;
  transition: color 120ms ease, background-color 120ms ease;
}
.lang-btn.is-active {
  color: var(--tf-green);
  background: rgba(134, 166, 19, 0.15);
}
.lang-btn:hover { color: var(--tf-green); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 60;
  transform: translateY(-100%);
  transition: transform 240ms ease;
  display: flex;
  flex-direction: column;
}
.mobile-menu.is-open {
  transform: translateY(0);
}
.mobile-menu a.menu-link {
  font-size: 1.5rem;
  font-weight: 900;
  padding: 0.5rem 0;
  color: #111;
}

/* Section base */
section { scroll-margin-top: 5rem; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tf-green);
  margin-bottom: 0.75rem;
}
.section-eyebrow.on-dark { color: var(--tf-yellow); }
.section-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.section-title-row .section-eyebrow {
  margin-bottom: 0;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--tf-green);
  background: rgba(36, 64, 9, 0.08);
}
.section-badge.on-dark {
  color: var(--tf-green);
  background: rgb(231, 238, 229);
}

h1, h2, h3 { font-weight: 900; letter-spacing: -0.01em; }
h1 { line-height: 1.05; }
h2 { line-height: 1.1; }
p { font-weight: 400; }

.lead {
  font-size: 1.4rem;
  font-weight: 300;
  color: #222;
  line-height: 1.55;
}

.hero-response-note {
  font-size: 1.05rem;
  line-height: 1.45;
}
.hero-response-link {
  color: var(--tf-black);
  text-decoration: none;
}
.hero-response-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hero-logo-animation {
  position: relative;
  width: min(38vw, 460px);
  aspect-ratio: 533 / 481;
  margin-inline: auto;
}
.hero-logo-final,
.hero-logo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-logo-final {
  object-fit: contain;
  opacity: 1;
  transition: opacity 420ms ease;
}
.hero-logo-canvas {
  pointer-events: none;
  opacity: 0;
  transition: opacity 420ms ease;
}
.hero-logo-animation.is-animating .hero-logo-final {
  opacity: 0;
}
.hero-logo-animation.is-animating .hero-logo-canvas {
  opacity: 1;
}
.hero-logo-animation.is-complete .hero-logo-final {
  opacity: 1;
}
.hero-logo-animation.is-complete .hero-logo-canvas {
  opacity: 0;
}
/* Beim Start der Animation ohne Crossfade umschalten (kein Aufblitzen des
   fertigen Logos). Wird direkt nach dem ersten Frame wieder entfernt. */
.hero-logo-animation.is-no-fade .hero-logo-final,
.hero-logo-animation.is-no-fade .hero-logo-canvas {
  transition: none;
}

@media (max-width: 1023.98px) {
  .hero-logo-animation { display: none; }
}

/* Process steps */
.process-step .step-no {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--tf-green-bright);
  line-height: 1;
}
.process-step p {
  font-size: 1.125rem;
  line-height: 1.625;
}
.service-process .process-step p {
  font-size: 1rem;
  line-height: 1.55;
}

/* Form */
.form-field {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #d0d4d8;
  border-radius: 10px;
  background: #ffffff;
  font: inherit;
  color: #111;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.form-field:focus {
  border-color: var(--tf-green);
  box-shadow: 0 0 0 3px rgba(134, 166, 19, 0.25);
  outline: none;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #1a1a1a;
}

/* Badge / chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(36, 64, 9, 0.08);
  color: var(--tf-green);
}
.chip.on-dark {
  background: rgba(255, 246, 125, 0.18);
  color: var(--tf-yellow);
}

/* ============================== ARBEITSFELDER DIAGRAM ============================== */

.approach-figure {
  box-shadow: 0 18px 45px -34px rgba(36, 64, 9, 0.35);
  overflow: hidden;
}

.approach-diagram {
  overflow: visible;
}

.approach-ki-term {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0 0.12em;
  display: inline;
  font: inherit;
  line-height: inherit;
  color: inherit;
  text-align: inherit;
  vertical-align: baseline;
  cursor: pointer;
  background-color: transparent;
  background-image: linear-gradient(180deg, transparent 55%, transparent 55%, transparent 92%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(36, 64, 9, 0.42);
  text-underline-offset: 0.18em;
  transition: background-image 160ms ease, text-decoration-color 160ms ease, color 160ms ease;
}
.approach-ki-term:hover,
.approach-ki-term:focus-visible,
#approach.is-ki-active .approach-ki-term {
  text-decoration-color: var(--tf-green);
}
#approach.is-ki-active .approach-ki-term {
  background-image: linear-gradient(180deg, transparent 55%, var(--tf-yellow) 55%, var(--tf-yellow) 92%, transparent 92%);
}

.approach-bullet {
  align-items: flex-start;
  border-radius: 8px;
  padding: 0.35rem 0.45rem 0.35rem 0;
  transition: color 160ms ease, transform 160ms ease;
}
.approach-bullet-dot {
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--tf-green-bright);
  flex: 0 0 auto;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.approach-bullet strong {
  background-image: linear-gradient(180deg, transparent 56%, transparent 56%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-image 160ms ease, color 160ms ease;
}
.approach-bullet.is-active {
  color: var(--tf-green);
}
.approach-bullet.is-active .approach-bullet-dot {
  background: var(--tf-yellow);
  box-shadow: 0 0 0 3px rgba(134, 166, 19, 0.2);
  transform: scale(1.35);
}
.approach-bullet.is-active strong {
  background-image: linear-gradient(180deg, transparent 52%, var(--tf-yellow) 52%, var(--tf-yellow) 90%, transparent 90%);
}

/* Arc (Consulting umschließend) */
.diag-arc {
  fill: none;
  stroke: url(#appr-arc-gradient);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-width 180ms ease, opacity 180ms ease;
}
/* Verbindungslinien zwischen den Disziplinen */
.diag-connect {
  fill: none;
  stroke: var(--tf-green);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.82;
  transition: opacity 180ms ease, stroke-width 180ms ease;
}
.diag-connect-horizontal {
  stroke-width: 3.6;
}

/* Gestrichelte Linien von KI zu den Disziplinen – Akzentgrün: KI „strahlt“ in die Felder */
.diag-dotted {
  fill: none;
  stroke: var(--tf-green-bright);
  stroke-width: 3;
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  opacity: 1;
}

/* Knoten-Hülle */
.diag-node-bg {
  fill: #ffffff;
  stroke: rgba(36, 64, 9, 0.22);
  stroke-width: 3;
  filter: drop-shadow(0 8px 16px rgba(36, 64, 9, 0.12));
  transition: fill 180ms ease, stroke 180ms ease, stroke-width 180ms ease, filter 220ms ease, transform 180ms ease;
}
.diag-node-ring {
  stroke-dasharray: none;
}
/* KI als zentraler Hub: dezente Tönung, kräftigerer Akzentrand, weicher Glow-Schatten */
.diag-ki-bg {
  fill: #f4f7e7;
  stroke: var(--tf-green-bright);
  stroke-width: 3;
  filter: drop-shadow(0 8px 20px rgba(134, 166, 19, 0.30));
}

/* Halo / Orbit-Ring um die KI */
.diag-halo {
  fill: none;
  stroke: var(--tf-green-bright);
  stroke-width: 1.8;
  stroke-dasharray: 2 7;
  opacity: 0.55;
  transition: opacity 180ms ease, stroke-width 180ms ease;
}

/* Icons innerhalb der Knoten */
.diag-node-icon {
  fill: none;
  stroke: var(--tf-green);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 180ms ease;
}
.diag-consulting-icon {
  stroke-width: 2.4;
}
.diag-consulting-icon-bg {
  filter: drop-shadow(0 5px 10px rgba(36, 64, 9, 0.1));
  stroke-width: 2.2;
}
.diag-sparkle-icon {
  stroke-width: 2.4;
  stroke: var(--tf-green-bright);
}
/* Cog ist um 1.18 skaliert → Strichstärke kompensieren, damit sie 2.4 visuell ergibt */
.diag-automation-icon {
  stroke-width: 2.03;
}

/* Labels unter den Knoten */
.diag-label {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 28px;
  fill: var(--tf-green);
  letter-spacing: 0;
  transition: fill 180ms ease;
}
.diag-label-lg {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 28px;
  fill: var(--tf-green);
  letter-spacing: 0;
  transition: fill 180ms ease;
}
/* KI-Label in Akzentgrün, passend zum Hub */
.diag-ki-label {
  fill: #6f8a10;
}

/* KI: zentraler Schriftzug */
.diag-ki-hit {
  fill: transparent;
  pointer-events: all;
}
.diag-ki-text {
  font-family: 'Lato', sans-serif;
  font-weight: 900;
  font-size: 46px;
  fill: var(--tf-green);
  letter-spacing: 0;
  transition: fill 180ms ease;
}

/* Hit-Area entlang des Bogens (transparent, aber klickbar) */
.diag-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 54;
  pointer-events: stroke;
}

/* Interaktive Knoten */
.diag-node {
  cursor: pointer;
  outline: none;
}
.diag-node:focus { outline: none; }
.diag-node:focus-visible .diag-node-bg {
  stroke: var(--tf-green-bright);
  stroke-width: 3;
}
.diag-node:focus-visible .diag-halo {
  stroke: var(--tf-green-bright);
  stroke-width: 2.4;
}
.diag-node:focus-visible .diag-arc {
  stroke-width: 5;
}
.diag-node:focus-visible .diag-label-lg {
  fill: var(--tf-green-bright);
}

/* Hover: gelber Akzent */
.diag-node:hover .diag-node-bg {
  fill: var(--tf-yellow);
  stroke: var(--tf-green);
}
.diag-node:hover .diag-arc {
  stroke-width: 5;
}
.diag-node:hover .diag-halo {
  opacity: 1;
}
.diag-node:hover .diag-ki-text {
  fill: var(--tf-green-bright);
}
.diag-node:hover .diag-label-lg {
  fill: var(--tf-green-bright);
}

/* Active: gleicher Look wie hover, aber mit kräftigerem Drop-Shadow + dickerer Stroke */
.diag-node.is-active .diag-node-bg {
  fill: var(--tf-yellow);
  stroke: var(--tf-green);
  stroke-width: 3.4;
  filter: drop-shadow(0 10px 18px rgba(36, 64, 9, 0.2));
}
.diag-node.is-active .diag-arc {
  stroke-width: 5.2;
}
.diag-node.is-active .diag-halo {
  opacity: 1;
  stroke-width: 2.2;
}
.diag-node.is-active .diag-node-icon {
  stroke: var(--tf-green);
}
.diag-node.is-active .diag-ki-text {
  fill: var(--tf-green);
}
.diag-node.is-active .diag-label-lg {
  fill: var(--tf-green);
}

/* Utility: max readable line length for prose */
.measure { max-width: 62ch; }

/* Footer */
footer { background: #0a0f04; color: #d9d9d9; }
footer a { color: #ffffff; }
footer a:hover { color: var(--tf-yellow); }

/* Logo image sizing */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--tf-black);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  white-space: nowrap;
  font-family: 'Lato', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1;
}
.brand-wordmark-strong {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.25rem;
}
.brand-wordmark-light {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.12rem;
}
.logo-img { height: 36px; width: auto; }
.logo-img-lg { height: 44px; width: auto; }

/* Wortmarke nur im Tablet-Bereich (768–920px) ausblenden, wo Desktop-Nav +
   Sprach-Switch + CTA neben der Marke eng werden. Auf Phones passt
   „TEAFAN MEDIA" problemlos (bis 320px getestet, ~46px Luft) → wird gezeigt. */
@media (min-width: 768px) and (max-width: 920px) {
  .brand-wordmark { display: none; }
}

/* Anchor offset for nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Standard (u. a. Chromium → Arc/Dia): KEIN Live-Blur. Ein backdrop-filter auf
     einem seitenbreiten Sticky-Header zwingt Chromium, den Hintergrund bei jedem
     Scroll-Frame neu zu rastern → ruckeliges Scrollen. Ein nahezu deckender
     Hintergrund liefert denselben „abgesetzten" Look ohne den Jank. */
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Nur Safari/WebKit: dort ist backdrop-filter GPU-beschleunigt und scrollt flüssig
   → Safari behält den Frosted-Glass-Look. Die Weiche nutzt -webkit-hyphens (eine
   Safari-exklusive Eigenschaft; modernes Chromium liefert hier false); der
   not(-moz-appearance)-Teil schließt Firefox aus, das einige -webkit-Eigenschaften
   aliast. */
@supports (-webkit-hyphens: none) and (not (-moz-appearance: none)) {
  header.site-header {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

header.site-header .btn {
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
}

@media (max-width: 640px) {
  .lead { font-size: 1.22rem; }
  .btn { font-size: 1.08rem; }
  .hero-response-note { font-size: 0.98rem; }
}

/* Snapshot-Karten (weiß auf weiß, seitenweiser Crossfade) */
.snapshot-section {
  min-height: 197px;
  padding: 2rem 0;
  display: flex;
  align-items: center;
}
.snapshot-section > .max-w-7xl {
  width: 100%;
}
.snapshot-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.snap-content {
  flex: 1 1 auto;
  min-width: 0;
}
.snap-page-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.95rem;
  color: rgba(36, 64, 9, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}
.snap-page-label::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: rgba(36, 64, 9, 0.13);
}

@media (min-width: 1200px) {
  .snapshot-section {
    height: 197px;
    min-height: 0;
    padding: 0;
  }
}
.snap-stage {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem 1.5rem;
  transition: opacity 350ms ease, transform 350ms ease;
}
.snap-stage.is-fading {
  opacity: 0;
  transform: translateY(6px);
}
/* Messdurchlauf: kurz alle Karten oben ausgerichtet einblenden, um die
   höchste Karte zu ermitteln (siehe lockBandHeight in script.js). */
.snap-stage.is-measuring {
  min-height: 0;
}
.snap-stage.is-measuring .snap-card {
  display: flex !important;
  grid-column-start: auto !important;
  align-self: start;
}
.snap-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.snap-card-icon {
  flex-shrink: 0;
  color: var(--tf-black);
  line-height: 0;
}
.snap-card-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}
.snap-card-body { min-width: 0; }
.snap-card-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.125rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--tf-black);
  line-height: 1.25;
}
.snap-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--tf-green-bright);
  flex-shrink: 0;
}
.snap-card-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}
.snap-arrow {
  flex: 0 0 auto;
  width: 2.6rem; height: 2.6rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: transparent;
  border: 0;
  color: var(--tf-green);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}
.snap-arrow:hover {
  background: #e5e7eb;
  color: var(--tf-green);
}
.snap-sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Sichtbare Karten pro Seite: 1 (Mobile) → 2 (sm) → 3 (md) → 4 (xl) */
@media (min-width: 640px) {
  .snap-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .snap-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .snap-stage { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================== PROJEKTE-KARUSSELL ============================== */

.proj-carousel {
  --card-w: 82vw;
  --card-gap: 1.25rem;
  position: relative;
}

.proj-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.proj-track {
  position: relative;
  display: flex;
  gap: var(--card-gap);
  padding: 1.25rem 0 2.25rem;
  will-change: transform;
  transition: transform 480ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Beim nahtlosen Endlos-Sprung (Klon → echte Karte) alle Übergänge kurz aus,
   damit Position UND Skalierung gleichzeitig und unsichtbar übernommen werden. */
.proj-carousel.is-snapping .proj-track,
.proj-carousel.is-snapping .proj-card {
  transition: none !important;
}

.proj-card {
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  opacity: 0.42;
  transform: scale(0.9);
  transform-origin: center bottom;
  transition: transform 440ms cubic-bezier(0.4, 0, 0.2, 1), opacity 440ms ease, box-shadow 440ms ease, border-color 440ms ease;
}
.proj-card:not(.is-active) { cursor: pointer; }
.proj-card.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: #e0e6d4;
  box-shadow: 0 34px 64px -34px rgba(36, 64, 9, 0.45);
}

/* ---- Medien-Bühne (randlos) ---- */
.proj-card-media {
  position: relative;
  height: 15rem;
  overflow: hidden;
  background: #0e0e0e;
}

/* Browser-Webseiten: Chrome-Leiste oben, Screenshot füllt den Rest randlos */
.proj-media--browser { display: flex; flex-direction: column; background: #ffffff; }
.proj-browser-bar {
  flex: 0 0 auto;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: #f0f1f3;
  border-bottom: 1px solid #e4e5e8;
}
.proj-browser-dot { width: 9px; height: 9px; border-radius: 50%; background: #cfd2d6; }
.proj-browser-dot:nth-child(1) { background: #ff5f57; }
.proj-browser-dot:nth-child(2) { background: #febc2e; }
.proj-browser-dot:nth-child(3) { background: #28c840; }
.proj-browser-url {
  margin-left: 8px;
  flex: 1;
  min-width: 0;
  max-width: 62%;
  height: 18px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  color: #8b8f96;
  background: #ffffff;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.proj-media--browser .proj-media-img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Randlose Vollbild-Medien (Diagramm, Video-Thumbnail) */
.proj-media--full .proj-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.proj-media--video .proj-media-img { object-position: center; }
.proj-media--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

/* Schwebendes Fenster (macOS-App mit transparentem Hintergrund) */
.proj-media--float {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem;
  background: linear-gradient(160deg, #eef1f4, #dde2e9);
}
.proj-float-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
}

/* Phone-Bühne (zwei iPhones, vorne/hinten gestaffelt) */
.proj-media--phone { background: linear-gradient(160deg, #f3f5f7, #e6eaef); }
.proj-frame-phone {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-phone {
  padding: 4px;
  background: #0e0e0e;
  border-radius: 22px;
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.5);
}
.proj-phone img {
  display: block;
  height: 11.5rem;
  width: auto;
  border-radius: 18px;
}
.proj-phone--front { position: relative; z-index: 2; transform: rotate(-3deg) translateX(-8%); }
.proj-phone--back {
  position: absolute;
  z-index: 1;
  transform: translate(34%, -6%) rotate(7deg) scale(0.9);
  opacity: 0.92;
}

/* Lupe + Play-Button auf den Medien */
.proj-zoom-btn {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 4;
  width: 2.3rem;
  height: 2.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 15, 15, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease, background-color 160ms ease;
}
.proj-card.is-active .proj-zoom-btn { opacity: 1; transform: translateY(0); }
.proj-zoom-btn:hover { background: rgba(15, 15, 15, 0.82); }
.proj-zoom-btn:focus-visible { opacity: 1; transform: translateY(0); }

.proj-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 4.6rem;
  height: 4.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 15, 15, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}
.proj-play-btn:hover { background: var(--tf-green); transform: translate(-50%, -50%) scale(1.06); }
.proj-play-btn svg { margin-left: 2px; }

/* ---- Karten-Body ---- */
.proj-card-body {
  padding: 1.35rem 1.45rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.proj-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.proj-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.proj-badge-type { background: rgba(36, 64, 9, 0.08); color: var(--tf-green); }
.proj-badge-soft { background: #f1f1f1; color: #555; }
.proj-badge-live { background: rgba(134, 166, 19, 0.16); color: #4d6309; }
.proj-badge-dev { background: rgba(240, 165, 30, 0.16); color: #9a6300; }
.proj-badge-dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; flex: 0 0 auto; }
.proj-badge-live .proj-badge-dot {
  background: var(--tf-green-bright);
  animation: projPulse 2.4s ease-out infinite;
}
.proj-badge-dev .proj-badge-dot { background: #f0a51e; }
@keyframes projPulse {
  0% { box-shadow: 0 0 0 0 rgba(134, 166, 19, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(134, 166, 19, 0); }
  100% { box-shadow: 0 0 0 0 rgba(134, 166, 19, 0); }
}

.proj-card-head { display: flex; align-items: center; gap: 0.75rem; }
.proj-app-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.4);
}
.proj-app-icon--plain {
  background: #ffffff;
  border: 1px solid #ececec;
  padding: 6px;
  object-fit: contain;
}

.proj-card-title {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.proj-card-desc { font-size: 1.125rem; color: #555; line-height: 1.625; }
.proj-card-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.1rem; }
.proj-card-chips .chip { font-size: 0.72rem; }
.proj-card-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--tf-green);
  text-decoration: none;
}
.proj-card-cta svg { transition: transform 160ms ease; }
.proj-card-cta:hover { color: #31570c; }
.proj-card-cta:hover svg { transform: translate(2px, -2px); }

/* ---- Steuerung (Pfeile + Dots) ---- */
.proj-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.proj-nav {
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #e2e2e2;
  background: #ffffff;
  color: var(--tf-green);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.proj-nav:hover { background: var(--tf-green); color: #ffffff; border-color: var(--tf-green); }
.proj-nav:active { transform: translateY(1px); }
.proj-nav:disabled { opacity: 0.35; cursor: default; }
.proj-nav:disabled:hover { background: #ffffff; color: var(--tf-green); border-color: #e2e2e2; }

.proj-dots { display: flex; align-items: center; gap: 0.5rem; }
.proj-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d3d7cf;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.proj-dot.is-active { background: var(--tf-green-bright); transform: scale(1.3); }

/* ---- Responsive ---- */
@media (min-width: 640px) {
  .proj-carousel { --card-w: 28rem; --card-gap: 1.5rem; }
  .proj-card-media { height: 20rem; }
  .proj-phone img { height: 15rem; }
}
@media (min-width: 1024px) {
  .proj-carousel { --card-w: 40rem; }
  .proj-card-media { height: 24rem; }
  .proj-card-body { padding: 1.6rem 1.9rem 1.9rem; }
  .proj-card-title { font-size: 1.5rem; }
  .proj-card-desc { font-size: 1.125rem; }
  .proj-phone img { height: 19rem; }
}

/* Auf kleinen Screens nur ein iPhone zeigen (klarer, weniger Gedränge) */
@media (max-width: 639px) {
  .proj-phone--back { display: none; }
  .proj-phone--front { transform: none; }
}

/* ---- Lightbox (Screenshot / Video groß) ---- */
.proj-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8, 10, 6, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.proj-lightbox[hidden] { display: none; }
.proj-lightbox-content {
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-lightbox-content img {
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.proj-lightbox-video {
  width: min(96vw, 1100px);
  aspect-ratio: 16 / 9;
  max-height: 88vh;
  border: 0;
  border-radius: 10px;
  background: #000000;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.proj-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: background-color 150ms ease;
}
.proj-lightbox-close:hover { background: rgba(255, 255, 255, 0.28); }
body.proj-lightbox-open { overflow: hidden; }

/* DSGVO-Hinweis vor dem YouTube-Embed (Zwei-Klick-Lösung) */
.proj-consent {
  max-width: 30rem;
  padding: 1.7rem 1.7rem 1.5rem;
  border-radius: 16px;
  background: #11150c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.proj-consent-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #d4d7cd;
  margin-bottom: 1.3rem;
}
.proj-consent-text a { color: #ffffff; text-decoration: underline; text-underline-offset: 0.15em; }
.proj-consent-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.proj-consent-load { font-size: 1rem; padding: 0.8rem 1.4rem; }
.proj-consent-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cdd2c2;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.proj-consent-link:hover { color: #ffffff; }

/* ============================== KONTAKTFORMULAR (Dark Glass Card) ============================== */
.contact-card {
  position: relative;
  border-radius: 16px;
  padding: 2.1rem 1.7rem 1.8rem;
  background:
    linear-gradient(158deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.018) 62%),
    rgba(13, 26, 3, 0.4);
  border: 1px solid var(--tf-green-bright);
  box-shadow:
    0 30px 70px -42px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
@media (min-width: 1024px) {
  .contact-card { padding: 2.6rem 2.4rem 2.1rem; }
}

.cf-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--tf-yellow);
  background: rgba(255, 246, 125, 0.1);
  border: 1px solid rgba(255, 246, 125, 0.28);
}
.cf-badge svg { width: 16px; height: 16px; }

.cf-title {
  margin-top: 1.05rem;
  font-size: 1.95rem;
  line-height: 1.08;
  font-weight: 800;
  color: #ffffff;
}
@media (min-width: 1024px) {
  .cf-title { font-size: 2.35rem; }
}
.cf-sub {
  margin-top: 0.5rem;
  margin-bottom: 1.55rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.cf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.cf-col-span-2 { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .cf-grid { grid-template-columns: 1fr; }
}

.cf-field { position: relative; margin-bottom: 0.85rem; }
.cf-grid .cf-field { margin-bottom: 0; }

.cf-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: color 140ms ease;
}
.cf-icon svg { width: 19px; height: 19px; }
.cf-icon--top { top: 1.1rem; transform: none; }

.cf-input {
  display: block;
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 2.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: #ffffff;
  font: inherit;
  font-size: 1rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}
.cf-input::placeholder { color: rgba(255, 255, 255, 0.5); }
.cf-input:hover { border-color: rgba(255, 255, 255, 0.24); }
.cf-input:focus {
  outline: none;
  border-color: rgba(255, 246, 125, 0.7);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 246, 125, 0.14);
}
.cf-field:focus-within .cf-icon { color: var(--tf-yellow); }

.cf-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 2.6rem;
  color: rgba(255, 255, 255, 0.92);
}
.cf-select.is-empty { color: rgba(255, 255, 255, 0.5); }
.cf-select option { color: #111111; }
.cf-chevron {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
.cf-chevron svg { width: 18px; height: 18px; }

.cf-textarea {
  min-height: 130px;
  padding-top: 0.95rem;
  line-height: 1.5;
  resize: vertical;
}
.cf-count {
  position: absolute;
  right: 0.95rem;
  bottom: 0.7rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.cf-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.05rem 0 1.3rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.45;
}
.cf-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.cf-check-box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 140ms ease, border-color 140ms ease;
}
.cf-check-box svg {
  width: 13px;
  height: 13px;
  color: var(--tf-green);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 120ms ease, transform 120ms ease;
}
.cf-check input:checked + .cf-check-box {
  background: var(--tf-yellow);
  border-color: var(--tf-yellow);
}
.cf-check input:checked + .cf-check-box svg { opacity: 1; transform: scale(1); }
.cf-check input:focus-visible + .cf-check-box {
  box-shadow: 0 0 0 3px rgba(255, 246, 125, 0.25);
}
.cf-check a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cf-check a:hover { color: var(--tf-yellow); }

.cf-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--tf-green);
  background: var(--tf-yellow);
  box-shadow: 0 14px 30px -16px rgba(255, 246, 125, 0.5);
  transition: transform 120ms ease, box-shadow 160ms ease, background-color 160ms ease;
}
.cf-submit svg { width: 18px; height: 18px; }
.cf-submit:hover {
  background: #fff199;
  box-shadow: 0 18px 36px -16px rgba(255, 246, 125, 0.62);
  transform: translateY(-1px);
}
.cf-submit:active { transform: translateY(1px); }
.cf-submit:disabled {
  cursor: progress;
  opacity: 0.72;
  box-shadow: none;
  transform: none;
}
.cf-submit:disabled:hover {
  background: var(--tf-yellow);
  box-shadow: none;
  transform: none;
}

.cf-reassure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
}
.cf-reassure svg { width: 16px; height: 16px; color: rgba(255, 255, 255, 0.5); }

.cf-status {
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tf-yellow);
}
.cf-status.is-error { color: #ffb4a8; }

/* ============================== ÜBER – Portrait ============================== */
.about-portrait {
  position: relative;
  width: 100%;
  max-width: 21rem;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
@media (min-width: 1024px) {
  .about-portrait { margin: 0; }
}

.about-portrait-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 0.5rem;
  background: linear-gradient(150deg, var(--tf-green-bright), var(--tf-green));
  box-shadow: 0 26px 50px -28px rgba(36, 64, 9, 0.55);
}
.about-portrait-clip {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #eef1e6;
}
.about-portrait-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.32);
  transform-origin: 50% 24%;
}

/* =========================================================================
   SEO-Umbau v2 – zusätzliche Komponenten
   ========================================================================= */

/* Sprachwechsel als Links (statt Buttons) */
.lang-switch { align-items: center; gap: 0.15rem; }

/* Leistungen-Dropdown im Header (CSS-only, hover + focus-within) */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-caret { transition: transform 160ms ease; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

.nav-flyout {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 17rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 18px 40px -22px rgba(36, 64, 9, 0.45);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 70;
}
.nav-dropdown:hover .nav-flyout,
.nav-dropdown:focus-within .nav-flyout {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}
.nav-flyout ul { list-style: none; margin: 0; padding: 0; }
.nav-flyout-link {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 9px;
  font-weight: 700;
  color: #111;
  transition: background-color 120ms ease, color 120ms ease;
}
.nav-flyout-link:hover,
.nav-flyout-link:focus,
.nav-flyout-link[aria-current="page"] {
  background: rgba(134, 166, 19, 0.14);
  color: var(--tf-green);
}

/* Service-Unterlinks im Mobile-Menü (unter „Leistungen") */
.menu-sublinks {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.25rem 0 0.5rem 0.9rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(36, 64, 9, 0.15);
}
.mobile-menu a.menu-sublink {
  font-size: 1.05rem;
  font-weight: 700;
  color: #444;
  padding: 0.2rem 0;
}
.mobile-menu a.menu-sublink[aria-current="page"] { color: var(--tf-green); }

/* Breadcrumb (Service- und Rechtsseiten) */
.bc {
  font-size: 0.85rem;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.bc a { color: var(--tf-green); font-weight: 700; }
.bc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bc-sep { color: #b8c0c4; }
.bc-current { color: #6b7280; }

/* FAQ-Accordion (Service-Seiten) – semantisch <details>/<summary>, kein JS */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}
.faq-item[open] { border-color: var(--tf-green-bright); }
summary.faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--tf-green);
  padding: 1.1rem 1.4rem;
}
summary.faq-q::-webkit-details-marker { display: none; }
summary.faq-q::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 180ms ease;
}
.faq-item[open] summary.faq-q::after { transform: rotate(-135deg); margin-top: 2px; }
.faq-a {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4b5563;
  padding: 0 1.4rem 1.2rem;
}
@media (prefers-reduced-motion: reduce) {
  summary.faq-q::after { transition: none; }
}

/* „Wann ist das sinnvoll?" – Situationsliste */
.situations { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
@media (min-width: 768px) { .situations { grid-template-columns: 1fr 1fr; gap: 0.85rem 2.5rem; } }
.situations li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1.25rem; line-height: 1.5; }
.sit-tick { flex: none; color: var(--tf-green-bright); margin-top: 2px; }

/* Abschnitts-Unterüberschriften (Kern / Add-ons) */
.svc-subhead {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
  margin: 0 0 1rem;
}
.bausteine-grid + .svc-subhead { margin-top: 2.5rem; }

/* Leistungsbausteine – Karten mit Icon-Badge (Kern = Häkchen, Add-on = Plus) */
.bausteine-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bausteine-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bausteine-grid { grid-template-columns: repeat(3, 1fr); } }
.baustein {
  position: relative;
  background: #ffffff;
  border: 1px solid #e7e9e4;
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.baustein:hover {
  border-color: var(--tf-green-bright);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -24px rgba(36, 64, 9, 0.45);
}
.baustein--addon { background: #fafbf7; }
.baustein-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
}
.baustein--core .baustein-badge { background: rgba(36, 64, 9, 0.10); color: var(--tf-green); }
.baustein--addon .baustein-badge { background: rgba(134, 166, 19, 0.18); color: var(--tf-green-bright); }
.baustein-title { font-size: 1.08rem; font-weight: 900; color: #111; }
.baustein-desc { font-size: 1.125rem; line-height: 1.55; color: #55605a; }

/* Arbeitsmodi – mittlere Karte hervorgehoben */
.modes-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 768px) { .modes-grid { grid-template-columns: repeat(3, 1fr); } }
.mode-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e7e9e4;
  border-radius: 18px;
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.mode-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(36, 64, 9, 0.4); }
.mode-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(36, 64, 9, 0.09);
  color: var(--tf-green);
  margin-bottom: 1rem;
}
.mode-name { font-size: 1.3rem; font-weight: 900; color: var(--tf-green); margin-bottom: 0.5rem; }
.mode-dl { margin: 0; }
.mode-dl dt {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa5a9;
  margin-top: 0.85rem;
}
.mode-dl dd { margin: 0.15rem 0 0; font-size: 1.125rem; line-height: 1.5; color: #55605a; }
.mode-card--featured {
  background: var(--tf-green);
  border-color: var(--tf-green);
  box-shadow: 0 26px 55px -26px rgba(36, 64, 9, 0.65);
}
@media (min-width: 768px) {
  .mode-card--featured { transform: translateY(-12px); }
  .mode-card--featured:hover { transform: translateY(-15px); }
}
.mode-card--featured .mode-name { color: #ffffff; }
.mode-card--featured .mode-icon { background: rgba(255, 255, 255, 0.14); color: var(--tf-yellow); }
.mode-card--featured .mode-dl dt { color: rgba(255, 255, 255, 0.6); }
.mode-card--featured .mode-dl dd { color: rgba(255, 255, 255, 0.9); }
.mode-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tf-yellow);
  color: var(--tf-green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.35);
}

/* Use-Case-Karten – vertikaler Flow Problem → Umsetzung → Ergebnis */
.usecase-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .usecase-grid { grid-template-columns: 1fr 1fr; } }
.usecase-card {
  background: #ffffff;
  border: 1px solid #e7e9e4;
  border-radius: 18px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.usecase-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(36, 64, 9, 0.4); }
.uc-row { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.35rem 0; }
.uc-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.uc-problem .uc-icon { background: #f1f3ee; color: #6b7280; }
.uc-do .uc-icon { background: rgba(134, 166, 19, 0.16); color: var(--tf-green-bright); }
.uc-result .uc-icon { background: rgba(36, 64, 9, 0.12); color: var(--tf-green); }
.uc-body { flex: 1; }
.uc-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa5a9;
  margin-bottom: 0.1rem;
}
.uc-do .uc-label { color: var(--tf-green-bright); }
.uc-result .uc-label { color: var(--tf-green); }
.uc-row p { font-size: 1.125rem; line-height: 1.5; color: #374151; margin: 0; }
.uc-result p { color: var(--tf-green); font-weight: 600; }

/* Vor-Ort / Remote-Banner */
.collab { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .collab { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.collab-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e7e9e4;
  border-left: 5px solid var(--tf-green);
  border-radius: 0 16px 16px 0;
  padding: 1.45rem 1.6rem;
  box-shadow: 0 14px 32px -26px rgba(36, 64, 9, 0.45);
}
.collab-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 64, 9, 0.09);
  color: var(--tf-green);
}
.collab-title { font-size: 1.12rem; font-weight: 900; color: #111; margin-bottom: 0.3rem; }
.collab-text { font-size: 1rem; line-height: 1.55; color: #55605a; }

/* Cross-Service „Passt dazu" */
.related { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.related-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--tf-green-bright);
  color: var(--tf-green);
  font-weight: 700;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  transition: background-color 150ms ease, color 150ms ease;
}
.related-link:hover { background: var(--tf-green); color: #ffffff; }

/* Proof-Element (echtes Projektmaterial als Beleg) */
.svc-proof { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 1rem; max-width: 760px; }
.svc-proof-frame { position: relative; display: block; border-radius: 10px; overflow: hidden; border: 1px solid #e5e7eb; }
.svc-proof-frame img { display: block; width: 100%; height: auto; }
.svc-proof-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; }
.svc-proof-play svg { width: 64px; height: 64px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45)); }
.svc-proof-cap { margin-top: 0.85rem; font-size: 0.9rem; color: #6b7280; }
.svc-proof-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }

*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com*/*,:after,:before{box-sizing:border-box;border:0 solid #e5e7eb}:after,:before{--tw-content:""}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Lato,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.visible{visibility:visible}.invisible{visibility:hidden}.static{position:static}.relative{position:relative}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-16{height:4rem}.h-auto{height:auto}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-full{width:100%}.max-w-3xl{max-width:48rem}.max-w-7xl{max-width:80rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-10{gap:2.5rem}.gap-12{gap:3rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-7{gap:1.75rem}.gap-8{gap:2rem}.gap-x-12{-moz-column-gap:3rem;column-gap:3rem}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem*var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(.75rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem*var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem*var(--tw-space-y-reverse))}.space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2rem*var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-l-4{border-left-width:4px}.border-t{border-top-width:1px}.border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity,1))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity,1))}.border-tf-green{--tw-border-opacity:1;border-color:rgb(36 64 9/var(--tw-border-opacity,1))}.border-tf-green-bright{--tw-border-opacity:1;border-color:rgb(134 166 19/var(--tw-border-opacity,1))}.border-white\/10{border-color:hsla(0,0%,100%,.1)}.bg-tf-bg-light{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity,1))}.bg-tf-green{--tw-bg-opacity:1;background-color:rgb(36 64 9/var(--tw-bg-opacity,1))}.bg-tf-green-bright{--tw-bg-opacity:1;background-color:rgb(134 166 19/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white\/5{background-color:hsla(0,0%,100%,.05)}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-14{padding-top:3.5rem;padding-bottom:3.5rem}.py-16{padding-top:4rem;padding-bottom:4rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-12{padding-bottom:3rem}.pb-20{padding-bottom:5rem}.pb-8{padding-bottom:2rem}.pl-5{padding-left:1.25rem}.pt-16{padding-top:4rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[1\.1rem\]{font-size:1.1rem}.text-\[1\.25rem\]{font-size:1.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-black{font-weight:900}.font-bold{font-weight:700}.uppercase{text-transform:uppercase}.italic{font-style:italic}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.text-gray-300{--tw-text-opacity:1;color:rgb(209 213 219/var(--tw-text-opacity,1))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity,1))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity,1))}.text-tf-yellow{--tw-text-opacity:1;color:rgb(255 246 125/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.text-white\/60{color:hsla(0,0%,100%,.6)}.text-white\/70{color:hsla(0,0%,100%,.7)}.text-white\/75{color:hsla(0,0%,100%,.75)}.text-white\/85{color:hsla(0,0%,100%,.85)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-4{text-underline-offset:4px}@media (min-width:640px){.sm\:flex{display:flex}.sm\:inline-flex{display:inline-flex}.sm\:flex-row{flex-direction:row}.sm\:text-5xl{font-size:3rem;line-height:1}}@media (min-width:768px){.md\:col-span-2{grid-column:span 2/span 2}.md\:col-span-3{grid-column:span 3/span 3}.md\:col-span-4{grid-column:span 4/span 4}.md\:flex{display:flex}.md\:hidden{display:none}.md\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1024px){.lg\:col-span-5{grid-column:span 5/span 5}.lg\:col-span-6{grid-column:span 6/span 6}.lg\:col-span-7{grid-column:span 7/span 7}.lg\:col-start-1{grid-column-start:1}.lg\:col-start-7{grid-column-start:7}.lg\:row-start-2{grid-row-start:2}.lg\:mt-0{margin-top:0}.lg\:block{display:block}.lg\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:p-6{padding:1.5rem}.lg\:p-8{padding:2rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:py-16{padding-top:4rem;padding-bottom:4rem}.lg\:py-24{padding-top:6rem;padding-bottom:6rem}.lg\:py-28{padding-top:7rem;padding-bottom:7rem}.lg\:pb-16{padding-bottom:4rem}.lg\:pb-28{padding-bottom:7rem}.lg\:pt-24{padding-top:6rem}.lg\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}.lg\:text-4xl{font-size:2.25rem;line-height:2.5rem}.lg\:text-5xl{font-size:3rem;line-height:1}.lg\:text-6xl{font-size:3.75rem;line-height:1}}