/* =========================================================
   Stahlmann Gastro · Forgeon-styled mockup
   Dual-accent: deep blue #1E3A8A + amber gold #E5A43F
   ========================================================= */

/* ---------- Self-hosted fonts (no third-party requests) ---------- */
/* Headings: Plus Jakarta Sans — single file, full Latin + Latin Extended (TR ready) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-variable.woff2') format('woff2');
}
/* Body: Inter — basic Latin file */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
}
/* Body: Inter — supplemental for Turkish/Polish (ğ Ğ İ ş Ş) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-variable-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20CF, U+2C60-2C7F, U+A720-A7FF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #1E3A8A;
  --blue-bright: #2D52B5;
  --blue-deep: #16306E;
  --blue-rgb: 30, 58, 138;
  --orange: #F43F5E;
  --orange-bright: #FB7185;
  --orange-rgb: 244, 63, 94;
  --ink: #0F172A;
  --body: #5F6776;
  --muted: #8E96A4;
  --light-bg: #F4F5F8;
  --light-bg-2: #EBEDF1;
  --cream: #F8F4EE;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --shadow-card: 0 8px 26px rgba(15, 23, 42, 0.07);
  --shadow-card-hover: 0 18px 50px rgba(15, 23, 42, 0.13);
  --container: 1240px;
}

html { scroll-behavior: smooth; }
/* Offset anchor jumps so the sticky header doesn't cover the section heading.
   Value = sticky header height (44px logo + 16px×2 padding + 1px border ≈ 77px). */
