/* ==============================================================================
   ANDREAS OGGER – PERSÖNLICHE SEITE & STORY
   Wohlstandsbildner Design System & Responsive Layout
   ============================================================================== */

:root {
  --ao-teal-dark: #012632;
  --ao-teal: #013B4C;
  --ao-teal-light: #0A5369;
  --ao-gold: #FFB413;
  --ao-gold-dark: #C18716;
  --ao-gold-bg: #FFFDF5;
  --ao-text-main: #1E293B;
  --ao-text-muted: #64748B;
  --ao-bg-gray: #F8FAFC;
  --ao-border: #E2E8F0;
  --ao-border-gold: #FDE68A;
  --ao-radius: 14px;
}

/* Universal Page Container */
.ao-container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Typography Base */
body.page-andreas-ogger {
  color: var(--ao-text-main);
  background-color: #FFFFFF;
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
  font-size: 17.5px;
}

.page-andreas-ogger h1,
.page-andreas-ogger h2,
.page-andreas-ogger h3,
.page-andreas-ogger h4 {
  font-family: 'Mulish', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ao-teal-dark);
  font-weight: 800;
  line-height: 1.25;
}

.page-andreas-ogger h1 { font-size: clamp(34px, 4.5vw, 52px); margin-bottom: 16px; }
.page-andreas-ogger h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 18px; }
.page-andreas-ogger h3 { font-size: clamp(20px, 2.2vw, 24px); margin-top: 24px; margin-bottom: 10px; }

.page-andreas-ogger p {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 17.5px;
  color: #334155;
}

.page-andreas-ogger p strong {
  font-weight: 700;
  color: var(--ao-teal-dark);
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.ao-hero {
  position: relative;
  background: linear-gradient(135deg, #01242F 0%, #013B4C 60%, #064E63 100%);
  color: #FFFFFF;
  padding: 85px 0 95px;
  overflow: hidden;
  border-bottom: 3px solid var(--ao-gold);
}

.ao-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle at 85% 30%, rgba(255, 180, 19, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ao-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.ao-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ao-hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ao-gold);
}

.ao-hero h1 {
  color: #FFFFFF !important;
  margin: 0 0 14px 0;
  letter-spacing: -0.02em;
}

.ao-hero-sub {
  font-size: clamp(19px, 2.2vw, 22px);
  line-height: 1.45;
  color: #FFFFFF !important;
  font-weight: 600;
  margin-bottom: 24px;
}

.ao-hero p,
.ao-hero .ao-hero-claim {
  font-size: 17px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  margin-bottom: 32px;
  max-width: 580px;
  line-height: 1.65;
}

.ao-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.ao-hero-pill {
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ao-hero-pill strong {
  color: var(--ao-gold) !important;
}

.ao-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #FFB413 0%, #D89505 100%);
  color: #012632 !important;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 180, 19, 0.35);
  transition: all 0.25s ease;
}

.ao-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 180, 19, 0.45);
  color: #012632 !important;
}

.ao-hero-photo-wrap {
  position: relative;
  text-align: center;
}

.ao-hero-photo {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  border: 3px solid rgba(255, 255, 255, 0.18);
  display: block;
  margin: 0 auto;
}

/* ==============================================================================
   CONTENT SECTIONS & TWO-COLUMN STORIES
   ============================================================================== */
.ao-section {
  padding: 75px 0;
  border-bottom: 1px solid var(--ao-border);
}

.ao-section-alt {
  background-color: var(--ao-bg-gray);
}

.ao-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.ao-story-grid.img-right {
  grid-template-columns: 1fr 1fr;
}

.ao-story-img-wrap {
  position: relative;
}

.ao-story-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(1, 38, 50, 0.1);
  display: block;
  border: 1px solid var(--ao-border);
  transition: transform 0.3s ease;
}

.ao-story-img:hover {
  transform: scale(1.015);
}

.ao-caption-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(1, 38, 50, 0.88);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  border-left: 3px solid var(--ao-gold);
}

/* Section Pretitle Badge */
.ao-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}

