/* ============================================================================
   Agro Dienstleistungen Andreas Wyssbrod
   Grammar "Feldgang": Bild-Akt (soil) and Preisblatt (paper) alternate with
   hard cuts. The navigation is the field rail at the bottom edge.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-italic.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --soil:    #12150E;
  --soil-2:  #1C2116;
  --leaf:    #1B3120;
  --paper:   #ECEDE4;
  --paper-2: #DFE1D3;
  --sheet:   #FAFAF5;
  --yellow:  #F5C400;
  --ink-d:      #14180F;
  --ink-d-soft: #49513F;
  --ink-l:      #F1F0E6;
  --ink-l-soft: #B7BBA8;

  --sc-canvas: var(--soil);
  --sc-surface: var(--soil-2);
  --sc-ink: var(--ink-l);
  --sc-ink-soft: var(--ink-l-soft);
  --sc-accent: var(--yellow);
  --sc-accent-ink: var(--ink-d);
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;
  --sc-shadow-color: 80 30% 4%;
  --sc-maxw: 78rem;

  --focus: var(--yellow);
  --r: 6px;
  --rail-h: 74px;
  --rail-line: 47px;
}
@media (max-width: 860px) { :root { --rail-h: 58px; --rail-line: 33px; } }

html { scroll-behavior: auto; scroll-padding-top: 4.5rem; }
body { background: var(--soil); }
:focus-visible { outline-color: var(--focus); border-radius: var(--r); }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 100; background: var(--yellow); color: var(--ink-d); padding: .6rem 1rem; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 1rem; }

/* ------------------------------------------------------------- grounds -- */
[data-ground="paper"] {
  --sc-canvas: var(--paper); --sc-surface: var(--sheet);
  --sc-ink: var(--ink-d); --sc-ink-soft: var(--ink-d-soft);
  --sc-hairline: color-mix(in oklab, var(--ink-d) 16%, transparent);
  --sc-hairline-strong: color-mix(in oklab, var(--ink-d) 34%, transparent);
  --focus: var(--ink-d);
  background: var(--paper); color: var(--sc-ink);
}
[data-ground="soil"], [data-ground="leaf"] {
  --sc-ink: var(--ink-l); --sc-ink-soft: var(--ink-l-soft);
  --sc-hairline: color-mix(in oklab, var(--ink-l) 16%, transparent);
  --sc-hairline-strong: color-mix(in oklab, var(--ink-l) 30%, transparent);
  color: var(--sc-ink);
}
[data-ground="soil"] { --sc-canvas: var(--soil); background: var(--soil); }
[data-ground="leaf"] { --sc-canvas: var(--leaf); background: var(--leaf); }

/* ---------------------------------------------------------------- type -- */
.display {
  font-family: var(--sc-font-display);
  font-weight: 800; font-stretch: 112%;
  line-height: 0.98; letter-spacing: -0.028em;
  text-wrap: balance; margin: 0;
}
.display--xl { font-size: clamp(3.1rem, 1.6rem + 7vw, 8rem); }
.display--lg { font-size: clamp(2.2rem, 1.5rem + 3.2vw, 4.4rem); }
.display--md { font-size: clamp(1.75rem, 1.35rem + 1.7vw, 2.8rem); letter-spacing: -0.02em; line-height: 1.04; }
.lede { font-size: var(--sc-t-lg); line-height: 1.42; letter-spacing: -0.012em; max-width: 46ch; margin: 0; text-wrap: pretty; }
.marker { background: linear-gradient(transparent 56%, var(--yellow) 56% 93%, transparent 93%); padding-inline: .1em; margin-inline: -.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.textlink { font-weight: 600; text-decoration-thickness: 2px; text-decoration-color: var(--yellow); text-underline-offset: .28em; }
.textlink:hover { text-decoration-color: currentColor; }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 1.35rem;
  border: 1.5px solid transparent; border-radius: var(--r);
  font-family: var(--sc-font-display); font-weight: 700; font-stretch: 108%; font-size: .95rem; letter-spacing: 0;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--accent { background: var(--yellow); color: var(--ink-d); box-shadow: var(--sc-e1); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--dark { background: var(--ink-d); color: var(--ink-l); }
.btn--line { background: transparent; border: 1.5px dashed var(--sc-hairline-strong); color: var(--sc-ink); width: 100%; font-weight: 600; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--accent:hover { background: #FFD426; }
  .btn--ghost:hover { background: color-mix(in oklab, currentColor 12%, transparent); }
  .btn--dark:hover { background: #232a1a; }
  .btn--line:hover { border-color: var(--sc-ink); }
}

/* --------------------------------------------------- type plates (chrome) -- */
.plate {
  position: fixed; top: max(.8rem, env(safe-area-inset-top)); z-index: var(--sc-z-chrome);
  background: var(--soil); color: var(--ink-l); text-decoration: none;
  border-radius: var(--r); box-shadow: var(--sc-e2), var(--sc-edge);
  --focus: var(--yellow);
}
.plate--mark { left: clamp(.8rem, 2.4vw, 2rem); padding: .45rem .8rem; display: grid; place-items: center; }
.plate__logo { display: block; height: 3.3rem; width: auto; }
@media (max-width: 860px) { .plate__logo { height: 2.75rem; } .plate--mark { padding: .35rem .65rem; } }
.plate--tel { right: clamp(.8rem, 2.4vw, 2rem); display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .95rem; font-family: var(--sc-font-display); font-weight: 700; font-stretch: 106%; font-size: .95rem; font-variant-numeric: tabular-nums; }
.plate--tel svg { color: var(--yellow); }
@media (max-width: 860px) { .plate--tel span { display: none; } .plate--tel { padding: 0; width: 44px; justify-content: center; } .plate--tel svg { width: 19px; height: 19px; } }
@media (max-width: 420px) { .plate__logo { height: 2.5rem; } }

/* ==================================================================== 1 ==
   EINSTIEG. Five tiles instead of one picture: the two main services tall,
   three small ways in, all on one screen above the field rail. Each tile
   rides its own depth on the pointer (--mx / --my, set in site.js).          */
.hero { --mx: 0; --my: 0; --tile-r: 16px; position: relative; overflow: clip; background: var(--soil); color: var(--ink-l); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 70% at 0% 0%, color-mix(in oklab, var(--leaf) 75%, transparent) 0%, transparent 70%),
    radial-gradient(50% 60% at 100% 100%, color-mix(in oklab, var(--yellow) 7%, transparent) 0%, transparent 70%),
    repeating-linear-gradient(-62deg, rgb(255 255 255 / .018) 0 1px, transparent 1px 14px); }
.hero__board {
  position: relative; box-sizing: border-box; min-height: 100svh; height: 100svh; max-height: 64rem;
  padding: clamp(6.2rem, 13svh, 7.4rem) var(--sc-gutter) calc(var(--rail-h) + clamp(1rem, 3svh, 1.75rem));
  display: grid; gap: clamp(.55rem, .8vw, .85rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1.08fr);
  grid-template-rows: auto minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "head head saat ballen" "gut gut saat ballen" "calc call saat ballen";
  perspective: 1400px;
}
.tiles { display: contents; }
.hero__head { grid-area: head; align-self: start; padding: 0 clamp(0rem, 2vw, 2rem) clamp(.6rem, 2svh, 1.4rem) 0; }
.hero__title { margin: 0; font-family: var(--sc-font-display); font-weight: 800; font-stretch: 114%; font-size: min(4.1vw, 7.6svh, 4.9rem); line-height: .97; letter-spacing: -0.034em; color: var(--ink-l); text-wrap: balance; }
.hero__title span { display: block; }
.hero__title i { font-style: normal; color: var(--yellow); }
.hero__sub { margin: clamp(.8rem, 2svh, 1.3rem) 0 0; max-width: 34ch; font-size: clamp(1rem, .9rem + .35vw, 1.2rem); line-height: 1.45; letter-spacing: -0.01em; color: var(--ink-l-soft); text-wrap: pretty; }
.hero__note { display: inline-block; margin: 0 0 .85rem; padding: .3rem .65rem; border-radius: var(--r); background: var(--yellow); color: var(--ink-d); font-weight: 600; font-size: .92rem; line-height: 1.35; }

.tile { position: relative; display: block; container-type: size; min-width: 0; min-height: 0; border-radius: var(--tile-r); color: var(--ink-l); text-decoration: none; --focus: var(--yellow); --lift: 0px; --tx: 0; --ty: 0;
  transform: translate3d(calc(var(--mx) * var(--d) * -12px), calc(var(--my) * var(--d) * -7px), 0); }
.tile:nth-child(1) { grid-area: saat; }
.tile:nth-child(2) { grid-area: ballen; }
.tile--wide { grid-area: gut; }
.tile--calc { grid-area: calc; }
.tile--call { grid-area: call; }

.tile__card {
  position: absolute; inset: 0; overflow: hidden; border-radius: inherit; isolation: isolate;
  background: var(--soil-2);
  clip-path: inset(0 round var(--tile-r));
  box-shadow: 0 22px 44px -22px rgb(8 10 5 / .7), 0 6px 14px -6px rgb(8 10 5 / .45);
  transform: translate3d(0, var(--lift), 0) rotateX(calc(var(--ty) * -7deg)) rotateY(calc(var(--tx) * 8deg));
  transition: transform 700ms var(--sc-ease-out), box-shadow 700ms var(--sc-ease-out), filter 500ms var(--sc-ease-out);
}
/* hairline and pointer light sit above everything in the card */
.tile__card::before { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .13), inset 0 1px 0 rgb(255 255 255 / .12); }
.tile__card::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 500ms var(--sc-ease-out);
  background: radial-gradient(22rem circle at var(--px, 50%) var(--py, 50%), rgb(255 255 255 / .22), transparent 55%); mix-blend-mode: soft-light; }

.tile__media { position: absolute; inset: 0; z-index: 0; transform: scale(1); transition: transform 1200ms var(--sc-ease-out); }
.tile__media img, .tile__media video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
.tile__media img { transform-origin: 50% 60%; animation: tile-drift 22s ease-in-out infinite alternate; }
.tile:nth-child(2) .tile__media img { animation-duration: 26s; animation-direction: alternate-reverse; }
.tile__media video { opacity: 0; transition: opacity 700ms var(--sc-ease-out); }
.tile.is-playing .tile__media video { opacity: 1; }
.tile--photo .tile__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(12 14 8 / .9) 0%, rgb(12 14 8 / .55) 30%, rgb(12 14 8 / .05) 62%, transparent 100%); }
@keyframes tile-drift { from { transform: scale(1.06) translate3d(0, 0, 0); } to { transform: scale(1.16) translate3d(-2%, -1.5%, 0); } }

