/* ============================================
   beeconnected GmbH – Komponenten
   ============================================ */

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform 0.1s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--honey);
  color: var(--ink);
  border-color: var(--honey);
}
.btn-primary:hover {
  background: var(--honey-dark);
  border-color: var(--honey-dark);
  color: var(--white);
  box-shadow: var(--shadow-honey);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--honey);
  background: var(--honey-light);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--honey-dark);
  border-color: transparent;
  padding-left: 0;
}
.btn-ghost:hover { color: var(--ink); }

.btn svg { flex-shrink: 0; }

/* ---- KARTEN ---- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: rgba(245,166,35,0.4);
  box-shadow: var(--shadow-honey);
}
.card.featured {
  border-color: var(--honey);
  box-shadow: var(--shadow-honey);
}
.card.flat { box-shadow: none; }
.card.flat:hover { box-shadow: var(--shadow-md); }

/* ---- GRID LAYOUTS ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* ---- BADGE / TAG ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--honey-light);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--honey-dark);
}
.badge-neutral {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink-soft);
}

/* ---- FEATURE ICON ---- */
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--honey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--honey-dark);
  stroke: currentColor;
}

/* ---- FEATURE LIST (checkmarks, no emoji) ---- */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.feature-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23C47D0A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ---- STATS LEISTE ---- */
.stats-row {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stats-row.centered { justify-content: center; }
.stat-item { flex: 0 0 auto; }
.stat-number {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
}
.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 0.2rem;
}

.stats-divider {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 2rem;
}

/* ---- PROZESS / STEPS ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 1px;
  background: linear-gradient(90deg, var(--honey) 0%, var(--honey) 100%);
  border-top: 1.5px dashed rgba(245,166,35,0.4);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem;
  text-align: center;
}
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--honey-light);
  border: 2px solid var(--honey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--honey-dark);
  margin: 0 auto 1.25rem;
  background: var(--white);
}
.step-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { display: none; }
  .step {
    text-align: left;
    padding: 1rem 0 1rem 3.5rem;
    position: relative;
  }
  .step-number {
    position: absolute;
    left: 0;
    top: 1rem;
    width: 40px;
    height: 40px;
    margin: 0;
    font-size: 16px;
  }
  .step-title { font-size: 15px; margin-bottom: 0.2rem; }
  .step-desc { font-size: 13px; line-height: 1.55; }
}

/* ---- ACCORDION (FAQ) ---- */
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--honey-dark); }
.accordion-trigger[aria-expanded="true"] { color: var(--honey-dark); }
.accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform var(--transition), color var(--transition);
}
.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
  color: var(--honey-dark);
}
.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
}
.accordion-body.open { grid-template-rows: 1fr; }
.accordion-body-inner {
  overflow: hidden;
}
.accordion-body-inner p {
  padding-bottom: 1.25rem;
  font-size: 15px;
  line-height: 1.75;
}

/* ---- FORMULAR ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--honey);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.12);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 0.3rem; }

/* ---- CTA BLOCK ---- */
.cta-block {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
}
.cta-block h2 { color: var(--white); }
.cta-block p { color: rgba(255,255,255,0.5); max-width: 480px; margin: 0.75rem auto 2rem; }

/* ---- TESTIMONIAL ---- */
.testimonial {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  border: 1px solid var(--border);
}
.testimonial .stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}
.testimonial .stars svg {
  width: 16px;
  height: 16px;
  fill: var(--honey);
  color: var(--honey);
}
.testimonial .quote {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.testimonial .author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial .author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--honey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--honey-dark);
  flex-shrink: 0;
}
.testimonial .author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.testimonial .author-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 80px;
  transition: box-shadow var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 80px;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-logo {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--ink);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: 80px;
}
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
}
.nav-logo span { color: var(--honey); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 15px;
  color: var(--ink-soft);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
  color: var(--honey-dark);
  font-weight: 500;
}

/* Zwischen-Breakpoint: Gap reduzieren bevor Hamburger greift */
@media (max-width: 1280px) and (min-width: 1025px) {
  .nav-links {
    gap: 1.25rem;
  }
  .nav-links a {
    font-size: 14px;
  }
}

