/* ==========================================================================
   ARIS GmbH – Designsystem & Stylesheet
   Pures CSS, keine Frameworks. Grid + Flexbox + clamp().
   Zwei Themes über data-theme am <html>: "light" (Blau/Weiß) und
   "dark" (Blau/Grau). Header, Hero und Footer bleiben in beiden Themes
   im Marken-Dunkelblau – der Inhalt dazwischen wechselt.
   ========================================================================== */

/* ---------- 1. Marken-Konstanten (themenunabhängig) ---------- */
:root {
  /* ARIS-Blau aus dem Logo abgeleitet */
  --blau: #2456a6;
  --blau-dunkel: #1a4180;
  --blau-cta: #2a62c1;       /* etwas heller, damit Buttons auf Dunkelblau wirken */
  --blau-hell: #7fa8e0;      /* Akzent auf dunklen Flächen */
  --marine: #0c1722;         /* Marken-Dunkelblau: Header, Hero, Footer */
  --marine-2: #122230;
  --weiss: #ffffff;
  --invers-text: #e8eef4;    /* Text auf Marken-Dunkelblau */
  --invers-leise: #9fb0c0;
  --invers-linie: #24384c;
  --fehler: #c0392b;

  /* Typografie */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --fs-h1: clamp(2.1rem, 4.6vw + 0.6rem, 3.9rem);
  --fs-h2: clamp(1.6rem, 2.6vw + 0.6rem, 2.5rem);
  --fs-h3: clamp(1.1rem, 0.6vw + 0.95rem, 1.3rem);
  --fs-text: clamp(1rem, 0.2vw + 0.95rem, 1.0625rem);
  --fs-klein: 0.875rem;

  /* Layout */
  --container: 1180px;
  --space-section: clamp(4rem, 9vw, 7.5rem);
  --radius: 6px;

  /* Bewegung */
  --t-schnell: 160ms ease;
  --t-normal: 320ms cubic-bezier(0.22, 0.7, 0.3, 1);
}

/* ---------- 2. Theme-Tokens ---------- */
/* Helles Theme: Blau und Weiß */
:root, [data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;             /* Sektionshintergrund */
  --bg-tint: #f2f5f9;        /* abgesetzte Sektionen */
  --surface: #ffffff;        /* Karten, Formulare */
  --text: #243240;
  --text-leise: #5b6b7a;
  --heading: #14253c;
  --linie: #d7dee5;
  --akzent: var(--blau);     /* Eyebrows, Links, Markierungen */
  --schatten: 0 10px 30px rgba(12, 23, 34, 0.10);
}

/* Dunkles Theme: Blau und Grau */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #11181f;
  --bg-tint: #161f29;
  --surface: #1b2633;
  --text: #d6dee6;
  --text-leise: #93a3b3;
  --heading: #f0f4f8;
  --linie: #2a3a4c;
  --akzent: var(--blau-hell);
  --schatten: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ---------- 3. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-text);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background var(--t-normal), color var(--t-normal);
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  font-weight: 800;
  color: var(--heading);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--akzent); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Sichtbarer Fokus für Tastaturnutzung */
:focus-visible {
  outline: 3px solid var(--blau-hell);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blau);
  color: var(--weiss);
  padding: 0.6rem 1rem;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Eyebrow: technisches Mono-Label – wiederkehrendes Strukturelement */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--akzent);
  margin: 0 0 0.9rem;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t-schnell), border-color var(--t-schnell), color var(--t-schnell), transform var(--t-schnell);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primär: ARIS-Blau */
.btn-primary {
  background: var(--blau-cta);
  color: var(--weiss);
}
.btn-primary:hover { background: var(--blau-dunkel); }