.tile__body { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; gap: .28rem; padding: clamp(.8rem, 1.1vw, 1.15rem); }
.tile__nr { display: flex; align-items: center; gap: .5rem; font-family: var(--sc-font-display); font-size: .66rem; font-weight: 700; letter-spacing: .16em; font-variant-numeric: tabular-nums; opacity: .72; }
.tile__nr::after { content: ""; height: 1px; width: 1.6rem; background: currentColor; opacity: .6; transform-origin: left; transition: transform 600ms var(--sc-ease-out); }
.tile__name { font-family: var(--sc-font-display); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -.02em; font-size: clamp(1.02rem, .75rem + .6vw, 1.35rem); overflow-wrap: anywhere; }
.tile--tall .tile__name { font-size: clamp(1.1rem, 12.5cqi, 2.1rem); }
.tile__txt { font-size: .8rem; line-height: 1.3; color: color-mix(in oklab, currentColor 76%, transparent); text-wrap: balance; }
.tile--small .tile__body { gap: .2rem; padding: clamp(.65rem, .9vw, .9rem); }
.tile--small .tile__nr { display: none; }
.tile--small .tile__txt { font-size: .74rem; }

.tile__go { position: absolute; z-index: 3; top: clamp(.6rem, .8vw, .85rem); right: clamp(.6rem, .8vw, .85rem); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: rgb(255 255 255 / .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: currentColor;
  transform: rotate(-45deg); transition: transform 600ms var(--sc-ease-out), background-color 300ms, color 300ms; }
.tile__go svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Rechner: the brand yellow, sown in rows */
.tile--calc .tile__card { background: var(--yellow); color: var(--ink-d);
  background-image: repeating-linear-gradient(-62deg, rgb(20 24 15 / .07) 0 2px, transparent 2px 13px); background-size: 200% 200%; background-position: 0 0;
  transition: transform 700ms var(--sc-ease-out), box-shadow 700ms var(--sc-ease-out), filter 500ms var(--sc-ease-out), background-position 1600ms var(--sc-ease-out); }
.tile--calc .tile__card::before { box-shadow: inset 0 0 0 1px rgb(20 24 15 / .1); }
.tile--calc .tile__go { background: rgb(20 24 15 / .1); }
.tile__fr { position: absolute; z-index: 1; right: -.06em; bottom: -.2em; font-family: var(--sc-font-display); font-style: italic; font-weight: 800; font-stretch: 118%; font-size: clamp(4rem, 3rem + 3vw, 6.5rem); line-height: 1; letter-spacing: -.05em; color: rgb(20 24 15 / .13); transition: transform 900ms var(--sc-ease-out), color 500ms; pointer-events: none; }
.tile--calc .tile__body { right: 30%; }

/* Kontakt: the field green with a quiet ring */
.tile--call .tile__card { background: radial-gradient(120% 90% at 100% 0%, #2a4a2f 0%, var(--leaf) 55%, #132417 100%); }
.tile__ring { position: absolute; z-index: 2; top: clamp(.6rem, .8vw, .85rem); left: clamp(.65rem, .9vw, .9rem); display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--yellow); color: var(--ink-d); }
.tile__ring svg { width: 1rem; height: 1rem; }
.tile__ring::before, .tile__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--yellow); opacity: 0; animation: tile-ring 3.2s var(--sc-ease-out) infinite; }
.tile__ring::after { animation-delay: 1.1s; }
@keyframes tile-ring { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.3); opacity: 0; } }
.tile--call .tile__txt { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-l); }

