/* ==========================================================================
   Regenbogenhof Rudelswalde — Design System
   Authentic countryside editorial. Serif-led, flat, hairline, photography-first.
   Hand-crafted, build-free. Light only.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — warm linen, no pure white */
  --paper:      #F3ECDF;
  --paper-2:    #EADFCC;
  --card:       #FBF7EE;
  --card-warm:  #F6EFE1;

  /* Ink — warm near-black */
  --ink:   #232019;
  --ink-2: #564F41;
  --ink-3: #8A8072;

  /* Hairlines */
  --line:   #D8CDB6;
  --line-2: #C6B99C;

  /* One grounded accent pair — deep pine + barn red. No rainbow, no gold. */
  --moss:      #3B4A2C;
  --moss-2:    #2C3921;
  --moss-tint: #E6E9DA;
  --terra:      #A2432A;
  --terra-2:    #863520;
  --terra-tint: #F0E2D6;

  /* Radii — small, near-square */
  --r-xs: 2px;
  --r-sm: 3px;
  --r:    4px;
  --r-lg: 5px;
  --r-xl: 6px;
  --pill: 3px;

  /* Shadows — only for genuinely floating layers */
  --sh-sm: none;
  --sh:    none;
  --sh-lg: 0 16px 44px rgba(35,28,16,.14);

  /* Layout */
  --container: 1120px;
  --nav-h: 74px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 200ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Newsreader", Georgia, serif; font-weight: 600; line-height: 1.14; margin: 0; letter-spacing: 0; }
