/* ============================================================
   Multi-page additions — page hero, processes, benefits,
   route transitions, breadcrumb
   ============================================================ */

/* Page route fade-in (transform-only — opacity handled by data-reveal) */
.page-enter {
  animation-name: pageEnter;
  animation-duration: 360ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}
@keyframes pageEnter {
  0% { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

/* Frozen-timeline fallback — disable all transitions/animations
   (set by useReveal when no rAF fires within 250 ms) */
.no-anim *,
.no-anim *::before,
.no-anim *::after {
  transition: none !important;
  animation: none !important;
}
.no-anim [data-reveal] { opacity: 1; transform: none; }
.no-anim .page-enter { transform: none; }

/* ============================================================
   PAGE HERO (subpages) — clean, grounded
   ============================================================ */
.page-hero {
  padding: 168px 0 88px;
  background:
    radial-gradient(60% 80% at 95% 0%, rgba(5,117,129,0.07), transparent 70%),
    radial-gradient(80% 70% at 0% 0%, rgba(11,75,154,0.09), transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, #F2F6FC 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: auto 0 -1px 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #FFFFFF 100%);
  pointer-events: none;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 920px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink-950);
  margin: 14px 0 22px;
}
.page-hero h1 .accent {
  background: linear-gradient(120deg, var(--teal-500), var(--navy-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero .lead {
  font-size: 19px; line-height: 1.55; color: var(--ink-700);
  max-width: 56ch; margin: 0 0 28px;
}

/* Breadcrumb */
.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.crumb a { color: var(--ink-600); }
.crumb a:hover { color: var(--brand); text-decoration: none; }
.crumb .sep { color: var(--ink-300); }
.crumb .here { color: var(--brand); font-weight: 600; }

/* ============================================================
   MEDIA STACK — replaces the floating cards entirely.
   A photo card + a clean 2-col metric grid beneath it.
   Used in both .hero and .page-hero.
   ============================================================ */
.media-stack {
  display: grid;
  gap: 14px;
}
.media-photo {
  position: relative;
  aspect-ratio: 5 / 3.5;
  border-radius: 22px;
  overflow: hidden;
  background-color: #103568;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-xl);
  isolation: isolate;
}
.media-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(11,75,154,0.55) 0%,
    rgba(5,117,129,0.38) 50%,
    rgba(6,40,88,0.72) 100%);
  z-index: 0;
}
.media-photo::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(46% 60% at 28% 22%, rgba(255,255,255,0.16), transparent 65%),
    repeating-linear-gradient(120deg, transparent 0 22px, rgba(255,255,255,0.025) 22px 23px);
  z-index: 0;
  pointer-events: none;
}
.media-photo > * { position: relative; z-index: 1; }

/* Photo variants — each maps to a thematic Unsplash photo */
.media-photo.cargo        { background-image: url('assets/photo-cargo-loading.jpg'); background-position: center 78%; }
.media-photo.airport      { background-image: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1400&q=80&auto=format&fit=crop'); }
.media-photo.warehouse    { background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1400&q=80&auto=format&fit=crop'); }
.media-photo.picking      { background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1400&q=80&auto=format&fit=crop'); }
.media-photo.team         { background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1400&q=80&auto=format&fit=crop'); }
.media-photo.office       { background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1400&q=80&auto=format&fit=crop'); }
.media-photo.forklift     { background-image: url('https://images.unsplash.com/photo-1601598851547-4302969d0614?w=1400&q=80&auto=format&fit=crop'); }
.media-photo.handshake    { background-image: url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1400&q=80&auto=format&fit=crop'); }
.media-photo.aerial       { background-image: url('https://images.unsplash.com/photo-1556388158-158ea5ccacbd?w=1400&q=80&auto=format&fit=crop'); }
.media-photo.consultation { background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1400&q=80&auto=format&fit=crop'); }
.media-photo.delivery     { background-image: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=1400&q=80&auto=format&fit=crop'); }
.media-photo.onsite       { background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?w=1400&q=80&auto=format&fit=crop'); }
.media-photo .tag {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.18);
  z-index: 1;
}

/* Stats overlay variant — fills the photo with 4 icon stats */
.media-photo.stats-photo {
  aspect-ratio: auto;
  min-height: 460px;
  padding: 36px 32px 72px;
  display: flex;
  align-items: center;
}
.photo-stats {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .photo-stats { grid-template-columns: 1fr; }
  .media-photo.stats-photo { min-height: 0; padding: 28px 24px 64px; }
}
.ps-item {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 20px 20px 18px;
  color: var(--white);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ps-item .ps-ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  margin-bottom: 14px;
  color: var(--white);
}
.ps-item strong {
  font-family: var(--font-display);
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--white);
}
.ps-item span {
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
  line-height: 1.35;
  display: block;
}

/* ============================================================
   ICON STATS — 6-card grid used on Home (and re-usable)
   ============================================================ */
.icon-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 1040px) { .icon-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .icon-stats { grid-template-columns: repeat(2, 1fr); } }
.istat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px 20px;
  transition: all var(--dur-base) var(--ease-out);
}
.istat:hover {
  transform: translateY(-2px);
  border-color: var(--navy-200);
  box-shadow: var(--shadow-md);
}
.istat .ic {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--navy-50);
  color: var(--navy-600);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.istat.teal .ic { background: var(--teal-50); color: var(--teal-600); }
.istat strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink-950);
  display: block;
  margin-bottom: 4px;
}
.istat span {
  font-size: 13px;
  color: var(--ink-600);
  line-height: 1.4;
  display: block;
}

.media-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .media-meta { grid-template-columns: 1fr; }
}
.meta-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.meta-card:hover { border-color: var(--navy-200); box-shadow: var(--shadow-sm); }
.meta-card .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy-500);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.meta-card .ic.teal { background: var(--teal-50); color: var(--teal-600); }
.meta-card strong {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-950);
  display: block;
  line-height: 1.2;
}
.meta-card span {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.3;
}

/* ============================================================
   PROCESS — numbered horizontal steps
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .process-grid { grid-template-columns: 1fr; } }
.proc-step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px 26px;
  transition: all var(--dur-base) var(--ease-out);
}
.proc-step:hover {
  border-color: var(--navy-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.proc-step .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--navy-600);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  display: flex; gap: 10px; align-items: center;
  text-transform: uppercase;
}
.proc-step .num::before {
  content: '';
  width: 26px; height: 26px;
  border-radius: 999px;
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
}
.proc-step.teal .num { color: var(--teal-700); }
.proc-step.teal .num::before { background: var(--teal-50); border-color: var(--teal-100); }

/* Numbered variant — fills circle with 1..N (auto via CSS counter) */
.process-grid.numbered { counter-reset: stepc; }
.process-grid.numbered .proc-step { counter-increment: stepc; }
.process-grid.numbered .proc-step .num::before {
  content: counter(stepc);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy-700);
  letter-spacing: 0;
  line-height: 1;
}
.process-grid.numbered .proc-step.teal .num::before { color: var(--teal-700); }

/* Variant without bubble — for non-step uses (e.g. timeline with years) */
.process-grid.no-bubble .proc-step .num::before { display: none; }
.process-grid.no-bubble .proc-step .num {
  gap: 0;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 10px;
}
.proc-step h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink-950);
}
.proc-step p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-600);
}

