/* OrchardCast - Design System (Bloomberg / Copernicus High-Trust Standard)
   The site is always light (partials/base.html.twig); there is no dark mode. */
:root,
:root[data-theme="light"] {
  --oc-navy: #0E2F52;           /* Deep Maritime Navy - seriousness & institution */
  --oc-navy-dark: #07192D;
  --oc-blue-data: #1E4D82;       /* scientific data blue */
  --oc-orange: #EA781E;          /* terracotta / harvest gold (logo accent) */
  --oc-orange-dark: #C96112;
  --oc-green: #245A34;           /* Mediterranean olive green */
  --oc-bg-white: #FFFFFF;
  /* warm neutrals (paper, stone) instead of cool slate: they suit olive, soil and satellite images */
  --oc-paper: #FAF8F3;
  --oc-paper-deep: #F1EDE3;
  --oc-bg-subtle: #F7F5EF;
  --oc-bg-section-alt: #F2EFE7;
  --oc-border-light: #E6E0D4;
  --oc-border-strong: #CEC6B5;
  --oc-text: #24292D;
  --oc-text-muted: #4E5358;
  --oc-text-subtle: #6D7175;
  --oc-measure: 68ch;            /* line length of body text */
  --q2-accent: var(--oc-navy);
  --q2-link: var(--oc-blue-data);
  --q2-text: var(--oc-text);
  --pico-color: var(--oc-text);
  --pico-primary: var(--oc-orange);
  --pico-background-color: #FFFFFF;
  --oc-content-width: 980px;     /* common content width of all sections and the footer */
  /* Sans-serif text face: the system UI font (no web font download; decision WEB-X5 B, 2026-10-24) */
  --oc-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Serif typeface for headings and the word mark: Fraunces (SIL OFL 1.1), embedded locally, no Google connection */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/fraunces/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

body {
  font-family: var(--oc-sans);
  color: var(--oc-text) !important;
  background-color: var(--oc-paper) !important;
  line-height: 1.7;
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);   /* 17 px phone - 18 px desktop */
}
p, li, dd, dt, label { color: var(--oc-text) !important; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-weight: 500 !important;
  letter-spacing: -0.015em !important;
  color: var(--oc-navy) !important;
  text-wrap: balance;
}
/* Serif only for the large headings (review point C1): h3 / h4 in the sans-serif text face */
h1, h2 { font-family: "Fraunces", Georgia, "Times New Roman", serif !important; }
h3, h4 { font-family: var(--oc-sans) !important; font-weight: 600 !important; letter-spacing: -0.005em !important; }
/* Eyebrow line above section titles (modular/text|features|form.html.twig: menu title of the page) */
.oc-eyebrow {
  font: 600 0.78rem/1.2 var(--oc-sans) !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
  color: var(--oc-orange-dark) !important;
  margin: 0 0 0.9rem 0 !important;
}
h5, h6 {
  font-family: var(--oc-sans);
  font-weight: 700;
  color: var(--oc-navy) !important;
}

/* Hyperlinks: subtle data blue (#1E4D82), warm terracotta on hover */
a {
  color: var(--oc-blue-data) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
  transition: color 0.15s ease !important;
}
a:hover { color: var(--oc-orange) !important; }

/* --------------------------------------------------------------------------
   Header: space with a Landsat satellite (images/header/sat_banner.webp, NASA, public domain),
   order logo | menu | language | satellite. Banner via tools/mosaic/make_sat_banner_r.py.
   -------------------------------------------------------------------------- */
/* Sizes per width (all in px so they match the pattern file; tools/mosaic/make_header_dissolve.py, FINAL):
   --oc-hpad padding top / bottom, --oc-logo-h/-w logo, --oc-strip-w width of the dot transition,
   --oc-link-pad padding of the menu links. The first menu item starts 4 px after the transition. */