/* hover: the card lifts toward the pointer, light follows, the rest steps back */
@media (hover: hover) and (pointer: fine) {
  .tile:hover { --lift: -6px; }
  .tile:hover .tile__card { box-shadow: 0 34px 60px -24px rgb(8 10 5 / .8), 0 10px 20px -8px rgb(8 10 5 / .5); }
  .tile:hover .tile__card::after { opacity: 1; }
  .tile:hover .tile__media { transform: scale(1.07); }
  .tile:hover .tile__go { transform: rotate(0deg) scale(1.08); background: var(--yellow); color: var(--ink-d); }
  .tile--calc:hover .tile__go { background: var(--ink-d); color: var(--yellow); }
  .tile:hover .tile__nr::after { transform: scaleX(1.8); }
  .tile--calc:hover .tile__card { background-position: 100% 100%; }
  .tile--calc:hover .tile__fr { transform: translate3d(-.12em, -.08em, 0) rotate(-4deg); color: rgb(20 24 15 / .22); }
  .tiles:has(.tile:hover) .tile:not(:hover) .tile__card { filter: saturate(.55) brightness(.78); }
}
.tile:focus-visible { outline: none; }
.tile:focus-visible .tile__card { box-shadow: 0 0 0 3px var(--yellow), 0 22px 44px -22px rgb(8 10 5 / .7); clip-path: none; }

/* entrance: each card grows up out of the ground, the image settling as it rises */
.tiles:not(.is-in) .tile__card { clip-path: inset(100% 0 0 0 round var(--tile-r)); }
.tiles.is-in .tile__card { animation: tile-rise 1100ms cubic-bezier(.7, 0, .2, 1) backwards; animation-delay: calc(120ms + var(--i) * 95ms); }
.tiles.is-in .tile__media { animation: tile-settle 1700ms cubic-bezier(.2, .7, .1, 1) backwards; animation-delay: calc(120ms + var(--i) * 95ms); }
.tiles.is-in .tile__body, .tiles.is-in .tile__ring { animation: tile-copy 900ms var(--sc-ease-out) backwards; animation-delay: calc(780ms + var(--i) * 95ms); }
.tiles.is-in .tile__fr { animation: tile-fr 1300ms var(--sc-ease-out) backwards; animation-delay: calc(780ms + var(--i) * 95ms); }
.tiles.is-in .tile__go { animation: tile-go 900ms var(--sc-ease-out) backwards; animation-delay: calc(860ms + var(--i) * 95ms); }
@keyframes tile-rise { from { clip-path: inset(100% 0 0 0 round var(--tile-r)); transform: translate3d(0, 2.5rem, 0); } to { clip-path: inset(0 0 0 0 round var(--tile-r)); transform: translate3d(0, 0, 0); } }
@keyframes tile-settle { from { transform: scale(1.35); } to { transform: scale(1); } }
@keyframes tile-copy { from { opacity: 0; transform: translate3d(0, .9rem, 0); } to { opacity: 1; transform: none; } }
@keyframes tile-fr { from { opacity: 0; transform: translate3d(.4em, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes tile-go { from { opacity: 0; transform: rotate(-135deg) scale(.6); } to { opacity: 1; transform: rotate(-45deg); } }


@media (max-width: 860px), (max-aspect-ratio: 1/1) {
  .hero { --tile-r: 13px; }
  .hero__board { max-height: none; padding-top: 5.2rem; gap: .5rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) minmax(4.6rem, 15%) minmax(4.6rem, 14%);
    grid-template-areas: "head head" "saat ballen" "gut gut" "calc call"; }
  .hero__head { padding: 0 0 .55rem; }
  .hero__title { font-size: clamp(2.1rem, 10.4vw, 3.6rem); line-height: .98; }
  .hero__sub { font-size: .95rem; margin-top: .6rem; max-width: 36ch; }
  .tile--small .tile__go { display: none; }
  .tile--small .tile__name { font-size: 1rem; }
  .tile--calc .tile__body { right: 0; }
  .tile__fr { font-size: 3.6rem; }
  .tile__ring { width: 1.8rem; height: 1.8rem; left: auto; right: .6rem; top: .6rem; }
  .tile__ring svg { width: .85rem; height: .85rem; }
  .tile { transform: none; }
}
@media (max-width: 860px) and (max-height: 720px) {
  .hero__sub { display: none; }
  .tile--tall .tile__txt { display: none; }
  .hero__board { grid-template-rows: auto minmax(0, 1fr) 4.2rem 4.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .tile__card { transform: none !important; }
  .tile__media img, .tile__ring::before, .tile__ring::after { animation: none !important; }
  .tiles.is-in .tile__card, .tiles.is-in .tile__media, .tiles.is-in .tile__body, .tiles.is-in .tile__go, .tiles.is-in .tile__ring, .tiles.is-in .tile__fr { animation: none !important; }
  .tiles:not(.is-in) .tile__card { clip-path: inset(0 round var(--tile-r)); }
}

/* ==================================================================== 2 ==
   SAAT. Camera move generated from the real rear-view photograph.           */
.saat { background: var(--soil); }
.saat__media { position: absolute; inset: 0; }
.saat__copy { position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); right: var(--sc-gutter); bottom: calc(var(--rail-h) + clamp(1.75rem, 5svh, 3.5rem)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.saat__copy h2 { max-width: 15ch; }
.saat__specs { display: grid; gap: .6rem; }
.spec { background: color-mix(in oklab, var(--soil) 92%, transparent); border-radius: var(--r); padding: .95rem 1.1rem 1rem; box-shadow: var(--sc-e2), var(--sc-edge); }
.spec__name { margin: 0 0 .3rem; font-family: var(--sc-font-display); font-weight: 750; font-stretch: 108%; font-size: 1.02rem; letter-spacing: -0.005em; color: var(--yellow); }
.spec p { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--ink-l); }
@media (max-width: 860px) {
  /* Phones: the stage is a column. The copy takes the height it needs and sits right above the field rail;
     the clip fills whatever is left, so there is never an empty panel under the machine cards. */
  .saat { display: flex; flex-direction: column; }
  .saat__media { position: relative; inset: auto; flex: 1 1 auto; min-height: 26svh; }
  .saat__media .sc-scrim { background: linear-gradient(to top, var(--soil) 0%, transparent 34%); }
  .saat__copy { position: static; flex: none; padding: .5rem var(--sc-gutter) calc(var(--rail-h) + .55rem); grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  .saat__copy h2 { font-size: clamp(1.65rem, 7vw, 2.3rem); max-width: none; }
  /* On phones the copy sits on its own dark ground under the clip. It must be there for the stage's whole visible
     life (slide-in, pin, slide-out), otherwise the lower half is an empty panel. So the scroll cue is switched off here. */
  .saat__copy [data-sc-cue] { opacity: 1 !important; transform: none !important; }
  .spec { padding: .7rem .9rem .75rem; box-shadow: none; background: var(--soil-2); }
  .spec p { font-size: .88rem; line-height: 1.42; }
}
@media (max-width: 860px) and (max-height: 680px) { .spec p { font-size: .82rem; } .saat__copy { gap: .7rem; } }

/* ============================================================ 3 + 5 ======
   PREISBLATT. Paper ground, typeset like a price sheet.                     */
.sheet { padding-block: clamp(4rem, 8vw, 8.5rem); }
.sheet__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5.5vw, 6.5rem); align-items: start; }
.sheet__grid--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sheet__side { position: sticky; top: 5.5rem; }
.sheet__unit { margin: .9rem 0 0; color: var(--sc-ink-soft); font-size: .95rem; }
.sheet__fig { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; border-radius: var(--r); overflow: clip; box-shadow: var(--sc-e2); }
.sheet__fig img { width: 100%; height: auto; }
.sheet__fig--tall { margin-top: 0; }
.sheet__fig--tall img { aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 38% 50%; }
.sheet__caption { margin: .9rem 0 0; font-size: .9rem; line-height: 1.5; color: var(--sc-ink-soft); max-width: 40ch; }
.sheet__h3 { margin: clamp(2.2rem, 4vw, 3.2rem) 0 .4rem; font-family: var(--sc-font-display); font-weight: 750; font-stretch: 108%; font-size: 1.15rem; letter-spacing: -0.01em; }
.sheet__foot { margin: .9rem 0 0; font-size: .95rem; color: var(--sc-ink-soft); }
.sheet__main > p:last-child { margin: 2rem 0 0; }

.prices { width: 100%; border-collapse: collapse; }
.prices tr { border-bottom: 1px solid var(--sc-hairline); }
.prices tbody tr:first-child { border-top: 2px solid var(--sc-ink); }
.prices th { text-align: left; font-weight: 600; padding: 1rem 1rem 1rem 0; line-height: 1.3; }
.prices th small { display: block; font-weight: 400; font-size: .88rem; color: var(--sc-ink-soft); margin-top: .15rem; }
.prices td { text-align: right; white-space: nowrap; padding: 1rem 0; font-family: var(--sc-font-display); font-weight: 750; font-stretch: 106%; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -0.02em; vertical-align: baseline; }
.prices td span { font-size: .55em; font-weight: 600; color: var(--sc-ink-soft); margin-left: .1em; }
.prices thead th { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sc-ink-soft); padding: 0 0 .5rem; }
.prices thead th:last-child { text-align: right; }
.prices thead tr { border-bottom: 2px solid var(--sc-ink); }
.prices--tiers tbody tr:first-child { border-top: 0; }
.prices--tiers th { font-weight: 500; font-variant-numeric: tabular-nums; padding-block: .7rem; }
.prices--tiers td { padding-block: .7rem; font-size: 1.3rem; }

.ladder { margin-top: clamp(2.2rem, 4vw, 3.2rem); }
.ladder__title { margin: 0 0 1rem; font-family: var(--sc-font-display); font-weight: 750; font-stretch: 108%; font-size: 1.15rem; letter-spacing: -0.01em; }
.ladder__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(3px, .6vw, 8px); align-items: end; border-bottom: 2px solid var(--sc-ink); }
.ladder__steps li { display: grid; justify-items: center; gap: .3rem; font-variant-numeric: tabular-nums; }
.ladder__steps li::after { content: ""; order: 2; width: 100%; height: calc(var(--h) * .62rem); background: var(--yellow); border-radius: 3px 3px 0 0; }
.ladder__steps b { order: 1; font-family: var(--sc-font-display); font-weight: 750; font-size: clamp(.68rem, .5rem + .55vw, .95rem); white-space: nowrap; }
.ladder__steps i { order: 3; font-style: normal; font-size: .74rem; color: var(--sc-ink-soft); position: relative; top: 1.5rem; margin-top: -1.2rem; white-space: nowrap; }
.ladder__note { margin: 2rem 0 0; font-size: .95rem; color: var(--sc-ink-soft); }