/* ============================================================
   BENEFIT cards
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 920px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px;
  transition: all var(--dur-base) var(--ease-out);
}
.benefit:hover {
  transform: translateY(-2px);
  border-color: var(--teal-200);
  box-shadow: var(--shadow-md);
}
.benefit .ic {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--teal-50);
  color: var(--teal-600);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.benefit h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--ink-950);
}
.benefit p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-600);
}

/* ============================================================
   CTA strip
   ============================================================ */
.cta-strip {
  background:
    radial-gradient(70% 100% at 100% 0%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(135deg, var(--teal-500) 0%, var(--navy-700) 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 720px) { .cta-strip { grid-template-columns: 1fr; padding: 36px 28px; } }
.cta-strip h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0 0 12px;
}
.cta-strip p {
  color: rgba(255,255,255,0.85);
  font-size: 16px; max-width: 50ch; line-height: 1.55;
}
.cta-strip .actions { display: flex; flex-direction: column; gap: 10px; }
.cta-strip .btn-primary {
  background: var(--white);
  color: var(--navy-700);
  box-shadow: 0 12px 32px -10px rgba(0,0,0,0.3);
}
.cta-strip .btn-primary:hover { background: #F4F8FD; }
.cta-strip .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.cta-strip .btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ============================================================
   Section header (centered)
   ============================================================ */
.sec-head {
  max-width: 720px; margin: 0 auto 56px; text-align: center;
}
.sec-head .eyebrow { display: inline-block; margin-bottom: 12px; }
.sec-head h2 { margin-left: auto; margin-right: auto; }
.sec-head .section-title { margin-left: auto; margin-right: auto; }
.sec-head .section-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   Mobile menu
   ============================================================ */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  width: 40px; height: 40px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink-800);
}
@media (max-width: 980px) {
  .mobile-toggle { display: grid; place-items: center; }
  .site-header .ctas .btn:not(.btn-accent) { display: none; }
}
.mobile-panel {
  position: fixed;
  inset: 84px 16px auto 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--dur-base) var(--ease-out);
}
.mobile-panel.on { opacity: 1; pointer-events: all; transform: translateY(0); }
.mobile-panel a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--ink-800);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.mobile-panel a:hover { background: var(--ink-100); text-decoration: none; }
.mobile-panel a.active { background: var(--navy-50); color: var(--brand); }