/* Mobile hamburger toggle – versteckt auf Desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  align-items: center;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger ab 1024px – deckt Tablet + Mobile ab */
@media (max-width: 1024px) {
  .nav-logo img { height: 32px; }
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 80px; left: 0; right: 0; bottom: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding-top: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity var(--transition), transform var(--transition);
    overflow-y: auto;
    z-index: 99;
  }
  .nav-links a {
    font-size: 17px;
    padding: 0.9rem 2rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:first-child { border-top: 1px solid var(--border); }
  .nav-links .btn {
    width: auto;
    margin: 1.5rem auto 1rem;
    text-align: center;
    justify-content: center;
    border-bottom: none !important;
  }

  body.nav-open .nav-links {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  /* backdrop-filter erzeugt einen Containing-Block für fixed-Kinder.
     Beim Öffnen des Menüs deaktivieren, damit .nav-links relativ zum
     Viewport positioniert wird (sonst Höhe = 0). */
  body.nav-open .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--surface);
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 480px) {
  .nav-logo img { height: 28px; }
}

/* ---- HERO VISUAL ---- */
.hero-visual {
  background: var(--honey-light);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.hero-visual svg {
  width: 100%;
  height: 100%;
}

/* ---- PARTNER LOGO BAR ---- */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}
.logo-bar-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-bar-item img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter var(--transition), opacity var(--transition);
}
.logo-bar-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .logo-bar {
    gap: 1.5rem 2rem;
  }
  .logo-bar-item img {
    height: 28px;
  }
}
@media (max-width: 480px) {
  .logo-bar-item img {
    height: 24px;
  }
}

/* ---- PAGE HERO (Unterseiten) ---- */
.page-hero {
  padding-top: 136px;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, var(--honey-light) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-top: 0.5rem; }
.page-hero .container { padding-top: 0; padding-bottom: 0; }

@media (max-width: 768px) {
  .page-hero { padding-top: 100px; padding-bottom: 2rem; }
}

/* Fallback: catch any remaining inline 2-col grids */
@media (max-width: 1024px) {
  section .container > div[style*="grid-template-columns: 1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
  }
}

/* ---- TRUST BAR ---- */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: var(--muted);
}
.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--honey-dark);
  flex-shrink: 0;
}

/* ---- Nav dezent Link (B2B, sekundär) ---- */
.nav-link-muted {
  color: var(--muted) !important;
  font-size: 14px !important;
}
.nav-link-muted:hover { color: var(--ink-soft) !important; }

/* ---- Problem/Lösung Vergleich ---- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 700px) {
  .compare-grid { grid-template-columns: 1fr; }
}
.compare-col {
  border-radius: var(--radius-md);
  padding: 2rem;
}
.compare-col.bad {
  background: #f9f9f7;
  border: 1px solid var(--border);
}
.compare-col.good {
  background: var(--honey-light);
  border: 1px solid rgba(239,125,0,0.25);
}
.compare-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.compare-col.bad .compare-col-title { color: var(--muted); }
.compare-col.good .compare-col-title { color: var(--honey-dark); }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.compare-list li .icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.compare-col.bad .icon { color: var(--muted); }
.compare-col.good .icon { color: var(--honey-dark); }

/* ---- Hero Package Card ---- */
.hero-package-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.hero-package-card .price-display {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin: 1rem 0 1.5rem;
}
.hero-package-card .price-amount {
  font-family: var(--font-serif);
  font-size: 42px;
  color: var(--ink);
  line-height: 1;
}
.hero-package-card .price-suffix {
  font-size: 14px;
  color: var(--muted);
}

/* ---- B2B Teaser Block ---- */
.b2b-teaser {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
}
@media (max-width: 768px) {
  .b2b-teaser { padding: 2.5rem 1.5rem; border-radius: var(--radius-lg); }
}
.b2b-teaser h2 { color: var(--white); }
.b2b-teaser p { color: rgba(255,255,255,0.6); }
.b2b-teaser .b2b-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.25rem 0 2rem;
}
.b2b-teaser .b2b-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.b2b-teaser .b2b-list li svg {
  flex-shrink: 0;
  color: var(--honey);
  margin-top: 2px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--ink); }

