/* Extracted from page-hauptseite.php (20260813-161659) — Inline-CSS-Auslagerung. Quelle/Backup: server-snapshot/backups/ */
/* ============================================
   V3 HOMEPAGE — Modern & Clean
   All styles preserved for Gutenberg-rendered content
   ============================================ */
.accent { color: var(--accent-color, #303090); }

/* --- Hero --- */
.av3-hero {
  background: linear-gradient(160deg, #f0f5ff 0%, #e3ecff 100%);
  padding: 20px 10px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.av3-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(48,48,144,.05) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.av3-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(48,48,144,.04) 0%, transparent 50%);
  border-radius: 50%;
  pointer-events: none;
}
.av3-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.av3-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.12;
  color: #1a202c;
}
.av3-hero h1 .accent { color: var(--accent-color, #303090); }
.av3-hero p {
  font-size: 1.1rem;
  color: #5a6570;
  max-width: 520px;
  margin: 20px auto 20px;
  line-height: 1.6;
}
.av3-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.av3-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .25s;
  text-decoration: none !important;
  cursor: pointer;
  gap: 8px;
}
.av3-btn-primary {
  background: var(--accent-color, #303090);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(48,48,144,.25);
}
.av3-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(48,48,144,.35); }
.av3-btn-secondary {
  background: #fff;
  color: var(--accent-color, #303090) !important;
  border: 2px solid var(--accent-color, #303090);
}
.av3-btn-secondary:hover { background: #f0f5ff; }

/* --- Trust/Stats Bar --- */
.av3-stats {
  background: #fff;
  border-bottom: 1px solid #e8ecf5;
  padding: 10px;
}
.av3-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}
.av3-stat { text-align: center; }
.av3-stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-color, #303090);
  line-height: 1;
  margin-bottom: 4px;
}
.av3-stat-label { font-size: .82rem; color: #8a95a5; }

/* --- Sections --- */
.av3-section { padding: 35px 0; }
.av3-section-alt { background: #f7f9fc; }
.av3-section-head {
  text-align: center;
  margin-bottom: 30px;
}
.av3-section-head h2 {
  font-size: 1.8rem;
  color: #1a202c;
  margin-bottom: 10px;
  font-weight: 700;
}
.av3-section-head p {
  color: #5a6570;
  max-width: 480px;
  margin: 0 auto;
  font-size: .95rem;
}
.av3-head-line {
  width: 50px;
  height: 3px;
  background: var(--accent-color, #303090);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* --- Gutenberg Hero Buttons --- */
.av3-hero .wp-block-buttons { gap: 12px; justify-content: center; }
.av3-hero .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  text-decoration: none !important;
}
.av3-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--accent-color, #303090); color: #fff !important;
  box-shadow: 0 4px 14px rgba(48,48,144,.25);
}
.av3-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(48,48,144,.35);
}
.av3-hero .is-style-outline .wp-block-button__link {
  background: #fff; color: var(--accent-color, #303090) !important;
  border: 2px solid var(--accent-color, #303090);
}
.av3-hero .is-style-outline .wp-block-button__link:hover { background: #f0f5ff; }

/* --- Gutenberg Sections (Group-Blöcke) --- */
.av3-section.wp-block-group { padding: 20px 20px 20px 20px; }
.av3-section-alt.wp-block-group { background: #f7f9fc; }
.av3-section.wp-block-group .wp-block-heading { text-align: center; }
.av3-section.wp-block-group > .wp-block-group__inner-container > p { text-align: center; max-width: 480px; margin: 0 auto 20px; color: #5a6570; font-size: .95rem; }
.av3-section .wp-block-buttons { justify-content: center; }
.av3-section-alt .wp-block-buttons { margin-top: 20px; }
.av3-section .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--accent-color, #303090); color: #fff !important;
  box-shadow: 0 4px 14px rgba(48,48,144,.25);
}
.av3-section .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(48,48,144,.35);
}
.av3-section .is-style-outline .wp-block-button__link {
  background: #fff; color: var(--accent-color, #303090) !important;
  border: 2px solid var(--accent-color, #303090); border-radius: 50px;
  padding: 14px 30px; font-weight: 600; font-size: .95rem;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
}
.av3-section .is-style-outline .wp-block-button__link:hover { background: #f0f5ff; transform: translateY(-1px); }

/* --- Service- & Feature-Karten (2er + 3er Grid, shared base) --- */
.av3-service-cols.wp-block-columns,
.av3-feature-cols.wp-block-columns { max-width: 1100px; margin: 0 auto; gap: 24px; }
.av3-service-cols > .wp-block-column,
.av3-feature-cols > .wp-block-column {
  background: #fff; border: 1px solid #e8ecf5; border-radius: 14px;
  text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.03);
  transition: border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.av3-service-cols > .wp-block-column { padding: 30px 22px; }
.av3-feature-cols > .wp-block-column { padding: 34px 26px; }
.av3-service-cols > .wp-block-column:hover,
.av3-feature-cols > .wp-block-column:hover { border-color: var(--accent-color, #303090); box-shadow: 0 4px 16px rgba(48,48,144,.08); }
.av3-service-cols .wp-block-image,
.av3-feature-cols .wp-block-image { margin: 0 auto 16px; width: 52px; height: 52px; flex-shrink: 0; }
.av3-service-cols .wp-block-image img,
.av3-feature-cols .wp-block-image img {
  width: 52px; height: 52px; object-fit: contain;
  background: #f0f5ff; border-radius: 13px; padding: 12px;
}
.av3-service-cols h3,
.av3-feature-cols h3 { font-size: 1rem; color: #1a202c; margin-bottom: 10px; font-weight: 600; flex-shrink: 0; }
.av3-service-cols p,
.av3-feature-cols p { font-size: .88rem; color: #5a6570; line-height: 1.5; flex: 1; }

/* --- CTA Buttons via Gutenberg --- */
.av3-cta .wp-block-buttons { justify-content: center; }
.av3-cta .wp-block-button__link {
  background: #fff; color: var(--accent-color, #303090) !important;
  border: 2px solid var(--accent-color, #303090); border-radius: 50px;
  display: inline-flex; align-items: center;
  padding: 14px 30px;
  font-weight: 600; font-size: .95rem;
  text-decoration: none !important;
  transition: background .2s, transform .2s;
}
.av3-cta .wp-block-button__link:hover {
  background: #f0f5ff; transform: translateY(-1px);
}

/* --- Stats als Gutenberg Columns (Zahlen-Reihe) --- */
.av3-stats-columns.wp-block-columns {
  max-width: 1000px; margin: 0 auto; gap: 50px; justify-content: center;
  padding: 12px 20px;
}
.av3-stats-columns > .wp-block-column { flex-basis: auto !important; flex-grow: 0; text-align: center; }
.av3-stats-columns h2 { font-size: 1.8rem; font-weight: 800; color: var(--accent-color, #303090); line-height: 1; margin-bottom: 4px; }
.av3-stats-columns p { font-size: .82rem; color: #8a95a5; }

/* --- Gutenberg Content Section --- */
.av3-gutenberg {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #2d3748;
}
.av3-gutenberg h2 { color: var(--accent-color, #303090); margin-top: 30px; margin-bottom: 14px; }
.av3-gutenberg h3 { color: #1a202c; margin-top: 24px; }
.av3-gutenberg p { margin-bottom: 16px; }
.av3-gutenberg .wp-block-image img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.av3-gutenberg .wp-block-columns { gap: 30px; margin-bottom: 24px; }
.av3-gutenberg .wp-block-button__link { background: var(--accent-color, #303090); color: #fff; padding: 12px 24px; border-radius: 50px; text-decoration: none; display: inline-block; font-weight: 600; }
.av3-gutenberg .wp-block-cover { border-radius: 12px; }
.av3-gutenberg .wp-block-table td, .av3-gutenberg .wp-block-table th { border: 1px solid #e2e8f0; padding: 10px; }

/* --- Features (same class used in Gutenberg) --- */
.av3-features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.av3-feature {
  background: #fff;
  border: 1px solid #e8ecf5;
  border-radius: 14px;
  padding: 34px 26px;
  text-align: center;
  transition: border-color .25s, box-shadow .25s;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.av3-feature:hover { border-color: var(--accent-color, #303090); box-shadow: 0 4px 16px rgba(48,48,144,.08); }
.av3-feature-icon {
  width: 52px;
  height: 52px;
  background: #f0f5ff;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}
.av3-feature-icon img { width: 28px; height: 28px; object-fit: contain; }
.av3-feature h3 { font-size: 1rem; color: #1a202c; margin-bottom: 10px; font-weight: 600; }
.av3-feature p { font-size: .88rem; color: #5a6570; line-height: 1.5; }

/* --- Service Grid (2x2, same feature cards) --- */
.av3-service-grid {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* --- Brand Strip --- */
.av3-brands {
  background: #fff;
  border-top: 1px solid #e8ecf5;
  border-bottom: 1px solid #e8ecf5;
  overflow: hidden;
  padding: 20px 0;
}
.av3-brands-inner {
  display: flex;
  justify-content: space-around;
  width: max-content;
  min-width: 200%;
  gap: 0;
  animation: av3-scroll 40s linear infinite;
}
.av3-brands-inner:hover { animation-play-state: paused; }
@keyframes av3-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.av3-brand-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a95a5;
  font-weight: 500;
  font-size: .88rem;
  white-space: nowrap;
  transition: color .25s;
  padding: 0 8px;
}
.av3-brand-item:hover { color: var(--accent-color, #303090); }
.av3-brand-item img { height: 34px; width: auto; object-fit: contain; }

/* --- CTA --- */
.av3-cta {
  background: #f0f5ff;
  text-align: center;
  padding: 70px 20px;
}
.av3-cta h2 { font-size: 1.8rem; color: #1a202c; margin-bottom: 10px; }
.av3-cta p { font-size: 1rem; color: #5a6570; margin-bottom: 28px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .av3-hero h1 { font-size: 2rem; }
  .av3-hero { padding: 20px 10px 30px; }
  .av3-features { grid-template-columns: 1fr; }
  .av3-service-grid { grid-template-columns: 1fr; }
  .av3-stats-inner { gap: 30px; }
  .av3-section { padding: 35px 0; }
  .av3-service-cols.wp-block-columns { grid-template-columns: 1fr; }
  .av3-service-cols.wp-block-columns,
  .av3-feature-cols.wp-block-columns { flex-direction: column !important; }
  .av3-stats-columns.wp-block-columns { gap: 12px; }
  .av3-stats-columns h2 { font-size: 1.4rem; }
  .av3-stats-columns p { font-size: .75rem; }
  .av3-stats-columns.wp-block-columns { flex-direction: row !important; flex-wrap: nowrap !important; }
  .av3-stats-columns > .wp-block-column { flex: 1 1 auto !important; width: auto !important; }
}
