/* ============================================================================
   Troja GmbH — shared stylesheet for troja-gmbh.com
   Carrier-focused multi-page site. GDPR-baseline self-hosted fonts.
   ============================================================================ */

/* ── SELF-HOSTED FONTS ──────────────────────────────────────────────────────── */
/* Space Grotesk (variable + static weights), JetBrains Mono.
   Files live under /fonts/. font-display: swap → render text immediately. */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/space-grotesk-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/space-grotesk-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/space-grotesk-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-700.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-600.woff2') format('woff2');
}

/* ── RESET & TOKENS ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #C8252C;
  --red-dk: #A41E24;
  --blue:   #1B3A6B;
  --night:  #0F2347;
  --signal: #29D8FF;
  --paper:  #F5F3EE;
  --white:  #FFFFFF;
  --muted:  #6B7B96;
  --line:   #DCD8CE;
  --border: #1e3152;
  --ok:     #34D399;
  --warn:   #F5C800;
  --err:    #FCA5A5;
  --font:   'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:   'JetBrains Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--night);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ── I18N — show only the active language ──────────────────────────────────── */
html[lang="de"] [data-en], html[lang="de"] [data-el] { display: none; }
html[lang="en"] [data-de], html[lang="en"] [data-el] { display: none; }
html[lang="el"] [data-de], html[lang="el"] [data-en] { display: none; }

/* ── NAV (shared across all pages) ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(15, 35, 71, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: .75rem;
  color: var(--white);
}
.nav-logo svg { width: 32px; height: auto; }
.nav-logo-wordmark { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name {
  font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em;
}
.nav-logo-sub {
  font-family: var(--mono);
  font-size: 9px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--red), var(--signal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.6);
  font-size: .875rem; font-weight: 500; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; display: block; height: 2px; margin-top: 4px;
  background: linear-gradient(90deg, var(--red), var(--signal));
  border-radius: 1px;
}
.nav-right { display: flex; gap: 1rem; align-items: center; }

/* Language pill */
.lang-toggle {
  display: inline-flex; gap: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
}
.lang-toggle button {
  padding: 6px 12px;
  background: transparent; color: rgba(255,255,255,.5);
  border: none; cursor: pointer;
  transition: all .2s;
}
.lang-toggle button.active { background: var(--red); color: white; }
.lang-toggle button:not(.active):hover { color: white; }

/* Mobile nav toggle (hidden on desktop) */
.nav-menu-btn {
  display: none;
  background: transparent; border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 10px;
  color: white; cursor: pointer;
  font-family: var(--mono); font-size: 11px;
}

/* ── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  padding: .65rem 1.4rem; border-radius: 8px;
  font-size: .875rem; font-weight: 600;
  transition: all .2s; cursor: pointer; border: none;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dk); transform: translateY(-1px); }
.btn-ghost {
  background: transparent; border: 1px solid var(--border); color: var(--white);
}
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }
.btn-light { background: var(--night); color: var(--white); }
.btn-light:hover { background: var(--red); }

/* ── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 2.5rem 5rem;
  position: relative; overflow: hidden;
  max-width: 1280px; margin: 0 auto;
}
.hero.hero-compact { min-height: 60vh; padding: 7rem 2.5rem 3rem; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41, 216, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 216, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(200, 37, 44, .15) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 80% 80%, rgba(41, 216, 255, .12) 0%, transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem; align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 12px var(--red);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  font-weight: 700; letter-spacing: -.045em; line-height: 1.02;
  margin-bottom: 28px;
}
.hero.hero-compact h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
}
.hero h1 .accent,
.section-title .accent,
.contact h2 .accent {
  background: linear-gradient(135deg, var(--red) 0%, var(--signal) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  color: rgba(255,255,255,.7);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 580px; margin-bottom: 40px; line-height: 1.55;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero visual (decorative) */
