/* UNIVERSAL HEADER & TOP-BAR SIZE SYNC (EXAKT IDENTISCH AUF ALLEN SEITEN) */
.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 200 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border-bottom: 1px solid rgba(221, 216, 207, 0.7) !important;
  box-shadow: 0 1px 0 var(--border-lg, #e8e3da) !important;
  transition: all 0.25s ease !important;
}

.site-header .nav-inner {
  height: 80px !important;
  min-height: 80px !important;
  max-height: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.site-header .brand {
  display: flex !important;
  align-items: center !important;
  gap: 1.1rem !important;
  text-decoration: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .brand img {
  height: 52px !important;
  width: auto !important;
  filter: brightness(0) saturate(100%) invert(22%) sepia(40%) saturate(700%) hue-rotate(105deg) brightness(0.9) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .brand-sep {
  width: 1px !important;
  height: 32px !important;
  background: var(--border, #ddd8cf) !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .brand > div {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .brand-name {
  font-family: var(--font-sans, 'Inter', -apple-system, sans-serif) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--green-800, #1b3a28) !important;
  letter-spacing: .04em !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .brand-tag {
  font-family: var(--font-sans, 'Inter', -apple-system, sans-serif) !important;
  font-size: .68rem !important;
  text-transform: uppercase !important;
  letter-spacing: .1em !important;
  color: var(--green-600, #2d6638) !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .main-nav {
  display: flex !important;
  align-items: center !important;
  gap: 1.75rem !important;
}

.site-header .nav-link {
  font-size: .9rem !important;
  font-weight: 500 !important;
  color: var(--text-2, #3d5242) !important;
  padding: .375rem 0 !important;
  position: relative !important;
  transition: color .2s !important;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--green-700, #24522e) !important;
}

.site-header .nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: .875rem !important;
}

.site-header .nav-actions .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .5rem !important;
  font-family: var(--font-sans, 'Inter', -apple-system, sans-serif) !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  border: 1.5px solid transparent !important;
  padding: .7rem 1.5rem !important;
  cursor: pointer !important;
  transition: all .2s !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.site-header .nav-actions .btn-primary {
  background: linear-gradient(160deg, #2d6638 0%, #1b3a28 100%) !important;
  color: #fff !important;
  box-shadow: 0 1px 4px rgba(13,34,24,.25) !important;
}



.top-bar {
  background: var(--green-900, #0d2218) !important;
  padding: 0.5rem 0 !important;
  font-size: 0.8rem !important;
  position: relative !important;
  z-index: 210 !important;
}

.top-bar-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.top-bar-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.topbar-phone-copy {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(255, 255, 255, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 2px 4px !important;
  border-radius: 4px !important;
}

.topbar-phone-copy:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  text-decoration-color: #ffffff !important;
}

.topbar-a11y-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-radius: 999px !important;
  padding: 0.25rem 0.85rem !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.topbar-a11y-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  transform: translateY(-1px) !important;
}


/* GLOBAL LAYOUT STABILITY & ZERO JUMPING */
html {
  overflow-y: scroll !important;
  scrollbar-gutter: stable;
}

@media (min-width: 992px) {
  html {
    font-size: 86% !important; /* Exakter 80-85% Maßstab für den luftigen, gestochen scharfen Agency-Look */
  }
}

@media (min-width: 769px) {
  .wrap {
    width: 100% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding-left: 2.2rem !important;
    padding-right: 2.2rem !important;
  }
}

/* ════ REFINED LUXURY TYPOGRAPHY & BREATHABLE AGENCY SCALE ════ */
:root {
  --max-w: 1280px;
}

/* Headings scale down from bulky giant sizes to crisp elegant sizes */
.hero-h1 {
  font-size: 2.75rem !important;
  font-weight: 700 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.015em !important;
}

.page-h1 {
  font-size: 2.45rem !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.01em !important;
}

.section-title {
  font-size: 1.95rem !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: -0.01em !important;
}

.section-lead, .page-lead, .hero-lead {
  font-size: 0.98rem !important;
  line-height: 1.68 !important;
  font-weight: 400 !important;
}

/* Straffung der Sektionen: von 5.5rem (88px) auf harmonische 3.8rem (60px) */
.section {
  padding: 3.8rem 0 !important;
}

.page-hero {
  padding: 3.5rem 0 0 !important;
}

.hero-left {
  padding: 3.8rem 0 !important;
}

/* Schlanke, ansprechende Kachel-Paddings & Gaps */
.service-card,
.path-card,
.benefit-card,
.pillar,
.pillar-card {
  padding: 1.85rem 1.65rem !important;
}

.info-box {
  padding: 2.4rem 2.2rem !important;
  gap: 2.2rem !important;
}

.contact-band {
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: var(--radius-xl, 24px) !important;
}

.contact-band-right {
  overflow: hidden !important;
  position: relative !important;
}

.contact-band-right picture,
.contact-band-right img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.process-item {
  padding: 1.35rem 1.75rem !important;
  gap: 1.35rem !important;
}

.process-cols {
  gap: 2.5rem !important;
}

@media (max-width: 768px) {
  .hero-h1 { font-size: 2rem !important; }
  .page-h1 { font-size: 1.9rem !important; }
  .section-title { font-size: 1.65rem !important; }
  .section { padding: 2.75rem 0 !important; }
}
/* ═══════════════════════════════════════════════════════════════
   AEQUITAS SCHULASSISTENZ — WOHLFÜHL-DESIGN & ANIMATION SUITE
   100% Bereinigt, Dezent, Hochästhetisch & Flawless Responsive
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. WOHLFÜHL-ATMOSPHÄRE & TYPOGRAFISCHE VERFEINERUNG ─── */
:root {
  --warm-bg-tint: radial-gradient(circle at 15% 15%, rgba(45, 102, 56, 0.035) 0%, transparent 55%),
                  radial-gradient(circle at 85% 85%, rgba(78, 158, 90, 0.035) 0%, transparent 55%);
  --card-warm-border: rgba(45, 102, 56, 0.12);
  --card-warm-shadow: 0 4px 20px -2px rgba(13, 34, 24, 0.05), 0 1px 4px rgba(0, 0, 0, 0.02);
  --card-hover-shadow: 0 16px 36px -6px rgba(13, 34, 24, 0.12), 0 0 0 1px rgba(45, 102, 56, 0.35);
}

body {
  background-image: var(--warm-bg-tint);
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── 2. FROSTED GLASS HEADER & TOP BAR ─── */
.top-bar {
  background: var(--green-900, #0d2218) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 210;
}

.top-bar-inner {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.top-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
}

.site-header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 200 !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(14px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%) !important;
  border-bottom: 1px solid rgba(221, 216, 207, 0.65) !important;
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  box-shadow: 0 6px 24px rgba(13, 34, 24, 0.08) !important;
  border-bottom: 1px solid rgba(221, 216, 207, 0.8) !important;
}

/* ─── 3. ANSPRUCHSVOLLE CARDS MIT SANFTEM TIEFEN-EFFEKT AUF ALLEN TABS ─── */
.path-card,
.pillar-card,
.pillar,
.feature-card,
.step-card,
.service-card,
.benefit-card,
.bring-item,
.team-card,
.team-row-card,
.info-card,
.info-box,
.process-item,
.contact-aside-card,
.form-card,
.pro-file-card,
.guidance-box,
.value-card {
  border: 1px solid var(--card-warm-border) !important;
  box-shadow: var(--card-warm-shadow) !important;
  border-radius: 18px !important;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.path-card:hover,
.pillar-card:hover,
.pillar:hover,
.step-card:hover,
.feature-card:hover,
.service-card:hover,
.benefit-card:hover,
.bring-item:hover,
.team-row-card:hover,
.info-box:hover,
.process-item:hover,
.contact-aside-card:hover,
.pro-file-card:hover,
.guidance-box:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--card-hover-shadow) !important;
  border-color: rgba(45, 102, 56, 0.45) !important;
}

.path-card-icon,
.pillar-num,
.step-num,
.feature-icon,
.service-icon,
.benefit-icon {
  transition: transform 0.25s ease, background 0.25s ease;
}

.path-card:hover .path-card-icon,
.pillar-card:hover .pillar-num,
.pillar:hover .pillar-num,
.step-card:hover .step-num,
.service-card:hover .service-icon,
.benefit-card:hover .benefit-icon {
  transform: scale(1.06);
}

/* ─── 4. MIKRO-SHIMMER AUF CTA BUTTONS ─── */
.btn-primary {
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(45, 102, 56, 0.25) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: rotate(25deg);
  animation: btnSheen 7s infinite ease-in-out;
  pointer-events: none;
}

@keyframes btnSheen {
  0%, 82% { left: -70%; }
  92%, 100% { left: 140%; }
}

.btn-primary:hover {
  transform: translateY(-1.5px) !important;
  box-shadow: 0 6px 20px rgba(45, 102, 56, 0.35) !important;
}

.btn-primary:active {
  transform: translateY(0.5px) !important;
  box-shadow: 0 2px 8px rgba(45, 102, 56, 0.2) !important;
}

.btn-outline:hover {
  border-color: var(--green-700, #24522e) !important;
  box-shadow: 0 3px 12px rgba(45, 102, 56, 0.12) !important;
}

/* ─── 5. VERBINDENDE PROZESS-LINIE ENTFERNT (CLEANES KARTEN-DESIGN) ─── */
.process-line {
  display: none !important;
}

/* ─── 6. SCROLL REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── 7. BACK TO TOP BUTTON ─── */
#back-to-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1b3a28;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 22px rgba(13, 34, 24, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9990;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: #2d6638;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(45, 102, 56, 0.35);
}

/* ─── 8. BARRIEREFREIHEIT: ELEGALTER TOP-BAR BUTTON (WIE IM SCREENSHOT EINGEKREIST) ─── */
.topbar-a11y-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-radius: 999px !important;
  padding: 0.25rem 0.85rem !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.topbar-a11y-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.topbar-a11y-btn svg {
  width: 13px !important;
  height: 13px !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

/* Footer Link */
.footer-a11y-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-a11y-link:hover {
  color: #ffffff;
}

/* ─── 9. ELEGANTES, ZENTRIERTES EINSTELLUNGS-MODAL ─── */
.a11y-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 34, 24, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.a11y-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.a11y-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(45, 102, 56, 0.2);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(13, 34, 24, 0.35), 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 1.75rem;
  transform: scale(0.94);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.a11y-backdrop.open .a11y-modal {
  transform: scale(1);
}

.a11y-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1.25rem;
}

.a11y-modal-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d2218;
}

.a11y-modal-title svg {
  width: 20px;
  height: 20px;
  fill: #2d6638;
}

.a11y-modal-close {
  background: #f2faf4;
  border: 1px solid rgba(45, 102, 56, 0.15);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #3d5242;
  cursor: pointer;
  transition: all 0.18s ease;
}

.a11y-modal-close:hover {
  background: #e8f4eb;
  color: #0d2218;
  transform: scale(1.05);
}

.a11y-modal-intro {
  font-size: 0.85rem;
  color: #556b5a;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* Controls Grid */
.a11y-section {
  background: #faf8f4;
  border: 1px solid rgba(45, 102, 56, 0.1);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

.a11y-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.a11y-row-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a2b1e;
}

.a11y-row-desc {
  font-size: 0.76rem;
  color: #6b7f6e;
  margin-top: 0.15rem;
}

.a11y-font-group {
  display: flex;
  gap: 0.4rem;
}

.a11y-font-btn {
  background: #ffffff;
  border: 1.5px solid #d4ded6;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0d2218;
  cursor: pointer;
  transition: all 0.18s ease;
}

.a11y-font-btn:hover {
  background: #e8f4eb;
  border-color: #2d6638;
}

.a11y-font-btn.active {
  background: #2d6638;
  border-color: #2d6638;
  color: #ffffff;
}

.a11y-switch-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d4ded6;
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  margin-top: 0.6rem;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: left;
}

.a11y-switch-btn:hover {
  border-color: #3a7d45;
  background: #fdfdfd;
}

.a11y-switch-btn.active {
  background: #eef7f0;
  border-color: #2d6638;
}

.a11y-switch-label {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a2b1e;
}

.a11y-switch-label svg {
  width: 18px;
  height: 18px;
  color: #2d6638;
  flex-shrink: 0;
}

.a11y-switch-status {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e2e8e4;
  color: #556b5a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.18s ease;
}

.a11y-switch-btn.active .a11y-switch-status {
  background: #2d6638;
  color: #ffffff;
}

.a11y-modal-footer {
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.a11y-reset-link {
  background: none;
  border: none;
  color: #6b7f6e;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0.2rem;
  transition: color 0.18s ease;
}

.a11y-reset-link:hover {
  color: #0d2218;
  text-decoration: underline;
}

.a11y-apply-btn {
  background: #1b3a28;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease;
}

.a11y-apply-btn:hover {
  background: #2d6638;
}

/* ─── 10. ACTIVE BARRIEREFREIHEIT MODES ─── */
html.a11y-font-1 { font-size: 17.5px !important; }
html.a11y-font-2 { font-size: 19px !important; }
html.a11y-font-3 { font-size: 21px !important; }



/* LESEFREUNDLICHE SCHRIFT */
body.a11y-readable-font,
body.a11y-readable-font * {
  font-family: Arial, Helvetica, Verdana, sans-serif !important;
  letter-spacing: 0.02em !important;
  line-height: 1.8 !important;
}

/* ANIMATIONEN REDUZIEREN */
body.a11y-reduced-motion *,
body.a11y-reduced-motion *::before,
body.a11y-reduced-motion *::after {
  animation: none !important;
  transition: none !important;
}

body.a11y-reduced-motion .trust-marquee-group,
body.a11y-reduced-motion .process-line,
body.a11y-reduced-motion .btn-primary::after {
  animation: none !important;
  transform: none !important;
}

/* ─── 11. MOBIL-OPTIMIERUNG ─── */
@media (max-width: 768px) {
  .workspace-grid,
  .pillars-grid,
  .page-intro-inner,
  .form-row,
  .footer-grid,
  .hero {
    grid-template-columns: 1fr !important;
  }

  .top-bar-inner {
    flex-direction: column !important;
    gap: 0.45rem !important;
    text-align: center !important;
    padding: 0.55rem 1rem !important;
  }

  .top-bar-actions {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 0.25rem;
  }

  #back-to-top {
    bottom: 1.15rem;
    right: 1.15rem;
    width: 38px;
    height: 38px;
  }

  .a11y-modal {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .topbar-a11y-btn {
    font-size: 0.72rem !important;
    padding: 0.22rem 0.65rem !important;
  }
  
  .a11y-switch-btn {
    padding: 0.65rem 0.75rem;
  }
}

/* ─── 12. BULLETPROOF MOBILE SAFEGUARDS (ZERO OVERFLOW & IOS OPTIMIZATION) ─── */
html, body {
  overflow-x: clip !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .workspace-grid,
  .pillars-grid,
  .page-intro-inner,
  .form-row,
  .footer-grid,
  .hero {
    grid-template-columns: 1fr !important;
  }

  /* Verhindert unerwünschtes Auto-Zoomen auf iPhones bei Formularfeldern */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* Mindesthöhe für angenehme Daumen-Bedienung */
  .btn,
  .form-submit,
  .team-action-pill {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Perfekte Randabstände auf Handys */
  .wrap {
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
    max-width: 100% !important;
  }
}

/* ─── 13. PROPORTIONALE ELEGANZ & KOMPAKTE GRÖSSEN (FÜR ALLE TABS) ─── */
.section {
  padding: 3.25rem 0 !important;
}
.section-header {
  margin-bottom: 2rem !important;
}
.section-title {
  font-size: 2.05rem !important;
  line-height: 1.2 !important;
}
.page-hero,
.page-intro,
.hero-banner {
  padding: 3.25rem 0 2.75rem !important;
}
.page-h1,
.hero-h1 {
  font-size: 2.35rem !important;
  line-height: 1.18 !important;
}
.page-lead,
.hero-lead,
.hero-sub {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  max-width: 620px !important;
}
.path-card,
.pillar-card,
.pillar,
.feature-card,
.step-card,
.service-card,
.benefit-card,
.bring-item,
.team-row-card {
  padding: 1.5rem 1.45rem !important;
}
.apply-band {
  padding: 2.35rem 2.5rem !important;
}

/* 14. DEDIZIERTE MOBILE & SMARTPHONE FEINABSTIMMUNG (<= 768px & <= 480px) */
@media (max-width: 768px) {
  .workspace-grid,
  .pillars-grid,
  .page-intro-inner,
  .form-row,
  .footer-grid,
  .hero {
    grid-template-columns: 1fr !important;
  }

  .section {
    padding: 2.5rem 0 !important;
  }
  .section-header {
    margin-bottom: 1.65rem !important;
  }
  .section-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
  .page-hero,
  .page-intro,
  .hero-banner {
    padding: 2.5rem 0 2rem !important;
  }
  .page-h1,
  .hero-h1 {
    font-size: 1.95rem !important;
    line-height: 1.22 !important;
  }
  .page-lead,
  .hero-lead,
  .hero-sub {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  .path-card,
  .pillar-card,
  .pillar,
  .feature-card,
  .step-card,
  .service-card,
  .benefit-card,
  .team-row-card {
    padding: 1.35rem 1.15rem !important;
  }
  .concierge-card,
  .contact-box,
  .form-panel {
    padding: 1.45rem 1.15rem !important;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2rem 0 !important;
  }
  .section-title {
    font-size: 1.5rem !important;
  }
  .page-h1,
  .hero-h1 {
    font-size: 1.7rem !important;
  }
  .brand-name {
    font-size: 1.15rem !important;
  }
  .brand-tag {
    font-size: 0.68rem !important;
  }
  .wrap {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   AEQUITAS — ULTIMATE MOBILE & TOUCH OPTIMIZATION SUITE
   100% Responsive, Touch Targets >= 44px, No iOS Zoom, Zero Overflow
   ═══════════════════════════════════════════════════════════════ */

/* GLOBAL MOBILE CONTAINMENT */
html, body {
  overflow-x: clip !important;
  max-width: 100vw !important;
  -webkit-text-size-adjust: 100% !important;
  touch-action: manipulation;
}

/* TAP TARGET ACCESSIBILITY & PREVENTION OF DELAY */
a, button, input, select, textarea, .btn, .hamburger, .switcher-btn, .contact-btn {
  touch-action: manipulation;
}

/* 1. DESKTOP VS MOBILE NAVIGATION */
@media (min-width: 961px) {
  .site-header .main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 1.75rem !important;
  }
  .hamburger {
    display: none !important;
  }
}

@media (max-width: 960px) {
  .site-header .nav-inner {
    height: 72px !important;
    min-height: 72px !important;
    position: relative !important;
  }

  /* HAMBURGER BUTTON (MIN 44x44px TAP TARGET) */
  .hamburger {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    font-size: 1.6rem !important;
    line-height: 1 !important;
    color: var(--green-900, #0d2218) !important;
    cursor: pointer !important;
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    flex-shrink: 0 !important;
    border-radius: 10px !important;
    padding: 0 !important;
    margin-left: auto !important;
    transition: background 0.2s, transform 0.15s !important;
    z-index: 220 !important;
  }
  .hamburger:hover, .hamburger:active {
    background: rgba(45, 102, 56, 0.1) !important;
  }

  /* MOBILE DROPDOWN DRAWER */
  .site-header .main-nav {
    display: none !important;
  }

  .site-header .main-nav.open,
  .site-header.nav-open .main-nav,
  .site-header .main-nav[style*="display: flex"],
  .site-header .main-nav[style*="display:flex"] {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 3px solid var(--green-600, #2d6638) !important;
    padding: 1.25rem 1.5rem 1.75rem !important;
    gap: 0.55rem !important;
    box-shadow: 0 20px 40px rgba(13, 34, 24, 0.18) !important;
    z-index: 999 !important;
    animation: mobileNavSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }

  @keyframes mobileNavSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .site-header .main-nav.open .nav-link,
  .site-header.nav-open .main-nav .nav-link {
    font-size: 1.12rem !important;
    font-weight: 500 !important;
    color: var(--green-900, #0d2218) !important;
    padding: 0.85rem 0.25rem !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid rgba(13, 34, 24, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-decoration: none !important;
    min-height: 44px !important;
    transition: color 0.15s ease, border-color 0.15s ease !important;
    box-shadow: none !important;
  }
  .site-header .main-nav.open .nav-link:last-child,
  .site-header.nav-open .main-nav .nav-link:last-child {
    border-bottom: none !important;
  }
  .site-header .main-nav.open .nav-link::after,
  .site-header.nav-open .main-nav .nav-link::after {
    display: none !important;
  }

  .site-header .main-nav.open .nav-link:active,
  .site-header .main-nav.open .nav-link.active,
  .site-header.nav-open .main-nav .nav-link.active {
    background: transparent !important;
    color: var(--green-700, #24522e) !important;
    font-weight: 700 !important;
    border-bottom: 2.5px solid var(--green-600, #2d6638) !important;
    box-shadow: none !important;
  }

  .site-header .nav-actions {
    display: none !important;
  }
}

/* 2. TOP-BAR RESPONSIVE PERFECTION (KOMPAKT, SCHLANK & HOCHWERTIG) */
@media (max-width: 768px) {
  .top-bar {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.74rem !important;
    line-height: 1.25 !important;
  }
  .top-bar-inner {
    flex-direction: column !important;
    gap: 0.25rem !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .top-bar-regions, .top-bar-region {
    font-size: 0.70rem !important;
    opacity: 0.85 !important;
    line-height: 1.2 !important;
  }
  .top-bar-actions {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.85rem !important;
    flex-wrap: nowrap !important;
  }
  .top-bar-contact {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0 !important; /* Hides raw text 'Kostenlose Erstberatung:' on mobile */
    line-height: 1 !important;
  }
  .top-bar-contact a {
    font-size: 0.74rem !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 255, 255, 0.4) !important;
    padding: 0 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
  }
  .top-bar-contact a::before {
    content: '📞 ';
    font-size: 0.70rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-right: 3px !important;
  }
  .topbar-a11y-btn {
    min-height: 24px !important;
    height: 24px !important;
    padding: 0 0.6rem !important;
    font-size: 0.68rem !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}

/* 3. HERO & BANNER ADAPTATION */
@media (max-width: 768px) {
  .hero {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
  }
  .hero-left {
    padding: 2.75rem 0 2.25rem !important;
  }
  .hero-h1, .page-h1 {
    font-size: 1.95rem !important;
    line-height: 1.22 !important;
  }
  .hero-lead, .page-lead, .hero-sub {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    min-height: 50px !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
  }
}

/* 4. FORMULAR & TOUCH INPUTS (KEIN IOS ZOOM) */
input, select, textarea, .form-input, .form-select, .form-textarea {
  font-size: 16px !important; /* Verhindert Auto-Zoom auf Apple Geräten */
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  .form-topic-switcher {
    flex-direction: column !important;
    gap: 0.45rem !important;
    padding: 0.45rem !important;
    position: relative !important;
    z-index: 10 !important;
  }
  .switcher-btn {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 0.92rem !important;
    padding: 0.65rem 1rem !important;
    justify-content: flex-start !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 11 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: rgba(36, 82, 46, 0.2) !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

/* Safety: Form Success Card strictly hidden unless active */
#form-success-card:not(.is-visible),
.form-success-card:not(.is-visible) {
  display: none !important;
}
#form-success-card.is-visible,
.form-success-card.is-visible {
  display: block !important;
}
  .form-panel, .concierge-card, .contact-box {
    padding: 1.35rem 1rem !important;
  }
  .submit-cta-btn {
    width: 100% !important;
    min-height: 52px !important;
    font-size: 1rem !important;
    justify-content: center !important;
  }

  /* PERSONEN-CARDS AUF DEM HANDY VOLLFLÄCHIG & LEICHT TIPPBAR */
  .person-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .person-actions .contact-btn {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
    font-size: 0.88rem !important;
  }
}

/* 5. BACK TO TOP BUTTON OPTIMIERUNG */
#back-to-top {
  width: 48px !important;
  height: 48px !important;
  bottom: 22px !important;
  right: 20px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--green-900, #0d2218) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.28) !important;
  z-index: 9999 !important;
  transition: opacity 0.3s, transform 0.2s !important;
}

/* 6. ULTRA-COMPACT SMARTPHONES (<= 380px) */
@media (max-width: 380px) {
  .wrap {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
  }
  .site-header .brand {
    gap: 0.65rem !important;
  }
  .site-header .brand img {
    height: 44px !important;
  }
  .site-header .brand-name {
    font-size: 0.98rem !important;
  }
  .site-header .brand-tag {
    font-size: 0.62rem !important;
  }
  .hero-h1, .page-h1 {
    font-size: 1.65rem !important;
  }
}

/* 7. KARRIERE SECTION-TINT / BRING-GRID BALANCED LAYOUT */
@media (min-width: 961px) {
  .bring-grid {
    display: grid !important;
    grid-template-columns: 1fr 1.15fr !important;
    gap: 3.25rem !important;
    align-items: start !important;
  }
  .bring-text {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 960px) {
  .section-tint {
    padding: 2.75rem 0 !important;
  }
  .bring-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
  .bring-text h2 {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.75rem !important;
  }
  .bring-text p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.85rem !important;
  }
  .bring-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  .bring-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
    padding: 1rem 1.15rem !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid rgba(221, 216, 207, 0.75) !important;
    box-shadow: 0 2px 10px rgba(13, 34, 24, 0.04) !important;
  }
  .bring-item-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 10px !important;
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }
  .bring-item-body h4 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.2rem !important;
  }
  .bring-item-body p {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
  }
}


/* ══════════════════════════════════════════════════════════
   8. UNIFIED SIGNATURE GREEN ACCENT (#409153) FOR HERO TITLES
   ══════════════════════════════════════════════════════════ */
.hero-h1 em,
.page-h1 em,
.page-intro h1 em,
.intro-left h1 em,
.section-hero h1 em,
.hero-banner h1 em,
h1 em {
  color: #409153 !important;
  font-style: italic !important;
}

/* ══════════════════════════════════════════════════════════
   9. LUXURY SPACIOUS PROCESS CARDS (LEISTUNGEN & ABLAUF)
   ══════════════════════════════════════════════════════════ */
.process-cols {
  display: grid !important;
  grid-template-columns: 1.22fr 0.78fr !important;
  gap: 3.5rem !important;
  align-items: center !important;
}
.process-steps {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
}
.process-item {
  display: grid !important;
  grid-template-columns: 54px 1fr !important;
  gap: 1.75rem !important;
  padding: 1.75rem 2.25rem !important;
  background: #ffffff !important;
  border: 1px solid rgba(45, 102, 56, 0.14) !important;
  border-radius: 20px !important;
  box-shadow: 0 4px 20px rgba(13, 34, 24, 0.04) !important;
  align-items: flex-start !important;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}
.process-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(13, 34, 24, 0.08) !important;
  border-color: rgba(45, 102, 56, 0.35) !important;
}
.p-num {
  width: 54px !important;
  height: 54px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #0d2218 0%, #24522e 100%) !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  letter-spacing: .02em !important;
  box-shadow: 0 6px 16px rgba(13, 34, 24, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.p-body h4 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #0d2218 !important;
  margin: 0 0 0.5rem !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
}
.p-body p {
  font-size: 0.95rem !important;
  color: #3d5242 !important;
  line-height: 1.72 !important;
  margin: 0 !important;
  font-weight: 400 !important;
}
@media (max-width: 960px) {
  .process-cols {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .process-item {
    padding: 1.35rem 1.25rem !important;
    gap: 1.15rem !important;
  }
  .p-num {
    width: 46px !important;
    height: 46px !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
  }
  .p-body h4 {
    font-size: 1.05rem !important;
    margin-bottom: 0.35rem !important;
  }
  .p-body p {
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
  }
}

/* ══════════════════════════════════════════════════════════
   10. UNIFIED SQUIRCLE NUMBERS FOR STEP-CARDS (INDEX)
   ══════════════════════════════════════════════════════════ */
.step-num {
  width: 54px !important;
  height: 54px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #0d2218 0%, #24522e 100%) !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 1.25rem !important;
  letter-spacing: .02em !important;
  box-shadow: 0 6px 16px rgba(13, 34, 24, 0.16) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}
.step-card h4 {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  color: #0d2218 !important;
  margin-bottom: 0.5rem !important;
}
.step-card p {
  font-size: 0.88rem !important;
  color: #3d5242 !important;
  line-height: 1.65 !important;
}

/* ═══════════════════════════════════════════════════════════════
   11. MASTER MOBILE & TABLET ANTI-CUTOFF SUITE (100% RESPONSIVE)
   ═══════════════════════════════════════════════════════════════ */

/* Universal Containment & Text Wrap */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.site-header .brand img,
.brand img {
  height: 52px !important;
  width: auto !important;
  max-height: 52px !important;
  max-width: 220px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.footer-brand img,
.site-footer .footer-brand img {
  height: 46px !important;
  width: auto !important;
  max-height: 46px !important;
  max-width: 200px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

/* Long Word & German Hyphenation Safety on Mobile */
@media (max-width: 768px) {
  h1, h2, h3, h4, h5, h6,
  .hero-h1, .page-h1, .section-title,
  p, li, a, span, .btn, .tag, label {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }

  a[href^="mailto:"], a[href^="tel:"], .footer-links a, .contact-row a {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}

/* TABLET RESPONSIVE RULES (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .wrap {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    max-width: 100% !important;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .features-grid,
  .pillars-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.25rem !important;
  }
  .hero-split,
  .hero-inner,
  .page-intro-inner {
    gap: 2.5rem !important;
  }
  .info-box {
    padding: 2.5rem 2rem !important;
    gap: 2rem !important;
  }
  .contact-band-left {
    padding: 2.5rem 2rem !important;
  }
  .path-grid {
    gap: 1.5rem !important;
  }
}

/* MOBILE PHONES & PHABLETS (<= 768px) */
@media (max-width: 768px) {
  .wrap {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Force 1-Column Stacking so nothing clips */
  .path-grid,
  .features-grid,
  .steps-grid,
  .pillars-grid,
  .benefits-grid,
  .service-grid,
  .footer-grid,
  .contact-band,
  .info-box,
  .hero-split,
  .workspace-grid,
  .bring-grid,
  .apply-band,
  .hero-inner,
  .page-intro-inner,
  .form-row,
  .legal-inner {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  /* Buttons on mobile */
  .btn {
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
  }
  .hero-actions,
  div:has(> .btn) {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .hero-actions .btn,
  .page-hero .btn {
    width: 100% !important;
  }

  /* Contact Band Mobile Safety */
  .contact-band {
    display: flex !important;
    flex-direction: column !important;
    border-radius: var(--radius-xl, 20px) !important;
    overflow: hidden !important;
    padding: 0 !important;
  }
  .contact-band-left {
    padding: 2.25rem 1.35rem !important;
  }
  .contact-band-right {
    min-height: 250px !important;
    max-height: 320px !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .contact-band-right picture,
  .contact-band-right img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Info Box Funding Mobile Safety */
  .info-box {
    padding: 2rem 1.25rem !important;
    gap: 1.5rem !important;
  }

  /* Cards Mobile Padding */
  .service-card,
  .path-card,
  .feature-card,
  .pillar,
  .benefit-card,
  .step-card {
    padding: 1.5rem 1.2rem !important;
    border-radius: 16px !important;
  }

  /* Admin Bar on Mobile */
  #_abar {
    padding: 0.5rem 0.75rem !important;
    gap: 0.4rem !important;
    justify-content: center !important;
  }
  #_abar button {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.75rem !important;
  }
}

/* COMPACT SMARTPHONES (<= 480px) */
@media (max-width: 480px) {
  .wrap {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .hero-h1, .page-h1 {
    font-size: 1.85rem !important;
    line-height: 1.2 !important;
  }
  .section-title {
    font-size: 1.55rem !important;
    line-height: 1.22 !important;
  }
  .section {
    padding: 2.25rem 0 !important;
  }
  .top-bar {
    padding: 0.4rem 0.5rem !important;
    font-size: 0.72rem !important;
  }
  .site-header .nav-inner {
    height: 62px !important;
    min-height: 62px !important;
  }
  .site-header .brand img {
    height: 42px !important;
  }
  .site-header .brand-name {
    font-size: 1.05rem !important;
  }
  .site-header .brand-tag {
    font-size: 0.62rem !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 0.85rem !important;
    text-align: center !important;
  }
  .footer-copy-wrap {
    align-items: center !important;
    text-align: center !important;
  }
  #back-to-top {
    width: 42px !important;
    height: 42px !important;
    bottom: 16px !important;
    right: 14px !important;
  }
}



/* ==========================================================================
   BAUKASTEN TEMPLATES & DYNAMIC CONTENT CARDS (RESPONSIVE & MOBILE POLISHED)
   ========================================================================== */
.admin-added-box {
  box-sizing: border-box !important;
  max-width: 100% !important;
  width: 100% !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
  position: relative !important;
}

.bk-info-card {
  display: block !important;
  background: var(--green-100, #e8f4eb) !important;
  border: 1.5px solid var(--green-600, #2d6638) !important;
  border-radius: 12px !important;
  padding: 1.35rem 1.6rem !important;
  margin: 1.2rem 0 !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.highlight-box {
  display: block !important;
  background: linear-gradient(135deg, #0d2218, #1b3a28) !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  padding: 1.8rem 1.8rem !important;
  margin: 1.4rem 0 !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.leistung-card.admin-added-box {
  display: block !important;
  background: #ffffff !important;
  border: 1px solid var(--border, #ddd8cf) !important;
  border-radius: 14px !important;
  padding: 1.6rem !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
  margin: 1rem 0 !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.path-card.admin-added-box {
  display: block !important;
  background: var(--cream, #faf8f4) !important;
  border: 1px solid var(--border, #ddd8cf) !important;
  border-radius: 14px !important;
  padding: 1.8rem !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
  margin: 1rem 0 !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.bring-item.admin-added-box {
  display: flex !important;
  gap: 1rem !important;
  align-items: flex-start !important;
  background: #ffffff !important;
  border: 1px solid var(--border, #ddd8cf) !important;
  border-radius: 10px !important;
  padding: 1.1rem 1.3rem !important;
  margin: 0.75rem 0 !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.bk-subbox.admin-added-box {
  display: block !important;
  background: var(--green-100, #e8f4eb) !important;
  border: 1px solid var(--green-600, #2d6638) !important;
  border-radius: 8px !important;
  padding: 0.9rem 1.1rem !important;
  margin: 0.8rem 0 !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .admin-added-box {
    padding: 1.25rem 1rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 10px !important;
  }
  .highlight-box {
    padding: 1.35rem 1.15rem !important;
  }
  .highlight-box h3 {
    font-size: 1.15rem !important;
  }
  .highlight-box p {
    font-size: 0.9rem !important;
  }
  .bk-info-card {
    padding: 1.15rem 1rem !important;
  }
  .bk-info-card strong {
    font-size: 0.98rem !important;
  }
  .bk-info-card p {
    font-size: 0.88rem !important;
  }
  .bring-item.admin-added-box {
    padding: 0.95rem 0.85rem !important;
    gap: 0.75rem !important;
  }
  .bring-item.admin-added-box h4 {
    font-size: 0.98rem !important;
  }
  .bring-item.admin-added-box p {
    font-size: 0.88rem !important;
  }
  .path-card.admin-added-box,
  .leistung-card.admin-added-box {
    padding: 1.35rem 1.1rem !important;
  }
}


/* ==========================================================================
   TAGS & PILLS (EXACT SCREEN 2 LOOK ACROSS ALL PAGES)
   ========================================================================== */
.service-tags,
.pills,
.tags,
.tags-wrap,
.tag-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  align-items: center !important;
  margin-top: 0.75rem !important;
  margin-bottom: 0.5rem !important;
  list-style: none !important;
  padding: 0 !important;
}

.tag,
.pill,
.badge-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--green-100, #e8f4eb) !important;
  color: var(--green-700, #24522e) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.28rem 0.72rem !important;
  border-radius: 100px !important;
  line-height: 1.25 !important;
  width: fit-content !important;
  max-width: fit-content !important;
  align-self: flex-start !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(45, 102, 56, 0.18) !important;
  transition: all 0.15s ease !important;
  cursor: default !important;
  white-space: normal !important;
  margin: 0 !important;
}

body.admin-mode .tag[contenteditable="true"] {
  cursor: text !important;
  outline: 1.5px dashed rgba(45, 102, 56, 0.7) !important;
  outline-offset: 2px !important;
}

.bk-add-tag-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1.5px dashed var(--green-600, #2d6638) !important;
  color: var(--green-800, #1b3a28) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 0.26rem 0.65rem !important;
  border-radius: 100px !important;
  cursor: pointer !important;
  width: fit-content !important;
  max-width: fit-content !important;
  align-self: flex-start !important;
  line-height: 1.25 !important;
  transition: all 0.15s ease !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

.bk-add-tag-btn:hover {
  background: var(--green-100, #e8f4eb) !important;
  border-color: var(--green-700, #24522e) !important;
  transform: translateY(-1px) !important;
}

/* Guard against stretching if tags ever sit inside flex column / check-list */
.check-list .tag,
.path-card .tag {
  width: fit-content !important;
  max-width: fit-content !important;
  align-self: flex-start !important;
}


/* GUARANTEED VISIBLE PRIVACY CONSENT CHECKBOX */
#privacy-consent,
input[name="privacy_consent"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  margin: 2px 0 0 0 !important;
  cursor: pointer !important;
  accent-color: #24522e !important;
  flex-shrink: 0 !important;
}

.privacy-consent-wrapper {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  cursor: pointer !important;
}

/* UNIVERSAL CUSTOM CHECKBOX FOR HELIUM & ALL BROWSERS */
.custom-cb-visual {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  border: 2px solid #24522e !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

input#privacy-consent:checked + .custom-cb-visual {
  background: #24522e !important;
  border-color: #24522e !important;
}

input#privacy-consent:checked + .custom-cb-visual svg {
  display: block !important;
}

.custom-cb-visual svg,
.custom-cb-visual svg polyline {
  pointer-events: none !important;
}
.privacy-consent-wrapper {
  cursor: pointer !important;
}
