/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-400-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;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-500-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;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-600-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;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-700-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;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-800-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-800-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;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-900-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/Archivo-900-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;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/Fraunces-300-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/Fraunces-300-italic-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;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Fraunces-400-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Fraunces-400-italic-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;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/Fraunces-300-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/Fraunces-300-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;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Fraunces-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Fraunces-400-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;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Fraunces-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Fraunces-500-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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Inter-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Inter-400-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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Inter-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Inter-500-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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Inter-600-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Inter-600-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;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Inter-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Inter-700-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;
}
/* Croteo Personal — Design System
   Deep teal #093235 + warm sand + off-white
   Editorial B2B aesthetic
*/

:root {
  --teal-900: #093235;
  --teal-800: #0d3f43;
  --teal-700: #134d52;
  --teal-600: #1d5e64;
  --teal-100: #cfd9d8;
  --teal-50: #e7ecec;

  --sand-500: #c9a574;
  --sand-400: #d8b888;
  --sand-300: #e8d4b0;
  --sand-200: #eedfc3;
  --sand-100: #f3e9d6;
  --sand-50:  #faf5ec;

  --paper:    #f6f1e7;
  --paper-2:  #efe8d8;
  --ink:      #093235;
  --ink-mute: #4a6063;
  --line:     #d8cfba;
  --line-2:   #bfb59c;

  --serif: "Fraunces", "Times New Roman", serif;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --gutter: clamp(16px, 4vw, 32px);
  --maxw: 1360px;
  --nav-height: clamp(72px, 9vw, 112px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Lange deutsche Wörter (Integrationsmanagement, Bewerber-Support …) brechen
   ansonsten ueber den Bildschirmrand. lang="de" am <html> aktiviert dt. Trennregeln. */
body, p, h1, h2, h3, h4, .display, .lead, .eyebrow, .nav-links a, .footer a, a, span, div {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
h1, h2, h3, h4, .display, .lead, p {
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* In UPPERCASE-Texten greift hyphens:auto in vielen Browsern nicht.
   Daher zwingender Bruch-Fallback. */
[style*="text-transform: uppercase"], [style*="text-transform:uppercase"],
.eyebrow, .tag {
  overflow-wrap: anywhere;
  word-break: break-word;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-900);
}

.eyebrow.on-dark { color: var(--sand-300); }

.display {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.95;
  text-wrap: balance;
}

.display-xl { font-size: clamp(56px, 9.5vw, 168px); }
.display-l  { font-size: clamp(44px, 6.5vw, 104px); }
.display-m  { font-size: clamp(36px, 4.5vw, 72px); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

h2 { font-size: clamp(34px, 4.2vw, 64px); }
h3 { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.015em; }
h4 { font-size: 18px; letter-spacing: 0; font-weight: 700; }

p { margin: 0; text-wrap: pretty; }

.lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.lead em {
  font-style: normal;
  font-weight: 600;
}

/* ---------- LAYOUT ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 140px) 0;
}

.section.tight { padding: clamp(48px, 6vw, 88px) 0; }

.divider {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 32px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: -0.02em;
  color: var(--teal-900);
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--teal-900);
  color: var(--paper);
  font-size: 14px;
  font-weight: 800;
  border-radius: 2px;
  transform: translateY(2px);
  letter-spacing: 0;
}

.brand small {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav-links {
  display: flex;
  gap: clamp(20px, 3.5vw, 44px);
  align-items: center;
}

.nav-links a {
  font-family: var(--display);
  font-size: clamp(16px, 1.9vw, 22px);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--teal-900);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: 4px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-900);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.15s ease;
  margin: 0 auto;
}
.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn.nav-cta {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--teal-900);
  color: var(--paper);
}
.btn-primary:hover { background: var(--teal-700); }

.btn-ghost {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--teal-900);
}
.btn-ghost:hover { background: var(--teal-900); color: var(--paper); }

.btn-light {
  background: var(--paper);
  color: var(--teal-900);
}
.btn-light:hover { background: var(--sand-100); }

.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 241, 231, 0.4);
}
.btn-outline-light:hover { background: var(--paper); color: var(--teal-900); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- DARK SECTIONS ---------- */
.dark {
  background: var(--teal-900);
  color: var(--paper);
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--paper); }
.dark .lead { color: var(--sand-100); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--teal-900);
  color: var(--sand-100);
  padding: 80px 0 32px;
}
.footer h4 {
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer a { color: var(--sand-100); display: block; padding: 4px 0; font-size: 15px; }
.footer a:hover { color: var(--paper); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(246, 241, 231, 0.15);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(246, 241, 231, 0.6);
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.025em;
  color: var(--paper);
  line-height: 1;
}
.wordmark span { color: var(--sand-400); }

/* ---------- UTILS ---------- */
.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  background: transparent;
}

.tag.dark { border-color: rgba(246,241,231,0.25); color: var(--sand-200); background: transparent; }

.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- CARDS ---------- */
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---------- RULE INDEX ---------- */
.index-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 24px;
  padding: 28px 0;
  align-items: baseline;
  border-top: 1px solid var(--line-2);
}
.index-row:last-child { border-bottom: 1px solid var(--line-2); }
.index-row .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
}
.index-row .title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.index-row .meta {
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- HERO IMAGE PLACEHOLDER ---------- */
.placeholder-img {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-900) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sand-300);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.placeholder-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      transparent 0 14px,
      rgba(246, 241, 231, 0.04) 14px 15px);
}