.terms { margin: clamp(2rem, 4vw, 3rem) 0 0; display: grid; gap: 0; }
.terms > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--sc-hairline); }
.terms dt { font-family: var(--sc-font-display); font-weight: 700; font-stretch: 106%; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .25rem; }
.terms dd { margin: 0; line-height: 1.5; max-width: 52ch; }
.tips { margin-top: 1.4rem; border-top: 1px solid var(--sc-hairline); border-bottom: 1px solid var(--sc-hairline); }
.tips summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; }
.tips summary::-webkit-details-marker { display: none; }
.tips summary::after { content: "+"; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.5rem; line-height: 1; transition: transform 200ms var(--sc-ease-out); }
.tips[open] summary::after { transform: rotate(45deg); }
.tips ul { margin: 0 0 1.2rem; padding-left: 1.1rem; display: grid; gap: .6rem; max-width: 62ch; line-height: 1.55; color: var(--sc-ink-soft); }

.tablewrap { overflow-x: auto; }
.matrix { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.matrix th, .matrix td { padding: .62rem .5rem; text-align: right; border-bottom: 1px solid var(--sc-hairline); white-space: nowrap; }
.matrix th:first-child, .matrix td:first-child { text-align: left; padding-left: 0; }
.matrix th:last-child, .matrix td:last-child { padding-right: 0; }
.matrix thead th { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-ink-soft); border-bottom: 2px solid var(--sc-ink); }
.matrix tbody th { font-weight: 500; }
.matrix td { font-weight: 600; }
.matrix td.is-pct { font-weight: 400; color: var(--sc-ink-soft); }
.notes { margin: 1.6rem 0 0; padding-left: 1.1rem; display: grid; gap: .55rem; max-width: 62ch; line-height: 1.55; color: var(--sc-ink-soft); font-size: .95rem; }

@media (max-width: 860px) {
  .sheet__grid, .sheet__grid--flip { grid-template-columns: 1fr; }
  .sheet__side { position: static; }
  .sheet__fig--tall img { aspect-ratio: 3 / 2; }
  .terms > div { grid-template-columns: 1fr; gap: .25rem; }
  .matrix { font-size: .9rem; }
  .matrix th, .matrix td { padding-inline: .3rem; }
}