section[id] { scroll-margin-top: 77px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.5px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Kicker ---------- */
.kicker {
  display: inline-block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.kicker-orange { color: var(--orange); }

/* ---------- Section heads ---------- */
.section-head {
  margin-bottom: 48px;
}
.section-head.center { text-align: center; }
.section-head.center p { max-width: 620px; margin-left: auto; margin-right: auto; }
.section-head h2 {
  font-size: 40px;
  margin-bottom: 12px;
  max-width: 640px;
}
.section-head.center h2 { margin-left: auto; margin-right: auto; }
.section-head p {
  font-size: 15.5px;
  max-width: 580px;
}

section {
  padding: 100px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  border-radius: 4px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
}
.btn-blue:hover { background: var(--blue-bright); transform: translateY(-2px); }
.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover { background: var(--orange-bright); transform: translateY(-2px); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.55);
}
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
}
.read-more::after { content: '↗'; transition: transform 0.2s; }
.read-more:hover::after { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand .logo-square {
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
}
.brand .logo-square img { width: 100%; height: 100%; object-fit: contain; }
.brand .wordmark {
  color: var(--blue);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-links a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.nav-bar .lang { display: inline-flex; gap: 2px; }
.lang button,
.lang a {
  display: inline-block;
  padding: 5px 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.5px;
  background: transparent;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.lang button:hover,
.lang a:hover { color: var(--ink); }
.lang button.active,
.lang a.active { background: var(--blue); color: var(--white); }
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.search-btn:hover { background: var(--light-bg); color: var(--blue); }
.search-btn svg { width: 18px; height: 18px; }
.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-bright); }
.nav-toggle {
  display: none;
  color: var(--ink);
  padding: 12px;
  font-size: 24px;
  background: transparent;
  border: none;
}
/* The overlay tools <li> is mobile-only; hide on desktop */
.nav-overlay-tools { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 540px;
  background:
    linear-gradient(95deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.55) 60%, rgba(15, 23, 42, 0.30) 100%),
    url('../images/usage/usage-doner.webp') right bottom/cover no-repeat;
  color: var(--white);
  padding: 80px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero .container { width: 100%; }
.hero-headline {
  max-width: 820px;
  margin-bottom: 56px;
}
.hero h1 {
  color: var(--white);
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--orange); }
.hero p.lead {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding-bottom: 56px;
}
.hero-stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.hero-stat .num {
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.8px;
}
.hero-stat .num .plus { color: var(--orange); margin-left: 1px; }
.hero-stat .label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin-top: 6px;
}
.hero-watch {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.hero-watch .play-circle {
  width: 52px; height: 52px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.hero-watch:hover .play-circle { background: var(--orange-bright); }
.hero-watch .play-circle::before {
  content: '';
  width: 0; height: 0;
  border-left: 11px solid var(--white);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 4px;
}

/* ---------- About / Erster Eindruck ---------- */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.about-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-tiles .tile {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1.05;
  position: relative;
}
.about-tiles .tile.photo {
  background-size: cover;
  background-position: center;
}
.about-tiles .tile.card {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.about-tiles .tile.blue { background: var(--blue); }
.about-tiles .tile.orange { background: var(--orange); }
.about-tiles .tile.card h4 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 8px;
}
.about-tiles .tile.card p { color: rgba(255, 255, 255, 0.85); font-size: 14px; line-height: 1.55; }
.about-grid .copy h2 { font-size: 40px; margin-bottom: 18px; }
.about-grid .copy p { font-size: 15.5px; margin-bottom: 14px; }
.about-signature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid var(--border);
}
.about-signature .avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.about-signature .who strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.3px;
}
.about-signature .who span {
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sectors / Services ---------- */
.sectors {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url('../images/usage/usage-bowl.webp');
  background-size: cover;
  background-position: center;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.sector-card {
  background: var(--white);
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: 10px;
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  min-height: 240px;
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.sector-card .icon {
  color: var(--ink);
  margin-bottom: 22px;
}
.sector-card .icon svg { width: 44px; height: 44px; }
.sector-card .icon-video { width: 72px; height: 72px; object-fit: contain; display: block; filter: invert(1); }
.sector-card .icon-video img { width: 72px; height: 72px; object-fit: contain; }
.sector-card:not(.is-blue):not(.is-orange) .icon-video { filter: none; }
/* In dark mode, the default (white) sector card becomes dark — flip the icon back to white. */
body.dark-mode .sector-card:not(.is-blue):not(.is-orange) .icon-video { filter: invert(1); }
.sector-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.sector-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 18px;
}
.sector-card .more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sector-card .more::after { content: '↗'; }
.sector-card.is-blue {
  background: var(--blue);
}
.sector-card.is-blue h3, .sector-card.is-blue .icon { color: var(--white); }
.sector-card.is-blue p { color: rgba(255, 255, 255, 0.78); }
.sector-card.is-blue .more { color: var(--white); }
.sector-card.is-orange {
  background: var(--orange);
}
.sector-card.is-orange h3, .sector-card.is-orange .icon { color: var(--white); }
.sector-card.is-orange p { color: rgba(255, 255, 255, 0.85); }
.sector-card.is-orange .more { color: var(--white); }

/* ---------- Why Choose Us / Fertigung ---------- */
.why-fertigung {
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.why-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.why-feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.why-feature:last-child { border-bottom: none; }
.why-feature .icon {
  width: 48px; height: 48px;
  background: var(--light-bg);
  color: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-feature .icon svg { width: 24px; height: 24px; }
.why-feature h4 {
  font-size: 17px;
  margin-bottom: 4px;
}
.why-feature p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
}
.why-image-wrap {
  position: relative;
}
.why-image-wrap .image {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--light-bg);
}
.why-stats {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: var(--white);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
  padding: 22px 0;
}
.why-stat { text-align: center; padding: 0 14px; border-right: 1px solid var(--border); }
.why-stat:last-child { border-right: none; }
.why-stat .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.6px;
  line-height: 1;
}
.why-stat .num .plus { color: var(--orange); }
.why-stat .label {
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

/* ---------- Projects / Referenzen ---------- */
.projects {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
    url('../images/fabrication/install-protective-film.webp');
  background-size: cover;
  background-position: center;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.project-card {
  background: var(--white);
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.project-card .image {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.project-card .image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.project-card:hover .image img { transform: scale(1.06); }
.project-card .body { padding: 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 0 18px;
}
.project-card .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--body);
}
.project-card .chip::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
}
.project-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.project-card p {
  font-size: 14.5px;
  margin-bottom: 18px;
}
.project-card .detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: auto;
  align-self: flex-start;
}
.project-card .detail::after { content: '↗'; }

/* ---------- Products / Pricing-style ---------- */
.products {
  background: var(--light-bg);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: rgba(var(--blue-rgb), 0.06);
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
  overflow: hidden;
}
.product-card:hover { box-shadow: var(--shadow-card); }
.product-card .product-image {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: var(--blue);
}
.product-card .product-body {
  padding: 26px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card.featured {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-12px);
  box-shadow: 0 18px 50px rgba(30, 58, 138, 0.30);
}
.product-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.product-card.featured h3 { color: var(--white); }
.product-card .price-line {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.product-card.featured .price-line { color: rgba(255, 255, 255, 0.7); }
.product-card .price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 22px;
  line-height: 1.1;
}
.product-card.featured .price { color: var(--white); }
.product-card .price small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.product-card.featured .price small { color: rgba(255, 255, 255, 0.7); }
.product-card .features-title {
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}
.product-card.featured .features-title { color: rgba(255, 255, 255, 0.6); }
.product-card .features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.product-card .features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
}
.product-card.featured .features li { color: rgba(255, 255, 255, 0.92); }
.product-card .features li::before {
  content: '';
  width: 16px; height: 16px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M5 12l5 5 9-9'/></svg>");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}
.product-card .product-cta {
  display: block;
  width: 100%;
  background: var(--blue);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s;
}
.product-card .product-cta:hover { background: var(--blue-bright); }
.product-card.featured .product-cta { background: var(--orange); }
.product-card.featured .product-cta:hover { background: var(--orange-bright); }

/* ---------- FAQ ---------- */
.faq {
  background: var(--white);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
.faq-side h2 { font-size: 38px; margin-bottom: 14px; }
.faq-side p { margin-bottom: 28px; }
.faq-image {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 5/4;
  background-size: cover;
  background-position: center;
  background-color: var(--light-bg);
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: rgba(var(--blue-rgb), 0.06);
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: 6px;
  overflow: hidden;
  transition: background 0.2s;
}
.faq-item.open { background: var(--blue); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-item.open .faq-q { color: var(--white); }
.faq-q .plus {
  color: var(--orange);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item.open .faq-q .plus { color: var(--white); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 22px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.6;
}
.faq-item.open .faq-a {
  max-height: 280px;
  padding: 22px 22px 22px 22px;
  color: rgba(255, 255, 255, 0.88);
}

/* ---------- Page header (legal pages) ---------- */
.page-header {
  position: relative;
  padding: 130px 0 130px;
  background:
    linear-gradient(95deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.65) 60%, rgba(15, 23, 42, 0.40) 100%),
    url('../images/fabrication/fabrication-welding-hands.webp') center/cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: center;
  min-height: 360px;
}
.page-header > .container { width: 100%; text-align: left; }
.page-header.impressum-header {
  background:
    linear-gradient(95deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.65) 60%, rgba(15, 23, 42, 0.40) 100%),
    url('../images/usage/usage-chef-salad.webp') center 85%/cover no-repeat;
}
/* Impressum-specific CTA strip — bg image loaded lazily via data-bg in HTML */
.cta-strip.impressum-cta { background-position: center; }
/* Datenschutz-specific CTA strip — bg image loaded lazily via data-bg in HTML */
.cta-strip.datenschutz-cta { background-position: center 60%; }
.page-header.datenschutz-header {
  background:
    linear-gradient(95deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.65) 60%, rgba(15, 23, 42, 0.40) 100%),
    url('../images/usage/usage-buffet-table.webp') center/cover no-repeat;
}
.page-header .kicker { color: var(--orange); margin-bottom: 12px; }
.page-header h1 {
  color: var(--white);
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin: 0;
}
@media (max-width: 720px) {
  .page-header { padding: 80px 0 80px; min-height: 280px; }
  .page-header h1 { font-size: 32px; }
}

/* ---------- Impressum ---------- */
.impressum {
  background: var(--light-bg);
}
.impressum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  margin-bottom: 40px;
}
.impressum-block h4 {
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
}
.impressum-block p {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
}
.impressum-block a {
  color: var(--blue);
  font-weight: 600;
  transition: color 0.2s;
}
.impressum-block a:hover { color: var(--orange); }
.impressum-note {
  background: var(--white);
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: 10px;
  padding: 28px 32px;
}
.impressum-note h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--ink);
}
.impressum-note p {
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 12px;
  color: var(--body);
}
.impressum-note p:last-child { margin-bottom: 0; }
.impressum-note a {
  color: var(--blue);
  font-weight: 600;
  word-break: break-all;
}
.impressum-note a:hover { color: var(--orange); }
body.dark-mode .impressum { background: #0A0F1A; }
body.dark-mode .impressum-block p { color: #F0F3F8; }
body.dark-mode .impressum-block h4 { color: rgba(255, 255, 255, 0.55); }
body.dark-mode .impressum-note { background: #0E1422; border-color: rgba(255, 255, 255, 0.10); }
body.dark-mode .impressum-note h4 { color: #F0F3F8; }
body.dark-mode .impressum-note p { color: rgba(255, 255, 255, 0.7); }

/* Legal long-form prose (Datenschutz) */
.legal-prose {
  background: var(--white);
  border: 1px solid rgba(var(--blue-rgb), 0.18);
  border-radius: 10px;
  padding: 36px 40px;
}
.legal-prose h3 {
  font-size: 18px;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--ink);
}
.legal-prose h3:first-child { margin-top: 0; }
.legal-prose p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 12px;
}
.legal-prose p:last-child { margin-bottom: 0; }
.legal-prose a {
  color: var(--blue);
  font-weight: 600;
  word-break: break-word;
  transition: color 0.2s;
}
.legal-prose a:hover { color: var(--orange); }
body.dark-mode .legal-prose { background: #0E1422; border-color: rgba(255, 255, 255, 0.10); }
body.dark-mode .legal-prose h3 { color: #F0F3F8; }
body.dark-mode .legal-prose p { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 720px) {
  .legal-prose { padding: 24px 22px; }
}
@media (max-width: 1100px) {
  .impressum-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .impressum-grid { grid-template-columns: 1fr; }
}

/* ---------- Pre-footer CTA ---------- */
.cta-strip {
  position: relative;
  padding: 90px 0;
  background-color: #0F172A;
  background-size: cover;
  background-position: center 85%;
  background-repeat: no-repeat;
  /* JS sets background-image via data-bg + data-bg-overlay on this element */
  color: var(--white);
  text-align: center;
}
.cta-strip h2 {
  color: var(--white);
  font-size: 44px;
  max-width: 720px;
  margin: 0 auto 18px;
}
.cta-strip p { max-width: 580px; margin: 0 auto 28px; color: rgba(255, 255, 255, 0.78); }

/* ---------- Footer ---------- */
.footer {
  background: var(--cream);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-contact { text-align: right; }
.footer-contact .footer-contact-row { justify-content: flex-end; }
.footer-brand .brand-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.footer-brand .brand-row .logo-square {
  width: 38px; height: 38px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
}
.footer-brand .brand-row .logo-square img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand .wordmark { color: var(--blue); font-size: 22px; font-weight: 800; }
.footer-brand p { font-size: 14px; color: var(--body); margin-bottom: 18px; line-height: 1.6; }
.footer-brand .footer-tagline {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}
body.dark-mode .footer-brand .footer-tagline { color: #F0F3F8; }
.footer-newsletter {
  display: flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.footer-newsletter input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  background: transparent;
}
.footer-newsletter input::placeholder { color: var(--muted); }
.footer-newsletter input:focus { outline: none; }
.footer-newsletter button {
  background: var(--blue);
  color: var(--white);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 12.5px;
}
.footer-newsletter button:hover { background: var(--blue-bright); }
.footer-grid h4 {
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul a {
  color: var(--body);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.footer-grid ul a::before { content: '›'; color: var(--blue); }
.footer-grid ul a:hover { color: var(--blue); }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.5;
}
.footer-contact-row svg { color: var(--blue); width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; }
.footer-contact-row strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
  margin-bottom: 4px;
}
.footer-mini-cta {
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  padding: 24px 22px;
}
.footer-mini-cta h4 {
  color: var(--white);
  font-size: 19px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.footer-mini-cta .btn-orange {
  font-size: 13px;
  padding: 11px 18px;
}

.copyright {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.copyright-links { display: inline-flex; gap: 16px; }
.copyright-links a { color: var(--muted); transition: color 0.2s; }
.copyright-links a:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero h1 { font-size: 46px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .about-grid, .why-grid, .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { min-height: 480px; padding-top: 80px; }
  .hero h1 { font-size: 34px; }
  /* Pin the toggle button to the right edge of the container.
     Absolute positioning relative to .site-header .container guarantees alignment
     with the rest of the page's right edge (cards, sections), regardless of how
     flex distributes the brand/nav-bar children. */
  .site-header .container { position: relative; }
  .nav-bar { flex: 0 0 auto; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 50%;
    right: 28px;          /* matches .container padding so the icon's right edge aligns with content right edge */
    transform: translateY(-50%);
    z-index: 80;
    background: transparent;
    border: none;
    -webkit-appearance: none;
    appearance: none;
  }
  /* Hamburger -> X icon morph via spans */
  .nav-toggle .bars { position: relative; width: 22px; height: 16px; display: inline-block; }
  .nav-toggle .bars::before,
  .nav-toggle .bars::after,
  .nav-toggle .bars span { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease; }
  .nav-toggle .bars::before { top: 1px; }
  .nav-toggle .bars span { top: 7px; }
  .nav-toggle .bars::after { top: 13px; }
  body.nav-open .nav-toggle .bars::before { top: 7px; transform: rotate(45deg); }
  body.nav-open .nav-toggle .bars::after { top: 7px; transform: rotate(-45deg); }
  body.nav-open .nav-toggle .bars span { opacity: 0; }

  /* Hide the desktop-only right cluster entirely on mobile */
  .nav-right { display: none; }

  /* Full-screen overlay panel */
  .nav-links {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 32px 32px;
    gap: 0;
    margin: 0;
    z-index: 60;
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.32s ease, opacity 0.2s ease, visibility 0s linear 0.32s;
    display: flex;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.32s ease, opacity 0.2s ease, visibility 0s linear 0s;
  }
  .nav-links li { list-style: none; }
  .nav-links a {
    display: block;
    padding: 18px 4px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
  }
  .nav-links a.active { color: var(--orange); }
  .nav-links a::after { display: none; }

  /* Bottom-of-overlay tools row: language + theme + CTA */
  .nav-links::after {
    content: '';
    flex: 1;
  }
  .nav-overlay-tools {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
    padding-top: 28px;
    margin-top: auto;
    list-style: none;
    border-bottom: none !important;
  }
  /* Reset the big-link styling inherited from .nav-links a for the lang switcher
     inside the overlay, but preserve the lang-specific pill styling so the active
     language stays visible. */
  .nav-overlay-tools .lang a {
    display: inline-block;
    border-bottom: none;
    padding: 8px 14px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--muted);
  }
  .nav-overlay-tools .lang a:hover { color: var(--ink); }
  .nav-overlay-tools .lang a.active {
    background: var(--blue);
    color: var(--white);
  }
  .nav-overlay-tools .nav-cta {
    color: var(--white) !important;
    background: var(--blue);
    border-bottom: none;
  }
  .nav-overlay-tools .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .nav-overlay-tools .lang {
    display: inline-flex;
    gap: 4px;
  }
  .nav-overlay-tools .lang a,
  .nav-overlay-tools .lang button {
    padding: 8px 14px;
    font-size: 13px;
  }
  .nav-overlay-tools .theme-toggle {
    display: inline-flex;
  }
  .nav-overlay-tools .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px 22px;
    font-size: 15px;
  }

  /* Header z-index needs to stay above body content but below overlay close icon */
  .site-header { z-index: 50; }
  /* Keep brand + toggle visible above the overlay so the user can close it.
     position: fixed gives us a reliable stacking context on top of the overlay. */
  body.nav-open .site-header {
    z-index: 70;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }
  body.dark-mode.nav-open .site-header {
    background: #0A0F1A;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  body.nav-open .nav-links { z-index: 65; padding-top: 96px; }

  /* While the overlay is open, the close (X) button should clearly read as a close affordance */
  body.nav-open .nav-toggle {
    background: var(--light-bg);
    border-radius: 50%;
    transition: background 0.2s ease;
  }
  body.dark-mode.nav-open .nav-toggle {
    background: rgba(255, 255, 255, 0.08);
  }
  body.nav-open .nav-toggle .bars::before,
  body.nav-open .nav-toggle .bars::after { background: var(--ink); }
  body.dark-mode.nav-open .nav-toggle .bars::before,
  body.dark-mode.nav-open .nav-toggle .bars::after { background: #F0F3F8; }

  /* Lock body scroll while overlay open */
  body.nav-open { overflow: hidden; }
  /* Keep the three hero stats on a single row on mobile */
  .hero-stats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }
  .hero-stat { flex: 1 1 0; min-width: 0; }
  .hero-stat .num { font-size: 26px; letter-spacing: -0.5px; }
  .hero-stat .label { font-size: 11px; line-height: 1.3; }
  .sectors-grid, .products-grid, .projects-grid { grid-template-columns: 1fr; }
  .about-tiles { grid-template-columns: 1fr; }
  /* Footer on mobile: brand block full-width on top, then social + contact in two columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { text-align: right; }
  .footer-contact .footer-contact-row { justify-content: flex-end; }
  /* Copyright: stack the two halves and center both lines */
  .copyright { flex-direction: column; gap: 8px; text-align: center; align-items: center; }
  .copyright-links { justify-content: center; }
  .section-head h2, .about-grid .copy h2, .cta-strip h2, .faq-side h2 { font-size: 28px; }
  /* Center the section's CTA on mobile so it matches the kontakt CTA */
  .about-grid .copy { text-align: center; }
  .about-grid .copy .btn { margin-left: auto; margin-right: auto; }

  /* Mobile: center the text intros for Fertigung, FAQ, and the footer brand.
     Cards and feature rows inside them stay left-aligned to keep their internal
     structure (icon-on-left + text-on-right) readable. */
  .why-grid > div:first-child { text-align: center; }
  .why-grid > div:first-child .why-features { text-align: left; }

  .faq-side { text-align: center; }
  .faq-list { text-align: left; }

  .footer-brand { text-align: center; }
  .footer-brand .brand-row { justify-content: center; }
}

/* =============================================================
   THEME TOGGLE BUTTON + DARK MODE
   ============================================================= */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  padding: 0;
}
.theme-toggle:hover { background: var(--light-bg); color: var(--blue); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
body.dark-mode .theme-toggle .icon-moon { display: none; }
body.dark-mode .theme-toggle .icon-sun { display: inline-block; }

/* ----- Dark mode ----- */
body.dark-mode { background: #050810; color: #B3B9C6; }

body.dark-mode .site-header {
  background: #0A0F1A;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
body.dark-mode .brand .wordmark { color: #F0F3F8; }
body.dark-mode .brand .logo-square { box-shadow: 0 8px 24px rgba(255, 255, 255, 0.35) !important; }
body.dark-mode .nav-links a { color: #F0F3F8; }
body.dark-mode .nav-links a:hover, body.dark-mode .nav-links a.active { color: var(--orange); }
body.dark-mode .theme-toggle { color: #F0F3F8; }
body.dark-mode .theme-toggle:hover { background: rgba(255, 255, 255, 0.06); }
body.dark-mode .lang button,
body.dark-mode .lang a { color: rgba(255, 255, 255, 0.55); }
@media (max-width: 720px) {
  body.dark-mode .nav-links { background: #0A0F1A; }
  body.dark-mode .nav-links a { color: #F0F3F8; border-bottom-color: rgba(255, 255, 255, 0.08); }
  body.dark-mode .nav-links a.active { color: var(--orange); }
  body.dark-mode .nav-toggle .bars::before,
  body.dark-mode .nav-toggle .bars::after,
  body.dark-mode .nav-toggle .bars span { background: #F0F3F8; }
}
body.dark-mode .lang button:hover,
body.dark-mode .lang a:hover { color: #F0F3F8; }

body.dark-mode .about,
body.dark-mode .why-fertigung,
body.dark-mode .faq { background: #050810; }
body.dark-mode .sectors {
  background-image:
    linear-gradient(rgba(5, 8, 16, 0.90), rgba(5, 8, 16, 0.90)),
    url('../images/usage/usage-bowl.webp');
}
body.dark-mode .projects {
  background-image:
    linear-gradient(rgba(5, 8, 16, 0.90), rgba(5, 8, 16, 0.90)),
    url('../images/fabrication/install-protective-film.webp');
}
body.dark-mode .products { background: #0A0F1A; }

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5 { color: #F0F3F8; }
body.dark-mode .section-head p,
body.dark-mode .about-grid .copy p,
body.dark-mode .faq-side p { color: rgba(255, 255, 255, 0.7); }

body.dark-mode .about-signature { border-top-color: rgba(255, 255, 255, 0.08); }
body.dark-mode .about-signature .who strong { color: #F0F3F8; }
body.dark-mode .about-signature .who span { color: rgba(255, 255, 255, 0.55); }

body.dark-mode .sector-card { background: #0E1422; border-color: rgba(255, 255, 255, 0.10); box-shadow: 0 6px 18px rgba(255, 255, 255, 0.06); }
body.dark-mode .sector-card:hover { box-shadow: 0 18px 50px rgba(255, 255, 255, 0.12); }
body.dark-mode .sector-card .icon { color: #F0F3F8; }
body.dark-mode .sector-card h3 { color: #F0F3F8; }
body.dark-mode .sector-card p { color: rgba(255, 255, 255, 0.7); }
body.dark-mode .sector-card.is-blue { background: var(--blue); border-color: var(--blue); box-shadow: 0 6px 18px rgba(var(--blue-rgb), 0.40); }
body.dark-mode .sector-card.is-orange { background: var(--orange); border-color: var(--orange); box-shadow: 0 6px 18px rgba(var(--orange-rgb), 0.40); }
body.dark-mode .sector-card.is-blue h3,
body.dark-mode .sector-card.is-blue .icon,
body.dark-mode .sector-card.is-orange h3,
body.dark-mode .sector-card.is-orange .icon { color: var(--white); }
body.dark-mode .sector-card.is-blue p { color: rgba(255, 255, 255, 0.78); }
body.dark-mode .sector-card.is-orange p { color: rgba(255, 255, 255, 0.85); }

body.dark-mode .why-feature { border-bottom-color: rgba(255, 255, 255, 0.08); }
body.dark-mode .why-feature h4 { color: #F0F3F8; }
body.dark-mode .why-feature p { color: rgba(255, 255, 255, 0.7); }
body.dark-mode .why-feature .icon { background: rgba(255, 255, 255, 0.06); color: var(--orange); }
body.dark-mode .why-stats {
  background: #0E1422;
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.10);
}
body.dark-mode .why-stat { border-right-color: rgba(255, 255, 255, 0.08); }
body.dark-mode .why-stat .num { color: #F0F3F8; }
body.dark-mode .why-stat .label { color: rgba(255, 255, 255, 0.55); }

body.dark-mode .project-card { background: #0E1422; border-color: rgba(255, 255, 255, 0.10); box-shadow: 0 6px 18px rgba(255, 255, 255, 0.06); }
body.dark-mode .project-card:hover { box-shadow: 0 18px 50px rgba(255, 255, 255, 0.12); }
body.dark-mode .project-card h3 { color: #F0F3F8; }
body.dark-mode .project-card p { color: rgba(255, 255, 255, 0.7); }

body.dark-mode .product-card { background: #0E1422; border-color: rgba(255, 255, 255, 0.10); box-shadow: 0 6px 18px rgba(255, 255, 255, 0.05); }
body.dark-mode .product-card.featured { background: var(--blue); }
body.dark-mode .product-card h3 { color: #F0F3F8; }
body.dark-mode .product-card .price { color: #F0F3F8; }
body.dark-mode .product-card .features li { color: rgba(255, 255, 255, 0.85); }

body.dark-mode .faq-item { background: #0E1422; border-color: rgba(255, 255, 255, 0.10); }
body.dark-mode .faq-item.open { background: var(--blue); }
body.dark-mode .faq-q { color: #F0F3F8; }
body.dark-mode .faq-a { color: rgba(255, 255, 255, 0.7); background: #0E1422; }
body.dark-mode .faq-item.open .faq-a { background: transparent; color: rgba(255, 255, 255, 0.88); }

body.dark-mode .footer { background: #0A0F1A; }
body.dark-mode .footer-brand .wordmark { color: #F0F3F8; }
body.dark-mode .footer-brand p,
body.dark-mode .footer-grid ul a,
body.dark-mode .footer-contact-row { color: rgba(255, 255, 255, 0.7); }
body.dark-mode .footer-grid h4 { color: #F0F3F8; }
body.dark-mode .footer-contact-row strong { color: #F0F3F8; }
body.dark-mode .footer-newsletter {
  background: #0E1422;
  border-color: rgba(255, 255, 255, 0.08);
}
body.dark-mode .footer-newsletter input { color: #F0F3F8; }
body.dark-mode .footer-newsletter input::placeholder { color: rgba(255, 255, 255, 0.45); }
body.dark-mode .copyright { border-top-color: rgba(255, 255, 255, 0.06); }
body.dark-mode .copyright-links a { color: rgba(255, 255, 255, 0.5); }

/* Parallax background-attachment only on desktop with mouse — avoid mobile scroll jank */
@media (min-width: 1100px) and (hover: hover) {
  .sectors,
  .projects { background-attachment: fixed; }
}

/* =============================================================
   COOKIE / PRIVACY NOTICE BANNER
   ============================================================= */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 32px);
  width: calc(100% - 32px);
  max-width: 560px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
  padding: 22px 24px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.32s ease, opacity 0.2s ease, visibility 0s linear 0.32s;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cookie-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: transform 0.32s ease, opacity 0.2s ease, visibility 0s linear 0s;
}
.cookie-banner h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.cookie-banner p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: 10px;
}
.cookie-banner p:last-of-type { margin-bottom: 16px; }
.cookie-banner a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.cookie-banner a:hover { color: var(--orange); }
.cookie-banner .cookie-ack {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 11px 22px;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.3px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.cookie-banner .cookie-ack:hover { background: var(--orange-bright); transform: translateY(-1px); }

/* Dark mode */
body.dark-mode .cookie-banner {
  background: #0E1422;
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}
body.dark-mode .cookie-banner h4 { color: #F0F3F8; }
body.dark-mode .cookie-banner p { color: rgba(255, 255, 255, 0.72); }
body.dark-mode .cookie-banner a { color: #8FB4FF; }
body.dark-mode .cookie-banner a:hover { color: var(--orange); }

/* Mobile: full bleed at bottom, less rounded */
@media (max-width: 720px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    bottom: 12px;
    transform: translate(0, 32px);
    padding: 18px 18px 20px;
  }
  .cookie-banner.is-visible { transform: translate(0, 0); }
  .cookie-banner .cookie-ack { width: 100%; padding: 13px 22px; }
}