.hero-visual {
  aspect-ratio: 1/1; max-width: 460px; margin-left: auto;
  background: rgba(27, 58, 107, .25);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41, 216, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 216, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-visual svg { width: 55%; height: auto; position: relative; z-index: 2; }
.float-tag {
  position: absolute; z-index: 3;
  background: rgba(15, 35, 71, .85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(41, 216, 255, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.08em;
  color: white;
}
.float-tag .label { color: var(--signal); font-size: 9px; }
.float-tag .val { font-weight: 600; margin-top: 4px; }
.float-tag-1 { top: 12%; left: -10%; }
.float-tag-2 { top: 18%; right: -10%; }
.float-tag-3 { bottom: 18%; left: -8%; }
.float-tag-4 { bottom: 12%; right: -10%; }

/* ── DIFFERENTIATORS STRIP ──────────────────────────────────────────────────── */
.strip {
  margin-top: 3rem; padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative; z-index: 2;
}
.strip-item {
  display: flex; flex-direction: column; gap: 6px;
}
.strip-label {
  font-family: var(--mono);
  font-size: 10px; color: var(--signal);
  letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.strip-value {
  font-size: 1.05rem; font-weight: 600; color: white;
  letter-spacing: -.01em;
}
.strip-item.live .strip-label::before {
  content: '● '; color: var(--red); animation: live-pulse 2s infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── SECTIONS ───────────────────────────────────────────────────────────────── */
section { padding: 6rem 2.5rem; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-label {
  font-family: var(--mono); color: var(--red); font-size: .75rem;
  font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.08;
  margin-bottom: 1.25rem;
  max-width: 800px;
}
.section-sub {
  color: rgba(255,255,255,.6);
  max-width: 640px; margin-bottom: 3.5rem; font-size: 1.05rem;
}

/* Light section variant */
.section-light { background: var(--paper); color: var(--night); }
.section-light .section-label { color: var(--red); }
.section-light .section-title { color: var(--night); }
.section-light .section-sub { color: rgba(15, 35, 71, .65); }

/* ── SERVICES (3 cards on home) ────────────────────────────────────────────── */
.services { background: var(--paper); color: var(--night); }
.services .section-label { color: var(--red); }
.services .section-title { color: var(--night); }
.services .section-sub { color: rgba(15, 35, 71, .65); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.svc-card {
  background: white;
  border-radius: 18px;
  padding: 2.5rem 2rem;
  border-top: 5px solid var(--red);
  box-shadow: 0 6px 24px rgba(15, 35, 71, .06);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
  color: var(--night);
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(15, 35, 71, .12);
}
.svc-card:nth-child(2) { border-top-color: var(--blue); }
.svc-card:nth-child(3) { border-top-color: var(--signal); }
.svc-num {
  font-family: var(--mono);
  font-size: 11px; color: var(--red); font-weight: 600;
  letter-spacing: .16em; margin-bottom: 1rem;
}
.svc-card:nth-child(2) .svc-num { color: var(--blue); }
.svc-card:nth-child(3) .svc-num { color: var(--night); }
.svc-card h3 {
  font-size: 1.5rem; font-weight: 700;
  letter-spacing: -.02em; line-height: 1.15;
  color: var(--night); margin-bottom: 1rem;
}
.svc-card p {
  font-size: .95rem; color: rgba(15, 35, 71, .7);
  line-height: 1.6; flex: 1;
}
.svc-scope {
  font-family: var(--mono);
  font-size: 10px; color: rgba(15, 35, 71, .5);
  letter-spacing: .12em; text-transform: uppercase;
  margin-top: 1.5rem; padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.svc-cta {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 1rem;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--red);
  transition: gap .15s;
}
.svc-card:hover .svc-cta { gap: 8px; }
.svc-note {
  background: rgba(245, 200, 0, .08);
  border: 1px solid rgba(245, 200, 0, .25);
  border-radius: 10px;
  padding: .85rem 1.1rem;
  font-size: .85rem;
  color: #8B6800;
  margin-top: 1.5rem;
  max-width: 720px;
  display: inline-flex; align-items: center; gap: .6rem;
}

/* ── WHY ───────────────────────────────────────────────────────────────────── */
.why { position: relative; overflow: hidden; }
.why::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41, 216, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 216, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.why .section-inner { position: relative; z-index: 2; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
  margin-top: 1rem;
}
.why-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.why-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red) 0%, var(--signal) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 18px; font-weight: 700; color: white;
}
.why-item h3 {
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -.01em; line-height: 1.2;
  margin-bottom: .5rem;
}
.why-item p {
  font-size: .95rem; color: rgba(255,255,255,.65);
  line-height: 1.55;
}

/* ── PROCESS ────────────────────────────────────────────────────────────────── */
.process { background: var(--paper); color: var(--night); }
.process .section-label { color: var(--red); }
.process .section-title { color: var(--night); }
.process .section-sub { color: rgba(15, 35, 71, .65); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.step { padding: 1.5rem 0.75rem; position: relative; }
.step + .step::before {
  content: ''; position: absolute;
  left: -.75rem; top: 32px;
  width: .75rem; height: 2px;
  background: rgba(200, 37, 44, 0.4);
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 1.5rem;
}
.step h3 {
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: -.01em;
  color: var(--night); margin-bottom: .6rem;
}
.step p {
  font-size: .9rem; color: rgba(15, 35, 71, .65);
  line-height: 1.5;
}

/* ── CONTACT ───────────────────────────────────────────────────────────────── */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(200, 37, 44, .12) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(41, 216, 255, .08) 0%, transparent 55%);
  pointer-events: none;
}
.contact .section-inner { position: relative; z-index: 2; }
.contact h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: -.04em; line-height: 1;
  margin-bottom: 3.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: rgba(15, 35, 71, .4);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  transition: border-color .2s;
}
.contact-card:hover { border-color: var(--signal); }
.contact-label {
  font-family: var(--mono);
  font-size: 11px; color: var(--signal);
  letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 1rem;
}
.contact-value {
  font-size: 1.4rem; font-weight: 600; color: white;
  letter-spacing: -.01em; line-height: 1.25;
  word-break: break-word;
}
.contact-value a { transition: color .2s; }
.contact-value a:hover { color: var(--signal); }

.portal-card {
  background: rgba(200, 37, 44, .08);
  border: 1px solid rgba(200, 37, 44, .35);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.portal-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .25rem; }
.portal-card p { color: rgba(255,255,255,.6); font-size: .9rem; }

.social-card {
  background: rgba(10, 102, 194, .10);
  border: 1px solid rgba(10, 102, 194, .35);
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-top: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.social-card .social-text { display: flex; align-items: center; gap: 1rem; }
.social-card .social-icon {
  width: 44px; height: 44px;
  background: #0A66C2;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.social-card .social-icon svg { width: 24px; height: 24px; fill: white; }
.social-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .15rem; }
.social-card p { color: rgba(255,255,255,.6); font-size: .85rem; line-height: 1.4; }
.social-card .btn { background: #0A66C2; color: white; border: 1px solid #0A66C2; }
.social-card .btn:hover { background: #084d92; border-color: #084d92; }

/* ── CONTACT FORM ──────────────────────────────────────────────────────────── */
.form-card {
  background: rgba(15, 35, 71, .55);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
}
.form-card h3 {
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: .5rem; color: white;
}
.form-card .subline {
  color: rgba(255,255,255,.55); font-size: .9rem; margin-bottom: 1.5rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.form-grid .col-span-2 { grid-column: span 2; }
.form-grid .col-span-3 { grid-column: span 2; }
.form-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: .35rem;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: .7rem .85rem;
  background: rgba(15, 35, 71, .6);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: white;
  font-family: var(--font);
  font-size: .9rem;
  transition: border-color .15s, background .15s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--signal);
  background: rgba(15, 35, 71, .85);
}
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.form-select { appearance: none; cursor: pointer; }
.form-file {
  width: 100%;
  padding: .55rem .85rem;
  background: rgba(15, 35, 71, .6);
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: rgba(255,255,255,.6);
  font-family: var(--font);
  font-size: .85rem;
  cursor: pointer;
}
.form-file::file-selector-button {
  margin-right: 10px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(15, 35, 71, .4);
  color: white;
  font-family: var(--font);
  font-size: .8rem;
  cursor: pointer;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.form-actions {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap;
}
.form-privacy {
  font-size: .75rem; color: rgba(255,255,255,.4); max-width: 380px;
}
.form-privacy a { color: var(--signal); }
.form-submit {
  padding: .8rem 1.5rem;
  background: var(--red); color: white; border: none;
  font-family: var(--font); font-size: .9rem; font-weight: 600;
  border-radius: 8px; cursor: pointer;
  transition: background .15s, transform .15s;
}
.form-submit:hover { background: var(--red-dk); transform: translateY(-1px); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-status {
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: 8px;
  font-size: .9rem;
  display: none;
}
.form-status.ok {
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(16, 185, 129, .35);
  color: var(--ok);
  display: block;
}
.form-status.err {
  background: rgba(200, 37, 44, .15);
  border: 1px solid rgba(200, 37, 44, .4);
  color: var(--err);
  display: block;
}

/* ── FOOTER (shared) ───────────────────────────────────────────────────────── */
footer {
  padding: 2.5rem 2.5rem 2rem;
  border-top: 1px solid var(--border);
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  color: rgba(255,255,255,.4); font-size: .75rem;
  font-family: var(--mono); letter-spacing: .12em;
}
footer .legal { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
footer a { color: rgba(255,255,255,.4); transition: color .2s; }
footer a:hover { color: var(--signal); }
footer .social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
}
footer .social-link svg { width: 16px; height: 16px; fill: currentColor; }

/* ── PAGE-LEVEL UTILITIES (multi-page additions) ───────────────────────────── */
.page-section { padding: 5rem 2.5rem; }
.page-inner   { max-width: 1280px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--signal); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { margin: 0 .5rem; color: rgba(255,255,255,.25); }

/* Spec table — for service drill-down pages */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: .92rem;
}
.spec-table th, .spec-table td {
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.spec-table th {
  background: rgba(15, 35, 71, .55);
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--signal); font-weight: 600;
  width: 32%;
}
.spec-table td { color: rgba(255,255,255,.78); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* Equipment / standards / partners grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.brand-card {
  background: rgba(15, 35, 71, .4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: .35rem;
  transition: border-color .15s, transform .15s;
}
.brand-card:hover { border-color: var(--signal); transform: translateY(-2px); }
.brand-card .brand-name {
  font-size: 1rem; font-weight: 700; color: white; letter-spacing: -.01em;
}
.brand-card .brand-meta {
  font-family: var(--mono);
  font-size: 10px; color: rgba(255,255,255,.5);
  letter-spacing: .12em; text-transform: uppercase;
}

/* Reference / deployments table */
.ref-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ref-table thead th {
  text-align: left; padding: .9rem 1rem;
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--signal); font-weight: 600;
  border-bottom: 2px solid var(--border);
}
.ref-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  color: rgba(255,255,255,.78);
}
.ref-table tbody tr:hover { background: rgba(41, 216, 255, .04); }
.ref-status {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600;
}
.ref-status.live { background: rgba(52, 211, 153, .15); color: var(--ok); }
.ref-status.done { background: rgba(41, 216, 255, .15); color: var(--signal); }
.ref-status.nda  { background: rgba(255, 255, 255, .08); color: rgba(255,255,255,.55); }

/* Live counter (referenzen page hero) */
.live-counter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: rgba(15, 35, 71, .55);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.live-counter .lc-item { display: flex; flex-direction: column; gap: .35rem; }
.live-counter .lc-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--signal); font-weight: 600;
}
.live-counter .lc-label::before {
  content: '● ';
  color: var(--red); animation: live-pulse 2s infinite;
}
.live-counter .lc-value {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; letter-spacing: -.02em;
}
.live-counter .lc-value .unit {
  font-size: .55em; color: rgba(255,255,255,.5);
  font-weight: 500; margin-left: 4px;
}

/* QA flow diagram */
.qa-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.qa-step {
  background: rgba(15, 35, 71, .45);
  border: 1px solid var(--border);
  border-left: 4px solid var(--signal);
  border-radius: 10px;
  padding: 1.25rem;
}
.qa-step .qa-step-num {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  color: var(--signal); margin-bottom: .35rem;
}
.qa-step h4 {
  font-size: 1rem; font-weight: 700; margin-bottom: .35rem;
}
.qa-step p { font-size: .85rem; color: rgba(255,255,255,.65); }

/* Deliverable list (services) */
.deliverable-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: .75rem 1.5rem;
  margin-top: 1.5rem;
}
.deliverable-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .92rem; color: rgba(255,255,255,.8);
  padding-left: 0;
}
.deliverable-list li::before {
  content: '✓';
  color: var(--signal); font-weight: 700;
  flex-shrink: 0;
}

/* Karriere — open role cards */
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.role-card {
  background: rgba(15, 35, 71, .55);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex; flex-direction: column;
}
.role-card h3 {
  font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em;
  margin-bottom: .35rem;
}
.role-card .role-meta {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 1rem;
}
.role-card h4 {
  font-size: .85rem; font-weight: 600;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em; text-transform: uppercase;
  margin: 1.25rem 0 .5rem;
}
.role-card ul {
  list-style: none; display: flex; flex-direction: column; gap: .35rem;
}
.role-card li {
  font-size: .9rem; color: rgba(255,255,255,.78);
  padding-left: 1rem; position: relative;
}
.role-card li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--red);
}
.role-card .role-apply { margin-top: 1.5rem; }