/* ==================================================================== 4 ==
   RUNDBALLEN. Real drone footage under the wheel. Copy sits top-left because
   the bales enter the frame bottom-left at the end of the clip.              */
.ballen { background: var(--soil); }
.ballen__scrim { background: radial-gradient(80% 78% at 0% 0%, color-mix(in oklab, var(--soil) 92%, transparent) 0%, color-mix(in oklab, var(--soil) 74%, transparent) 42%, color-mix(in oklab, var(--soil) 30%, transparent) 66%, transparent 82%); }
.ballen__copy { position: absolute; z-index: var(--sc-z-copy); left: var(--sc-gutter); right: var(--sc-gutter); top: clamp(5.8rem, 14svh, 8.5rem); color: var(--ink-l); }
.ballen__line { margin-top: clamp(.9rem, 2vw, 1.5rem); max-width: 30rem; }
@media (max-width: 860px) {
  .ballen__copy { top: 5.4rem; }
  .ballen__line { font-size: 1.08rem; }
  /* Short act on phones: the copy is simply there, from slide-in to slide-out. */
  .ballen__copy [data-sc-cue] { opacity: 1 !important; transform: none !important; }
}

/* ==================================================================== 6 ==
   SAATGUT                                                                    */
.seed { position: relative; overflow: clip; padding-block: clamp(4rem, 8vw, 8.5rem); }
.seed__bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .2; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 46%); mask-image: linear-gradient(to bottom, #000 0%, transparent 46%); pointer-events: none; }
.seed .sc-wrap { position: relative; }
.seed__head { display: grid; gap: 1.3rem; max-width: 56rem; }
.seed__head .lede { max-width: 58ch; color: var(--ink-l); }
/* Mais and Klee-Gras sit side by side where there is room. */
.seed__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 27rem), 1fr)); column-gap: clamp(2.5rem, 5vw, 5.5rem); align-items: start; }
.seed__h3 { margin: clamp(2.2rem, 4vw, 3.2rem) 0 0; padding-bottom: .7rem; border-bottom: 2px solid var(--ink-l); font-family: var(--sc-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.02em; }
.seed__gruppe > summary { list-style: none; cursor: default; }
.seed__gruppe > summary::-webkit-details-marker { display: none; }
.seed__anzahl { font-family: var(--sc-font-text); font-weight: 500; font-stretch: 100%; font-size: .9rem; letter-spacing: 0; color: var(--sc-ink-soft); margin-left: .5rem; }
@media (max-width: 860px) {
  .seed__gruppe > summary { cursor: pointer; }
  .seed__gruppe > summary .seed__h3 { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 1rem; min-height: 56px; padding: .8rem 0; margin-top: 1rem; font-size: 1.3rem; }
  .seed__anzahl { grid-column: 1; grid-row: 2; margin: .15rem 0 0; }
  .seed__gruppe > summary .seed__h3::after { content: "+"; grid-column: 2; grid-row: 1 / span 2; font-weight: 600; font-size: 1.7rem; line-height: .8; color: var(--yellow); transition: transform 200ms var(--sc-ease-out); }
  .seed__gruppe[open] > summary .seed__h3::after { transform: rotate(45deg); }
  .seed__gruppe:not([open]) > summary .seed__h3 { border-bottom-width: 1px; border-bottom-color: var(--sc-hairline-strong); }
}
.seed__note { margin: 1rem 0 0; max-width: 62ch; color: var(--sc-ink-soft); }

/* One row per variety: facts on the row, the description folds out. */
.seed__mehr { max-width: 58ch; }
.seed__mehr summary, .sorte summary, .mix summary { cursor: pointer; list-style: none; }
.seed__mehr summary::-webkit-details-marker, .sorte summary::-webkit-details-marker, .mix summary::-webkit-details-marker { display: none; }
.seed__mehr summary { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: .28em; }
.seed__mehr p { margin: .4rem 0 0; color: var(--sc-ink-soft); line-height: 1.55; }

.mais { list-style: none; margin: 0; padding: 0; }
.sorte { border-bottom: 1px solid var(--sc-hairline); }
.sorte summary, .sorte__fix { display: grid; grid-template-columns: auto minmax(0, 1fr) 1.5rem; align-items: baseline; column-gap: .9rem; row-gap: .3rem; min-height: 64px; padding: .8rem 0; }
.sorte__reife { grid-column: 1; grid-row: 1; }
.sorte h4 { grid-column: 2; grid-row: 1; }
.sorte__use { grid-column: 1 / 3; grid-row: 2; }
.sorte summary::after, .mix summary::after { content: "+"; grid-column: -2 / -1; grid-row: 1 / span 2; align-self: center; justify-self: end; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--yellow); transition: transform 200ms var(--sc-ease-out); }
.sorte details[open] summary::after, .mix details[open] summary::after { transform: rotate(45deg); }
.sorte__reife { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.sorte h4 { margin: 0; font-family: var(--sc-font-display); font-weight: 800; font-stretch: 110%; font-size: 1.3rem; letter-spacing: -0.02em; }
.sorte__use { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .88rem; }
.sorte__use li { display: inline-flex; align-items: center; gap: .4rem; }
.sorte__use li::before, .dot { content: ""; display: inline-block; width: .62rem; height: .62rem; border-radius: 50%; border: 1.5px solid var(--ink-l); }
.sorte__use .is-yes::before, .dot--yes { background: var(--ink-l); }
.sorte__use .is-half::before, .dot--half { background: linear-gradient(90deg, var(--ink-l) 50%, transparent 50%); }
.sorte__use .is-no { color: var(--sc-ink-soft); }
.sorte__use .is-mid::before { display: none; }
.sorte details p, .mix details p { margin: 0; padding: 0 2.5rem 1.2rem 0; color: var(--ink-l); opacity: .86; line-height: 1.55; max-width: 74ch; }
@media (hover: hover) and (pointer: fine) { .sorte summary:hover h4, .mix summary:hover h4 { color: var(--yellow); } }
.legend { margin: 1.2rem 0 0; font-size: .82rem; color: var(--sc-ink-soft); display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; }
.legend span { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.legend b { font-weight: 700; color: var(--ink-l); }

.filter { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 .3rem; }
.chip { min-height: 44px; padding: 0 1rem; border-radius: var(--r); border: 1.5px solid var(--sc-hairline-strong); background: transparent; color: var(--ink-l); font-weight: 500; font-size: .92rem; cursor: pointer; transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out), transform 140ms var(--sc-ease-out); }
.chip:active { transform: scale(.97); }
.chip.is-on { background: var(--yellow); border-color: var(--yellow); color: var(--ink-d); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-on):hover { border-color: var(--ink-l); } }
.mix { list-style: none; margin: 0; padding: 0; }
.mix li { border-bottom: 1px solid var(--sc-hairline); }
.mix li[hidden] { display: none; }
.mix summary, .mix .sorte__fix { display: grid; grid-template-columns: minmax(0, 1fr) 1.5rem; align-items: center; column-gap: 1rem; row-gap: .1rem; min-height: 60px; padding: .6rem 0; }
.mix h4, .mix__kind { grid-column: 1; }
.mix h4 { margin: 0; font-family: var(--sc-font-display); font-weight: 750; font-stretch: 108%; font-size: 1.12rem; letter-spacing: -0.012em; }
.mix h4 small { font-size: .62em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-left: .3em; }
.mix__kind { font-size: .88rem; color: var(--sc-ink-soft); }
@media (max-width: 860px) {
  .sorte details p, .mix details p { padding-right: 0; }
  .seed { min-height: 100svh; padding-top: 7.5rem; padding-bottom: calc(var(--rail-h) + 2.5rem); }
  .seed__bg { opacity: .34; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 22%, transparent 72%); mask-image: linear-gradient(to bottom, #000 0%, #000 22%, transparent 72%); }
  .seed__mehr p { color: var(--ink-l); opacity: .86; }
  /* A half-finished wipe reads as a broken image on a short phone page: show the photograph whole. */
  .more__fig { clip-path: none !important; }
}

/* ==================================================================== 7 ==
   WEITERE ARBEITEN. One big image, one list, overlapping.                    */
.more { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; padding-block: clamp(3rem, 6vw, 6rem); }
.more__fig { grid-column: 1 / 9; grid-row: 1; margin: 0; }
.more__fig img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.more__panel { grid-column: 7 / 13; grid-row: 1; position: relative; z-index: 2; background: var(--soil-2); padding: clamp(1.75rem, 3.5vw, 3.25rem); margin-right: var(--sc-gutter); border-radius: var(--r); box-shadow: var(--sc-e3), var(--sc-edge); }
.jobs { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.jobs li { display: grid; gap: .1rem; padding: .85rem 0; border-top: 1px solid var(--sc-hairline); }
.jobs b { font-weight: 600; }
.jobs span { color: var(--sc-ink-soft); font-size: .95rem; }
.more__ask { margin: 1.2rem 0 0; padding-top: 1.1rem; border-top: 2px solid var(--ink-l); }
.more__ask a { font-weight: 700; color: var(--yellow); white-space: nowrap; }
@media (max-width: 860px) {
  .more { display: block; padding-top: 0; }
  .more__panel { margin: -2.5rem var(--sc-gutter) 0; }
}

/* ==================================================================== 8 ==
   RECHNER                                                                    */
.calc { padding-block: clamp(4rem, 8vw, 8.5rem); }
.calc__head { display: grid; gap: 1.2rem; max-width: 52rem; }
.calc__head .lede { color: var(--sc-ink-soft); max-width: 60ch; }
.calc__grid { margin-top: clamp(2rem, 4vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.75rem, 4vw, 4.5rem); align-items: start; }
.calc__form { display: grid; gap: 1.25rem; }

.wahl { display: grid; gap: .6rem; }
.wahl__knoepfe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.wahl label { position: relative; cursor: pointer; }
.wahl input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wahl label > span { display: grid; gap: .1rem; align-content: center; min-height: 68px; padding: .7rem .9rem; border: 1.5px solid var(--sc-hairline-strong); border-radius: var(--r); background: transparent; transition: background-color 140ms var(--sc-ease-out), border-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out); }
.wahl b { font-family: var(--sc-font-display); font-weight: 800; font-stretch: 108%; font-size: 1.12rem; letter-spacing: -0.015em; line-height: 1.1; }
.wahl small { font-size: .82rem; color: var(--ink-d-soft); line-height: 1.25; }
.wahl input:checked + span { background: var(--ink-d); border-color: var(--ink-d); color: var(--ink-l); }
.wahl input:checked + span small { color: var(--ink-l-soft); }
.wahl input:focus-visible + span { outline: 2px solid var(--ink-d); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .wahl input:not(:checked) + span:hover { border-color: var(--ink-d); background: var(--sheet); } }
@media (max-width: 560px) { .wahl small { display: none; } .wahl label > span { min-height: 52px; padding: .5rem; text-align: center; } .wahl b { font-size: 1rem; } }
.block { margin: 0; padding: 0; border: 0; border-top: 2px solid var(--ink-d); min-width: 0; }
.block.is-off { display: none; }
.block__titel { display: block; padding: 1rem 0 .3rem; font-family: var(--sc-font-display); font-weight: 800; font-stretch: 110%; font-size: 1.45rem; letter-spacing: -0.02em; }
.block legend { float: left; width: 100%; padding: 0; }
.block__body { clear: both; display: grid; gap: 1.5rem; padding: .4rem 0 1.4rem; }
.block.is-off .block__body { display: none; }
.switch { display: flex; align-items: center; gap: .9rem; min-height: 64px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { flex: none; width: 46px; height: 26px; border-radius: 999px; background: color-mix(in oklab, var(--ink-d) 22%, transparent); position: relative; transition: background-color 160ms var(--sc-ease-out); }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sheet); box-shadow: var(--sc-e1); transition: transform 160ms var(--sc-ease-out); }
.switch input:checked + .switch__ui { background: var(--ink-d); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); background: var(--yellow); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--ink-d); outline-offset: 3px; }
.switch__label { font-family: var(--sc-font-display); font-weight: 800; font-stretch: 110%; font-size: 1.45rem; letter-spacing: -0.02em; }

