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

:root {
  --teal: #0d7377;
  --teal-dark: #095e62;
  --teal-light: #14a0a5;
  --teal-pale: #e8f6f7;
  --blue: #1a5fa8;
  --blue-pale: #e8f0fb;
  --green: #2e7d52;
  --green-pale: #e8f5ee;
  --white: #ffffff;
  --off-white: #f8fafb;
  --text: #111827;
  --text-mid: #374151;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --font: 'DM Sans', sans-serif;
  --serif: 'DM Serif Display', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--off-white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ── HEADER ─────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; transition: background 0.3s, box-shadow 0.3s;
}
header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(0,0,0,0.07);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 28px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); transition: color 0.3s; }
header.scrolled .logo { color: var(--text); }

.logo-mark {
  width: 36px; height: 36px; background: var(--teal-light); color: var(--white);
  font-weight: 700; font-size: 1.1rem; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; border-radius: 8px;
}
header.scrolled .logo-mark { background: var(--teal); }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.logo-sub { font-size: 0.6rem; opacity: 0.55; letter-spacing: 0.06em; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 28px; }
nav a { text-decoration: none; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.8); transition: color 0.2s; }
header.scrolled nav a { color: var(--text-muted); }
nav a:hover { color: var(--white) !important; }
header.scrolled nav a:hover { color: var(--text) !important; }
nav a.nav-cta {
  color: var(--white) !important; background: var(--teal-light);
  padding: 8px 20px; font-weight: 600; border-radius: 6px;
}
header.scrolled nav a.nav-cta { background: var(--teal); color: var(--white) !important; }
nav a.nav-cta:hover { opacity: 0.88; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; border-radius: 2px; }
header.scrolled .nav-toggle span { background: var(--text); }

/* ── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, #1a8a8f 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 120px 0 80px;
}

.hero-bg { position: absolute; inset: 0; }
.hero-blob {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.blob-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.blob-2 { width: 400px; height: 400px; bottom: -150px; left: -80px; }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
  margin-bottom: 24px; background: rgba(255,255,255,0.1);
  padding: 6px 14px; border-radius: 100px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.85); }

.hero-sub { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 40px; max-width: 520px; font-weight: 300; }

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column; gap: 28px;
  backdrop-filter: blur(8px);
}

.card-stat { display: flex; align-items: center; gap: 16px; }
.stat-icon {
  width: 52px; height: 52px; background: rgba(255,255,255,0.12);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9); flex-shrink: 0;
}
.card-stat strong { display: block; color: var(--white); font-size: 0.95rem; font-weight: 600; }
.card-stat span { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; font-size: 0.875rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s; cursor: pointer;
  font-family: var(--font); border: none; border-radius: 8px; letter-spacing: 0.01em;
}
.btn-primary { background: var(--white); color: var(--teal); }
.btn-primary:hover { background: #f0f0f0; }
.btn-outline { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn-white { background: var(--white); color: var(--teal); margin-top: 32px; }
.btn-white:hover { background: var(--teal-pale); }

/* ── SECTIONS ───────────────────────────────────── */
.section-white { padding: 100px 0; background: var(--white); }
.section-teal { padding: 100px 0; background: var(--teal-dark); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); display: block; margin-bottom: 12px; }
.section-tag.light { color: rgba(255,255,255,0.5); }
.section-head h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; color: var(--text); letter-spacing: -0.02em; margin-bottom: 16px; }
.section-sub { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }

/* ── SPLIT PANELS ───────────────────────────────── */
.section-split { display: grid; grid-template-columns: 1fr 1fr; }

.split-panel { padding: 80px 0; }
.panel-kunden { background: var(--teal); }
.panel-bewerber { background: var(--teal-dark); }

.panel-inner { max-width: 480px; padding: 0 60px; }
.panel-kunden .panel-inner { margin-left: auto; }
.panel-bewerber .panel-inner { margin-right: auto; }

.panel-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); display: block; margin-bottom: 16px; }
.split-panel h2 { font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 400; color: var(--white); letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.15; }
.split-panel p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 24px; font-weight: 300; }

.panel-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.panel-list li { font-size: 0.875rem; color: rgba(255,255,255,0.8); padding-left: 20px; position: relative; }
.panel-list li::before { content: '→'; position: absolute; left: 0; color: rgba(255,255,255,0.4); font-size: 0.8rem; }

.btn-teal { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.3); display: inline-flex; align-items: center; padding: 12px 24px; font-size: 0.875rem; font-weight: 600; text-decoration: none; border-radius: 8px; transition: all 0.2s; font-family: var(--font); }
.btn-teal:hover { background: rgba(255,255,255,0.25); }
.btn-white { background: var(--white); color: var(--teal-dark); display: inline-flex; align-items: center; padding: 12px 24px; font-size: 0.875rem; font-weight: 600; text-decoration: none; border-radius: 8px; transition: all 0.2s; font-family: var(--font); }
.btn-white:hover { background: var(--teal-pale); }

/* ── STELLENANZEIGEN ────────────────────────────── */
.section-offwhite { padding: 100px 0; background: var(--off-white); }

.stellen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }

.stelle-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px; display: flex; flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.stelle-card:hover { box-shadow: 0 8px 32px rgba(13,115,119,0.1); border-color: var(--teal-light); }