#header {
  --oc-hpad: 14px; --oc-logo-h: 116px; --oc-logo-w: 227px; --oc-link-pad: 16px;
  --oc-strip-w: 310px; --oc-strip: url('../images/header/dissolve_dots_xl.svg');
  background: #050a14 url('../images/header/sat_banner.webp') right center / auto 100% no-repeat !important;
  border-bottom: 0 !important;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--oc-hpad) 0 !important;
  box-shadow: none;
}
@media (max-width: 1799px) { #header { --oc-strip-w: 230px; --oc-strip: url('../images/header/dissolve_dots_l.svg'); } }
@media (max-width: 1600px) { #header { --oc-strip-w: 140px; --oc-strip: url('../images/header/dissolve_dots_m.svg'); } }
@media (max-width: 1500px) {
  #header { --oc-logo-h: 104px; --oc-logo-w: 203px; --oc-link-pad: 10px;
    --oc-strip-w: 130px; --oc-strip: url('../images/header/dissolve_dots_s.svg'); }
}
/* 1200-1365 px: tighter menu links, so that the language switcher ends before the satellite in every language
   (WEB-T32; at 1280 px de / es / pt / it touched it) */
@media (max-width: 1365px) { #header { --oc-link-pad: 7px; } }
/* Header wider than the content column (theme: 1200 px), so the larger satellite fits to the right of the menu */
#header > .container { max-width: 1600px; }
#header .navbar {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0 !important;
}
#header .navbar > * { position: relative; z-index: 1; }
/* Logo field: a light area from the left window edge to just behind the logo, then it dissolves into
   halftone dots (the user's choice, 2026-10-23). Both areas hang on the left edge of the navbar
   (= left logo edge), so the gap to the menu is the same at every window width and zoom level. */
#header .navbar::before,
#header .navbar::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: calc(-1 * var(--oc-hpad));
  bottom: calc(-1 * var(--oc-hpad));
}
#header .navbar::before { left: -100vw; width: calc(100vw + var(--oc-logo-w) + 8px); background: #FBFAF6; }
#header .navbar::after {
  left: calc(var(--oc-logo-w) + 7px);
  width: var(--oc-strip-w);
  background: var(--oc-strip) left center / 100% 100% no-repeat;
}
#header .navbar-section.logo { flex: 0 0 auto !important; }
#header .desktop-menu { flex: 0 1 auto !important; justify-content: flex-start !important; margin-left: 0; }
#header .navbar-section.actions { margin-left: 0.4rem !important; }
.navbar-brand {
  padding: 0 !important;
  display: flex;
  align-items: center;
  text-decoration: none !important;
}
#header .oc-brand { margin-right: calc(8px + var(--oc-strip-w) + 4px - var(--oc-link-pad)); }
.oc-brand-logo { display: block; height: var(--oc-logo-h) !important; width: var(--oc-logo-w) !important; max-width: none; }
.navigation a {
  font-weight: 600 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  font-size: 1.02rem;
  padding: 0.6rem var(--oc-link-pad, 16px) !important;
  border-radius: 6px;
  transition: all 0.15s ease;
}
/* 1280-1500 px: slightly smaller menu font, so that long words too (es "Próximamente", it "Prossimamente")
   end before the satellite */
@media (max-width: 1500px) { #header .navigation a { font-size: 0.96rem; } }
.navigation a:hover,
.navigation a.active {
  color: #F6C08F !important;
  background-color: rgba(255, 255, 255, 0.08);
  text-decoration: none !important;
}
/* tight: the satellite partly moved out of the picture to the right (solar panel cut off), so it does not touch the language switcher */
@media (max-width: 1440px) {
  #header { background-position: right -50px center !important; }
}
@media (max-width: 1365px) {
  #header { background-position: right -110px center !important; }
}
/* too narrow for menu and satellite side by side: starry sky only */
@media (max-width: 1279px) {
  #header { background-position: 0 center !important; }
}
@media (max-width: 1199px) {
  #header { background-position: 0 center !important;    /* phone: starry sky only */
    --oc-hpad: 8px; --oc-logo-h: 64px; --oc-logo-w: 125px;
    --oc-strip-w: 152px; --oc-strip: url('../images/header/dissolve_dots_xs.svg'); }
  #header .oc-brand { margin-right: 0; }
}

/* --------------------------------------------------------------------------
   Hero: animated data mosaic (templates/modular/hero.html.twig, js/mosaic.js,
   tiles: images/mosaic/, built with tools/mosaic/build_mosaic.py)
   -------------------------------------------------------------------------- */
.oc-hero { position: relative; display: flex; overflow: hidden; background: #08131f;
  min-height: max(420px, calc(100svh - var(--oc-header, 160px))); }
.oc-mosaic { position: absolute; inset: -3px; display: grid; gap: 0; align-content: start; background: #08131f;
  grid-template-columns: repeat(var(--cols, 10), var(--cell, 150px)); grid-auto-rows: var(--cell, 150px);
  transform-origin: 50% 50%; will-change: transform; }