/* ============================================================
   Logo bar (sub-brands)
   ============================================================ */
.subbrands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) { .subbrands { grid-template-columns: 1fr; } }
.subbrand {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: all var(--dur-base) var(--ease-out);
}
.subbrand:hover {
  border-color: var(--navy-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.subbrand img { height: 48px; width: 48px; object-fit: contain; object-position: left center; flex-shrink: 0; }
.subbrand .sb-text { flex: 1; min-width: 0; }
.subbrand .sb-text h5 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink-950);
}
.subbrand .sb-text p { font-size: 14px; color: var(--ink-600); line-height: 1.5; margin: 0; }

/* ============================================================
   FEATURE ROW (alternating side-by-side)
   ============================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .feature-row.reverse > :first-child { order: 0; }
}
.feature-text .eyebrow { margin-bottom: 14px; }
.feature-text h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink-950);
  margin: 0 0 16px;
}
.feature-text p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-600);
  margin: 0 0 18px;
  max-width: 50ch;
}
.feature-text ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.feature-text li {
  font-size: 15px;
  color: var(--ink-700);
  padding-left: 24px;
  position: relative;
}
.feature-text li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--teal-500);
  font-weight: 700;
}

/* ============================================================
   APPLICATION FORM (inline, on Bewerber page)
   ============================================================ */
.apply-section { background: var(--ink-50); }
.apply-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 920px) { .apply-grid { grid-template-columns: 1fr; gap: 32px; } }
.apply-info .point {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.apply-info .point:last-child { border-bottom: 1px solid var(--border); }
.apply-info .point .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--teal-50); color: var(--teal-600);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.apply-info .point b {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-950);
  display: block;
  margin-bottom: 2px;
}
.apply-info .point span { font-size: 14px; color: var(--ink-600); line-height: 1.5; }

.upload-field {
  border: 1.5px dashed var(--border-strong);
  border-radius: 12px;
  padding: 18px 18px;
  background: var(--white);
  display: flex; align-items: center; gap: 14px;
  transition: border-color var(--dur-fast), background var(--dur-fast);
  cursor: pointer;
  position: relative;
}
.upload-field:hover { border-color: var(--navy-300); background: var(--navy-50); }
.upload-field.has-file { border-style: solid; border-color: var(--teal-400); background: var(--teal-50); }
.upload-field input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}
.upload-field .ic {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy-50); color: var(--navy-600);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.upload-field.has-file .ic { background: var(--teal-100); color: var(--teal-700); }
.upload-field .up-text {
  font-size: 14px; color: var(--ink-700); line-height: 1.4;
}
.upload-field .up-text b {
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--ink-950);
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}
.upload-field .up-hint { color: var(--ink-500); font-size: 12.5px; }
.upload-field .up-clear {
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--ink-700);
  flex-shrink: 0;
  z-index: 2;
}
.upload-field .up-clear:hover { background: var(--ink-100); }