.footer .nav-logo { height: auto; }
.footer .nav-logo img { height: 40px; width: auto; display: block; }

@media (max-width: 768px) {
  .footer-inner { padding: 0 1.5rem; }
}
@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* ---- HIGHLIGHT BOX ---- */
.highlight-box {
  background: var(--honey-light);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.highlight-box p { font-size: clamp(13px, 1.5vw, 14px); }
.highlight-box svg {
  width: 20px;
  height: 20px;
  color: var(--honey-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- ICON ROW ---- */
.icon-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.icon-row-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1 0 200px;
}
.icon-row-item .feature-icon { margin-bottom: 0; }
.icon-row-item h4 { margin-bottom: 0.25rem; color: var(--ink); }
.icon-row-item p { font-size: 14px; }

/* ---- PRICING CARD ---- */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.pricing-card.featured {
  border-color: var(--honey);
  box-shadow: var(--shadow-honey);
  position: relative;
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--honey);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-price {
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--ink);
  margin: 1rem 0 0.25rem;
}
.pricing-period { font-size: 14px; color: var(--muted); margin-bottom: 1.5rem; }

/* ---- MOBILE RESPONSIVE BUTTONS ---- */
@media (max-width: 768px) {
  .btn {
    padding: 11px 20px;
    font-size: 14px;
    border-radius: 6px;
    touch-action: manipulation;
    -webkit-appearance: none;
  }
  
  .btn-large {
    padding: 14px 28px;
    font-size: 16px;
  }
  
  /* Full-width buttons on very small screens */
  .btn-block {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Improve touch targets on small devices */
  .btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   RESPONSIVE UTILITY CLASSES
   ============================================ */

/* Button groups – replaces inline flex+gap patterns */
.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn-group.centered { justify-content: center; }

/* Large CTA button */
.btn-lg { font-size: clamp(15px, 1.8vw, 17px); padding: 14px 32px; }

/* Two-column content grid with large gap */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* On mobile: image always on top */
  .content-grid .content-img { order: -1; }
}

/* Narrow content wrappers (used inside .container) */
.content-narrow { max-width: min(800px, 100%); margin-left: auto; margin-right: auto; }
.content-sm     { max-width: min(680px, 100%); margin-left: auto; margin-right: auto; }

/* Section header block */
.section-header    { text-align: center; margin-bottom: 3rem; }
.section-header-lg { text-align: center; margin-bottom: 4rem; }

/* Centered section-label */
.section-label.centered { justify-content: center; }

/* Trust bar centered variant */
.trust-bar.centered {
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

/* FAQ category headings */
.faq-category-title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.faq-category-sub {
  font-size: clamp(13px, 1.5vw, 14px);
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* Responsive text helpers */
.text-lg  { font-size: clamp(15px, 1.8vw, 17px); line-height: 1.8; }
.text-sm  { font-size: clamp(13px, 1.5vw, 14px); }
.text-muted-sm { font-size: clamp(12px, 1.4vw, 13px); color: var(--muted); }

/* Badge small variant */
.badge-sm { font-size: 11px; padding: 3px 10px; }

/* Blockquote card style */
.blockquote-card {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 19px);
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Placeholder section padding (subpages without .page-hero) */
.subpage-intro {
  padding-top: 136px;
  padding-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .subpage-intro { padding-top: 104px; padding-bottom: 2rem; }
  .section-tight-top { padding-top: 3rem !important; }
}

/* ---- FORM ELEMENTS MOBILE ---- */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  textarea,
  select {
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 8px;
    padding: 12px;
  }
  
  label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
}

/* ---- SPLIT GRID (Bild + Text, responsive) ---- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 1024px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  /* Bild immer oben */
  .split-grid .split-img  { order: -1; }
  .split-grid .split-text { order:  0; }
  /* Bild auf Tablet nicht zu hoch */
  .split-grid .split-img img {
    aspect-ratio: 4/3 !important;
    object-position: top !important;
  }
}

/* ---- TIMELINE ---- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
/* Vertikale Linie */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--honey);
  transform: translateX(-50%);
  opacity: 0.3;
}

