/* Offene Kapitel, Bildflächen und Typografie für die Startseite. */
.home-page, .edi-page { --paper: #ecece3; --ink: #203e2a; --serif: Georgia, 'Times New Roman', serif; }
.home-page h2 em { font-family: var(--serif); font-weight: 400; }
.home-page .process-points { gap: clamp(2rem, 5vw, 5rem); }
.home-page .process-points article { border: 0; padding-top: 0; }
.home-page .process-points h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.5vw, 2.1rem); }

/* Die Module bilden drei breite Kapitel ohne Kachelrahmen. */
.home-page .module-catalog, .edi-page .edi-field-section {
    background-color: #e4ebe0;
    background-image: linear-gradient(110deg, #f0f3ebe8, #dce7d9b8), url('/images/field-contours.svg');
    background-size: cover, 1440px auto;
    background-position: center, center top;
    background-repeat: no-repeat, repeat-y;
    color: var(--ink); padding-block: 7rem;
}
.module-catalog > .container { max-width: 1200px; width: 100%; }
.module-catalog .section-header { margin-bottom: 5rem; }
.module-catalog h2 { color: var(--ink); font-size: clamp(3rem, 5.5vw, 5.5rem); line-height: 1.05; letter-spacing: -0.045em; }
.module-catalog .section-number { color: #567359; }
.home-page .module-catalog .section-desc { color: #526455; margin-top: 1.5rem; }
.module-catalog .module-groups { display: block; }
.module-catalog .module-group { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 7rem); padding: 4.5rem 0; background: none; border: 0; border-top: 1px solid #203e2a33; border-radius: 0; }
.module-chapter-heading { position: relative; min-width: 0; align-self: start; }
.module-chapter-letter { display: block; font: 400 clamp(8rem, 14vw, 13rem)/0.85 var(--serif); letter-spacing: -0.08em; margin: 0 0 2rem -0.035em; color: #3e6043; }
@supports (background-clip: text) {
    .module-chapter-letter { background: url('/images/hero-ki-traktor.jpg') 30% 60% / 850px auto; background-clip: text; color: transparent; }
    .module-group:nth-child(2) .module-chapter-letter { background-position: 60% 75%; }
    .module-group:nth-child(3) .module-chapter-letter { background-position: 90% 40%; }
}
.module-catalog .module-group h3 { font: 400 clamp(2rem, 3.3vw, 3rem)/1.1 var(--serif); min-height: 0; color: var(--ink); max-width: 390px; letter-spacing: -0.035em; }
.module-catalog .module-group-intro { font-size: 0.95rem; min-height: 0; color: #526455; margin: 1.25rem 0 0; }
.module-catalog .module-group ul { display: block; align-self: center; }
.module-catalog .module-row { padding: 1.35rem 0; border: 0; border-bottom: 1px solid #203e2a26; }
.module-catalog .module-row:first-child { padding-top: 0; }
.module-catalog .module-row:last-child { border: 0; padding-bottom: 0; }
.module-catalog .module-row-heading { justify-content: space-between; gap: 0.5rem 1rem; }
.module-catalog .module-row h4 { font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.module-catalog .module-level { border: 0; border-radius: 0; padding: 0; color: #647969; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; }
.module-catalog .module-row p { color: #526455; font-size: 0.9rem; max-width: 450px; }
.module-catalog .module-detail-link, .module-catalog .module-catalog-note a { color: #285b35; }
.module-catalog .module-detail-link:focus-visible { outline-color: #285b35; }
.module-catalog .module-catalog-note { border-top: 1px solid #203e2a33; padding-top: 2rem; color: #526455; margin: 0; }

/* Produktnews als große typografische Fläche. */
.home-page .edi-news { padding-block: 6rem; }
.home-page .edi-news-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 3rem; border: 0; border-radius: 0; background: none; padding: 3rem 0 0; border-top: 1px solid #ffffff26; }
.home-page .edi-news-card::before { content: 'EDI'; display: block; grid-column: 1 / -1; font: 400 clamp(5rem, 16vw, 12rem)/0.9 var(--serif); color: #a8df99; letter-spacing: -0.055em; }
.home-page .edi-news-card h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.home-page .edi-news-card .btn { align-self: end; background: none; color: #a8df99; border: 0; border-radius: 0; border-bottom: 1px solid #a8df99; padding: 0.8rem 0; }

/* Freier Textsatz für die Zusammenarbeit. */
.home-page .benefits-summary { padding-block: 7rem; }
.benefits-summary .section-header { max-width: 800px; }
.benefits-summary h2 { font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.15; }
.benefits-summary .process-points { margin-top: 4rem; }
.benefits-summary .process-points article:nth-child(2) { padding-top: 3rem; }
.benefits-summary .process-points article:nth-child(3) { padding-top: 6rem; }

/* Ein zusammenhängender Weg mit einer ruhenden Einleitung. */
.home-page .pilot-story { background: #e6e7dc; color: var(--ink); padding-block: 7rem; }
.pilot-story > .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 6rem; width: 100%; max-width: 1200px; }
.pilot-intro { align-self: start; }
.pilot-story .section-number { color: #567359; }
.pilot-story h2 { color: var(--ink); font-size: clamp(2.7rem, 4.6vw, 4.5rem); line-height: 1.1; letter-spacing: -0.04em; }
.home-page .pilot-story .section-desc { margin: 2rem 0; color: #526455; font-size: 1rem; }
.editorial-link { display: inline-flex; align-items: center; gap: 1rem; color: var(--ink); border-bottom: 1px solid #203e2a66; padding-bottom: 0.6rem; font-size: 0.9rem; }
.editorial-link span { font-size: 1.5rem; }
.pilot-timeline { list-style: none; position: relative; padding: 0; margin: 0; }
.pilot-timeline::before { content: ''; position: absolute; width: 1px; background: #203e2a33; left: 0; top: 1rem; bottom: 4rem; }
.pilot-timeline li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.2rem; padding: 0 0 3rem 1.7rem; position: relative; }
.pilot-timeline li::before { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; left: -3px; top: 1rem; background: #51784e; }
.pilot-phase { font: italic 400 2.5rem/1.1 var(--serif); color: #80987a; }
.pilot-timeline h3 { font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.15 var(--serif); color: var(--ink); margin-bottom: 1rem; }
.pilot-timeline p { color: #526455; font-size: 0.95rem; line-height: 1.8; }
.infrastructure-note { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; border-top: 1px solid #203e2a33; padding-top: 2rem; }
.infrastructure-note .section-number { font-size: 0.7rem; }
.infrastructure-note p { color: #526455; font-size: 0.9rem; line-height: 1.8; }

/* Eine offene Einladung vor dem vorhandenen Agrarmotiv. */
.home-page .contact-scene { position: relative; overflow: hidden; isolation: isolate; padding-block: 8rem 3rem; background: #101d15; min-height: 85svh; }
.contact-landscape { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0e211ced 5%, #10291e8c 55%, #10291e15), url('/images/contact-landscape.svg') 70% center / cover; }
.contact-scene > .container { width: 100%; max-width: 1200px; }
.contact-scene .section-number { color: #a8bbab; font-size: 0.7rem; }
.contact-scene h2 { font-size: clamp(3.4rem, 7.8vw, 7rem); line-height: 1; letter-spacing: -0.045em; margin: 2.5rem 0 3.5rem; }
.contact-scene h2 em { color: #b5df9d; }
.contact-invitation { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.contact-invitation p { color: #c2cec1; line-height: 1.8; font-size: 1rem; }
.contact-mail { display: inline-block; font-size: clamp(1rem, 2.5vw, 1.65rem); margin-top: 2rem; padding-bottom: 0.5rem; border-bottom: 1px solid #bdcdbf; color: #fff; overflow-wrap: anywhere; }
.contact-arrow { flex-shrink: 0; width: 125px; height: 125px; display: grid; place-items: center; border: 1px solid #c6ddb577; border-radius: 50%; color: #c6ddb5; font-size: 4rem; transition: background 250ms, color 250ms; }
.contact-arrow:hover { background: #c6ddb5; color: #203e2a; }
.contact-arrow:focus-visible, .editorial-link:focus-visible { outline: 3px solid #78ac63; outline-offset: 7px; }
.contact-signature { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #ffffff26; padding-top: 1.5rem; margin-top: 6rem; font-size: 0.7rem; letter-spacing: 0.08em; color: #b6c5b9; }
.contact-signature a { color: #c6ddb5; }

/* Dieselbe offene Formensprache auf der EDI-Produktseite. */
.edi-page .edi-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 5rem; }
.edi-page .edi-services .module-tile { padding: 1.5rem 0 0; border: 0; border-top: 1px solid #ffffff26; background: none; border-radius: 0; }
.edi-page .edi-services .module-tile:hover, .edi-page .edi-steps .pilot-step:hover { transform: none; }
.edi-page .edi-services .pilot-number { display: none; }
.edi-page .edi-services h3, .edi-page .edi-steps h3 { font: 400 2rem/1.2 Georgia, serif; }
.edi-page .edi-steps { display: block; }
.edi-page .edi-steps .pilot-step { display: grid; grid-template-columns: 4rem 1fr 1.5fr; gap: 2rem; text-align: left; padding: 2rem 0; background: none; border: 0; border-top: 1px solid #ffffff26; border-radius: 0; }
.edi-page .edi-steps .pilot-number { font: italic 400 2.5rem/1 Georgia, serif; }
.edi-page .sovereign-box { border: 0; border-radius: 0; background: none; padding: 2rem 0 0; margin: 2rem 0 0; }
.edi-page .edi-flow { border: 0; border-radius: 0; background: none; }
.edi-page .edi-flow-core { border: 0; border-top: 1px solid #a8df9977; border-bottom: 1px solid #a8df9977; border-radius: 0; }

/* Gemeinsame Landschaftsmotive verbinden Produkt- und Startseite. */
.edi-page .edi-hero {
    background-color: #193629;
    background-image: linear-gradient(110deg, #10251fe8, #284c38d9), url('/images/field-contours.svg');
    background-size: cover, 1440px auto;
    background-position: center, right center;
}
.edi-page .edi-field-section h2, .edi-page .edi-field-section h3 { color: var(--ink); }
.edi-page .edi-field-section p { color: #526455; }
.edi-page .edi-field-section .edi-eyebrow { color: #567359; }
.edi-page .edi-field-section .pilot-number { color: #567359; }
.edi-page .edi-field-section .module-tile, .edi-page .edi-field-section .pilot-step { border-top-color: #203e2a33; }
.edi-page #anbindung { border-top: 1px solid #203e2a26; background-position: center, left bottom; }
.edi-page .edi-contact-scene {
    background: linear-gradient(90deg, #0e211ced 5%, #10291eb3 60%, #10291e38), url('/images/contact-landscape.svg') 70% center / cover;
    padding-block: 7rem;
}
.edi-page .edi-contact-scene h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.15; }
.edi-page .edi-contact-scene p { color: #d3dfd1; }
.edi-page .edi-contact-scene .edi-eyebrow { color: #b5df9d; }

@media (min-width: 1025px) and (min-height: 700px) {
    .pilot-intro { position: sticky; top: 7rem; }
}
@media (max-width: 1024px) {
    .pilot-story > .container { gap: 3rem; }
    .infrastructure-note { gap: 3rem; }
}
@media (max-width: 768px) {
    .edi-page .edi-field-section, .edi-page .edi-contact-scene { padding-block: 4rem; }
    .edi-page .edi-services { grid-template-columns: 1fr; gap: 2rem; }
    .edi-page .edi-steps .pilot-step { grid-template-columns: 2.5rem 1fr; gap: 0.5rem 1rem; }
    .edi-page .edi-steps .pilot-step p { grid-column: 2; }
    .home-page .module-catalog, .home-page .pilot-story, .home-page .benefits-summary { padding-block: 4rem; }
    .module-catalog .section-header { margin-bottom: 3rem; }
    .module-catalog .module-group { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem; }
    .module-chapter-letter { font-size: 7rem; margin-bottom: 1.25rem; }
    .module-catalog .module-group h3 { font-size: 2.3rem; }
    .module-catalog .module-row h4 { font-size: 1rem; }
    .module-catalog .module-row-heading { align-items: baseline; }
    .home-page .edi-news-card { grid-template-columns: 1fr; gap: 2rem; }
    .home-page .edi-news-card .btn { justify-self: start; }
    .benefits-summary .process-points article:nth-child(n) { padding-top: 0; }
    .benefits-summary .process-points { gap: 2.5rem; }
    .pilot-story > .container, .infrastructure-note { grid-template-columns: 1fr; gap: 2rem; }
    .pilot-timeline { margin: 1rem 0 0 4px; }
    .pilot-timeline li { grid-template-columns: 2.5rem 1fr; padding-left: 1rem; gap: 0.75rem; }
    .pilot-phase { font-size: 2rem; }
    .home-page .contact-scene { padding-block: 5rem 2.5rem; }
    .contact-invitation { align-items: start; flex-direction: column; }
    .contact-arrow { width: 76px; height: 76px; font-size: 2.6rem; }
    .contact-signature { flex-direction: column; margin-top: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-arrow { transition: none; }
    .pilot-intro { position: static; }
}
@media (forced-colors: active) {
    .module-chapter-letter { background: none; color: CanvasText; }
    .contact-arrow { border-color: LinkText; }
}