.stelle-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.stelle-icon { width: 40px; height: 40px; background: var(--teal-pale); color: var(--teal); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.stelle-badge { font-size: 0.68rem; font-weight: 600; color: var(--teal); background: var(--teal-pale); padding: 4px 10px; border-radius: 100px; letter-spacing: 0.02em; }

.stelle-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.stelle-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; flex: 1; }

.stelle-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.stelle-tags li { font-size: 0.72rem; color: var(--text-mid); background: var(--off-white); border: 1px solid var(--border); padding: 3px 10px; border-radius: 100px; font-weight: 500; }

.btn-stelle { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 12px; background: var(--teal); color: var(--white); text-decoration: none; border-radius: 8px; font-size: 0.875rem; font-weight: 600; font-family: var(--font); transition: background 0.2s; }
.btn-stelle:hover { background: var(--teal-dark); }

.stellen-cta { text-align: center; padding: 40px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; }
.stellen-cta p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 20px; }
.btn-teal-solid { display: inline-flex; align-items: center; padding: 13px 28px; background: var(--teal); color: var(--white); text-decoration: none; border-radius: 8px; font-size: 0.875rem; font-weight: 600; font-family: var(--font); transition: background 0.2s; }
.btn-teal-solid:hover { background: var(--teal-dark); }

/* ── LEISTUNGEN ─────────────────────────────────── */
.leistungen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.leistung-card {
  padding: 36px 32px; background: var(--off-white);
  border: 1px solid var(--border); border-radius: 12px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.leistung-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }

.leistung-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.leistung-icon.teal { background: var(--teal-pale); color: var(--teal); }
.leistung-icon.blue { background: var(--blue-pale); color: var(--blue); }
.leistung-icon.green { background: var(--green-pale); color: var(--green); }

.leistung-card h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.leistung-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }

/* ── ÜBER UNS ───────────────────────────────────── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-left h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 400; color: var(--white); letter-spacing: -0.02em; margin-bottom: 24px; margin-top: 12px; }
.about-left p { color: rgba(255,255,255,0.65); font-size: 0.95rem; line-height: 1.85; margin-bottom: 16px; font-weight: 300; }

.about-engagement {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 32px; padding: 24px; background: rgba(255,255,255,0.08);
  border-radius: 10px; border: 1px solid rgba(255,255,255,0.1);
}
.engagement-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); flex-shrink: 0; }
.about-engagement strong { display: block; color: var(--white); font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.about-engagement p { color: rgba(255,255,255,0.55) !important; font-size: 0.85rem !important; margin-bottom: 0 !important; }

.about-facts { display: flex; flex-direction: column; }
.about-fact { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 4px; }
.about-fact:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.fact-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.4); font-weight: 600; }
.fact-val { font-size: 0.9rem; color: rgba(255,255,255,0.85); font-weight: 500; line-height: 1.5; }

/* ── KONTAKT ────────────────────────────────────── */
.kontakt-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.kontakt-cards { display: flex; flex-direction: column; gap: 16px; }

.kontakt-card {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 28px; background: var(--off-white);
  border: 1px solid var(--border); border-radius: 12px;
  text-decoration: none; color: var(--text); transition: box-shadow 0.2s, border-color 0.2s;
}
.kontakt-card:not(.no-link):hover { border-color: var(--teal-light); box-shadow: 0 4px 16px rgba(13,115,119,0.1); }

.kc-icon {
  width: 44px; height: 44px; background: var(--teal-pale); color: var(--teal);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kc-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); font-weight: 600; display: block; margin-bottom: 4px; }
.kc-val { font-size: 0.95rem; color: var(--text); font-weight: 500; line-height: 1.5; }

.kontakt-map { display: flex; flex-direction: column; gap: 8px; }
.kontakt-map iframe { width: 100%; height: 360px; border: 2px solid var(--border); border-radius: 12px; display: block; }
.map-link { font-size: 0.75rem; color: var(--text-muted); text-align: right; text-decoration: none; }
.map-link:hover { color: var(--teal); }

/* ── FOOTER ─────────────────────────────────────── */
footer { background: var(--text); padding: 32px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; }
.footer-left strong { display: block; color: var(--white); font-size: 0.875rem; margin-bottom: 2px; }
.footer-left span { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ── MODAL ──────────────────────────────────────── */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 200; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal-box { background: var(--white); max-width: 560px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 44px; position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.15); border-radius: 16px; }
.modal-box h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin-bottom: 20px; color: var(--text); }
.modal-box h3 { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); font-weight: 700; margin: 20px 0 8px; }
.modal-box p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--text); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  .stellen-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .kontakt-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .section-split { grid-template-columns: 1fr; }
  .panel-kunden .panel-inner, .panel-bewerber .panel-inner { margin: 0 auto; max-width: 600px; padding: 0 28px; }
}
@media (max-width: 640px) {
  .section-white, .section-teal, .section-offwhite { padding: 64px 0; }
  .split-panel { padding: 56px 0; }
  .hero { padding: 100px 0 60px; }
  .hero-card { grid-template-columns: 1fr; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .stellen-grid { grid-template-columns: 1fr; }
  nav { display: none; position: fixed; inset: 0; top: 70px; background: var(--teal-dark); flex-direction: column; justify-content: center; align-items: center; gap: 32px; }
  body.nav-open nav { display: flex; }
  nav a { font-size: 1.2rem; color: rgba(255,255,255,0.85) !important; }
  nav a.nav-cta { background: var(--teal-light); color: var(--white) !important; padding: 12px 32px; }
  .nav-toggle { display: flex; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .hero-btns { flex-direction: column; }
}
