/* =========================================
   Zeitblick Personalservice — Main Stylesheet
   Design: Apple / OpenAI inspired — clean, minimal, premium
   ========================================= */

/* Inter — lokal gehostet (DSGVO-konform, kein Google-Server-Kontakt) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/inter-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/inter-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;
}

/* --- Variables --- */
:root {
  --primary:       #0ea5e9;
  --primary-dark:  #0284c7;
  --primary-light: #e0f2fe;
  --secondary:     #10b981;
  --secondary-light: #d1fae5;
  --accent:        #f59e0b;

  --white:         #ffffff;
  --bg:            #ffffff;
  --bg-subtle:     #f8fafc;
  --bg-dark:       #0f172a;

  --text:          #1a1a2e;
  --text-2:        #64748b;
  --text-3:        #94a3b8;
  --text-light:    #ffffff;

  --border:        #cbd5e1;
  --border-light:  #e2e8f0;

  --r-sm:  8px;
  --r:     14px;
  --r-lg:  20px;
  --r-xl:  28px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.05);
  --shadow:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);

  --nav-h: 72px;
  --max-w: 1200px;
  --narrow: 760px;

  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { color: var(--text-2); line-height: 1.75; }
.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-2);
  line-height: 1.7;
}
.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--narrow);
}
.section {
  padding: 100px 0;
}
.section--sm {
  padding: 64px 0;
}
.section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}
.section--dark p { color: rgba(255,255,255,.65); }
.section--gray {
  background: var(--bg-subtle);
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.text-center { text-align: center; }

/* --- Navigation Island --- */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  height: 68px;
  width: calc(100% - 40px);
  max-width: 1400px;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04),
              inset 0 1px 0 rgba(255,255,255,.8);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 40px rgba(0,0,0,.11), 0 2px 8px rgba(0,0,0,.06),
              inset 0 1px 0 rgba(255,255,255,.9);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 8px;
  padding: 0 20px;
}
.nav__logo img { height: 54px; width: auto; }

/* Nav Contact Links */
.nav__contact {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 12px;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  margin: 0 4px;
}
.nav__contact-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: var(--r-sm);
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-2);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav__contact-link:hover {
  color: var(--primary);
  background: var(--primary-light);
}
@media (max-width: 1200px) {
  .nav__contact { display: none; }
}
@media (max-width: 960px) {
  .nav__cta { display: none; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.nav__links li {
  display: flex;
  align-items: center;
}
.nav__link {
  display: flex;
  align-items: center;
  padding: 6px 13px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 10px;
  transition: background .2s, color .2s;
  line-height: 1;
  white-space: nowrap;
}
.nav__link:hover { background: var(--bg-subtle); }
.nav__link.active { color: var(--primary); font-weight: 600; }
.nav__cta {
  margin-left: 4px;
  white-space: nowrap;
  padding: 7px 16px !important;
  font-size: .82rem !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  color: #fff !important;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  border-radius: 10px;
  transition: background .15s;
}
.nav__toggle:hover { background: var(--bg-subtle); }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease) .25s;
}
.nav__mobile {
  display: none;
  position: fixed;
  top: calc(16px + 60px + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1160px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 16px 20px 20px;
  z-index: 999;
  box-shadow: 0 12px 48px rgba(0,0,0,.12);
}
.nav__mobile.open { display: block; }
.nav__mobile a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}
.nav__mobile .btn {
  display: flex;
  margin-top: 16px;
  width: 100%;
  justify-content: center;
  text-align: center;
  border-bottom: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: .95rem;
  font-weight: 600;
  border-radius: 100px;
  transition: all .2s var(--ease);
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 40%, #38bdf8 60%, var(--primary) 100%);
  background-size: 250% auto;
  color: #fff;
  animation: btnShimmer 4s linear infinite;
  will-change: background-position;
  transform: translateZ(0);
}
@keyframes btnShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}
.btn--primary:hover {
  transform: translateY(-1px) translateZ(0);
  box-shadow: 0 6px 20px rgba(14,165,233,.35);
  animation-duration: 2s;
}
.btn--outline {
  background: rgba(255,255,255,.7);
  color: var(--primary);
  border: 1.5px solid rgba(14,165,233,.35);
  backdrop-filter: blur(4px);
}
.btn--outline:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}
.btn--white {
  background: #fff;
  color: var(--primary);
}
.btn--white:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
}
.btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.2);
}
.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* --- Hero --- */
.hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.hero--light {
  background: linear-gradient(150deg, #fff7ed 0%, #e0f2fe 45%, #d1fae5 100%);
}
.hero--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}
.hero--dark h1 { color: #fff; }
.hero--dark .lead { color: rgba(255,255,255,.7); }
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 28px;
}
.hero__tag--dark {
  background: rgba(14,165,233,.25);
  color: #7dd3fc;
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 40px; max-width: 560px; }
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #38bdf8 0%, transparent 65%);
  top: -220px; right: -80px;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #fbbf24 0%, transparent 65%);
  bottom: -180px; left: -80px;
}