/* Einzelner Eintrag */
.timeline-entry {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 0;
  margin-bottom: 3rem;
  align-items: start;
}
.timeline-entry:last-child { margin-bottom: 0; }

/* Mittelsäule: Punkt auf der Linie */
.timeline-dot-col {
  display: flex;
  justify-content: center;
  padding-top: 0.6rem;
  position: relative;
  z-index: 1;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--honey);
  border-radius: 50%;
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--honey);
  flex-shrink: 0;
}

/* Jahr-Spalte */
.timeline-year {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  color: var(--honey);
  line-height: 1;
  padding-top: 0.35rem;
}

/* Content-Spalte */
.timeline-content h4 { margin-bottom: 0.4rem; }
.timeline-content p  { font-size: 15px; }

/* Ungerade Einträge: Jahr links, Content rechts */
.timeline-entry:nth-child(odd) .timeline-year-col {
  text-align: right;
  padding-right: 1.75rem;
}
.timeline-entry:nth-child(odd) .timeline-content-col {
  padding-left: 1.75rem;
}

/* Gerade Einträge: Content links, Jahr rechts (Reihenfolge umkehren) */
.timeline-entry:nth-child(even) .timeline-year-col {
  order: 3;
  text-align: left;
  padding-left: 1.75rem;
}
.timeline-entry:nth-child(even) .timeline-dot-col {
  order: 2;
}
.timeline-entry:nth-child(even) .timeline-content-col {
  order: 1;
  text-align: right;
  padding-right: 1.75rem;
}

/* ---- TIMELINE MOBILE (ab 1024px linear) ---- */
@media (max-width: 1024px) {
  .timeline::before {
    left: 8px;
    transform: none;
  }
  .timeline-entry {
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    margin-bottom: 2.5rem;
  }

  /* Dot immer links, Zeile 1 */
  .timeline-entry .timeline-dot-col {
    grid-column: 1;
    grid-row: 1;
    order: 1 !important;
    padding-top: 0.5rem;
    justify-content: flex-start;
    padding-left: 2px;
  }

  /* Jahr immer rechts neben dem Dot, Zeile 1 */
  .timeline-entry .timeline-year-col {
    grid-column: 2;
    grid-row: 1;
    order: 2 !important;
    text-align: left !important;
    padding: 0 0 0.25rem 1rem !important;
  }

  /* Content darunter, Zeile 2, rechte Spalte */
  .timeline-entry .timeline-content-col {
    grid-column: 2;
    grid-row: 2;
    order: 3 !important;
    text-align: left !important;
    padding: 0 0 0 1rem !important;
  }
}

/* ============================================
   MOBILE OPTIMIERUNGEN
   ============================================ */

/* --- Stats-Row auf kleinen Screens: 3 nebeneinander, kompakt --- */
@media (max-width: 600px) {
  .stats-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    text-align: center;
  }
  .stat-item { flex: 1; }
  .stat-number { font-size: 22px; }
  .stat-label { font-size: 11px; }
}

/* --- Testimonial Zitat kleiner auf Mobil --- */
@media (max-width: 768px) {
  .testimonial {
    padding: 1.5rem;
  }
  .testimonial .quote {
    font-size: 17px;
    line-height: 1.5;
  }
}

/* --- CTA Block kompakter auf Mobil --- */
@media (max-width: 768px) {
  .cta-block {
    padding: 3rem 1.5rem;
    border-radius: var(--radius-lg);
  }
}