/* Team grid (über-uns) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.team-card {
  background: rgba(15, 35, 71, .45);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem; text-align: center;
}
.team-card .team-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--red) 0%, var(--blue) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 36px; font-weight: 700;
  color: white;
  overflow: hidden;
}
.team-card .team-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.team-card .team-name { font-size: 1.2rem; font-weight: 700; margin-bottom: .2rem; }
.team-card .team-role {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--signal); margin-bottom: 1rem;
}
.team-card .team-bio { font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.5; }

/* CTA strip — appears at the bottom of every drill-down page */
.cta-strip {
  background: linear-gradient(135deg, rgba(200, 37, 44, .15), rgba(41, 216, 255, .12));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 4rem auto 2rem;
  max-width: 880px;
}
.cta-strip h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.2;
  margin-bottom: .75rem;
}
.cta-strip p {
  color: rgba(255,255,255,.7);
  font-size: 1rem; max-width: 540px; margin: 0 auto 1.75rem;
}
.cta-strip .cta-actions {
  display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.5rem; }
.faq-item {
  background: rgba(15, 35, 71, .4);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 1rem 1.25rem;
  font-weight: 600; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; color: var(--signal); font-weight: 700; font-size: 1.4rem;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 1.25rem 1.25rem;
  color: rgba(255,255,255,.7);
  font-size: .9rem; line-height: 1.6;
}