/* --- Stats bar --- */
.stats {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats__item {}
.stats__number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stats__label {
  font-size: .88rem;
  color: var(--text-2);
  font-weight: 500;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card--gray { background: var(--bg-subtle); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { color: var(--primary); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }

/* --- Feature split --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  position: relative;
  overflow: hidden;
}
.split::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.18) 50%, transparent 100%);
  width: 60%;
  animation: splitGloss 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes splitGloss {
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}
.split__panel {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 0;
}
.split__panel--primary {
  background: var(--primary);
  color: #fff;
}
.split__panel--primary h2,
.split__panel--primary h3 { color: #fff; }
.split__panel--primary p { color: rgba(255,255,255,.75); }
.split__panel--secondary {
  background: var(--secondary);
  color: #fff;
}
.split__panel--secondary h2,
.split__panel--secondary h3 { color: #fff; }
.split__panel--secondary p { color: rgba(255,255,255,.75); }
.split__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 16px;
}
.split__list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.split__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}
.split__list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* --- Process steps --- */
.steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-light);
}
.step:last-child { border-bottom: none; }
.step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step__body h4 { margin-bottom: 6px; font-size: 1.05rem; }
.step__body p { font-size: .95rem; }

/* --- Job cards --- */
.job-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all .2s var(--ease);
}
.job-card:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light), var(--shadow-sm);
  transform: translateX(4px);
}
.job-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.job-card__body { flex: 1; }
.job-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.job-card__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.job-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-2);
}
.job-card__badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  background: var(--secondary-light);
  color: var(--secondary);
}
.job-card__arrow {
  color: var(--text-3);
  transition: transform .2s, color .2s;
}
.job-card:hover .job-card__arrow { transform: translateX(4px); color: var(--primary); }

/* --- Contact Form --- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.form-field {
  padding: 14px 18px;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: .95rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.form-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  background: var(--white);
}
textarea.form-field { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
}
.form-check label { font-size: .88rem; color: var(--text-2); }
.form-check a { color: var(--primary); text-decoration: underline; }
.form-success {
  display: none;
  padding: 20px 24px;
  background: var(--secondary-light);
  border: 1px solid #6ee7b7;
  border-radius: var(--r);
  color: var(--secondary);
  font-weight: 600;
  margin-top: 16px;
}

/* --- Map --- */
.map-wrapper {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

/* --- Page hero (inner pages) --- */
.page-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 72px;
  background: linear-gradient(135deg, #fff7ed 0%, #e0f2fe 60%, #d1fae5 100%);
  background-size: 300% 300%;
  animation: heroGradient 14s ease infinite;
}
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { max-width: 560px; }

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  background: var(--primary);
  text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.75); margin-bottom: 36px; }