/* --- B2B Teaser Grid auf Mobil einspaltig --- */
@media (max-width: 768px) {
  .b2b-teaser > div[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* --- Footer Links auf Mobil besser lesbar --- */
@media (max-width: 640px) {
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
  }
  .footer-links a {
    font-size: 15px;
    padding: 0.25rem 0;
  }
}

/* --- Mobile Menü: Smooth-Scroll-Verhalten und Touch --- */
@media (max-width: 1024px) {
  .nav-links {
    -webkit-overflow-scrolling: touch;
  }
  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* --- Accordion Touch-Targets --- */
@media (max-width: 768px) {
  .accordion-trigger {
    padding: 1rem 0;
    font-size: 15px;
    min-height: 48px;
  }
}

/* --- Button-Gruppe auf kleinen Screens stapeln --- */
@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-group .btn {
    justify-content: center;
    width: 100%;
  }
}

/* ============================================
   HOME HERO – Full-bleed background
   ============================================ */
.home-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh + 20px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  padding: 116px 0 3rem;
  margin: 0;
  background: var(--surface);
}
.home-hero-img {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - 80px);
  object-fit: cover;
  object-position: center 15%;
  z-index: -2;
  /* subtle initial scale for cinematic feel */
  animation: heroImgIn 1.4s var(--ease) both;
}
.home-hero-overlay {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(26,26,24,0.45) 0%,
      rgba(26,26,24,0.12) 35%,
      rgba(26,26,24,0.30) 70%,
      rgba(26,26,24,0.78) 100%),
    linear-gradient(90deg,
      rgba(26,26,24,0.55) 0%,
      rgba(26,26,24,0.20) 45%,
      rgba(26,26,24,0) 75%);
}
.home-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: stretch;
}
.home-hero-inner {
  max-width: 640px;
  width: 100%;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.home-hero-stats {
  margin-top: 0.5rem;
}
.home-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}
.home-hero-title {
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  text-shadow: 0 2px 28px rgba(0,0,0,0.35);
}
.home-hero-title em {
  color: var(--honey);
  font-style: italic;
}
.home-hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 300;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 0 2rem;
  text-shadow: 0 1px 14px rgba(0,0,0,0.45);
}
.home-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.home-hero-btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-hero-btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.home-hero-stats {
  display: flex;
  gap: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.home-hero-stat-number {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.1;
}
.home-hero-stat-label {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Entrance animations */
@keyframes heroImgIn {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes heroItemIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.home-hero-inner > * {
  opacity: 0;
  animation: heroItemIn 0.7s var(--ease) forwards;
}
.home-hero-inner > *:nth-child(1) { animation-delay: 0.15s; }
.home-hero-inner > *:nth-child(2) { animation-delay: 0.28s; }
.home-hero-inner > *:nth-child(3) { animation-delay: 0.40s; }
.home-hero-inner > *:nth-child(4) { animation-delay: 0.52s; }
.home-hero-inner > *:nth-child(5) { animation-delay: 0.64s; }

@media (max-width: 768px) {
  .home-hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding: 100px 0 1.25rem;
    align-items: stretch;
  }
  .home-hero-img {
    object-position: 70% 18%;
  }
  .home-hero-title br.br-md { display: none; }
  .home-hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(26,26,24,0.35) 0%,
        rgba(26,26,24,0.10) 30%,
        rgba(26,26,24,0.55) 70%,
        rgba(26,26,24,0.95) 100%),
      linear-gradient(90deg,
        rgba(26,26,24,0.60) 0%,
        rgba(26,26,24,0.30) 55%,
        rgba(26,26,24,0) 100%);
  }
  .home-hero-inner {
    max-width: 100%;
    justify-content: flex-end;
  }
  .home-hero-badge {
    font-size: 10.5px;
    padding: 5px 11px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
  }
  .home-hero-title {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.15;
    margin-bottom: 0.875rem;
  }
  .home-hero-sub {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }
  .home-hero-stats {
    gap: 1.75rem;
    padding-top: 1.125rem;
    margin-top: 0.25rem;
  }
  .home-hero-stat-number {
    font-size: 21px;
  }
  .home-hero-stat-label {
    font-size: 10px;
    letter-spacing: 0.04em;
    margin-top: 0.2rem;
  }
}

@media (max-width: 380px) {
  .home-hero {
    padding: 92px 0 1rem;
  }
  .home-hero-title {
    font-size: clamp(20px, 5.6vw, 26px);
  }
  .home-hero-sub {
    font-size: 13.5px;
  }
  .home-hero-stats {
    gap: 1.5rem;
  }
  .home-hero-stat-number {
    font-size: 19px;
  }
  .home-hero-stat-label {
    font-size: 9.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-img,
  .home-hero-inner > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