.field { display: grid; gap: .6rem; min-width: 0; }
.field--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.field__label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-d-soft); }
.hint { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--ink-d-soft); max-width: 60ch; }
.hint--strong { color: var(--ink-d); font-weight: 500; min-height: 1.4em; }

.options { display: grid; gap: .4rem; }
.options label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .85rem; padding: .7rem .9rem; min-height: 56px; border: 1.5px solid var(--sc-hairline); border-radius: var(--r); cursor: pointer; transition: border-color 140ms var(--sc-ease-out), background-color 140ms var(--sc-ease-out); }
.options input { appearance: none; -webkit-appearance: none; margin: 0; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-d); display: grid; place-items: center; }
.options input::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-d); transform: scale(0); transition: transform 140ms var(--sc-ease-out); }
.options input:checked::after { transform: scale(1); }
.options label:has(input:checked) { border-color: var(--ink-d); background: var(--sheet); }
.options b { font-weight: 600; line-height: 1.25; display: block; }
.options small { display: block; font-size: .84rem; color: var(--ink-d-soft); }
.options em { font-style: normal; font-family: var(--sc-font-display); font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .options label:hover { border-color: var(--sc-hairline-strong); } }

.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1.5px solid var(--ink-d); border-radius: var(--r); overflow: clip; }
.seg--wide { display: grid; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; padding: 0 1rem; font-weight: 500; font-size: .95rem; text-align: center; transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out); }
.seg label + label span { border-left: 1.5px solid var(--ink-d); }
.seg input:checked + span { background: var(--ink-d); color: var(--ink-l); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--ink-d); outline-offset: -5px; border-radius: 3px; }