/* Frame = a transparent 3 px border over the dark mosaic background (6 px between tiles). The images fill only the
   padding box, so no image pixel reaches a tile edge and fractional device pixels (browser zoom, Windows scaling)
   blend only dark with dark at a joint; overflow: hidden (a plain rectangle clip, no clip-path mask and no layer per
   tile) cuts zooming images at the frame, also while the whole mosaic zooms (WEB-T30; before, an inset box-shadow
   over full-size images let image lines and zooming images show in the joints and neighbour tiles) */
.oc-cell { position: relative; overflow: hidden; box-sizing: border-box; border: 3px solid transparent; }
.oc-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.oc-mosaic.live .oc-cell:not(.stack) img { transition: opacity .42s ease; }
.oc-cell img.on, .oc-cell.stack img:first-child { opacity: 1; }
.oc-cell .cap { position: absolute; z-index: 2; left: 5px; bottom: 4px; font: 600 11px/1.2 var(--oc-sans);
  letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .92); opacity: 0; transition: opacity .3s;
  text-shadow: 0 1px 4px #000; }
.oc-cell:hover .cap, .oc-cell.featured .cap { opacity: 1; }
.oc-cell.featured .cap { color: #F6C08F; font-size: 14px; }
.oc-shade { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, rgba(8, 19, 31, 0) 45%, rgba(8, 19, 31, .35) 100%),
              linear-gradient(90deg, rgba(8, 19, 31, .78) 0%, rgba(8, 19, 31, .45) 36%, rgba(8, 19, 31, 0) 64%); }
.oc-hero-text { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding-block: 3rem; pointer-events: none; }
.oc-hero-text h1 { color: #FFFFFF !important; font-size: clamp(1.9rem, 4vw, 3.4rem) !important; line-height: 1.1;
  margin: 0 0 .9rem !important; hyphens: manual; text-shadow: 0 2px 24px rgba(0, 0, 0, .55); }
.oc-hero-text h1::before { display: none; }
.oc-hero-text h3 { font-family: var(--oc-sans) !important; font-weight: 500 !important; color: #F6D2AE !important;
  font-size: clamp(1rem, 1.7vw, 1.3rem) !important; letter-spacing: 0 !important; margin: 0 !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .65); }