.ao-badge-teal { background: #E0F2FE; color: #0369A1; }
.ao-badge-gold { background: #FEF3C7; color: #92400E; }
.ao-badge-green { background: #DCFCE7; color: #15803D; }

/* Subheadline Highlights */
.ao-subhead {
  font-family: 'Mulish', sans-serif;
  font-size: 19.5px;
  font-weight: 800;
  color: var(--ao-teal);
  margin-top: 24px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Quote Cards */
.ao-quote-box {
  background: var(--ao-gold-bg);
  border-left: 4px solid var(--ao-gold);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 4px 15px rgba(193, 135, 22, 0.06);
}

.ao-quote-box p {
  font-size: 18px;
  font-style: italic;
  color: #78350F;
  margin: 0;
  line-height: 1.6;
}

/* Stat Highlight Cards */
.ao-stat-callout {
  background: #FFFFFF;
  border: 1.5px solid var(--ao-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.ao-stat-num {
  font-family: 'Mulish', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: #DC2626;
  line-height: 1;
  white-space: nowrap;
}

.ao-stat-desc {
  font-size: 14.5px;
  color: var(--ao-text-muted);
  line-height: 1.5;
  margin: 0;
}

/* 4-KPI Grid in Etappe 3 */
.ao-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.ao-kpi-card {
  background: #FFFFFF;
  border: 1.5px solid var(--ao-border);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 12px rgba(1, 38, 50, 0.04);
  transition: all 0.2s ease;
}

.ao-kpi-card:hover {
  transform: translateY(-2px);
  border-color: var(--ao-gold);
  box-shadow: 0 8px 20px rgba(193, 135, 22, 0.12);
}

.ao-kpi-val {
  font-family: 'Mulish', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--ao-teal-dark);
  margin-bottom: 4px;
  line-height: 1.1;
}

.ao-kpi-val strong {
  color: var(--ao-gold-dark);
}

.ao-kpi-title {
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ao-teal);
  margin-bottom: 6px;
}

.ao-kpi-text {
  font-size: 13.5px;
  color: var(--ao-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Feature Boxes (Hängematte Sektion) */
.ao-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 36px 0 24px;
}

.ao-pillar-card {
  background: #FFFFFF;
  border: 1.5px solid var(--ao-border);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease;
  position: relative;
}

.ao-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(1, 38, 50, 0.08);
  border-color: var(--ao-teal);
}

.ao-pillar-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: inline-block;
}

.ao-pillar-card h3 {
  font-size: 18.5px;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--ao-teal-dark);
}

.ao-pillar-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ==============================================================================
   CALL TO ACTION BANNER (WEBINAR)
   ============================================================================== */
.ao-cta-section {
  background: linear-gradient(135deg, #01242F 0%, #013B4C 100%);
  color: #FFFFFF;
  padding: 65px 0;
  text-align: center;
  position: relative;
}

.ao-cta-card {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 44px 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.ao-cta-card h2 {
  color: #FFFFFF !important;
  font-size: clamp(26px, 3.2vw, 36px);
  margin-top: 0;
  margin-bottom: 16px;
}

.ao-cta-card p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 660px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.ao-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #FFB413 0%, #D89505 100%);
  color: #012632 !important;
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 17px;
  padding: 16px 36px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 180, 19, 0.4);
  transition: all 0.25s ease;
}

.ao-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 180, 19, 0.55);
  color: #012632 !important;
}

/* ==============================================================================
   PRESS & MEDIA GRID (AUFGEPEPPT)
   ============================================================================== */
.ao-press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.ao-press-card {
  background: #FFFFFF;
  border: 1.5px solid var(--ao-border);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.ao-press-card:hover {
  transform: translateY(-3px);
  border-color: var(--ao-teal);
  box-shadow: 0 8px 22px rgba(1, 38, 50, 0.08);
}

.ao-press-outlet {
  font-family: 'Mulish', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--ao-teal-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.ao-press-arrow {
  color: var(--ao-gold-dark);
  font-weight: 900;
  font-size: 16px;
  transition: transform 0.2s;
}

.ao-press-card:hover .ao-press-arrow {
  transform: translateX(3px);
}

.ao-press-title {
  font-size: 13.5px;
  color: var(--ao-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==============================================================================
   RESPONSIVE OPTIMIZATIONS
   ============================================================================== */
@media (max-width: 900px) {
  .ao-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .ao-hero-tag {
    margin: 0 auto 16px;
  }
  .ao-hero-claim {
    margin-left: auto;
    margin-right: auto;
  }
  .ao-hero-pills {
    justify-content: center;
  }
  .ao-story-grid,
  .ao-story-grid.img-right {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ao-story-grid.img-right .ao-story-img-wrap {
    order: -1;
  }
  .ao-pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .ao-hero {
    padding: 55px 0 65px;
  }
  .ao-section {
    padding: 50px 0;
  }
  .ao-kpi-grid {
    grid-template-columns: 1fr;
  }
  .ao-stat-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .ao-cta-card {
    padding: 32px 20px;
  }
  .ao-press-grid {
    grid-template-columns: 1fr;
  }
}


/* ==============================================================================
   MOBILE & VIEWPORT HARDENING (ZERO HORIZONTAL SCROLL)
   ============================================================================== */
html,
body.page-andreas-ogger {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.page-andreas-ogger h1,
.page-andreas-ogger h2,
.page-andreas-ogger h3 {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.page-andreas-ogger p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 600px) {
  .ao-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .page-andreas-ogger h1 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }

  .page-andreas-ogger h2 {
    font-size: 19.5px !important;
    line-height: 1.35 !important;
  }

  .ao-hero-sub {
    font-size: 18px !important;
  }

  .ao-hero p,
  .ao-hero .ao-hero-claim {
    font-size: 15.5px !important;
    line-height: 1.55 !important;
  }

  .ao-hero-pills {
    gap: 8px !important;
    justify-content: flex-start !important;
  }

  .ao-hero-pill {
    font-size: 12.5px !important;
    padding: 6px 10px !important;
  }

  .ao-hero-cta,
  .ao-btn-gold {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .ao-quote-box {
    padding: 16px 18px !important;
  }

  .ao-quote-box p {
    font-size: 16px !important;
  }

  .ao-stat-num {
    font-size: 28px !important;
  }

  /* Cookie Banner Mobile Constraints */
  .wcc-consent-container,
  .wcc-box-bottom-right,
  .wcc-consent-bar {
    max-width: 100vw !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
  }

  .wcc-preference-center {
    max-width: 95vw !important;
    width: 95% !important;
  }
}

@media (min-width: 601px) {
  .mob-only { display: none !important; }
}
@media (max-width: 600px) {
  .mob-only { display: inline !important; }
}

/* Video Embed (Startseite Begrüßungsvideo) */
.ao-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 14px 32px rgba(1, 38, 50, 0.14);
  border: 1px solid var(--ao-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ao-video-wrap:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(1, 38, 50, 0.2);
}

.ao-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.ao-video-caption {
  font-size: 13.5px;
  color: var(--ao-text-muted);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
  line-height: 1.45;
  font-style: italic;
}