.input { display: grid; gap: .45rem; min-width: 0; }
.input__box { display: flex; align-items: center; border: 1.5px solid var(--ink-d); border-radius: var(--r); background: var(--sheet); min-height: 48px; }
.input__box:focus-within { outline: 2px solid var(--ink-d); outline-offset: 2px; }
.input__box input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; padding: 0 .2rem 0 .85rem; font-size: 1.05rem; font-weight: 600; font-variant-numeric: tabular-nums; outline: none; -moz-appearance: textfield; appearance: textfield; }
.input__box input::-webkit-outer-spin-button, .input__box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input__box i { font-style: normal; font-size: .85rem; color: var(--ink-d-soft); padding: 0 .85rem 0 .3rem; white-space: nowrap; }
.input__box--sm { width: 8.2rem; }
.input--plain input { min-height: 48px; border: 1.5px solid var(--sc-hairline-strong); border-radius: var(--r); background: #fff; padding: 0 .85rem; width: 100%; }
.input--plain input:focus-visible { outline: 2px solid var(--ink-d); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: .7rem; min-height: 44px; cursor: pointer; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--ink-d); flex: none; }

input[type="range"] { width: 100%; height: 44px; margin: 0; background: transparent; accent-color: var(--ink-d); cursor: pointer; }

.parcels { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; counter-reset: p; }
.parcel { counter-increment: p; display: grid; grid-template-columns: 2rem minmax(0, 9.5rem) minmax(0, 1fr) 44px; gap: .7rem; align-items: center; padding: .55rem .55rem .55rem .2rem; border: 1.5px solid var(--sc-hairline); border-radius: var(--r); }
.parcel::before { content: counter(p); font-family: var(--sc-font-display); font-weight: 800; font-size: 1.05rem; text-align: center; color: var(--ink-d-soft); }
.parcel__slope { display: grid; grid-template-columns: minmax(0, 1fr) 3.4rem; align-items: center; gap: .5rem; }
.parcel__slope span { grid-column: 1 / -1; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-d-soft); margin-bottom: -.7rem; }
.parcel__slope output { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; font-size: .95rem; }
.parcel__del { width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r); cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--ink-d-soft); transition: background-color 140ms var(--sc-ease-out), color 140ms var(--sc-ease-out); }
.parcel__del:disabled { opacity: .25; cursor: default; }
@media (hover: hover) and (pointer: fine) { .parcel__del:not(:disabled):hover { background: color-mix(in oklab, var(--ink-d) 10%, transparent); color: var(--ink-d); } }
.parcel__ort { grid-column: 2 / -1; display: flex; gap: .4rem; min-width: 0; }
.parcel__ort input { flex: 1; min-width: 0; min-height: 44px; padding: 0 .75rem; border: 1.5px solid var(--sc-hairline-strong); border-radius: var(--r); background: var(--sheet); font-size: .95rem; }
.parcel__ort input:focus-visible { outline: 2px solid var(--ink-d); outline-offset: 2px; }
.receipt__warn { margin: 0; font-size: .88rem; line-height: 1.45; font-weight: 600; color: #8A4B00; }
.receipt__warn:empty { display: none; }
.parcel__flag { grid-column: 2 / -1; margin: -.2rem 0 .1rem; font-size: .82rem; color: var(--ink-d-soft); }
.parcel__flag[hidden] { display: none; }

.tiers { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; margin-top: -.3rem; }
.tiers span { display: grid; gap: .15rem; padding-top: .45rem; border-top: 4px solid color-mix(in oklab, var(--ink-d) 16%, transparent); font-size: .74rem; line-height: 1.2; color: var(--ink-d-soft); font-variant-numeric: tabular-nums; transition: border-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out); }
.tiers span b { font-weight: 600; color: inherit; }
.tiers span.is-on { border-top-color: var(--yellow); color: var(--ink-d); }
.tiers span.is-past { border-top-color: var(--ink-d); }