.nw { white-space: nowrap; }
/* Text and buttons below the mosaic */
.oc-intro { background: #FFFFFF; padding: 3.6rem 1.5rem 3.4rem; text-align: center; border-bottom: 1px solid var(--oc-border-light); }
.oc-intro p { max-width: 760px; margin: 0 auto 2rem !important; font-size: 1.2rem !important; line-height: 1.7; }
.oc-intro p:has(> .btn) { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 1rem; margin-bottom: 0 !important; }

/* Buttons (B2B calls to action) */
.btn.btn-primary, button[type="submit"], input[type="submit"] {
  background-color: var(--oc-orange) !important;
  border: 1px solid var(--oc-orange-dark) !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  border-radius: 3px !important;
  padding: 0.8rem 1.8rem !important;
  text-decoration: none !important;
  display: inline-block;
  margin: 0;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn.btn-primary:hover, button[type="submit"]:hover, input[type="submit"]:hover {
  background-color: var(--oc-orange-dark) !important;
  color: #FFFFFF !important;
}
.btn.btn-secondary {
  background-color: #FFFFFF !important;
  border: 1.5px solid var(--oc-navy) !important;
  color: var(--oc-navy) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  border-radius: 3px !important;
  padding: 0.78rem 1.8rem !important;
  text-decoration: none !important;
  display: inline-block;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn.btn-secondary:hover {
  background-color: var(--oc-navy) !important;
  color: #FFFFFF !important;
}
.oc-intro .btn::after { content: "\2009\2192"; }   /* thin space + arrow */

/* Layout & sections */
.section-padding { padding: clamp(4rem, 3rem + 4vw, 6.5rem) 1.5rem !important; }
#start > section { margin-bottom: 0; }   /* Pico puts 16 px below every <section>: otherwise paper strips between the areas */

/* All sections and the footer share one centred content column */
.modular-text > .container,
.modular-features > .container,
.modular-form > .container,
#footer > .container {
  max-width: calc(var(--oc-content-width) + 2 * clamp(1rem, 4vw, 2rem));
}
.modular-features .frame-box { max-width: none; }
/* Section titles: eyebrow + title on the left; the theme's accent bar (h2::before) is dropped */
.modular-text h2::before,
.modular-features h2::before,
.modular-form h2::before { display: none !important; }
.modular-text h2,
.modular-features h2,
.modular-form h2 {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem) !important;
  line-height: 1.15 !important;
  margin: 0 0 1.4rem 0 !important;
}
.modular-text .oc-sec-body > p,
.modular-features .frame-box > p { max-width: var(--oc-measure); }

/* Project & developer: editorial layout (modular/text.html.twig) - eyebrow and title left, text right */
@media (min-width: 960px) {
  .oc-sec {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }
  .oc-sec-head { position: sticky; top: calc(var(--oc-header, 154px) + 2rem); }
  .oc-sec-head h2 {
    margin-bottom: 0 !important;
    font-size: clamp(1.9rem, 1.2rem + 1.2vw, 2.35rem) !important;
    hyphens: auto;                /* long German compounds (Datengenauigkeit) get a hyphen, never a break inside a word without one */
    overflow-wrap: normal;
    word-break: normal;
  }
  .oc-sec-body > :first-child { margin-top: 0.2rem; }
}

/* Section sequence: paper and white alternating, fine lines instead of gradients */
.bg-light, .bg-subtle, .bg-tint-sky, .bg-tint-meadow {
  background: var(--oc-paper) !important;
  border-top: 1px solid var(--oc-border-light);
  border-bottom: 0;
}

/* "Coming soon": Panorámica olivar Jaén (Mar de Olivos) as a full-strength image band above the section,
   below it a numbered list instead of boxes */
section.modular-features {
  --oc-band: clamp(220px, 32vw, 420px);
  background: #FFFFFF !important;
  border-top: 0;
  position: relative;
  padding-top: calc(var(--oc-band) + clamp(4rem, 3rem + 4vw, 6.5rem)) !important;
}
section.modular-features::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--oc-band);
  background: url('/user/images/panoramica-olivar-jaen.webp') center 60% / cover no-repeat;
}
.feature-cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 3.5rem;
  margin: 2.6rem 0 0;
  counter-reset: oc-feature;
}
@media (min-width: 640px) {
  .feature-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.feature-card,
.feature-card-upcoming {
  counter-increment: oc-feature;
  background: none !important;
  border: 0 !important;
  border-top: 1px solid var(--oc-border-strong) !important;
  border-radius: 0;
  padding: 1.4rem 0 2rem 0;
  box-shadow: none;
}
/* Header line of each entry: number left, status right; title and text below */
.feature-card-upcoming { display: flex; flex-wrap: wrap; align-items: baseline; align-content: flex-start; }
.feature-card-upcoming > h4,
.feature-card-upcoming > p { flex: 0 0 100%; }
.feature-card-upcoming::before {
  content: counter(oc-feature, decimal-leading-zero);
  flex: 1 0 auto;
  font: 500 0.95rem/1 "Fraunces", Georgia, serif;
  color: var(--oc-orange-dark);
  margin-bottom: 0.9rem;
}
.feature-card-upcoming h4 {
  margin: 0 0 0.5rem 0;
  color: var(--oc-navy) !important;
  font-size: 1.35rem;
}
.feature-card-upcoming p {
  margin: 0;
  color: var(--oc-text-muted) !important;
  font-size: 0.98rem;
  line-height: 1.6;
}
.feature-status-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oc-text-subtle);
}