/* Ghost: zweiter CTA im Hero, passt sich dem Theme an */
.btn-ghost {
  background: transparent;
  color: var(--akzent);
  border-color: var(--linie);
}
.btn-ghost:hover { border-color: var(--akzent); }
[data-theme="dark"] .btn-ghost { color: var(--invers-text); border-color: var(--invers-linie); }
[data-theme="dark"] .btn-ghost:hover { border-color: var(--blau-hell); color: var(--blau-hell); }

/* Outline: für helle/getönte Flächen */
.btn-outline {
  background: transparent;
  color: var(--akzent);
  border-color: var(--linie);
}
.btn-outline:hover { border-color: var(--akzent); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--marine);
  border-bottom: 1px solid var(--invers-linie);
  transition: box-shadow var(--t-schnell);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.35); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 72px;
}

.brand { display: flex; align-items: center; margin-right: auto; }
.brand-logo { height: 40px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--invers-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--t-schnell), border-color var(--t-schnell);
}
.main-nav a:hover { color: var(--blau-hell); border-color: var(--blau-hell); }

.nav-toggle { display: none; }

/* Sprachauswahl */
.lang-switch { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 42px;
  padding: 0 0.7rem;
  border-radius: 21px;
  border: 1.5px solid var(--invers-linie);
  background: transparent;
  color: var(--invers-text);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color var(--t-schnell);
}
.lang-btn:hover { border-color: var(--blau-hell); }
.lang-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--invers-text); stroke-width: 1.6; }
.lang-current { font-weight: 500; }

.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 150px;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  background: var(--marine-2);
  border: 1px solid var(--invers-linie);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--t-schnell), transform var(--t-schnell), visibility var(--t-schnell);
  z-index: 60;
}
.lang-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.7rem;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--invers-text);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background var(--t-schnell);
}
.lang-menu button:hover { background: rgba(42, 98, 193, 0.25); }
.lang-menu button[aria-current="true"] { color: var(--blau-hell); font-weight: 600; }

/* Theme-Umschalter */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--invers-linie);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--t-schnell), background var(--t-schnell);
}
.theme-toggle:hover { border-color: var(--blau-hell); }
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--invers-text);
  stroke-width: 1.8;
}
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { fill: var(--invers-text); stroke: none; }

/* ---------- 6. Hero (wechselt mit dem Theme) ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(42, 98, 193, 0.14), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(42, 98, 193, 0.07), transparent 60%),
    var(--bg-tint);
  color: var(--text);
  padding: var(--space-section) 0;
  transition: background var(--t-normal), color var(--t-normal);
}
[data-theme="dark"] .hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(42, 98, 193, 0.40), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(127, 168, 224, 0.10), transparent 60%),
    var(--marine);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 { color: var(--heading); }
[data-theme="dark"] .hero h1 { color: var(--weiss); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-leise);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero .eyebrow { color: var(--akzent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Signatur-Element: ARIS-Akronym */
.acronym {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
  transition: background var(--t-normal), border-color var(--t-normal);
}
[data-theme="dark"] .acronym {
  border-color: var(--invers-linie);
  background: rgba(18, 34, 48, 0.6);
}
.acronym-panel {
  display: flex;
  align-items: stretch;
  gap: 1.1rem;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--linie);
  padding: 1rem 1.2rem;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: background var(--t-schnell);
}
[data-theme="dark"] .acronym-panel { border-bottom-color: var(--invers-linie); }
.acronym-panel:last-child { border-bottom: 0; }
.acronym-panel:hover { background: rgba(42, 98, 193, 0.10); }
[data-theme="dark"] .acronym-panel:hover { background: rgba(42, 98, 193, 0.18); }

.acronym-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1;
  color: var(--text-leise);
  min-width: 2.2ch;
  opacity: 0.7;
  transition: color var(--t-normal), opacity var(--t-normal);
}
.acronym-panel.is-open .acronym-letter { color: var(--akzent); opacity: 1; }