p { margin: 0 0 1em; }
::selection { background: var(--moss); color: #F3ECDF; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* Sans is reserved for utility chrome only (nav, buttons, labels) */
.u-sans { font-family: "Inter", system-ui, sans-serif; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 26px; }
.eyebrow {
  display: block;
  font-family: "Inter", sans-serif; font-weight: 600; font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--terra-2);
  margin: 0 0 16px; padding-top: 14px; border-top: 1px solid var(--line-2);
  max-width: max-content;
}
.section { padding: clamp(58px, 8vw, 104px) 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section--moss { background: var(--moss-2); color: #EFE9DA; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 54px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
.section-head p { color: var(--ink-2); font-size: 1.14rem; margin-top: 16px; }
.section--moss .section-head p { color: #CFD4BF; }
.section--moss .eyebrow { color: #D8B695; border-top-color: rgba(239,233,218,.28); }
.lede { font-size: 1.24rem; line-height: 1.55; color: var(--ink-2); }

/* ---------- Buttons — rectangular, flat, editorial ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border-radius: var(--r);
  font-family: "Inter", sans-serif; font-weight: 600; font-size: .98rem; letter-spacing: .01em; cursor: pointer;
  border: 1.5px solid transparent; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--moss); color: #F3ECDF; }
.btn--primary:hover { background: var(--moss-2); }
.btn--terra { background: var(--terra); color: #F7EDE6; }
.btn--terra:hover { background: var(--terra-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #F3ECDF; color: var(--moss-2); }
.btn--light:hover { background: #fff; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(243,236,223,.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: height var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav.scrolled { height: 62px; background: rgba(243,236,223,.96); border-bottom-color: var(--line-2); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Newsreader", serif; font-weight: 600; font-size: 1.34rem; color: var(--ink); }
.brand__mark {
  width: 38px; height: 38px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center; color: #F3ECDF;
  background: var(--moss); border: 1px solid var(--moss-2);
}
.brand small { display: block; font-family: "Inter", sans-serif; font-weight: 600; font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: 8px 13px; border-radius: var(--r-sm);
  font-family: "Inter", sans-serif; font-weight: 500; font-size: .92rem; color: var(--ink-2);
  transition: color var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--terra-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { font-size: .9rem; }
.nav-toggle { display: none; }
.nav-panel { display: none; }
.nav-burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 5vw, 66px) 0 clamp(52px, 7vw, 92px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-copy { min-width: 0; }
.hero-kicker {
  display: block; font-family: "Inter", sans-serif; font-weight: 600; font-size: .74rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 22px;
}
.hero-kicker b { color: var(--terra-2); font-weight: 700; }
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 4.7rem); line-height: 1.06; overflow-wrap: break-word; }
.hero h1 em, .hl { font-style: italic; color: var(--terra); font-weight: 500; }
.hero .lede { margin: 24px 0 32px; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; margin-top: 40px; border-top: 1px solid var(--line-2); }
.hero-trust .stat { padding: 20px 26px 0 0; margin-right: 26px; border-right: 1px solid var(--line); }
.hero-trust .stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-trust .stat b { font-family: "Newsreader", serif; font-weight: 600; font-size: 1.7rem; display: block; line-height: 1; color: var(--moss); }
.hero-trust .stat span { font-family: "Inter", sans-serif; font-size: .78rem; letter-spacing: .02em; color: var(--ink-3); }

.hero-media { position: relative; }
.hero-photo { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-2); border: 1px solid var(--line-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Feature strip — de-carded editorial index ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.pillar { padding: 26px 22px 4px 0; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar .ic { color: var(--terra); margin-bottom: 14px; display: block; }
.pillar .ic svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.28rem; margin-bottom: 7px; }
.pillar p { font-size: 1rem; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ---------- Split feature blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.split.reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media .frame { border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 5 / 4; border: 1px solid var(--line-2); }
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split__media .frame--tall { aspect-ratio: 4 / 5; }
.split__body h2 { font-size: clamp(1.9rem, 3.8vw, 2.95rem); margin-bottom: 18px; }
.split__body > p { color: var(--ink-2); font-size: 1.12rem; line-height: 1.58; }
.checklist { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 11px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.06rem; color: var(--ink); }
.checklist svg { flex: none; width: 20px; height: 20px; color: var(--moss); margin-top: 5px; }

/* ---------- Price list — editorial rows, not cards ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(40px, 6vw, 80px); }
.price-card { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.price-card h3 { font-size: 1.35rem; font-weight: 600; }
.price-card p { font-size: .95rem; color: var(--ink-3); margin: 4px 0 0; font-family: "Inter", sans-serif; }
.price-card .price-name { flex: 1; }
.price-card .amount { font-family: "Newsreader", serif; font-size: 1.9rem; font-weight: 600; color: var(--terra); line-height: 1; white-space: nowrap; }
.price-card .amount span { display: none; }
.price-card .unit { font-family: "Inter", sans-serif; font-size: .74rem; color: var(--ink-3); text-align: right; white-space: nowrap; }
.price-note { margin-top: 30px; color: var(--ink-2); font-size: 1.05rem; }
.price-note b { color: var(--ink); }

/* ---------- Ice café band ---------- */
.eis-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.eis-card__media { position: relative; min-height: 340px; }
.eis-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.eis-card__body { padding: clamp(32px, 4.5vw, 56px); }
.eis-card__body h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.eis-hours { display: inline-flex; align-items: center; gap: 9px; color: var(--terra-2); font-family: "Inter", sans-serif; font-weight: 600; font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 20px; }
.flavours { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.flavour { font-family: "Inter", sans-serif; background: transparent; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 7px 14px; font-size: .88rem; color: var(--ink-2); }

/* ---------- Gallery ---------- */
.masonry { columns: 4 220px; column-gap: 12px; }
.masonry a { display: block; margin-bottom: 12px; border-radius: var(--r-xs); overflow: hidden; break-inside: avoid; cursor: zoom-in; position: relative; border: 1px solid var(--line-2); }
.masonry img { width: 100%; height: auto; transition: transform 600ms var(--ease); background: var(--paper-2); }
.masonry a:hover img { transform: scale(1.04); }
.gallery-preview { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 186px; gap: 12px; }
.gallery-preview a { border-radius: var(--r-xs); overflow: hidden; cursor: zoom-in; border: 1px solid var(--line-2); }
.gallery-preview a img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.gallery-preview a:hover img { transform: scale(1.04); }
.gallery-preview a.wide { grid-column: span 2; }
.gallery-preview a.tall { grid-row: span 2; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(24,20,14,.94); display: none; align-items: center; justify-content: center; padding: 4vw; }
.lb.open { display: flex; animation: lbfade var(--dur) var(--ease); }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
.lb img { max-width: 92vw; max-height: 88vh; border-radius: var(--r-xs); box-shadow: var(--sh-lg); }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; cursor: pointer; border-radius: var(--r-sm); display: grid; place-items: center; transition: background var(--dur); }
.lb-close { top: 20px; right: 22px; width: 48px; height: 48px; font-size: 1.5rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 1.6rem; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.24); }

/* ---------- Jobs ---------- */
.jobs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.job-card { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.job-card:last-child { border-right: 0; }
.job-card .tag { align-self: flex-start; font-family: "Inter", sans-serif; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-2); margin-bottom: 14px; }
.job-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.job-card p { color: var(--ink-2); font-size: 1.02rem; margin-bottom: 20px; line-height: 1.55; }
.job-card .job-foot { margin-top: auto; }

/* ---------- News / Aktuelles ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.news-card { padding: 30px 26px 8px 0; border-right: 1px solid var(--line); }
.news-card:last-child { border-right: 0; }
.news-card time { font-family: "Inter", sans-serif; font-size: .74rem; font-weight: 600; letter-spacing: .12em; color: var(--terra-2); text-transform: uppercase; }
.news-card h3 { font-size: 1.4rem; margin: 12px 0 10px; }
.news-card p { color: var(--ink-2); font-size: 1.02rem; margin: 0; line-height: 1.55; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.contact-info .info-row { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid rgba(239,233,218,.16); }
.contact-info .ic { flex: none; color: #C9CBB4; margin-top: 2px; }
.contact-info .ic svg { width: 22px; height: 22px; }
.contact-info .info-row b { display: block; font-family: "Inter", sans-serif; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; opacity: .65; margin-bottom: 4px; font-weight: 600; }
.contact-info .info-row a, .contact-info .info-row span { font-size: 1.15rem; }
.form-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: clamp(26px, 4vw, 42px); color: var(--ink); }
.field { margin-bottom: 17px; }
.field label { display: block; font-family: "Inter", sans-serif; font-weight: 600; font-size: .82rem; letter-spacing: .02em; margin-bottom: 6px; text-transform: uppercase; color: var(--ink-2); }
.field label .req { color: var(--terra); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-family: "Inter", sans-serif; font-size: 1rem; color: var(--ink); background: var(--paper);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(59,74,44,.14); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field .err { font-family: "Inter", sans-serif; color: var(--terra-2); font-size: .84rem; margin-top: 6px; font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 22px; font-family: "Inter", sans-serif; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--moss); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Alerts */
.alert { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-radius: var(--r-sm); font-family: "Inter", sans-serif; font-weight: 500; margin-bottom: 22px; }
.alert svg { flex: none; width: 22px; height: 22px; }
.alert--ok { background: var(--moss-tint); color: var(--moss-2); border: 1px solid #BFCBA6; }

/* ---------- Guestbook ---------- */
.gb-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(30px,5vw,54px); }
.gb-entry { padding: 28px 0; border-bottom: 1px solid var(--line); }
.gb-entry p { font-size: 1.2rem; color: var(--ink); font-style: italic; margin-bottom: 14px; line-height: 1.5; }
.gb-entry .who { font-family: "Inter", sans-serif; font-weight: 600; font-size: .95rem; }
.gb-entry .who span { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-3); font-style: normal; margin-top: 2px; }
.gb-empty { text-align: center; color: var(--ink-2); padding: 40px; grid-column: 1 / -1; }

/* ---------- Footer ---------- */
.footer { background: #201C15; color: #CDC3B2; padding: clamp(54px, 6vw, 80px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-family: "Inter", sans-serif; font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #8F8472; margin-bottom: 16px; }
.footer a { color: #CDC3B2; transition: color var(--dur); }
.footer a:hover { color: #F3ECDF; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 1rem; }
.footer .brand { color: #EFE7D8; margin-bottom: 16px; }
.footer .brand small { color: #8F8472; }
.footer .about { font-size: 1.02rem; color: #A99E8C; max-width: 36ch; line-height: 1.55; }
.footer .rainbow-bar { height: 1px; background: #3A342A; margin: 44px 0 22px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-family: "Inter", sans-serif; font-size: .84rem; color: #8F8472; }
.footer-bottom a { color: #8F8472; } .footer-bottom a:hover { color: #F3ECDF; }

/* ---------- Sub-page hero ---------- */
.page-hero { padding: clamp(46px,6vw,84px) 0 clamp(28px,4vw,46px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); }
.page-hero p { color: var(--ink-2); font-size: 1.16rem; max-width: 60ch; margin-top: 14px; }
.crumbs { font-family: "Inter", sans-serif; font-size: .82rem; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 18px; text-transform: uppercase; }
.crumbs a:hover { color: var(--terra-2); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.7rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1.25rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose a { color: var(--terra-2); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 20px; }
.data-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
.data-table td { padding: 10px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table td:first-child { font-family: "Inter", sans-serif; font-weight: 600; font-size: .92rem; width: 190px; color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-bottom: 1px solid var(--line); }
  .pillar:nth-child(2n) { border-right: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .jobs-grid, .news-grid { grid-template-columns: 1fr; }
  .job-card, .news-card { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-toggle:checked ~ .nav-panel { display: block; }
  .nav-panel {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
    background: var(--paper); border-bottom: 1px solid var(--line-2); box-shadow: var(--sh-lg);
    padding: 16px 26px 26px;
  }
  .nav-panel ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 2px; }
  .nav-panel a { display: block; padding: 13px 12px; border-radius: var(--r-sm); font-family: "Inter", sans-serif; font-weight: 500; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-panel a:hover { color: var(--terra-2); }
  .nav-panel .btn { width: 100%; margin-top: 12px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 560px; margin-inline: auto; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero .lede { max-width: none; }
  .hero-actions .btn { flex: 1 1 auto; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split__media { order: 0; }
  .eis-card { grid-template-columns: 1fr; }
  .eis-card__media { min-height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .gb-list { grid-template-columns: 1fr; }
  .gallery-preview { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}
@media (max-width: 520px) {
  body { font-size: 18px; }
  .container { padding-inline: 20px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; }
  .job-card, .news-card { padding-right: 0; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust .stat { padding-right: 18px; margin-right: 18px; }
  .masonry { columns: 2 140px; }
  .brand small { display: none; }
}