/* Germany map (simple SVG, no third-party tiles) */
.germany-map {
  background: rgba(15, 35, 71, .45);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 1.5rem;
  text-align: center;
}
.germany-map svg { width: 100%; height: auto; max-height: 480px; }
.germany-map svg .land {
  fill: rgba(27, 58, 107, .55);
  stroke: var(--border); stroke-width: 1;
}
.germany-map svg .pin {
  fill: var(--red); transition: filter .2s;
}
.germany-map svg .pin-ring {
  fill: none; stroke: var(--signal); stroke-width: 1.5;
  opacity: .55;
}

/* Page H1 (used by non-home pages) */
.page-h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 700; letter-spacing: -.04em; line-height: 1.04;
  margin-bottom: 1rem;
}
.page-lead {
  color: rgba(255,255,255,.7);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 720px; margin-bottom: 0;
}

/* Generic content prose (impressum, datenschutz) */
.prose { max-width: 760px; margin: 0 auto; padding: 8rem 2rem 4rem; }
.prose h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; letter-spacing: -.02em; margin-bottom: 1.5rem;
}
.prose h2 {
  font-size: 1.4rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--signal); margin: 2rem 0 .75rem;
}
.prose h3 {
  font-size: 1.1rem; font-weight: 600;
  margin: 1.5rem 0 .5rem;
}
.prose p { margin-bottom: 1rem; color: rgba(255,255,255,.8); }
.prose ul, .prose ol { margin: 0 0 1rem 1.25rem; color: rgba(255,255,255,.8); }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--signal); text-decoration: underline; }
.prose .mono { font-family: var(--mono); font-size: .9rem; }

/* ── RESPONSIVE ────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .services-grid, .why-grid, .steps, .contact-grid { grid-template-columns: 1fr; }
  .step + .step::before { display: none; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .live-counter { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(15, 35, 71, .98);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2.5rem 1.5rem;
    gap: 1rem;
  }
}
@media (max-width: 640px) {
  nav { padding: 1rem 1.25rem; }
  section, .page-section { padding: 4rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .strip { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .portal-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .col-span-2, .form-grid .col-span-3 { grid-column: 1; }
  .prose { padding: 6rem 1.25rem 3rem; }
}
