:root {
  --blue: #1f55b5;
  --blue-dark: #173f87;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  backdrop-filter: blur(16px);
}
.brand img { width: 164px; }
.main-nav { display: flex; align-items: center; gap: 24px; color: #334155; font-weight: 700; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--blue); }
.nav-cta { padding: 10px 16px; color: white !important; background: var(--blue); border-radius: 999px; }
.nav-toggle { display: none; border: 0; background: var(--blue); color: white; border-radius: 12px; padding: 8px 12px; font-size: 22px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
  gap: 28px;
  padding: clamp(52px, 8vw, 112px) clamp(20px, 5vw, 72px) 56px;
  align-items: stretch;
}
.hero.compact { grid-template-columns: 1fr; padding-bottom: 24px; }
.hero-content, .hero-card, .section, .contact {
  border-radius: var(--radius);
}
.hero-content {
  padding: clamp(30px, 5vw, 64px);
  background: radial-gradient(circle at top right, rgba(31,85,181,.14), transparent 32%), white;
  box-shadow: var(--shadow);
}
.eyebrow { margin: 0 0 12px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 850; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.04em; }
h1 { max-width: 980px; font-size: clamp(2.4rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: 1.28rem; }
.lead { max-width: 820px; margin: 24px 0 0; color: #334155; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border-radius: 999px; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(31,85,181,.18); }
.primary { background: var(--blue); color: white; }
.secondary { background: #e8eefb; color: var(--blue-dark); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tags span { padding: 8px 12px; background: #f1f5f9; border: 1px solid var(--line); border-radius: 999px; color: #475569; font-weight: 700; font-size: .9rem; }
.hero-card { padding: 32px; background: var(--blue); color: white; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; }
.hero-card p { color: rgba(255,255,255,.86); }
dl { display: grid; gap: 14px; margin: 28px 0 0; }
dl div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.12); }
dt { color: rgba(255,255,255,.72); font-size: .84rem; } dd { margin: 0; font-weight: 850; }

.section { padding: clamp(44px, 6vw, 80px) clamp(20px, 5vw, 72px); }
.section-heading { max-width: 780px; margin-bottom: 28px; }
.section-heading p, .split p, .contact p, .legal p { color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 28px; border: 1px solid var(--line); background: var(--card); border-radius: 24px; box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05); }
.card p { color: var(--muted); margin-bottom: 0; }
.card a { display: inline-block; margin-top: 16px; color: var(--blue); font-weight: 850; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.expertise-list { display: grid; gap: 14px; }
.expertise-list div { padding: 22px; border-radius: 22px; background: white; border: 1px solid var(--line); }
.expertise-list strong { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.expertise-list span { color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 24px; }
.step span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: #e8eefb; color: var(--blue); border-radius: 14px; font-weight: 900; margin-bottom: 18px; }
.step p { color: var(--muted); margin-bottom: 0; }
.contact { margin: 0 clamp(20px, 5vw, 72px) 56px; background: var(--ink); color: white; }
.contact p { color: rgba(255,255,255,.74); max-width: 720px; }
.legal { max-width: 940px; margin: 0 auto; }
.legal h2 { font-size: 1.35rem; margin-top: 32px; letter-spacing: -0.02em; }
.legal a { color: var(--blue); font-weight: 800; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 28px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer nav { display: flex; gap: 18px; font-weight: 800; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; inset: 72px 20px auto 20px; display: none; flex-direction: column; align-items: flex-start; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .hero, .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .brand img { width: 132px; }
  .cards, .timeline { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; }
}

/* Karriere-Bilder */
.career-hero {
  grid-template-columns: minmax(0, .95fr) minmax(340px, .75fr);
  align-items: stretch;
}
.career-hero-image,
.career-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: white;
}
.career-hero-image img,
.career-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.career-intro {
  grid-template-columns: minmax(320px, .95fr) minmax(0, 1.05fr);
}
.career-photo img { min-height: 520px; }
.compact-list { margin-top: 28px; }

@media (max-width: 900px) {
  .career-hero,
  .career-intro { grid-template-columns: 1fr; }
  .career-hero-image img,
  .career-photo img { min-height: 320px; }
}