/* ============================================================
   JOB MODAL (overlay) — kept for back-compat, smaller
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(11, 28, 63, 0.55);
  z-index: 300;
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
  backdrop-filter: blur(6px);
}
.modal-backdrop.on { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: 20px;
  max-width: 580px; width: 100%;
  max-height: 88vh; overflow: auto;
  padding: 32px;
  box-shadow: var(--shadow-xl);
  transform: translateY(16px);
  transition: transform var(--dur-base) var(--ease-out);
}
.modal-backdrop.on .modal { transform: translateY(0); }

/* ============================================================
   Toast utility
   ============================================================ */
.scroll-target { scroll-margin-top: 110px; }


/* ============================================================
   ANSPRECHPARTNER (Kontakt) — three cards + shared info
   ============================================================ */
.partners { background: var(--white); padding-bottom: 40px; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
  align-items: stretch;
}
@media (max-width: 920px) { .partners-grid { grid-template-columns: 1fr; } }

.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 200ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.partner-card:hover {
  border-color: var(--ink-200);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -18px rgba(11, 75, 154, 0.22);
}
.partner-card > img { height: 38px; width: 90px; object-fit: contain; object-position: center; margin-bottom: 4px; flex-shrink: 0; }
.partner-card .dual-logo {
  display: flex; align-items: center; gap: 12px;
  height: 38px; margin-bottom: 4px;
}
.partner-card .dual-logo img { height: 36px; width: 70px; object-fit: contain; flex-shrink: 0; }
.partner-card .eyebrow { margin-top: 2px; }
.partner-card h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: var(--ls-tight);
  color: var(--ink-950);
  margin: 0;
}
.partner-card p {
  font-size: 14px;
  color: var(--ink-600);
  margin: 0 0 6px;
  line-height: 1.45;
}
.partner-card .partner-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  width: 100%;
  padding: 14px 18px;
  background: var(--navy-50);
  color: var(--navy-700);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}
.partner-card .partner-tel:hover {
  background: var(--navy-500);
  color: var(--white);
  text-decoration: none;
}
.partner-card.featured {
  background: var(--grad-brand-soft);
  border-color: var(--teal-200);
}
.partner-card.featured .partner-tel {
  background: var(--teal-500);
  color: var(--white);
}
.partner-card.featured .partner-tel:hover {
  background: var(--teal-600);
  color: var(--white);
}

/* Shared info strip under cards */
.partners-shared {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  padding: 24px 28px;
  background: var(--ink-50);
  border: 1px solid var(--border);
  border-radius: 14px;
}
@media (max-width: 760px) { .partners-shared { grid-template-columns: 1fr; padding: 22px; } }
.partners-shared .ps-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.partners-shared .ps-block .ps-ic {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--navy-600);
  flex-shrink: 0;
}
.partners-shared .ps-block b {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.partners-shared .ps-block a {
  display: inline-block;
  font-size: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-600);
  letter-spacing: var(--ls-tight);
}
.partners-shared .ps-block a:hover { color: var(--navy-700); }
.partners-shared .ps-block small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-500);
}
.partners-shared .ps-block span {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.55;
}


/* ============================================================
   PREISE & VERFÜGBARKEIT (Unternehmen) — pricing cards + 3-step
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 920px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 30px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all var(--dur-base) var(--ease-out);
}
.pricing-card:hover {
  transform: translateY(-2px);
  border-color: var(--navy-200);
  box-shadow: var(--shadow-md);
}
.pricing-card .ic {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--navy-50);
  color: var(--navy-600);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.pricing-card h4 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink-950);
}
.pricing-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0 0 22px;
}
.pricing-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: var(--ls-tight);
  color: var(--navy-600);
  margin-top: auto;
  margin-bottom: 8px;
}
.pricing-card .price-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
  background: var(--ink-100);
  border-radius: 999px;
  padding: 4px 11px;
}

/* 3-column variant of the numbered process grid */
.process-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .process-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .process-grid.cols-3 { grid-template-columns: 1fr; } }


