/* Erntefuchs: the site's own CSS, loaded after the kit on every page.
   1. the dealt pairing from local files; 2. the client's colours (start.mjs brand, kept as printed);
   3. page CSS inside visuals: the app's screenshots as drawn windows. */
@font-face { font-family: "Host Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/host-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); }
:root {
  --p-bg: #f7f4ef; --p-surface: #fdf6e7; --p-ink: #2a4a2e; --p-muted: #59715a;
  --p-accent: #ee6c2d; --p-accent-ink: #111111; --p-action: #ee6c2d; --p-action-ink: #111111;
  --p-inv-bg: #2a4a2e; --p-inv-surface: #37553a; --p-inv-ink: #f7f4ef; --p-inv-muted: #c0c7ba;
  --p-inv-accent: #ee6c2d; --p-inv-accent-ink: #111111; --p-inv-action: #ee6c2d; --p-inv-action-ink: #111111;
  --font-display: "Host Grotesk", system-ui, sans-serif;
  --font-text: "Host Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --display-weight: 500;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.04em;
}
/* THE APP'S VIEWS ARE SHOWN WHOLE (the client's wish: no screenshot cut by a frame). A lit frame holds one picture, contained
   and centred; the frame's height comes from the layout (a split's ratio, the rest of the screen), the picture scales into it.
   The files carry their own window bar and rounded corners; the shadow follows the picture, not the box. */
.frame.ef-hold { position: relative; overflow: hidden; min-height: 280px; padding: 0; }
.frame.ef-hold > img, .frame.ef-hold > picture > img {
  position: absolute; inset: 32px; width: calc(100% - 64px); height: calc(100% - 64px); max-width: none;
  object-fit: contain; filter: drop-shadow(0 16px 22px rgb(42 74 46 / .26)); }
.ef-hold > .ef-slot[hidden] { display: none; }
@media (max-width: 639px) {
  .frame.ef-hold > img, .frame.ef-hold > picture > img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
}
/* tabs: each tab's view is a slot of the frame's inner box, its picture whole inside it */
.frame.ef-hold > .ef-slot { position: absolute; inset: 32px; }
.frame.ef-hold > .ef-slot > img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; filter: drop-shadow(0 16px 22px rgb(42 74 46 / .26)); }
@media (max-width: 639px) { .frame.ef-hold > .ef-slot { inset: 16px; } }
/* hero collage: two whole phone views side by side, each contained in its half of the frame; a phone has room for one,
   and gets the top of the first view (layout.css hides the second piece there) */
.hero__art > .ef-phone { display: block; left: 32px; top: 32px; bottom: 32px; width: calc(50% - 44px); }
.hero__art > .ef-phone--b { left: calc(50% + 12px); }
.hero__art > .ef-phone img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; filter: drop-shadow(0 16px 22px rgb(42 74 46 / .26)); }
@media (max-width: 639px) { .hero__art > .ef-phone { left: 16px; top: 16px; bottom: 16px; width: calc(100% - 32px); } }
/* hero triptych: the collage's pieces are whole phone views (the kit crops a piece to its box) */
.ly-collage .ly-piece.ef-whole { background: none; box-shadow: none; overflow: visible; border-radius: 0; }
.ly-collage .ly-piece.ef-whole > img { object-fit: contain; filter: drop-shadow(0 16px 22px rgb(42 74 46 / .26)); }
/* the client's logo (a picture, so its serif never depends on a font file) a third larger than the kit's 24px mark */
.nav__logo img { height: 32px; }
/* a phone: a two-screen split (.g2m) whose .wrap is also the split's .grid.fill gets a 32px column gap from the kit's
   ".grid.fill:has(> .frame--fill)", wider than the wrap: no column gap in one column */
