/* Shared visual language for the landing page, services, market and legal pages. */
@font-face { font-family: 'IBM Plex Sans'; src: url('/assets/fonts/ibm-plex-sans-400.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/assets/fonts/ibm-plex-sans-500.ttf') format('truetype'); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('/assets/fonts/ibm-plex-sans-600.ttf') format('truetype'); font-style: normal; font-weight: 600 900; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('/assets/fonts/outfit-600.ttf') format('truetype'); font-style: normal; font-weight: 600 900; font-display: swap; }
:root {
  --brand: #187344;
  --brand-dark: #10281f;
  --brand-ink: #23533b;
  --brand-light: #a8c7b2;
  --brand-tint: #e8ede5;
  --brand-border: #cfd9ce;
  --paper: #f6f5f0;
  --surface: #ffffff;
  --ink: #14261f;
  --muted: #4d5b52;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
}
html { scroll-padding-top: 80px; }
body { font-family: var(--font-body); background: var(--paper); color: var(--ink); font-weight: 400; }
button, input, textarea, select { font-family: inherit; }
button, .btn { font-weight: 500; }
h1, h2, h3 { font-family: var(--font-body); font-weight: 500 !important; letter-spacing: -.035em !important; text-wrap: balance; }
h1 { line-height: 1.08; }
#leistungen h2, #furwen h2, #ergebnisse h2, #ubermich h2, #kontakt h2, .company-title { font-weight: 500 !important; }
h2 { line-height: 1.15 !important; }
h3 { line-height: 1.22 !important; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brand) !important; outline-offset: 4px; }
a, button { -webkit-tap-highlight-color: transparent; }
button, .btn, input, textarea, select { border-radius: 4px !important; }
button, .btn { box-shadow: none !important; transition: color .18s ease, background-color .18s ease, border-color .18s ease !important; }
button:hover, .btn:hover { transform: none !important; box-shadow: none !important; }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--brand) !important; }
section[id] { scroll-margin-top: 0; }
.entry-wordmark, .hero-logo, .site-nav__wordmark, .footer-wordmark, .brand, .brand-main, .logo-text { font-family: 'Outfit', var(--font-body); font-weight: 600 !important; }
.entry-top, .entry-bottom, .entry-eyebrow, .entry-signature { font-family: var(--font-body); }
.entry-wordmark { letter-spacing: -.065em; }
.site-nav { background: rgba(246,245,240,.97) !important; backdrop-filter: none !important; }
.site-nav__links { gap: 26px; }
.site-nav__links a { font-size: 14px !important; }
.hero-title { font-size: clamp(42px, 5.1vw, 74px); font-weight: 500 !important; }
.hero-logo-lockup { margin-bottom: 38px; }
.hero-logo-sub strong { font-size: 17px; }
.hero-logo-sub span { font-size: 14px; font-weight: 400; }
.hero-logo { font-size: clamp(42px, 5vw, 65px); }
.hero-lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.7; }
.hero-ctas button { font-size: 15px !important; font-weight: 500 !important; }
.hero-section .hero-trust > div { font-size: 12px !important; }
/* Text remains visible; only the entrance carries decorative motion. */
.reveal-base, .reveal-base.is-visible, .reveal, .reveal.visible { opacity: 1 !important; transform: none !important; transition: none !important; will-change: auto; }
.flexb-site section:not(.entry-curtain) [style*="box-shadow"] { box-shadow: none !important; }
.section-heading { text-align: left !important; max-width: 760px !important; margin: 0 0 52px !important; }
.section-heading p { margin-left: 0 !important; }
.section-heading > div:first-child, .company-eyebrow, .eyebrow, .service-kicker { font-weight: 500 !important; font-size: 11px !important; letter-spacing: .12em !important; }
#leistungen, #ubermich { background: var(--paper) !important; }
#furwen { background: #eeefe9 !important; }
#kontakt { background: #fff !important; }
/* Existing alternating service rows, with open space instead of card shells. */
.service-feature-row { gap: clamp(28px, 5vw, 76px) !important; padding: 38px 0; border-top: 1px solid var(--brand-border); border-radius: 0 !important; }
.service-feature-row > .service-photo { border-radius: 2px !important; background: #e5e7df !important; height: 350px !important; }
.service-feature-row .service-photo img { filter: saturate(.65) contrast(.95) !important; min-height: 0 !important; }
.service-feature-row > .service-copy { padding: 20px 0 !important; height: auto !important; min-height: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; }
.service-copy h3 { font-size: clamp(28px, 3vw, 42px) !important; margin-bottom: 18px !important; }
.service-copy p { line-height: 1.8 !important; max-width: 520px; }
.service-meta { display: flex; gap: 18px; align-items: baseline; margin-bottom: 16px; }
.service-number { color: #7a8d7d; font-size: 12px; font-variant-numeric: tabular-nums; }
.service-meta > div { margin-bottom: 0 !important; }
.service-tags, .service-tags-react { gap: 0 !important; }
.service-tag, .service-tags-react span { background: transparent !important; border-radius: 0 !important; padding: 0 12px !important; color: var(--muted) !important; font-weight: 400 !important; font-size: 12px !important; }
.service-tag:first-child, .service-tags-react span:first-child { padding-left: 0 !important; }
.service-tag + .service-tag, .service-tags-react span + span { border-left: 1px solid var(--brand-border); }
.service-link { display: inline-flex; align-items: center; gap: 28px; color: var(--brand-ink); background: transparent; border-bottom: 1px solid #8aab94; padding: 8px 0; text-decoration: none; font-size: 14px; font-weight: 500; }
.service-link:hover { color: var(--brand); border-color: var(--brand); }
.service-link span { font-size: 20px; }
.forwhom-grid { gap: 0 !important; }
.forwhom-grid > div { padding: 30px !important; border: 0 !important; border-top: 1px solid var(--brand-border) !important; border-radius: 0 !important; background: transparent !important; }
.forwhom-grid > div + div { border-left: 1px solid var(--brand-border) !important; }
.forwhom-grid > div > div:first-child > div:first-child { background: transparent !important; color: var(--brand) !important; border-radius: 0 !important; width: 32px !important; }
.forwhom-grid ul > li { font-size: 15px !important; line-height: 1.7 !important; }
.forwhom-grid ul > li > div:first-child { background: transparent !important; }
.company-header { text-align: left; max-width: 820px; margin: 0 0 44px; }
.company-sub { margin: 0; }
.company-section { background: var(--paper); }
.company-map { padding: 24px 0; background: transparent; border: 0; border-top: 1px solid var(--brand-border); border-radius: 0 !important; }
.company-image-stage, .about-photo { border-radius: 2px !important; }
.company-hotspot { border-radius: 50% !important; }
#ergebnisse { background: var(--brand-dark) !important; }
#ergebnisse h2 { max-width: 820px; margin-left: auto; margin-right: auto; }
#ergebnisse a { background: transparent !important; border: 1px solid #648d75; border-radius: 4px !important; font-weight: 500 !important; }
/* Hover/Focus: Outline-Button fuellt sich, damit er als Button lesbar ist */
#ergebnisse a { transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
#ergebnisse a:hover,
#ergebnisse a:focus-visible { background: var(--brand) !important; border-color: var(--brand) !important; color: #fff !important; transform: none !important; }
/* globaler Focus-Ring ist var(--brand) !important - auf Dunkelgruen zu kontrastarm */
#ergebnisse a:focus-visible { outline: 2px solid var(--brand-light) !important; outline-offset: 3px; }
#ergebnisse a:active { background: #135e39 !important; border-color: #135e39 !important; }
@media (prefers-reduced-motion: reduce) { #ergebnisse a { transition: none; } }
.flexbot-fab { background: var(--brand-dark) !important; border-radius: 50% !important; width: 52px !important; height: 52px !important; }
.flexb-site footer { background: var(--brand-dark) !important; }
.flexb-site footer a, .flexb-site footer p { color: #b7c5ba !important; }
.flexb-site footer .footer-wordmark span { color: #74d69a !important; }
/* Detail pages share the same editorial rhythm, palette and controls. */
.flexb-service .nav, .flexb-market .nav { background: var(--paper); border-bottom: 1px solid var(--brand-border); backdrop-filter: none; }
.brand-sub strong { font-family: var(--font-body); font-weight: 500; font-size: 12px; letter-spacing: .16em; }
.brand-sub span { font-family: var(--font-body); font-size: 12px; }
.back { font-weight: 500; font-size: 14px; }
.eyebrow { border-radius: 0; background: transparent; padding: 0; color: var(--brand); }
.flexb-service h1 { font-size: clamp(40px, 5.5vw, 74px); }
.flexb-service .hero::before { filter: saturate(.55); }
.flexb-service .lead { max-width: 680px; }
.flexb-service .section-head h2, .flexb-market h2 { font-size: clamp(30px, 3.5vw, 48px); }
.btn-primary, .cal-btn, .submit-btn, .booking-submit { background: var(--brand); }
.flexb-service .btn-secondary { background: transparent; border-color: #789382; }
.phase { padding: 26px 18px; background: transparent; border: 0; border-top: 1px solid var(--brand-border); border-radius: 0; box-shadow: none; min-height: 260px; }
.phase:not(:last-child)::after { display: none; }
.phase-num { width: auto; height: auto; display: block; background: transparent; color: var(--brand); font-size: 13px; font-weight: 500; border-radius: 0; margin-bottom: 26px; }
.phase strong { font-weight: 500; font-size: 22px; line-height: 1.2; }
.phase small { font-weight: 500; }
.services-section { background: var(--paper); }
.service-row, .service-row.reverse { gap: clamp(28px, 5vw, 76px); border-top: 1px solid var(--brand-border); padding: 38px 0; }
.service-media, .service-row.reverse .service-media { background: #eaede6; border-radius: 2px; box-shadow: none; }
.service-media::after { display: none; }
.service-media img { filter: none; }
.service-content, .service-row.reverse .service-content { height: auto; min-height: 0; padding: 20px 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.service-title { font-weight: 500; }
.example-section { background: #eeefe9; }
.example-card, .info-card, .example-focus { border-radius: 2px; box-shadow: none; border-color: var(--brand-border); }
.example-card { background: transparent; border: 0; }
.example-body { padding: 24px 0; }
.example-body strong, .info-card strong, .example-focus-body strong { font-weight: 500; }
.info-card { background: transparent; border: 0; border-top: 1px solid var(--brand-border); padding: 26px 0; }
.info-grid { gap: 36px; }
.integration-logos img { border-radius: 2px; background: #fff; border-color: var(--brand-border); }
.cal-box { background: var(--paper); border-radius: 4px; border-color: var(--brand-border); }
.cal-icon { background: transparent; border-radius: 0; }
.contact-title { font-weight: 500; }
.flexb-market .hero:before { display: none; }
.flexb-market :is(.card, .tile, .use-card, .roi-step, .process-step, .level, .mini, .arrow-card, .rec-step) { border-radius: 3px; box-shadow: none; border-color: var(--brand-border); }
.flexb-market :is(.card, .tile, .use-card) { background: transparent; border: 0; border-top: 1px solid var(--brand-border); padding: 28px 0; }
.flexb-market .use-card:hover { transform: none; box-shadow: none; }
.flexb-market :is(.mini, .process-step, .level, .arrow-card, .source-under a, .source-list a) { font-weight: 500; }
.flexb-market .cta-band { background: var(--brand-dark); border-radius: 4px; box-shadow: none; }
.flexb-market :is(.curve-line, .bar-animated, .level) { transition: none; }
.flexb-market .curve-line { stroke-dashoffset: 0; }
.flexb-market :is(.bar-animated, .level) { transform: none; opacity: 1; }
.flexb-legal nav { background: var(--paper); backdrop-filter: none; }
.flexb-legal :is(p, address) { font-size: 16px; line-height: 1.8; }
.flexb-legal h1 { font-size: 40px; }
.flexb-legal h2 { font-size: 23px; }
.flexb-legal footer { background: var(--brand-dark); }
.flexb-legal footer a { color: var(--brand-light); }
.flexb-legal .legal-nav a { border-radius: 3px; }
@media (max-width: 900px) {
  .service-feature-row { gap: 22px !important; padding: 28px 0; }
  .service-feature-row > .service-photo { order: 0; height: 280px !important; }
  .service-feature-row > .service-copy { order: 1; }
  .service-row .service-media { order: 0; }
  .service-row .service-content { order: 1; }
  .forwhom-grid > div { padding: 26px 0 !important; }
  .forwhom-grid > div + div { border-left: 0 !important; }
  .section-heading { margin-bottom: 32px !important; }
}
@media (max-width: 640px) {
  .hero-title { font-size: clamp(34px, 9.4vw, 46px); }
  .hero-logo-lockup { margin-bottom: 30px; }
  .service-feature-row > .service-photo { min-height: 0 !important; height: 230px !important; }
  .service-feature-row .service-photo img { min-height: 0 !important; height: 100%; }
  .service-feature-row > .service-copy { min-height: 0 !important; }
  .service-copy h3 { overflow-wrap: normal; hyphens: manual; font-size: 28px !important; }
  .flexb-service .brand-sub { display: none; }
  .flexb-service .nav { height: 64px; padding: 0 18px; gap: 16px; flex-direction: row; align-items: center; }
  .flexb-service h1 { overflow-wrap: normal; hyphens: manual; font-size: clamp(32px, 9.7vw, 40px); }
  .flexb-service .hero::after { content: ""; position: absolute; inset: 0; background: rgba(246,245,240,.55); pointer-events: none; }
  .flexb-legal h1 { hyphens: auto; font-size: 36px; }
  .flexb-service .service-row, .flexb-service .service-row.reverse { gap: 20px; }
  .flexb-service .service-content { min-height: 0; height: auto; padding: 16px 0; }
  .flexb-legal .logo-sub, .flexb-legal .logo-div { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.flexb-market .story-map { border-radius: 0; box-shadow: none; border-width: 1px 0; }
.flexb-market .story-step { background: transparent; font-weight: 500; text-align: left; }
.flexb-market .story-num, .flexb-market .rec-num { display: block; width: auto; height: auto; margin: 0 0 18px; border-radius: 0; background: transparent; color: var(--brand); font-size: 13px; font-weight: 500; }
.flexb-market :is(.age-box, .chart-insight, .rec-note, .use-tag) { border-radius: 2px; }
.flexb-market .roi-calc { background: var(--brand-dark); border-radius: 4px; }
.flexb-market .roi-op, .flexb-market .roi-result { color: var(--brand-light); }
.flexb-market .roi-result { border-color: #648d75; }
.flexb-market .roi-note { color: #b7c5ba; }
.flexb-market .rec-step { text-align: left; background: transparent; border-width: 1px 0 0; }
.flexb-market .rec-step strong { font-weight: 500; }

.flexb-legal .brand { gap: 0; }
.flexb-legal .brand-sub { margin-left: 14px; }
.flexb-legal .card { background: transparent; border: 0; border-top: 1px solid var(--brand-border); border-radius: 0; box-shadow: none; padding: 30px 0; }
.flexb-legal .notice { border-radius: 3px; }
/* German compounds must also fit narrow phones without clipping grid tracks. */
.section-head, .section-head > *, .service-copy, .service-content { min-width: 0; }
@media (max-width: 640px) {
  #leistungen h2, #furwen h2, #ergebnisse h2, #ubermich h2, #kontakt h2, .company-title { font-size: clamp(30px, 8vw, 38px) !important; }
  .section-head h2, .service-copy h3, .service-title { hyphens: auto; }
}