/* ---------- RESPONSIVE ---------- */

/* Tablet & kleine Desktops <= 1100px:
   3- und 4-Spalten-Layouts brechen schon hier weich um. */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="gridTemplateColumns: \"repeat(3, 1fr)\""] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Tablet <= 900px:
   alle Multi-Spalten kollabieren auf eine, Nav-Links wandern in Dropdown. */
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .index-row { grid-template-columns: 40px 1fr; }
  .index-row .meta { grid-column: 2; }

  /* Hamburger an, Links als Dropdown unter der Nav */
  .nav-burger { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 16px;
    gap: 0;
    box-shadow: 0 8px 16px rgba(9, 50, 53, 0.06);
  }
  .nav-open .nav-links { display: flex; }
  .nav-open .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }
  .nav-open .nav-links a:last-child { border-bottom: 0; }

  /* Inline-Styles aus JSX, die Multi-Spalten erzwingen */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 1.4fr 1fr"],
  [style*="grid-template-columns: 1fr 1.4fr"],
  [style*="grid-template-columns: 1.3fr 1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns: 1fr 2fr"],
  [style*="grid-template-columns: 1fr 1fr 1fr"],
  [style*="gridTemplateColumns: \"1fr 1fr\""],
  [style*="gridTemplateColumns: \"1.4fr 1fr\""],
  [style*="gridTemplateColumns: \"1fr 1.4fr\""],
  [style*="gridTemplateColumns: \"1.3fr 1fr\""],
  [style*="gridTemplateColumns: \"1.1fr 1fr\""],
  [style*="gridTemplateColumns: \"1fr 2fr\""],
  [style*="gridTemplateColumns: \"1fr 1fr 1fr\""] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* Mobile <= 600px:
   Typo-Basis runter, Footer kollabiert komplett, Buttons full-width. */