/* Static data legend below the hero mosaic (modular/hero.html.twig, front matter `legend`) */
section.oc-hero { margin-bottom: 0; }   /* no paper strip between the mosaic and the legend */
.oc-legend { background: #0B1A2A; border-top: 1px solid rgba(255, 255, 255, .08); }
.oc-legend ul { list-style: none; margin: 0 auto; padding: .9rem clamp(1rem, 4vw, 2rem);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .5rem 1.4rem; }
.oc-legend li { margin: 0; padding: 0 0 0 .8rem; border-left: 2px solid var(--oc-orange);
  color: rgba(255, 255, 255, .78) !important; font-size: .82rem; line-height: 1.45; list-style: none; }
.oc-legend li strong { display: block; color: #FFFFFF; font-weight: 600; }

/* Content sections of 2026-10-24 (why now, benefits, method, offer): short message first, details on click */
.oc-points { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.4rem; margin: 2rem 0 1.4rem; }
@media (min-width: 640px) { .oc-points-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.oc-point { border-top: 1px solid var(--oc-border-strong); padding: 1.1rem 0 1.4rem; }
.oc-point h3 { font-size: 1.15rem !important; line-height: 1.35; margin: .35rem 0 .45rem !important; }
.oc-point p { margin: 0 0 .4rem; font-size: .98rem; line-height: 1.6; }
.oc-tag { font-size: .72rem !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--oc-orange-dark) !important; font-variant-numeric: tabular-nums; margin: 0 !important; }
.oc-lead { font-size: 1.08rem; }
.oc-more { margin: .3rem 0 0; }
.oc-more > summary:not([role]) { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--oc-blue-data) !important;
  list-style: none; }   /* :not([role]) and !important: Pico's accordion colours (blades.min.css) would win otherwise */
.oc-more summary::-webkit-details-marker { display: none; }
.oc-more summary::after { content: "\2009+"; float: none; display: inline; width: auto; height: auto;
  margin: 0; background-image: none; transform: none !important; }   /* replaces Pico's chevron */
.oc-more[open] summary::after { content: "\2009\2212"; }
.oc-more p { color: var(--oc-text-muted) !important; font-size: .95rem; margin-top: .5rem; }
.oc-table-wrap { overflow-x: auto; margin: 1.6rem 0 1rem; }
.oc-offer { width: 100%; border-collapse: collapse; font-size: .95rem; }
.oc-offer th { text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--oc-text-subtle); border-bottom: 1px solid var(--oc-border-strong); padding: .5rem .8rem .5rem 0; }
.oc-offer th, .oc-offer td { background: transparent !important; }
.oc-offer td { vertical-align: top; border-bottom: 1px solid var(--oc-border-light); padding: .7rem .8rem .7rem 0; }
.oc-offer td:first-child { font-weight: 600; color: var(--oc-navy); }
.oc-offer td:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.oc-note { font-size: .88rem; color: var(--oc-text-subtle) !important; }

/* Divider "olive trees" above the developer section (WEB-X15, 2026-10-24; image credits: build_credits_page.py):
   between the grove panorama above "Coming soon" and the olives of "Contact"; a taller band than the panorama, so
   that the trunks show. Bound to the language-neutral anchor #about, so it holds in all six languages. */
#about + section.modular-text {
  --oc-band: clamp(260px, 42vw, 600px);
  position: relative;
  border-top: 0 !important;    /* no hairline between the white section above and the photo */
  padding-top: calc(var(--oc-band) + clamp(4rem, 3rem + 4vw, 6.5rem)) !important;
}
#about + section.modular-text::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: var(--oc-band);
  background: url('/user/images/olivenhain-korfu-agii-douli.webp') center 40% / cover no-repeat;
}
/* phones: a 1000 px copy (about 1/3 of the bytes; CSS backgrounds load at once, not lazily) */
@media (max-width: 768px) {
  #about + section.modular-text::before { background-image: url('/user/images/olivenhain-korfu-agii-douli-1000.webp'); }
}
/* Phones: each tier as a block - name and price on one line, the content below */
@media (max-width: 639px) {
  .oc-offer thead { display: none; }
  .oc-offer tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .8rem;
    border-bottom: 1px solid var(--oc-border-light); padding: .8rem 0; }
  .oc-offer td { display: block; border: 0; padding: 0; }
  .oc-offer td:last-child { grid-column: 2; grid-row: 1; text-align: right; white-space: normal; max-width: 9.5rem; }
  .oc-offer td:nth-child(2) { grid-column: 1 / -1; margin-top: .3rem; color: var(--oc-text-muted) !important; }
}

/* Do not hide jump targets under the fixed header (menu & form jump #kontakt) */
.module-anchor { scroll-margin-top: 152px; }   /* header 144 px */