.acronym-body { display: flex; flex-direction: column; justify-content: center; }
.acronym-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading);
}
[data-theme="dark"] .acronym-word { color: var(--weiss); }
.acronym-desc {
  font-size: 0.9rem;
  color: var(--text-leise);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--t-normal), opacity var(--t-normal), margin var(--t-normal);
}
.acronym-panel.is-open .acronym-desc {
  max-height: 6rem;
  opacity: 1;
  margin-top: 0.3rem;
}

/* ---------- 7. Vertrauensleiste (wechselt mit dem Theme) ---------- */
.trustbar {
  background: #e6edf6;
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
  color: var(--text);
  padding: 2.2rem 0;
  transition: background var(--t-normal);
}
[data-theme="dark"] .trustbar {
  background: var(--marine-2);
  border-color: var(--invers-linie);
  color: var(--invers-text);
}
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.trust-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--akzent);
  margin-bottom: 0.2rem;
}
.trust-label {
  font-size: var(--fs-klein);
  color: var(--text-leise);
  line-height: 1.45;
}
[data-theme="dark"] .trust-label { color: var(--invers-leise); }

/* ---------- 8. Sektionen allgemein ---------- */
.section {
  padding: var(--space-section) 0;
  position: relative;
  background: var(--bg);
  transition: background var(--t-normal);
}
.section-tint { background: var(--bg-tint); }

/* Schweißnaht-Trennlinie: gestrichelte Linie als wiederkehrendes Motiv */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 2.5rem, var(--container));
  height: 2px;
  background-image: repeating-linear-gradient(90deg,
    var(--linie) 0 14px, transparent 14px 22px);
}
.trustbar + .section::before { display: none; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-intro { color: var(--text-leise); font-size: 1.05rem; }

/* Allgemeiner CTA-Block nach den Leistungs-Cards */
.section-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.section-cta p {
  color: var(--text-leise);
  max-width: 38rem;
  margin: 0 auto 1.2rem;
}
.section-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* ---------- 9. Leistungs-Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  position: relative;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.6rem;
  background: var(--surface);
  transition: box-shadow var(--t-normal), transform var(--t-normal), border-color var(--t-normal), background var(--t-normal);
  scroll-margin-top: 6rem;
}
.card:hover {
  box-shadow: var(--schatten);
  transform: translateY(-3px);
  border-color: var(--akzent);
}
.card-key {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--akzent);
  opacity: 0.55;
  pointer-events: none;
}
.card h3 { padding-right: 3rem; }
.card-benefit {
  font-size: var(--fs-klein);
  color: var(--text);
  background: var(--bg-tint);
  border-left: 3px solid var(--akzent);
  padding: 0.6rem 0.9rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 0;
}

/* ---------- 10. Split-Layouts (Unternehmen / Qualität) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.split-reverse .split-copy { order: 2; }
.split-reverse .split-media { order: 1; }

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  width: 100%;
  object-fit: cover;
  max-height: 560px;
}
.split-media figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-leise);
  margin-top: 0.8rem;
  letter-spacing: 0.02em;
}

.values { margin: 1.6rem 0 0; display: grid; gap: 1rem; }
.values dt {
  font-weight: 700;
  color: var(--heading);
  font-family: var(--font-display);
}
.values dd { margin: 0.1rem 0 0; color: var(--text-leise); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 2rem;
  display: grid;
  gap: 0.7rem;
}
.checklist li {
  padding-left: 1.8rem;
  position: relative;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.85em;
  height: 0.45em;
  border-left: 2.5px solid var(--akzent);
  border-bottom: 2.5px solid var(--akzent);
  transform: rotate(-45deg);
}

/* ---------- 11. Branchen ---------- */
.industry-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.industry {
  border: 1px solid var(--linie);
  border-top: 3px solid var(--blau);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.1rem;
  background: var(--surface);
  transition: border-color var(--t-schnell), box-shadow var(--t-normal), background var(--t-normal);
}
.industry:hover { border-top-color: var(--blau-hell); box-shadow: var(--schatten); }
.industry h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.industry p { font-size: var(--fs-klein); color: var(--text-leise); margin: 0; }