@media (max-width: 600px) {
  body { font-size: 16px; }

  .footer { padding: 56px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .card { padding: 24px; }

  .row { gap: 12px; }
  .row .btn { flex: 1 1 auto; justify-content: center; }
  .btn { padding: 14px 22px; font-size: 15px; }
  .btn.nav-cta { padding: 10px 16px; font-size: 13px; }

  .index-row {
    grid-template-columns: 32px 1fr;
    gap: 16px;
    padding: 20px 0;
  }

  .wordmark { font-size: 26px; }

  /* Bilder, die mit fester Hoehe per inline-style kommen, dürfen schrumpfen */
  .placeholder-img { min-height: 0; }
}

/* Mobile <= 560px: CTA in Nav weg (steht im Dropdown als "Kontakt"), Platz für Brand + Burger */
@media (max-width: 560px) {
  .nav-cta { display: none; }
}

/* Sehr klein <= 400px: minimale Abstände, Brand-Subtitle weg */
@media (max-width: 400px) {
  .brand small { display: none; }
  .card { padding: 20px; }
}

/* ---------- TWEAKS PANEL (Dev-Tool) ---------- */
/* In Production immer ausblenden — covers screen on mobile, useless live. */
.twk-panel { display: none !important; }

/* ---------- INLINE-STYLE OVERRIDES FUR MOBILE ----------
   index.html nutzt viele harte Pixel-Werte als JSX inline-styles.
   React serialisiert diese als style="prop: <n>px;" — daher kebab-case + px. */

/* Tablet & Mobile: grosse vertikale Abstände kappen */
@media (max-width: 900px) {
  [style*="padding-top: 120px"] { padding-top: 64px !important; }
  [style*="padding-top: 80px"]  { padding-top: 48px !important; }
  [style*="padding-top: 56px"]  { padding-top: 40px !important; }
  [style*="margin-top: 80px"]   { margin-top: 48px !important; }
  [style*="margin-top: 56px"]   { margin-top: 36px !important; }
  [style*="margin-bottom: 80px"]{ margin-bottom: 48px !important; }
  [style*="margin-bottom: 56px"]{ margin-bottom: 36px !important; }

  /* Inline maxWidth: 1100/900/640 — auf Mobile nutzlos, schluckt nur Platz */
  [style*="max-width: 1100px"],
  [style*="max-width: 900px"],
  [style*="max-width: 640px"]   { max-width: 100% !important; }

  /* Placeholder mit fester Hoehe -> hoechstens 240 */
  .placeholder-img[style*="height"] { height: auto !important; min-height: 200px; max-height: 240px; }
}

/* Mobile: noch enger */
@media (max-width: 600px) {
  [style*="padding-top: 120px"] { padding-top: 48px !important; }
  [style*="padding-top: 80px"]  { padding-top: 36px !important; }
  [style*="margin-top: 80px"]   { margin-top: 32px !important; }
  [style*="margin-top: 56px"]   { margin-top: 28px !important; }
  [style*="margin-bottom: 80px"]{ margin-bottom: 32px !important; }

  /* Inline fontSize-Bomben (24/22/40/44 px) auf den eyebrow/labels schrumpfen */
  [style*="font-size: 24px"]    { font-size: 15px !important; }
  [style*="font-size: 22px"]    { font-size: 16px !important; }
  [style*="font-size: 40px"]    { font-size: 26px !important; }
  [style*="font-size: 44px"]    { font-size: 28px !important; }

  /* Hero-Headlines: clamp-Minima sind fuer Phones zu gross fuer "Integrationsmanagement" */
  .display-xl { font-size: clamp(36px, 11vw, 56px) !important; }
  .display-l  { font-size: clamp(32px, 9vw, 44px)  !important; }
  .display-m  { font-size: clamp(28px, 7vw, 36px)  !important; }
  [style*="font-size: clamp(48px"] { font-size: clamp(32px, 8.5vw, 44px) !important; }
  h1 { font-size: clamp(28px, 7.5vw, 40px); }
  h2 { font-size: clamp(26px, 6.5vw, 34px); }

  /* Designer-eigene <br/> bleiben aktiv — display:none wuerde Woerter aneinanderkleben,
     da JSX zwischen Text und <br/> kein echtes Leerzeichen einfuegt. */

  /* Inline gap: 40/32px in flex-rows -> kleiner */
  [style*="gap: 40px"]          { gap: 20px !important; }

  /* Placeholder noch kleiner */
  .placeholder-img[style*="height"] { min-height: 160px; max-height: 200px; }
}