/* Newsletter & contact - olive harvest (photo: Melina Kiefer / Unsplash) with a light form card */
.bg-slate {
  background-color: var(--oc-bg-section-alt) !important;
  border-top: 1px solid var(--oc-border-light) !important;
  border-bottom: 1px solid var(--oc-border-light) !important;
  color: var(--oc-text) !important;
}
/* Contact / newsletter: dark section like the header; the olive photo lies as a texture under deep navy */
.bg-newsletter {
  background: linear-gradient(180deg, rgba(7, 21, 37, 0.88) 0%, rgba(7, 21, 37, 0.80) 100%),
              url('/user/images/olivenernte-melina-kiefer-unsplash.webp') center/cover no-repeat !important;
  border: 0 !important;
  color: #E9E4D8 !important;
}
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.4rem 0;
}
.form-success .fa-circle-check {
  color: var(--oc-green);
  font-size: 2rem;
  line-height: 1.2;
  flex-shrink: 0;
}
.form-success p {
  font-size: 1.12rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}
.bg-newsletter .form-panel {
  max-width: 720px;
  margin: 0 auto;
  background: none;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.bg-newsletter .form-panel h2 { margin-top: 0; }
.bg-newsletter .notices,
.bg-newsletter .form-panel .alert {
  border-radius: 3px;
}
.bg-slate h2, .bg-slate h3, .bg-slate h4 { color: var(--oc-navy) !important; }
.bg-slate p { color: var(--oc-text) !important; }
.bg-newsletter h2, .bg-newsletter h3, .bg-newsletter h4 { color: #FFFFFF !important; }
.bg-newsletter .oc-eyebrow { color: #F0A867 !important; }
.bg-newsletter p,
.bg-newsletter .form-label,
.bg-newsletter label,
.bg-newsletter [data-grav-field="checkbox"] label { color: #E9E4D8 !important; }
.bg-newsletter a,
.bg-newsletter [data-grav-field="checkbox"] label a { color: #F6C08F !important; }
.bg-newsletter a:hover,
.bg-newsletter [data-grav-field="checkbox"] label a:hover { color: #FFFFFF !important; }
.bg-newsletter input[type="email"] { border-color: transparent !important; }
.bg-newsletter [data-grav-field="checkbox"] input[type="checkbox"] { accent-color: var(--oc-orange); }
.bg-newsletter .form-success .fa-circle-check { color: #9CCB7E; }
.form-field { margin-bottom: 1.4rem; }
.form-label, label {
  color: var(--oc-navy) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  margin-bottom: 0.4rem !important;
  display: block;
}
input[type="email"], input[type="text"], select {
  background-color: #FFFFFF !important;
  border: 1.5px solid var(--oc-border-strong) !important;
  color: var(--oc-text) !important;
  border-radius: 3px !important;
  padding: 0.85rem 1.1rem !important;
  font-size: 1rem !important;
  width: 100%;
  box-shadow: none;
  transition: border-color 0.15s ease;
}
input[type="email"]:focus, input[type="text"]:focus, select:focus {
  border-color: var(--oc-blue-data) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 77, 130, 0.18) !important;
}
/* Consent checkbox: box on the left, text beside it. Grav marks the field only through
   data-grav-field="checkbox" and puts an empty label in front of it, which is hidden here. */
.form-field:has([data-grav-field="checkbox"]) {
  margin: 1.2rem 0 1.6rem 0;
}
.form-field:has([data-grav-field="checkbox"]) > .form-label-wrapper {
  display: none;
}
[data-grav-field="checkbox"] .form-input-wrapper {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
}
[data-grav-field="checkbox"] input[type="checkbox"] {
  margin: 0.3rem 0 0 0 !important;
  flex-shrink: 0 !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
  cursor: pointer;
  accent-color: var(--oc-navy);
}
[data-grav-field="checkbox"] label {
  display: block !important;
  font-weight: 400 !important;
  color: var(--oc-text) !important;
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  cursor: pointer;
  margin: 0 !important;
}
[data-grav-field="checkbox"] label a {
  color: var(--oc-blue-data) !important;
  text-decoration: underline !important;
  font-weight: 600;
}
[data-grav-field="checkbox"] label a:hover {
  color: var(--oc-orange) !important;
}

/* --------------------------------------------------------------------------
   Footer - data sources & licence notes + legal links
   -------------------------------------------------------------------------- */
#footer {
  background: var(--oc-paper-deep) !important;
  color: var(--oc-text-muted) !important;
  padding: 4.5rem 1.5rem 3.5rem !important;
  border-top: 0 !important;
  text-align: left;
}
.footer-sources-panel {
  margin-bottom: 2.5rem;
}
.footer-sources-title {
  color: var(--oc-navy) !important;
  font-size: 1.35rem !important;
  font-weight: 500 !important;
  margin-bottom: 0.6rem !important;
}
.footer-sources-intro {
  color: var(--oc-text-muted) !important;
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  margin: 0 0 1.8rem 0 !important;
  max-width: var(--oc-measure);
}
/* Fixed number of columns (3 / 1), so that no card stands alone in the last row */
.footer-sources-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 2.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 760px) {
  .footer-sources-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.footer-source-card {
  background: none;
  border: 0;
  border-top: 1px solid var(--oc-border-strong);
  border-radius: 0;
  padding: 1rem 0 1.4rem 0;
  box-shadow: none;
}
.footer-source-card .source-header {
  color: var(--oc-navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.footer-source-card .source-body {
  color: var(--oc-text-subtle);
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-source-card .source-body a {
  color: var(--oc-blue-data) !important;
  text-decoration: underline !important;
  font-weight: 500;
}
.footer-divider {
  border: 0 !important;
  border-top: 1px solid var(--oc-border-light) !important;
  margin: 2.8rem 0 2rem 0 !important;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem 2rem;
}
.footer-bottom > p { margin: 0 !important; width: auto; flex: 0 1 auto; }
/* Links spaced instead of separator dots (the "•" in the template are hidden with font-size: 0) */
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; font-size: 0 !important; }
.footer-links a { margin: 0 !important; }
.footer-copyright {
  color: var(--oc-text-subtle) !important;
  font-size: 0.92rem !important;
  margin-bottom: 0.6rem !important;
}
.footer-links a {
  color: var(--oc-blue-data) !important;
  text-decoration: none !important;
  margin: 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--oc-orange) !important;
  text-decoration: underline !important;
}
#to-start {
  color: var(--oc-blue-data);
  font-size: 1.5rem;
  margin-top: 2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Footer pages (imprint, disclaimer, privacy statement)
   Perfect contrast, clear document hierarchy & B2B precision
   -------------------------------------------------------------------------- */
#page-wrapper {
  background-color: var(--oc-paper) !important;
}

#body-wrapper {
  background: var(--oc-paper) !important;
  padding-top: 3.5rem !important;
  padding-bottom: 5.5rem !important;
  min-height: 75vh;
  border-bottom: 0 !important;
}

#body-wrapper > .container > .content-item {
  background: #FFFFFF !important;
  border: 1px solid var(--oc-border-light) !important;
  border-radius: 3px !important;
  padding: clamp(2.4rem, 5vw, 4.2rem) clamp(2rem, 5vw, 4.5rem) !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  color: var(--oc-text) !important;
}

#body-wrapper h1 {
  color: var(--oc-navy) !important;
  font-size: clamp(2.2rem, 4.5vw, 2.75rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  border-bottom: 1px solid var(--oc-border-strong) !important;
  padding-bottom: 1.1rem !important;
  margin-bottom: 2.2rem !important;
}

#body-wrapper h2 {
  color: var(--oc-navy) !important;
  font-size: 1.6rem !important;
  font-weight: 500 !important;
  margin-top: 2.6rem !important;
  margin-bottom: 1rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid var(--oc-border-light) !important;
}

#body-wrapper h3 {
  color: var(--oc-navy) !important;
  font-size: 1.25rem !important;
  font-weight: 500 !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
}

#body-wrapper p,
#body-wrapper li,
#body-wrapper dd,
#body-wrapper dt {
  color: var(--oc-text) !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
}