/* ============================================================
   24H-PERSONAL — nav-flash shortcut + flash-banner callouts
   ============================================================ */
@keyframes navFlashPulse {
  0%, 100% { box-shadow: 0 4px 14px -4px rgba(56, 161, 224, 0.45); }
  50% { box-shadow: 0 6px 20px -4px rgba(56, 161, 224, 0.65); }
}
.nav-flash {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #D6F0FC 0%, #A9E1F7 100%);
  color: var(--navy-800) !important;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none !important;
  animation: navFlashPulse 3.2s ease-in-out infinite;
  transition: transform 160ms ease;
}
.nav-flash:hover { transform: translateY(-1px); }
.mobile-panel .nav-flash {
  justify-content: center;
  margin: 0 0 10px;
  padding: 12px 14px;
  font-size: 14.5px;
}

.flash-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy-900) 0%, #6B3A0A 140%);
  border: 1px solid rgba(180, 83, 9, 0.4);
  border-radius: 18px;
  padding: 22px 28px;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}
.flash-banner.compact { padding: 16px 22px; border-radius: 14px; }
.flash-banner .fb-text {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #FDE7CF;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.flash-banner .fb-text svg { color: #F5A524; flex-shrink: 0; }
.flash-banner.compact .fb-text { font-size: 15px; }
.flash-banner .fb-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  text-decoration: none;
}
.flash-banner .fb-cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.flash-banner .btn.fb-btn {
  background: #F5A524;
  color: #3A1E00;
  box-shadow: none;
  flex-shrink: 0;
}
.flash-banner .btn.fb-btn:hover { background: #FFB840; }

/* Home page variant — light blue-gray gradient, distinct from the amber
   compact callout used on the Unternehmen page */
@keyframes homeBannerGlow {
  0%, 100% { box-shadow: 0 14px 34px -14px rgba(11, 75, 154, 0.38), inset 0 1px 0 rgba(255,255,255,0.5); }
  50% { box-shadow: 0 18px 42px -12px rgba(11, 75, 154, 0.52), inset 0 1px 0 rgba(255,255,255,0.5); }
}
.flash-banner.home {
  background: linear-gradient(120deg, #DCEBF7 0%, #AFCBE0 55%, #7E9CB8 100%);
  border: 1.5px solid #6E8DAC;
  animation: homeBannerGlow 3.6s ease-in-out infinite;
  padding: 26px 32px;
}
.flash-banner.home .fb-text {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--navy-900);
  gap: 16px;
}
.flash-banner.home .fb-text svg {
  color: #FFFFFF;
  background: var(--navy-600);
  border-radius: 999px;
  padding: 8px;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.flash-banner.home .btn.fb-btn {
  background: var(--navy-700);
  color: #FFFFFF;
  font-size: 15.5px;
  padding: 14px 22px;
  box-shadow: 0 12px 26px -10px rgba(6, 40, 88, 0.6);
}
.flash-banner.home .btn.fb-btn:hover { background: var(--navy-800); }
@media (max-width: 720px) {
  .flash-banner { flex-direction: column; align-items: flex-start; }
  .flash-banner .fb-btn { width: 100%; justify-content: center; }
}

.urgency-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.urgency-chips .chip:first-child.on,
.urgency-chips .chip:first-child:hover {
  background: #B45309;
  border-color: #B45309;
  color: #FFFFFF;
}


/* ============================================================
   LEGAL PAGE — Impressum / Datenschutz / AGB (in-app)
   ============================================================ */
.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 920px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 28px 24px;
}
.legal-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-950);
  margin: 0 0 14px;
}
.legal-card h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin: 20px 0 6px;
}
.legal-card h4:first-of-type { margin-top: 0; }
.legal-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0;
}