.cta-section .btn { margin: 0 8px; }

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.65);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo {
  filter: brightness(0) invert(1);
  opacity: .85;
  height: 38px;
  width: auto;
  margin-bottom: 16px;
}
.footer__desc {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer__contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
  transition: color .2s;
}
.footer__contact a:hover { color: #fff; }
.footer__heading {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copy { font-size: .85rem; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer__legal a:hover { color: rgba(255,255,255,.8); }

/* --- Prose (Impressum / Datenschutz) --- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px;
}
.prose h1 { margin-bottom: 40px; }
.prose h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
}
.prose h3 {
  font-size: 1.05rem;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--text);
}
.prose p {
  margin-bottom: 16px;
  font-size: .97rem;
  color: var(--text-2);
}
.prose a { color: var(--primary); text-decoration: underline; }
.prose ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.prose ul li { margin-bottom: 6px; color: var(--text-2); font-size: .97rem; }

/* --- Badges / Tags --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
}
.badge--blue { background: var(--primary-light); color: var(--primary); }
.badge--green { background: var(--secondary-light); color: var(--secondary); }
.badge--gray { background: #f0f0f5; color: #5a5a6e; }

/* --- Testimonial --- */
.testimonial {
  background: var(--bg-subtle);
  border-radius: var(--r-xl);
  padding: 48px;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 20px; left: 36px;
  font-size: 6rem;
  line-height: 1;
  color: var(--primary-light);
  font-family: Georgia, serif;
}
.testimonial__text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
  padding-top: 32px;
}
.testimonial__author {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
}
.testimonial__role { font-size: .85rem; color: var(--text-2); }

/* --- Icon utility --- */
.icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-wrap--blue { background: var(--primary-light); color: var(--primary); }
.icon-wrap--green { background: var(--secondary-light); color: var(--secondary); }
.icon-wrap--gray { background: #f0f0f5; color: #5a5a6e; }

/* --- Divider --- */
.divider {
  width: 48px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 20px 0 28px;
}
.divider--center { margin: 20px auto 28px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { top: 12px; height: 52px; width: calc(100% - 32px); border-radius: 14px; }
  .nav__mobile { top: calc(12px + 52px + 8px); width: calc(100% - 32px); border-radius: 14px; }
  .section { padding: 72px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split__panel { padding: 48px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero { padding-top: calc(var(--nav-h) + 48px); padding-bottom: 64px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
  .testimonial { padding: 32px 28px; }
  .testimonial::before { font-size: 4rem; }
  .job-card { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .prose { padding: 60px 20px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeUp .6s var(--ease) both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* --- Utility --- */
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
.gap-8 { gap: 8px; }
.w-full { width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* --- Section images --- */
.section-img {
  width: 100%;
  border-radius: var(--r-xl);
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow);
}
.section-img--landscape { aspect-ratio: 16/9; }
.section-img--portrait  { aspect-ratio: 4/3; }
.section-img--square    { aspect-ratio: 1/1; }

/* Full-bleed photo banner with quote overlay */
.photo-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.photo-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.photo-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7,89,133,.72) 0%, rgba(5,150,105,.55) 100%);
  display: flex;
  align-items: center;
}
.photo-banner__quote {
  color: #fff;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 700px;
  letter-spacing: -.01em;
}
.photo-banner__quote cite {
  display: block;
  font-size: .9rem;
  font-weight: 400;
  opacity: .8;
  margin-top: 12px;
  font-style: normal;
}

/* Rounded image card for section columns */
.img-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

@media (max-width: 768px) {
  .photo-banner { height: 280px; }
  .img-card img { min-height: 220px; }
}

/* --- Scroll animations --- */
.scroll-hidden {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.scroll-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* --- Hero min-height & animated gradient --- */
.hero--light {
  min-height: calc(92vh - var(--nav-h));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fff7ed 0%, #e0f2fe 30%, #d1fae5 60%, #fef3c7 100%);
  background-size: 300% 300%;
  animation: heroGradient 14s ease infinite;
}
.hero--light .container { width: 100%; }

/* --- Hero & Page-Hero Hintergrundbild --- */
.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  pointer-events: none;
}
.page-hero { position: relative; }

/* Gradient shift */
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Orb float animations */
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  33%       { transform: translate(-24px, 18px) scale(1.06); }
  66%       { transform: translate(18px, -14px) scale(0.96); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0px, 0px) scale(1); }
  40%       { transform: translate(20px, -22px) scale(1.08); }
  70%       { transform: translate(-16px, 12px) scale(0.94); }
}
.hero__orb--1 { animation: orbFloat1 18s ease-in-out infinite; }
.hero__orb--2 { animation: orbFloat2 22s ease-in-out infinite; }

/* Badge pulse */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14,165,233,.15); }
  50%       { box-shadow: 0 0 0 8px rgba(14,165,233,0); }
}
.hero__tag { animation: badgePulse 3.5s ease-in-out infinite; }

/* Hero text entrance — staggered */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-up        { animation: heroFadeUp .7s cubic-bezier(.22,.68,0,1.2) both; }
.animate-up.delay-1 { animation-delay: .15s; }
.animate-up.delay-2 { animation-delay: .3s; }
.animate-up.delay-3 { animation-delay: .45s; }

/* Headline word highlight shimmer */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 45%, var(--secondary) 80%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite 1.2s;
}

/* --- Step number circles visible fix --- */
.step__num {
  min-width: 48px;
}

/* ── Hero 2-Column Split ── */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  width: 100%;
}
.hero__text { max-width: 560px; }
.hero__text .lead { max-width: 100%; }