/* ---------- 12. Prozess-Schritte ---------- */
.steps {
  list-style: none;
  counter-reset: schritt;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.step {
  counter-increment: schritt;
  background: var(--surface);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
  transition: background var(--t-normal);
}
.step::before {
  content: "0" counter(schritt);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--akzent);
  display: block;
  margin-bottom: 0.7rem;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: var(--fs-klein); color: var(--text-leise); margin: 0; }

/* ---------- 13. Karriere ---------- */
.career {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 3rem);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(42, 98, 193, 0.10), transparent 60%),
    var(--surface);
}
.career-cta { text-align: center; }
.career-note {
  font-size: var(--fs-klein);
  color: var(--text-leise);
  margin: 0.8rem 0 0;
}

/* ---------- 14. Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-data { font-style: normal; margin-top: 1.5rem; }
.contact-data p { margin-bottom: 1.1rem; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: var(--schatten);
  transition: background var(--t-normal);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form-field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--text);
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--linie);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color var(--t-schnell), background var(--t-normal);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--akzent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(42, 98, 193, 0.22);
}
.form-field.has-error input,
.form-field.has-error textarea { border-color: var(--fehler); }

.form-error {
  display: none;
  color: var(--fehler);
  font-size: 0.82rem;
  margin: 0.3rem 0 0;
}
[data-theme="dark"] .form-error { color: #e07060; }
.form-field.has-error .form-error { display: block; }

.form-hint { font-size: 0.82rem; color: var(--text-leise); }
.form-success {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  background: rgba(46, 125, 50, 0.12);
  border-left: 3px solid #2e7d32;
  color: var(--text);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- 15. Footer (in beiden Themes Marken-Dunkelblau) ---------- */
.site-footer {
  background: var(--marine);
  color: var(--invers-leise);
  padding: 4rem 0 2rem;
  font-size: var(--fs-klein);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--invers-linie);
}
.footer-brand .brand-logo { margin-bottom: 1rem; }
.site-footer h2 {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--invers-text);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--invers-leise); text-decoration: none; }
.site-footer a:hover { color: var(--blau-hell); }
.footer-bottom { padding-top: 1.6rem; }

/* ---------- 16. Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 0.7, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 17. Responsive Breakpoints ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split-reverse .split-copy { order: 1; }
  .split-reverse .split-media { order: 2; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid, .steps { grid-template-columns: 1fr 1fr; }
  .trustbar-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .career { grid-template-columns: 1fr; }
  .career-cta { text-align: left; }
  .split-media img { max-height: 420px; }
}

@media (max-width: 720px) {
  /* Mobile Navigation */
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background: var(--marine);
    border-bottom: 1px solid var(--invers-linie);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-130%);
    transition: transform var(--t-normal);
    z-index: 40;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0.3rem; }
  .main-nav a { display: block; padding: 0.7rem 0; font-size: 1.05rem; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 10px;
  }
  .nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--weiss);
    transition: transform var(--t-schnell), opacity var(--t-schnell);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .header-cta { display: none; }
  .header-inner { gap: 0.5rem; }
  .brand-logo { height: 32px; }
  /* Brand schiebt alle Bedienelemente nach rechts */
  .brand { margin-right: auto; }
  /* Sprach- und Theme-Umschalter bleiben erreichbar, nur kompakter */
  .lang-btn { padding: 0 0.55rem; gap: 0.3rem; }
  .theme-toggle { width: 40px; height: 40px; }

  .card-grid, .industry-grid, .steps, .form-row { grid-template-columns: 1fr; }
  .trustbar-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 380px) {
  /* Sehr schmale Geräte: Sprachkürzel ausblenden, nur Globus-Icon zeigen */
  .lang-current { display: none; }
  .lang-btn { padding: 0 0.5rem; }
  .header-inner { gap: 0.35rem; }
}