#body-wrapper strong {
  color: #07192D !important;
  font-weight: 700 !important;
}

#body-wrapper ul {
  padding-left: 1.8rem !important;
  margin-bottom: 1.8rem !important;
}

#body-wrapper li {
  margin-bottom: 0.55rem !important;
  color: var(--oc-text) !important;
}

#body-wrapper hr {
  border: 0 !important;
  border-top: 1px solid var(--oc-border-light) !important;
  margin: 3rem 0 2.2rem 0 !important;
}

.back-to-home {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--oc-navy) !important;
  border: 1.5px solid var(--oc-navy) !important;
  color: #FFFFFF !important;
  padding: 0.75rem 1.6rem !important;
  border-radius: 3px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  font-size: 1rem !important;
  box-shadow: none !important;
}

.back-to-home:hover {
  background-color: var(--oc-orange) !important;
  border-color: var(--oc-orange) !important;
  color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   Language switcher (header & mobile menu)
   -------------------------------------------------------------------------- */
.navbar-section.actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-switcher { position: relative; }
.lang-switcher summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--oc-border-strong);
  border-radius: 8px;
  color: var(--oc-navy);
  font-weight: 600;
  font-size: 0.92rem;
  background: #FFFFFF;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary:hover,
.lang-switcher[open] summary { border-color: var(--oc-orange); color: var(--oc-orange); }
.lang-switcher ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 200;
  min-width: 11rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #FFFFFF;
  border: 1px solid var(--oc-border-light);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(14, 47, 82, 0.14);
}
.lang-switcher li { margin: 0; }
.lang-switcher li a {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  color: var(--oc-navy) !important;
  text-decoration: none !important;
  font-size: 0.95rem;
}
.lang-switcher li a:hover { background: rgba(234, 120, 30, 0.08); color: var(--oc-orange) !important; }
.lang-switcher li a.active { font-weight: 700; background: var(--oc-bg-section-alt); }
.mobile-container .lang-switcher { display: inline-block; margin-right: 0.6rem; }
.mobile-container .lang-switcher ul { position: static; margin-top: 0.4rem; box-shadow: none; }