/* ── Hero Orbit Animation ── */
.hero__visual {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   ORBIT ANIMATION  (hero__visual + page-hero__visual)
   ───────────────────────────────────────── */

/* Shared container */
.hero__visual,
.page-hero__visual {
  position: relative;
  width: 420px;
  height: 420px;
  margin: 0 auto;
  flex-shrink: 0;
}

/* Decorative static rings */
.ho-deco-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ho-deco-ring--1 {
  width: 390px; height: 390px;
  border: 1px dashed rgba(14,165,233,0.18);
  animation: hoRingPulse 6s ease-in-out infinite;
}
.ho-deco-ring--2 {
  width: 270px; height: 270px;
  border: 1.5px solid rgba(16,185,129,0.22);
  animation: hoRingPulse 4.5s ease-in-out infinite 1.5s;
}
.ho-deco-ring--3 {
  width: 150px; height: 150px;
  border: 2px solid rgba(245,158,11,0.28);
  animation: hoRingPulse 3.5s ease-in-out infinite 0.7s;
}
@keyframes hoRingPulse {
  0%, 100% { opacity: .5; }
  50%       { opacity: 1; }
}

/* Center glow orb */
.ho-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  animation: hoCenterGlow 3s ease-in-out infinite;
}
@keyframes hoCenterGlow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(14,165,233,.35),
                0 0 70px rgba(16,185,129,.18);
    transform: translate(-50%,-50%) scale(1);
  }
  50% {
    box-shadow: 0 0 50px rgba(14,165,233,.55),
                0 0 100px rgba(16,185,129,.28);
    transform: translate(-50%,-50%) scale(1.07);
  }
}

/* Orbit arm — zero-size div positioned at center, rotates, child sits at tip */
.ho-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  transform-origin: 0 0;
}

/* Inner orbit: CW 11s */
.ho-orbit--in  { animation: hoSpinCW 11s linear infinite; }
/* Outer orbit: CCW 17s */
.ho-orbit--out { animation: hoSpinCCW 17s linear infinite; }

@keyframes hoSpinCW  { to { transform: rotate(360deg); } }
@keyframes hoSpinCCW { to { transform: rotate(-360deg); } }

/* Bubble at tip of arm — offset by radius, counter-rotate to stay upright */
.ho-bubble {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  transform: translateY(-50%);  /* center vertically on the arm */
}

/* Inner radius: 130px → left: 130–23 = 107px */
.ho-orbit--in .ho-bubble {
  left: 107px;
  animation: hoCounterCW 11s linear infinite;
}
/* Outer radius: 192px → left: 192–23 = 169px */
.ho-orbit--out .ho-bubble {
  left: 169px;
  animation: hoCounterCCW 17s linear infinite;
}

@keyframes hoCounterCW  { to { transform: translateY(-50%) rotate(-360deg); } }
@keyframes hoCounterCCW { to { transform: translateY(-50%) rotate(360deg); } }

/* Bubble color variants */
.ho-sky    { background: #e0f2fe; color: #0ea5e9; }
.ho-amber  { background: #fef3c7; color: #d97706; }
.ho-green  { background: #d1fae5; color: #059669; }
.ho-pink   { background: #fce7f3; color: #db2777; }
.ho-violet { background: #ede9fe; color: #7c3aed; }
.ho-rose   { background: #fff1f2; color: #e11d48; }

/* Responsive */
@media (max-width: 960px) {
  .hero__split        { grid-template-columns: 1fr; gap: 0; }
  .hero__visual       { display: none; }
  .hero__text         { max-width: 100%; }
  .page-hero__split   { grid-template-columns: 1fr; }
  .page-hero__visual  { display: none; }
}

/* ── Page Hero Split (Unterseiten) ── */
.page-hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

/* ── Cookie Banner ── */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.18);
}
.cookie-banner__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-banner__text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}
.cookie-banner__text p {
  font-size: .88rem;
  color: #94a3b8;
  margin: 0 0 6px;
}
.cookie-banner__text a {
  font-size: .82rem;
  color: var(--primary);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-banner__actions .btn--outline {
  border-color: #475569;
  color: #cbd5e1;
}
.cookie-banner__actions .btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ── Google Maps Consent Placeholder ── */
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  height: 380px;
  background: var(--bg-subtle);
  border-radius: var(--r-lg);
  border: 1.5px dashed var(--border);
  padding: 32px;
  color: var(--text-2);
}
.map-consent svg {
  color: var(--text-3);
  margin-bottom: 8px;
}
.map-consent p {
  font-size: .9rem;
  max-width: 320px;
}

/* ── Form Error ── */
.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  background: #fff1f2;
  border: 1px solid #fca5a5;
  border-radius: var(--r);
  color: #dc2626;
  font-size: .9rem;
}
.form-error a {
  color: #dc2626;
  text-decoration: underline;
}