@media (max-width: 639px) { .section.g2m > .wrap.grid.fill { column-gap: 0; } }
/* the pattern window's "Wird gepackt" spinner turns once in 3 s, inside the card loop's 2.5-4 s cadence */
.frame .ui-win .ui-win__st.is-work::before { animation-duration: 3s; }
/* the focus ring in the ink: the kit draws it in the action colour, and the fox orange reads 2.8:1 on the cream ground (3:1 needed) */
:focus-visible { outline-color: var(--ink); }
/* the plain pages (contact, imprint, privacy): the page's h1 at the size of a section heading */
.ef-h1 { font-size: var(--t-h2); line-height: 1.1; }
/* body text the kit sets in the muted grey: on this palette the grey reads 4.9:1 on cream, and body text needs 7:1 */
.hero.hero--centred .hero__lead, main > .section .mo-la__sub { color: var(--ink); }
/* the 3D scene's frame under 1024px: as tall as its picture (a wide picture alone in a tall frame leaves it half empty) */
@media (max-width: 1023px) {
  .group.fill:has(> .ef-natural) { flex: 0 0 auto; }   /* the group holds its frame; the section grows with it on a short screen */
  .frame.ef-hold.ef-natural { flex: 0 0 auto; min-height: 0; }
  .frame.ef-hold.ef-natural { padding: 32px; }
  .frame.ef-hold.ef-natural > img { position: static; display: block; width: 100%; height: auto; }
}
@media (max-width: 639px) { .frame.ef-hold.ef-natural { padding: 16px; } }
/* hero centred: the frame holds one whole picture, standing above the frame's fading foot */
.hero--centred .hero__window.ef-win > img { position: absolute; z-index: 1; left: 24px; top: 24px; width: calc(100% - 48px); height: calc(80% - 24px);
  max-width: none; object-fit: contain; filter: drop-shadow(0 16px 22px rgb(42 74 46 / .26)); }
/* the scene section's three facts: from a tablet up (a 320px phone holds the heading, the line and the picture in its one screen) */
@media (max-width: 639px) { .ef-nophone { display: none; } }
/* facts that stand beside the heading only where the picture has a screen of its own (under 1024px) */
@media (min-width: 1024px) { .ef-small { display: none; } }
/* a split's frame is as tall as the screen leaves (a section's content box is the screen less the nav and the section's
   padding, 192px): the kit's ratio alone leaves it short on a low, wide screen such as 1024x768 */
@media (min-width: 1024px) { .frame.ef-hold.frame--split.frame--fill { min-height: calc(100svh - 192px); } }
/* the pattern window in the collage hero takes its piece's width (layout.css sizes the piece to run past the frame's edge) */
.hero__art > .ly-piece--main > .ui-win { width: 100%; }
/* the mark on the recommended tier sits beside its name */
.rows .badge { margin-left: var(--s-2); }
/* a frame's picture element is no box of its own: the picture inside is placed against the frame */
.frame.ef-hold > picture { position: static; display: contents; }
/* the contact page: the mail form takes what the screen leaves beside or under the contact data, its message field grows
   (system.css has no form that fills; the form stands open on the ground, its fields on the split's lines) */
#nachricht { grid-template-rows: auto auto minmax(120px, 1fr) auto auto auto; }
@media (max-width: 639px) { #nachricht { grid-template-rows: auto auto auto minmax(120px, 1fr) auto auto auto; } #contact > .wrap { column-gap: 0; } }
#nachricht .field--msg { grid-template-rows: auto minmax(0, 1fr); }
#nachricht textarea { height: 100%; min-height: 96px; resize: none; }
@media (min-width: 1024px) { #nachricht { min-height: min(640px, 100svh - 192px); } }
/* the bracketed stand-ins of the contact, imprint and privacy pages (the brief asks for them, clearly marked): the kit's own
   mark for a stand-in, in the house orange instead of the alarm red; it stays until the real data replaces the brackets */
[data-placeholder] { outline: 1px dashed var(--p-accent); outline-offset: 3px; }
/* a form field's focus in the ink, like every other focus ring (the orange reads 2.8:1 on the cream ground) */
html:not([data-motion="off"]) .field :is(input, select, textarea):focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 0 0 4px color-mix(in oklab, var(--ink) 20%, transparent); }