.legal-shared {
  background: var(--ink-50);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 32px 8px;
  max-width: 840px;
}
.legal-shared h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-950);
  margin: 0 0 12px;
}
.legal-shared h3:not(:first-child) { margin-top: 34px; }
.legal-shared h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-950);
  margin: 0 0 8px;
}
.legal-shared h4:not(:first-child) { margin-top: 26px; }
.legal-shared p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-600);
  margin: 0 0 24px;
}
.legal-shared ul {
  margin: 0 0 24px;
  padding-left: 20px;
}
.legal-shared li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-600);
  margin-bottom: 10px;
}
.legal-shared li strong { color: var(--ink-950); }

.legal-todo {
  display: inline-block;
  background: #FFF3CD;
  color: #7A5300;
  padding: 1px 8px;
  border-radius: 6px;
  border: 1px dashed #E0B100;
  font-size: 13px;
  font-weight: 600;
}

.legal-placeholder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 32px;
  max-width: 720px;
}
.legal-placeholder p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-600);
  margin: 0;
}


/* ============================================================
   COOKIE CONSENT BANNER — matches Dipa design system
   ============================================================ */
.cookie-overlay {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  display: flex;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}
.cookie-banner {
  pointer-events: all;
  width: 100%;
  max-width: 980px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  padding: 26px 30px;
  animation: cookieSlideUp 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Main view ---- */
.cookie-main {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1 1 380px; min-width: 260px; }
.cookie-text h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-950);
  margin: 0 0 8px;
}
.cookie-text p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-600);
  margin: 0 0 8px;
  max-width: 62ch;
}
.cookie-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}
.cookie-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 20px;
  min-height: 46px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.cookie-btn:active { transform: scale(0.98); }
.cookie-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.cookie-btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-brand);
}
.cookie-btn-primary:hover { background: var(--brand-hover); }

.cookie-btn-ghost {
  background: var(--ink-100);
  color: var(--ink-900);
}
.cookie-btn-ghost:hover { background: var(--ink-150); }

.cookie-btn-outline {
  background: var(--white);
  color: var(--brand);
  border: 1.5px solid var(--navy-200);
}
.cookie-btn-outline:hover { border-color: var(--brand); }

/* ---- Settings view ---- */
.cookie-settings-head h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-950);
  margin: 0 0 6px;
}
.cookie-settings-head p {
  font-size: 14px;
  color: var(--ink-600);
  margin: 0 0 18px;
}
.cookie-cat {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.cookie-cat-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  background: var(--ink-50);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.cookie-cat-label { flex: 1; }
.cookie-cat-label b {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-950);
  display: block;
  margin-bottom: 3px;
}
.cookie-cat-label span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-600);
  display: block;
}

.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 6px;
  margin: -6px;
}
.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.cookie-toggle-track {
  width: 46px;
  height: 27px;
  background: var(--ink-200);
  border-radius: 999px;
  display: inline-block;
  position: relative;
  transition: background var(--dur-fast) var(--ease-out);
}
.cookie-toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 23px; height: 23px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out);
}
.cookie-toggle input:checked + .cookie-toggle-track {
  background: var(--brand);
}
.cookie-toggle input:checked + .cookie-toggle-track .cookie-toggle-thumb {
  transform: translateX(19px);
}
.cookie-toggle.disabled { cursor: not-allowed; opacity: 0.7; }
.cookie-toggle.disabled .cookie-toggle-track { background: var(--navy-300); }

.cookie-actions-settings { justify-content: flex-end; }

/* ---- Responsive: mobile ---- */
@media (max-width: 640px) {
  .cookie-overlay { padding: 0; }
  .cookie-banner {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 22px 18px 24px;
    max-height: 88vh;
    overflow-y: auto;
  }
  .cookie-main { flex-direction: column; align-items: stretch; gap: 18px; }
  .cookie-actions { flex-direction: column; width: 100%; }
  .cookie-actions .cookie-btn { width: 100%; justify-content: center; }
  .cookie-actions-settings { flex-direction: column-reverse; }
  .cookie-cat-row { flex-direction: row; align-items: center; }
}
@media (max-width: 380px) {
  .cookie-text h3 { font-size: 16.5px; }
}

/* Sofort-Personal-Hotline: Zwei-Spalten-Block (Text/Telefon links, Formular rechts) */
.sofort-contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.sofort-form-card {
  margin: 0;
}
@media (max-width: 900px) {
  .sofort-contact-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
