/* Atelier 5b SEO Landing Pages */
.a5b-seo-landing {
  max-width: 920px;
  margin: 0 auto 3rem;
  padding: 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #222;
}

.a5b-seo-hero {
  margin-bottom: 2rem;
  padding: 2rem 0 1rem;
  border-bottom: 3px solid #008cba;
}

.a5b-seo-kicker {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  margin-bottom: 0.5rem;
}

.a5b-seo-landing h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  color: #111;
}

.a5b-seo-lead {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 1.25rem;
}

.a5b-seo-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.a5b-btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none !important;
  transition: opacity 0.2s;
}

.a5b-btn-primary {
  background: #008cba;
  color: #fff !important;
}

.a5b-btn-secondary {
  background: #f0f0f0;
  color: #222 !important;
  border: 1px solid #ccc;
}

.a5b-btn:hover {
  opacity: 0.88;
}

.a5b-seo-highlights ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 1rem;
  margin: 0 0 2rem;
  background: #f7fbfd;
  border-left: 4px solid #008cba;
}

.a5b-seo-highlights li::before {
  content: "✓ ";
  color: #008cba;
  font-weight: bold;
}

.a5b-seo-section {
  margin-bottom: 2rem;
}

.a5b-seo-section h2 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  color: #111;
}

.a5b-seo-section h3 {
  font-size: 1.2rem;
  margin: 1.25rem 0 0.5rem;
}

.a5b-faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: #fff;
}

.a5b-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.5rem 0;
}

.a5b-faq-answer {
  padding-bottom: 0.75rem;
  color: #444;
}

.a5b-related-links {
  columns: 2;
  gap: 1rem;
  padding-left: 1.25rem;
}

.a5b-related-links a {
  text-decoration: underline;
}

.a5b-seo-footer-cta {
  text-align: center;
  padding: 2rem;
  background: #008cba;
  color: #fff;
  border-radius: 8px;
  margin-top: 2rem;
}

.a5b-seo-footer-cta h2,
.a5b-seo-footer-cta p {
  color: #fff;
}

.a5b-home-seo-block {
  margin-bottom: 2rem;
  padding-top: 0;
}

/* Startseite: Hero randlos über volle Breite */
/* Altes Mobile-Hero ausblenden – neues Banner gilt für alle Viewports */
.home .entry-content-wrapper > .avia-builder-el-2.flex_column {
  display: none !important;
}

.home .a5b-home-hero-mobile-duplicate {
  display: none !important;
}

.home .avia-builder-el-0.flex_column.a5b-home-hero-row,
.home .avia-builder-el-0.flex_column:has(.a5b-home-hero-image) {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-top: 0 !important;
  padding: 0 !important;
  float: none;
  position: relative;
  left: 0;
  right: auto;
}

.home .a5b-home-hero-image .avia-image-overlay-wrap {
  position: relative;
}

.a5b-home-hero-actions {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.a5b-home-hero-btn {
  position: absolute;
  pointer-events: auto;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, outline-color 0.2s ease;
  min-height: 44px;
  min-width: 44px;
}

/* Positionen am Original (1024×527) ausgerichtet */
.a5b-home-hero-btn-primary {
  left: 2.5%;
  bottom: 4.2%;
  width: 20%;
  height: 11.5%;
}

.a5b-home-hero-btn-secondary {
  left: 23.2%;
  bottom: 4.2%;
  width: 17.5%;
  height: 11.5%;
}

.a5b-home-hero-btn-primary:hover,
.a5b-home-hero-btn-primary:focus-visible {
  background: rgba(0, 0, 0, 0.2);
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: -2px;
}

.a5b-home-hero-btn-secondary:hover,
.a5b-home-hero-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: -2px;
}

.home .avia-builder-el-0 .a5b-home-hero-image,
.home .avia-builder-el-0 .a5b-home-hero-image .avia-image-container-inner,
.home .avia-builder-el-0 .a5b-home-hero-image .avia-image-overlay-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.home .avia-builder-el-0 .a5b-home-hero-image img {
  display: block;
  width: 100% !important;
  height: auto;
  max-width: none !important;
  object-fit: cover;
}

.home .container_wrap_first > .container > main .entry-content-wrapper {
  overflow: visible !important;
}

.home .container_wrap_first > .container > main .entry-content-wrapper > .avia-builder-el-0 {
  overflow: visible;
}

@media (max-width: 989px) {
  .home .container_wrap_first > .container {
    overflow: visible !important;
  }

  .home .avia-builder-el-0.flex_column.a5b-home-hero-row,
  .home .avia-builder-el-0.flex_column:has(.a5b-home-hero-image) {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  .home .avia-builder-el-0 .a5b-home-hero-image,
  .home .avia-builder-el-0 .a5b-home-hero-image .avia-image-container-inner,
  .home .avia-builder-el-0 .a5b-home-hero-image .avia-image-overlay-wrap,
  .home .avia-builder-el-0 .a5b-home-hero-image img {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 600px) {
  .a5b-related-links {
    columns: 1;
  }
}