/* Language switcher: always open the list vertically, also on narrow screens */
.lang-switcher ul { display: flex; flex-direction: column; flex-wrap: nowrap; width: max-content; max-width: calc(100vw - 2rem); }
.lang-switcher li { display: block; width: 100%; float: none; }
.lang-switcher li a { white-space: nowrap; }
.navbar-section.actions .lang-switcher ul { left: auto; right: 0; }
/* Pico gives <details> a 16 px bottom margin: without margin: 0 the button sits 8 px above the menu links */
.lang-switcher { margin: 0 !important; }
#header .lang-switcher summary { background: rgba(255, 255, 255, 0.06); color: #FFFFFF; border-color: rgba(255, 255, 255, 0.14); }
#header .lang-switcher summary:hover, #header .lang-switcher[open] summary { color: #F6C08F; border-color: rgba(246, 192, 143, 0.6); }

/* --------------------------------------------------------------------------
   Phone & tablet (<= 1199 px): header with a fixed height, so that the hamburger menu
   (fixed by the theme) sits at the height of the logo. The language switcher sits
   in the menu there; the action bar on the right stays hidden as in the theme.
   Header = 2 x 8 px + 64 px (logo) = 80 px  ->  hamburger (44 px) at top: 18 px.
   -------------------------------------------------------------------------- */
/* The header sits on z-index 100 here (theme: 50). The menu overlay and the hamburger button
   must lie above it, otherwise the button is covered and the overlay starts below the header. */
/* Phone menu already below 1200 px (theme: 860 px; below 1000 px until 2026-10-24): with six section links the menu,
   the original logo and the transition fit on one line only from 1200 px on (WEB-8). The following rules repeat the
   theme's 860 px rules (theme.css). */
@media (max-width: 1199px) {
  .desktop-menu { display: none; }
  .mobile-menu { display: block; }
  .mobile-container { display: block; }
  .navbar-section.actions { display: none; }
}
.overlay { z-index: 105; }
/* Menu as a sidebar on the right (at most 380 px), the rest of the page darkened. Otherwise, in desktop windows with
   a strong zoom (< 1000 px CSS width), it fills the whole wide screen white, with small entries at the top left. */
.overlay { left: auto; width: min(100%, 380px); }
.overlay.open { box-shadow: 0 0 0 100vmax rgba(5, 10, 20, 0.55); }
.overlay .overlay-menu a { text-shadow: none !important;     /* the shadow of the dark header does not belong in the light menu */
  font-family: "Fraunces", Georgia, serif; font-weight: 500; }
@media (max-width: 480px) { .overlay { width: 100%; } }
.mobile-menu { z-index: 110; }
.overlay .overlay-menu a { color: var(--oc-navy) !important; text-decoration: none !important; }
.overlay .overlay-menu a.active { color: var(--oc-orange) !important; }
@media (max-width: 1199px) {
  #header .navbar,
  .header-animated.scrolled #header .navbar { min-height: 64px; }
  .navbar-section.actions { display: none; }
  .mobile-menu,
  .header-animated.scrolled .mobile-menu { top: 18px; }
  .module-anchor { scroll-margin-top: 88px; }
}