.receipt { position: sticky; top: 5.25rem; }
.receipt__paper { background: var(--sheet); border-radius: var(--r); box-shadow: var(--sc-e3); padding: clamp(1.25rem, 2.4vw, 2rem); }
.receipt__title { margin: 0; font-family: var(--sc-font-display); font-weight: 800; font-stretch: 110%; font-size: 1.3rem; letter-spacing: -0.02em; }
.plot { margin: 1rem 0 .4rem; }
.plot svg { width: 100%; height: auto; }
.receipt__lines { font-size: .93rem; font-variant-numeric: tabular-nums; }
.receipt__group { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px dashed var(--sc-hairline-strong); }
.receipt__group h4 { margin: 0 0 .35rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.receipt__row { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; line-height: 1.35; }
.receipt__row span:first-child { color: var(--ink-d-soft); }
.receipt__row span:last-child { white-space: nowrap; font-weight: 500; }
.receipt__row.is-minus span:last-child { color: #1e6a2c; font-weight: 600; }
.receipt__row.is-sub { border-top: 1px solid var(--sc-hairline); margin-top: .3rem; padding-top: .45rem; }
.receipt__row.is-sub span { color: var(--ink-d); font-weight: 600; }
.receipt__empty { margin: 1rem 0 0; color: var(--ink-d-soft); }
.receipt__total { margin-top: 1.1rem; padding-top: 1rem; border-top: 2px solid var(--ink-d); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.receipt__total span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.receipt__total strong { font-family: var(--sc-font-display); font-weight: 800; font-stretch: 108%; font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.receipt__saved { margin: .6rem 0 0; font-size: .9rem; font-weight: 600; color: #1e6a2c; min-height: 1.3em; }
.receipt__send { margin-top: 1.2rem; display: grid; gap: .6rem; }
.receipt__or { margin: .2rem 0 0; text-align: center; font-size: .95rem; color: var(--ink-d-soft); }
.receipt__or a { color: var(--ink-d); font-weight: 700; white-space: nowrap; }
.receipt__legal { margin: 1rem .2rem 0; font-size: .8rem; line-height: 1.5; color: var(--ink-d-soft); }

@media (max-width: 960px) {
  .calc__grid { grid-template-columns: 1fr; }
  .receipt { position: static; }
}
@media (max-width: 560px) {
  .field--two { grid-template-columns: 1fr; }
  .parcel { grid-template-columns: 1.6rem minmax(0, 1fr) 44px; }
  .parcel__slope { grid-column: 2 / -1; grid-row: 2; }
  .parcel__del { grid-column: 3; grid-row: 1; }
  .parcel__ort { grid-row: 3; }
  .parcel__flag { grid-row: 4; }
  .parcel__flag { grid-column: 2 / -1; }
  .seg span { padding: 0 .5rem; font-size: .88rem; }
  .tiers span { font-size: .66rem; }
}

/* ==================================================================== 9 ==
   KONTAKT. The page resolves on a person and a phone number.                 */
.contact { padding: clamp(3.5rem, 7vw, 7rem) 0 calc(var(--rail-h) + env(safe-area-inset-bottom)); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; padding-right: var(--sc-gutter); }
.contact__fig { margin: 0; }
.contact__fig img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 40% 40%; border-radius: 0 var(--r) var(--r) 0; }
.contact__body { display: grid; gap: 1.2rem; justify-items: start; }
.contact__big { margin: 0; font-family: var(--sc-font-display); font-weight: 800; font-stretch: 110%; font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4.2rem); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.contact__big a { color: var(--yellow); text-decoration: none; white-space: nowrap; }
.contact__list { margin: .4rem 0 .6rem; width: 100%; max-width: 30rem; }
.contact__list > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--sc-hairline); }
.contact__list dt { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sc-ink-soft); padding-top: .3rem; }
.contact__list dd { margin: 0; line-height: 1.5; }
.foot { margin: clamp(3rem, 6vw, 5rem) var(--sc-gutter) 0; padding: 1.2rem 0 1.4rem; border-top: 1px solid var(--sc-hairline); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; font-size: .82rem; color: var(--sc-ink-soft); }
@media (max-width: 860px) {
  .contact { padding-top: 0; }
  .contact__grid { grid-template-columns: 1fr; padding-right: 0; gap: 2rem; }
  .contact__fig img { border-radius: 0; aspect-ratio: 3 / 2; }
  .contact__body { padding-inline: var(--sc-gutter); }
}

/* ===================================================== DER FELDSTREIFEN ==
   Signature move and navigation. Scroll is the playhead: the rig drives along
   the soil line, seedlings grow behind it, and from the baling act on it
   leaves bales. --rl is the rig's left edge (0..1 of the track), set in JS. */
.rail { position: fixed; z-index: var(--sc-z-chrome); inset: auto 0 0 0; height: calc(var(--rail-h) + env(safe-area-inset-bottom)); background: #15120B; box-shadow: 0 -1px 0 rgba(241, 240, 230, .13), 0 -12px 30px -12px rgba(0, 0, 0, .5); --focus: var(--yellow); }
.rail__track { position: relative; height: var(--rail-h); margin-inline: clamp(.9rem, 3vw, 3rem); --rl: 0; --rp: 0; }
.rail__track::before { content: ""; position: absolute; left: -100vw; right: -100vw; top: var(--rail-line); height: 2px; background: #6B5535; }
.rail__track::after { content: ""; position: absolute; left: -100vw; right: -100vw; top: calc(var(--rail-line) + 2px); bottom: calc(-1 * env(safe-area-inset-bottom)); background: linear-gradient(#2A2013, #15120B 70%); z-index: -1; }
.rail__crop { position: absolute; left: 0; right: 0; top: 0; height: var(--rail-line); pointer-events: none; }
/* Symbols pop up once the rig's rear end has passed them. --rl = rig position, --rp = page progress (0..1). */
.sym { position: absolute; bottom: 0; left: calc(var(--x) * 100%); transform-origin: 50% 100%; --g: clamp(0, calc((var(--rl) - var(--x)) * 45), 1); transform: scale(var(--g)); }
.sym svg { display: block; width: 100%; height: 100%; }
.sym--seed { bottom: -2px; }
.sym--sprout { --g: clamp(0, calc((var(--rl) - var(--x)) * 16), 1); transform: scale(calc(.5 + var(--g) * .5), var(--g)); }
.sym--phone { bottom: 3px; }
/* Handsets the rig never reaches (it stops short of the strip's end) answer to page progress instead. */
.sym--spaet { --g: clamp(0, calc((var(--rp) - var(--t)) * 25), 1); }
.rail__rig { position: absolute; left: 0; top: calc(var(--rail-line) - 44px * var(--rig-s) + 1px); width: calc(132px * var(--rig-s)); height: calc(44px * var(--rig-s)); --rig-s: .96; will-change: transform; pointer-events: none; }
.rig { display: block; width: 100%; height: 100%; overflow: visible; }
.rig__baler { opacity: 0; }
.rail.is-baling .rig__baler { opacity: 1; }
.rail.is-baling .rig__seeder, .rail.is-solo .rig__seeder, .rail.is-solo .rig__baler { opacity: 0; }
.rig__seeder, .rig__baler { transition: opacity 260ms var(--sc-ease-out); }
.rig__wheel { transform-box: fill-box; transform-origin: 50% 50%; transform: rotate(var(--spin, 0deg)); }
.rig__wheel--small { transform: rotate(calc(var(--spin, 0deg) * 1.5)); }

.rail__stops { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.rail__stops li { position: absolute; top: 0; bottom: 0; left: calc(var(--at) * 100%); }
.rail__stops a { position: absolute; top: 0; bottom: 0; left: 0; transform: translateX(-50%); min-width: 60px; padding: 0 .4rem; display: block; text-decoration: none; color: var(--ink-l-soft); }
.rail__stops i { position: absolute; left: 50%; top: calc(var(--rail-line) - 5px); width: 2px; height: 12px; margin-left: -1px; background: currentColor; transition: background-color 160ms var(--sc-ease-out); }
.rail__stops span { position: absolute; left: 50%; top: calc(var(--rail-line) + 9px); transform: translateX(-50%); font-family: var(--sc-font-display); font-weight: 650; font-stretch: 104%; font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; transition: color 160ms var(--sc-ease-out); }
.rail__stops a.is-cta { color: var(--yellow); }
.rail__stops a.is-here { color: var(--ink-l); }
.rail__stops a.is-here i { height: 16px; top: calc(var(--rail-line) - 9px); background: var(--yellow); }
@media (hover: hover) and (pointer: fine) { .rail__stops a:hover { color: var(--ink-l); } }
@media (max-width: 860px) {
  .rail__rig { --rig-s: .6; }
  .rail__stops span { font-size: .6rem; letter-spacing: .06em; top: calc(var(--rail-line) + 7px); }
  .rail__stops a { min-width: 52px; }
}
@media (prefers-reduced-motion: reduce) { .rig__wheel { transform: none !important; } }
/* in-page jumps: a brief soil-coloured blackout instead of a smooth ride through the scrubbed acts */
.veil { position: fixed; inset: 0; z-index: 90; background: var(--soil); opacity: 0; pointer-events: none; transition: opacity 420ms var(--sc-ease-out); }
.veil.is-on { opacity: 1; transition-duration: 170ms; }
@media print { .rail, .plate, .veil { display: none; } }

main section:focus { outline: none; }
