:root {
  --ink: #172a2d;
  --muted: #556568;
  --teal-950: #0b3036;
  --teal-900: #123f47;
  --teal-800: #1a5660;
  --teal-100: #e6f0f0;
  --olive: #667b3f;
  --olive-light: #edf1e5;
  --wheat: #d1b46d;
  --wheat-dark: #a98535;
  --paper: #ffffff;
  --cream: #f7f5ef;
  --sand: #eee8db;
  --line: #d7dfdd;
  --error: #9f2f2f;
  --shadow: 0 20px 55px rgba(18, 63, 71, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 11px;
  --shell: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin: 0 auto; }
.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; }
.operator-bar { background: var(--teal-950); color: #fff; font-size: 14px; }
.operator-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.operator-contact { display: flex; gap: 22px; }
.operator-contact a { text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-width: 320px; }
.brand-mark { color: var(--teal-900); font-weight: 900; font-size: 30px; line-height: 1; padding-right: 14px; border-right: 1px solid var(--line); letter-spacing: -.04em; }
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-size: 21px; letter-spacing: -.02em; overflow-wrap: anywhere; }
.brand-copy small { color: var(--muted); font-size: 13px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 16px; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--teal-800); }
.nav-cta { padding: 10px 18px; border-radius: 999px; background: var(--teal-900); color: #fff !important; }
.menu-toggle { display: none; background: transparent; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 28px; height: 2px; margin: 5px 0; background: var(--teal-900); }
.hero { background: linear-gradient(135deg, #fbfaf6 0%, #f2f6f2 62%, #e8f0ec 100%); border-bottom: 1px solid var(--line); }
.hero-grid { min-height: 650px; padding: 72px 0 62px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(460px, .92fr); align-items: center; gap: 58px; }
.eyebrow { margin: 0 0 14px; color: var(--olive); font-weight: 850; letter-spacing: .075em; text-transform: uppercase; font-size: 14px; line-height: 1.4; }
h1, h2, h3 { margin: 0; color: var(--teal-950); line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; hyphens: auto; }
h1 { font-size: clamp(46px, 4.5vw, 60px); max-width: 820px; }
h2 { font-size: clamp(34px, 3.6vw, 48px); }
h3 { font-size: 24px; }
.hero-lead { margin: 26px 0 0; max-width: 720px; color: #405255; font-size: 21px; line-height: 1.58; }
.button-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px; border-radius: 11px; text-decoration: none; font-weight: 820; border: 1px solid transparent; cursor: pointer; }
.button-primary { background: var(--teal-900); color: #fff; box-shadow: 0 14px 30px rgba(18,63,71,.18); }
.button-primary:hover { background: var(--teal-800); }
.button-secondary { color: var(--teal-900); border-color: var(--teal-800); background: rgba(255,255,255,.68); }
.button-light { background: #fff; color: var(--teal-950); }
.hero-media, .section-media, .special-media { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hero-media { aspect-ratio: 16/9; }
.hero-media img, .section-media img, .special-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { object-position: center 48%; }
figure figcaption { position: absolute; right: 12px; bottom: 12px; padding: 5px 9px; border-radius: 7px; background: rgba(10,29,31,.78); color: #fff; font-size: 12px; line-height: 1.2; }
.section { padding: 92px 0; }
.section-intro { background: #fff; }
.section-heading { margin-bottom: 42px; }
.section-heading.narrow { max-width: 850px; }
.section-heading p:last-child { margin: 22px 0 0; color: var(--muted); font-size: 20px; }
.opportunity-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.opportunity-grid article { padding: 30px 28px 32px; min-height: 245px; border-right: 1px solid var(--line); background: #fff; }
.opportunity-grid article:last-child { border-right: 0; }
.opportunity-grid span { display: block; margin-bottom: 20px; color: var(--wheat-dark); font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.opportunity-grid p { margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.section-owner { background: var(--cream); border-top: 1px solid #ebe7de; border-bottom: 1px solid #ebe7de; }
.split-grid { display: grid; grid-template-columns: minmax(430px, .95fr) minmax(0, 1.05fr); gap: 70px; align-items: center; }
.section-media { aspect-ratio: 3/2; }
.section-copy > p:not(.eyebrow) { color: var(--muted); margin: 24px 0 0; font-size: 19px; }
.check-list { list-style: none; padding: 0; margin: 25px 0 24px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 13px; height: 13px; border-radius: 50%; background: var(--wheat); box-shadow: inset 0 0 0 4px var(--cream); outline: 1px solid var(--wheat-dark); }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--teal-900); font-weight: 850; text-decoration: none; border-bottom: 1px solid rgba(18,63,71,.32); }
.section-special { background: var(--teal-950); color: #fff; }
.special-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr); gap: 66px; align-items: center; }
.special-copy h2 { color: #fff; }
.special-copy .eyebrow { color: #d8c383; }
.special-copy p:not(.eyebrow) { color: #d6e1e2; margin: 22px 0 0; font-size: 19px; }
.special-copy .button { margin-top: 26px; }
.special-media { aspect-ratio: 3/2; box-shadow: 0 24px 65px rgba(0,0,0,.28); }
.section-paths { background: #fff; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.path-card { padding: 42px; border-radius: var(--radius-lg); border: 1px solid var(--line); min-height: 330px; }
.buyer-card { background: var(--olive-light); }
.employee-card { background: var(--teal-100); }
.path-card p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.trust-strip { background: var(--wheat); color: var(--teal-950); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid div { min-height: 138px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-right: 1px solid rgba(18,63,71,.22); text-align: center; }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { font-size: 38px; line-height: 1; }
.trust-grid span { margin-top: 8px; font-weight: 750; }
.section-form { background: var(--cream); }
.form-shell { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: start; }
.form-intro { position: sticky; top: 150px; }
.form-intro p:not(.eyebrow) { color: var(--muted); font-size: 19px; }
.contact-form { padding: 38px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.intent-fieldset { margin: 0 0 26px; padding: 0; border: 0; }
.intent-fieldset legend { font-weight: 850; margin-bottom: 12px; }
.intent-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.intent-options label { cursor: pointer; }
.intent-options input { position: absolute; opacity: 0; pointer-events: none; }
.intent-options span { min-height: 50px; display: flex; align-items: center; justify-content: center; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font-weight: 800; text-align: center; }
.intent-options input:checked + span { background: var(--teal-900); border-color: var(--teal-900); color: #fff; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-wide { grid-column: 1/-1; }
.field label { display: block; margin-bottom: 7px; font-weight: 800; }
.field input, .field textarea { width: 100%; border: 1px solid #bdc9c7; border-radius: 10px; background: #fff; padding: 13px 14px; color: var(--ink); }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field textarea:focus { outline: 3px solid rgba(209,180,109,.32); border-color: var(--wheat-dark); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 22px; display: block; color: var(--error); font-size: 14px; }
.optional-details { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.optional-details summary { cursor: pointer; font-weight: 850; color: var(--teal-900); }
.optional-grid { margin-top: 18px; }
.form-action { margin-top: 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.contact-close { background: #fff; padding: 66px 0; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
.contact-details { display: grid; gap: 6px; justify-items: start; font-size: 20px; }
.contact-details a { color: var(--teal-900); text-decoration: none; font-weight: 750; }
.site-footer { background: #0b252a; color: #e4ecec; padding: 34px 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; }
.footer-grid p { margin: 3px 0 0; color: #aebfc1; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-grid a { text-decoration: none; }
.legal-main { min-height: 70vh; padding: 70px 0; background: var(--cream); }
.legal-card { max-width: 900px; padding: 44px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.legal-card h1 { font-size: 48px; }
.legal-card h2 { margin-top: 32px; font-size: 28px; }
.legal-back { display: inline-block; margin-bottom: 24px; color: var(--teal-900); font-weight: 800; text-decoration: none; }
.image-note-list { display: grid; gap: 18px; }
/* Robust wrapping for long German compound words and narrow screens. */
h1, h2, h3 { overflow-wrap: normal; word-break: normal; hyphens: auto; }
.brand-copy strong, .button, .text-link { overflow-wrap: anywhere; }
.hero-copy, .section-copy, .special-copy, .path-card, .form-intro { min-width: 0; }

@media (max-width: 1050px) {
  .site-nav { gap: 17px; font-size: 15px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .opportunity-grid { grid-template-columns: 1fr 1fr; }
  .opportunity-grid article { border-bottom: 1px solid var(--line); }
  .opportunity-grid article:nth-child(2) { border-right: 0; }
  .opportunity-grid article:nth-child(3), .opportunity-grid article:nth-child(4) { border-bottom: 0; }
  .split-grid, .special-grid { gap: 40px; }
}
@media (max-width: 850px) {
  html { scroll-padding-top: 90px; }
  body { font-size: 17px; }
  .shell { width: min(var(--shell), calc(100% - 32px)); }
  .operator-contact { display: none; }
  .operator-inner { justify-content: center; text-align: center; min-height: 34px; }
  .header-inner { min-height: 68px; gap: 14px; }
  .brand { min-width: 0; max-width: calc(100% - 54px); gap: 10px; }
  .brand-mark { font-size: 26px; }
  .brand-copy { min-width: 0; }
  .brand-copy strong { font-size: 18px; overflow-wrap: anywhere; }
  .brand-copy small { font-size: 12px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 18px 20px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 6px; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px; }
  .nav-cta { text-align: center; }
  .hero-grid { min-height: auto; padding: 42px 0 48px; grid-template-columns: 1fr; gap: 30px; }
  h1 { font-size: clamp(38px, 10vw, 52px); }
  h2 { font-size: clamp(31px, 8vw, 41px); }
  .hero-lead { font-size: 19px; }
  .hero-media { order: -1; aspect-ratio: 16/9; border-radius: 20px; }
  .section { padding: 66px 0; }
  .split-grid, .special-grid, .form-shell, .contact-grid { grid-template-columns: 1fr; }
  .split-grid { gap: 38px; }
  .special-grid { gap: 38px; }
  .special-media { order: -1; }
  .form-intro { position: static; }
  .path-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 26px; }
}
@media (max-width: 620px) {
  .shell { width: min(var(--shell), calc(100% - 24px)); }
  .header-inner { gap: 8px; }
  .brand { gap: 8px; max-width: calc(100% - 48px); }
  .brand-mark { padding-right: 8px; font-size: 23px; }
  .brand-copy strong { font-size: 16px; }
  .menu-toggle { padding: 8px 4px; flex: 0 0 40px; }
  .brand-copy small { display: none; }
  .operator-bar { font-size: 12px; }
  h1 { font-size: clamp(34px, 10vw, 39px); }
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; }
  .opportunity-grid { grid-template-columns: 1fr; }
  .opportunity-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .opportunity-grid article:last-child { border-bottom: 0 !important; }
  .path-card { padding: 28px 24px; min-height: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div { min-height: 108px; border-right: 0; border-bottom: 1px solid rgba(18,63,71,.22); }
  .trust-grid div:last-child { border-bottom: 0; }
  .contact-form { padding: 25px 20px; }
  .intent-options { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; gap: 16px; }
  .field-wide { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .legal-card { padding: 28px 22px; }
  .legal-card h1 { font-size: 38px; }
}


/* Eigenständige Gestaltung für agrarfoerderung.com */
.site-header::after { background: linear-gradient(90deg, var(--gold), var(--green-700), transparent 86%); }
.topic-card { border-top-color: rgba(197,139,74,.58); }
.path-card:nth-child(2) { background: #f7fbfa; }
.hero-media img { object-position: 50% 52%; }
#verkaufen .split-media img { object-position: 52% 48%; }
#standorte .split-media img { object-position: 52% 52%; }
.hero-media-mobile { display: none; }
@media (max-width: 850px) {
  .hero-media-desktop { display: none; }
  .hero-media-mobile { display: block; margin: 1rem 0 1.1rem; }
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -120px;
  z-index: 2000;
  padding: .7rem 1rem;
  border-radius: 10px;
  background: #fff;
  color: var(--green-950);
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }

.split-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
}
.split-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
