/*
Theme Name: Astra Child Coach
Template: astra
Version: 1.0
*/

:root {
  --navy: #1B3F7A;
  --blue: #2E6DB4;
  --green: #5A9E3A;
  --green-light: #EFF6E8;
  --green-dark: #3D7228;
  --blue-light: #EBF2FA;
}

/* RESET */
.coach-main * { box-sizing: border-box; }
.site-header, .ast-above-header, .ast-below-header { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1a1a1a; }

/* HEADER */
.coach-header { background: var(--navy);
  position: sticky; top: 0; z-index: 100;
  
  border-bottom: 0.5px solid #e5e5e5;
}
.coach-header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 12px 40px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
  min-height: 90px;
}
.coach-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  width: auto;
}
.coach-logo-img { height: 38px; width: auto; display: block; }
.coach-nav-links {
  display: flex; gap: 28px; list-style: none;
  margin: 0; padding: 0; align-items: center;
}
.coach-nav-links a {
  font-size: 13px; color: #666; text-decoration: none;
}
.coach-nav-links a:hover { color: var(--navy); }
.coach-nav-cta {
  font-size: 13px; font-weight: 500;
  background: var(--navy); color: #fff;
  padding: 8px 18px; border-radius: 20px;
  text-decoration: none;
}
.coach-nav-cta:hover { background: var(--blue); }

/* HERO */
.coach-hero {
  display: grid; grid-template-columns: 1fr 380px;
  min-height: 480px; max-width: 1100px;
  margin: 0 auto; padding: 0 40px;
}
.coach-hero-content { padding: 68px 40px 68px 0; display: flex; flex-direction: column; justify-content: center; }
.coach-hero-tag {
  font-size: 11px; color: #666;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 20px;
}
.coach-hero-content h1 {
  font-size: 40px; font-weight: 400;
  line-height: 1.2; margin-bottom: 20px;
  color: var(--navy); letter-spacing: -0.02em;
}
.coach-hero-content h1 em { font-style: italic; color: var(--green); }
.coach-hero-sub {
  font-size: 14px; color: #666;
  line-height: 1.75; max-width: 380px; margin-bottom: 32px;
}
.coach-hero-actions { display: flex; align-items: center; gap: 18px; }
.btn-mint {
  font-size: 13px; font-weight: 500;
  background: var(--navy); color: #fff;
  padding: 12px 24px; border-radius: 26px;
  text-decoration: none; display: inline-block;
}
.btn-mint:hover { background: var(--blue); color: #fff; }
.btn-ghost { font-size: 13px; color: #666; text-decoration: none; }
.btn-ghost:hover { color: var(--navy); }

/* HERO PHOTO */
.coach-hero-photo {
  background: var(--blue-light);
  display: flex; align-items: flex-end; justify-content: center;
  position: relative; overflow: hidden;
}
.coach-portrait {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top; display: block;
}
.coach-photo-badge {
  position: absolute; top: 20px; right: 20px;
  background: #fff; border: 0.5px solid #e5e5e5;
  border-radius: 10px; padding: 10px 14px;
}
.coach-photo-badge p { font-size: 11px; color: #999; margin: 0; }
.coach-photo-badge strong { font-size: 12px; font-weight: 500; color: var(--navy); }

/* TRUST BAR */
.coach-trust-bar {
  border-top: 0.5px solid #e5e5e5;
  border-bottom: 0.5px solid #e5e5e5;
  padding: 16px 40px;
  display: flex; align-items: center; gap: 36px;
  justify-content: center; flex-wrap: wrap;
  background: #fff;
}
.coach-trust-item { display: flex; align-items: center; gap: 8px; }
.coach-trust-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); display: inline-block;
}
.coach-trust-item span { font-size: 12px; color: #666; }

/* SECTIONS */
.coach-section {
  padding: 64px 40px; max-width: 1100px; margin: 0 auto;
}
.coach-section-alt {
  padding: 64px 40px; background: var(--blue-light);
}
.coach-section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.coach-section-label {
  font-size: 11px; color: #999;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px;
}
.coach-section-title {
  font-size: 26px; font-weight: 400;
  margin-bottom: 32px; color: var(--navy); letter-spacing: -0.02em;
}

/* CARDS */
.coach-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.coach-card {
  background: #fff; border: 0.5px solid #e5e5e5;
  border-radius: 14px; padding: 28px;
}
.coach-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.coach-card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--green-dark);
}
.coach-card h3 { font-size: 15px; font-weight: 500; margin: 0; color: var(--navy); }
.coach-card p { font-size: 13px; color: #666; line-height: 1.75; margin-bottom: 18px; }
.coach-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.coach-tag {
  font-size: 11px; color: var(--green-dark);
  background: var(--green-light); border-radius: 12px; padding: 4px 10px;
}

/* OFFER GRID */
.coach-offer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.coach-offer-card {
  background: #fff; border: 0.5px solid #e5e5e5;
  border-radius: 14px; padding: 28px;
}
.coach-offer-card.featured { border: 1.5px solid var(--green); }
.coach-offer-badge {
  display: inline-block; font-size: 11px; font-weight: 500;
  background: var(--green-light); color: var(--green-dark);
  border-radius: 10px; padding: 3px 10px; margin-bottom: 12px;
}
.coach-offer-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 10px; color: var(--navy); }
.coach-offer-card p { font-size: 13px; color: #666; line-height: 1.65; margin: 0; }

/* STEPS */
.coach-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 0.5px solid #e5e5e5;
}
.coach-step {
  padding: 28px 28px 28px 0;
  border-right: 0.5px solid #e5e5e5;
}
.coach-step:last-child { border-right: none; }
.coach-step:not(:first-child) { padding-left: 28px; }
.coach-step-num {
  font-size: 28px; font-weight: 300;
  color: var(--blue); margin-bottom: 12px; letter-spacing: -0.02em;
}
.coach-step h4 { font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--navy); }
.coach-step p { font-size: 12px; color: #666; line-height: 1.6; margin: 0; }

/* CTA */
.coach-cta-section {
  padding: 80px 40px; text-align: center;
  background: var(--navy);
}
.coach-cta-section h2 { font-size: 30px; font-weight: 400; margin-bottom: 12px; color: #fff; letter-spacing: -0.02em; }
.coach-cta-section p { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.coach-cta-section .btn-mint {
  background: var(--green); color: #fff;
}
.coach-cta-section .btn-mint:hover { background: var(--green-dark); }
.coach-cta-note { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 14px; font-style: italic; }

/* FOOTER */
.coach-footer {
  background: #f8f8f8; border-top: 0.5px solid #e5e5e5;
  padding: 28px 40px;
}
.coach-footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.coach-footer-logo { font-size: 14px; font-weight: 500; color: var(--navy); }
.coach-footer-links { display: flex; gap: 20px; }
.coach-footer-links a { font-size: 12px; color: #666; text-decoration: none; }
.coach-footer-links a:hover { color: var(--navy); }
.coach-footer-copy { font-size: 12px; color: #999; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .coach-hero { grid-template-columns: 1fr; padding: 0 20px; }
  .coach-hero-photo { height: 300px; }
  .coach-hero-content { padding: 40px 0; }
  .coach-cards { grid-template-columns: 1fr; }
  .coach-offer-grid { grid-template-columns: 1fr; }
  .coach-steps { grid-template-columns: 1fr 1fr; }
  .coach-trust-bar { flex-direction: column; gap: 12px; align-items: center; text-align: center; }
  .coach-header-inner { padding: 16px 20px; }
  .coach-section { padding: 40px 20px; }
  .coach-footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
.coach-logo-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-align: center;
}
.coach-hero-tag strong {
  color: var(--navy);
  font-weight: 600;
}
/* FOOTER LOGO */
.coach-footer-logo { font-size: 0.85rem; opacity: 0.7; }

/* ÜBER MICH */
.coach-ueber-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; gap: 60px;
}
.coach-ueber-text { flex: 1; }
.coach-ueber-text p { color: #444; line-height: 1.7; margin-bottom: 1rem; }
.coach-ueber-photo { flex-shrink: 0; }
.coach-ueber-img {
  width: 180px; height: 180px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--blue-light);
  padding: 16px;
}
@media (max-width: 700px) {
  .coach-ueber-inner { flex-direction: column; gap: 32px; }
  .coach-ueber-img { width: 140px; height: 140px; }
}

/* CALENDLY */
.coach-section-sub {
  text-align: center; color: #555;
  max-width: 600px; margin: 0 auto 2rem;
  line-height: 1.6;
}
.coach-calendly-wrap {
  max-width: 900px; margin: 0 auto;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* PREISE */
#preise {
  background: var(--navy);
  color: #fff;
}
#preise .coach-section-label { color: rgba(255,255,255,0.55); }
#preise .coach-section-title { color: #fff; }
.coach-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1020px;
  margin: 0 auto 2rem;
  align-items: start;
}
.coach-price-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 32px 26px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.coach-price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.1);
}
.coach-price-card--featured {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  padding-top: 40px;
}
.coach-price-card--featured:hover { background: #fff; transform: translateY(-5px); }
.coach-price-card--featured .coach-price-label { color: var(--blue); }
.coach-price-card--featured .coach-price-amount { color: var(--navy); }
.coach-price-card--featured .coach-price-duration { color: #777; border-bottom-color: #e5e5e5; }
.coach-price-card--featured .coach-price-features li { color: #333; }
.coach-price-card--featured .coach-price-features li::before { color: var(--blue); }
.coach-price-badge {
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 0.65rem; font-weight: 800;
  padding: 5px 18px;
  border-radius: 0 0 12px 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
}
.coach-price-label {
  font-size: 0.72rem; font-weight: 800;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.coach-price-amount {
  font-size: 3.2rem; font-weight: 800;
  color: #fff; line-height: 1;
  letter-spacing: -0.02em;
}
.coach-price-duration {
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  margin: 8px 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.coach-price-features {
  list-style: none; padding: 0;
  margin: 0 0 24px; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.coach-price-features li {
  font-size: 0.88rem; color: rgba(255,255,255,0.75);
  padding-left: 22px; position: relative; line-height: 1.4;
}
.coach-price-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: rgba(255,255,255,0.5); font-weight: 800; font-size: 0.8rem;
}
.coach-price-card .btn-mint {
  display: block; text-align: center; margin-top: auto;
  padding: 13px 20px; border-radius: 10px;
  background: rgba(255,255,255,0.1); color: #fff;
  font-weight: 600; font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.2s ease;
}
.coach-price-card .btn-mint:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
}
.coach-price-card--featured .btn-mint {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.coach-price-card--featured .btn-mint:hover {
  background: var(--blue); border-color: var(--blue);
}
.coach-price-note {
  text-align: center; font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  max-width: 650px; margin: 0 auto; line-height: 1.6;
}
@media (max-width: 768px) {
  .coach-pricing-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto 2rem; }
  .coach-price-card--featured { order: -1; }
}

/* ===== HAMBURGER MENU ===== */
.coach-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.coach-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.coach-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.coach-burger.open span:nth-child(2) { opacity: 0; }
.coach-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .coach-burger { display: flex; }
  .coach-nav-cta { display: none; }
  .coach-nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #e5eaf0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 16px 20px 20px;
    gap: 0;
    z-index: 150;
  }
  .coach-nav-links.open { display: flex; }
  .coach-nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid #f0f3f7;
    font-size: 15px;
  }
  .coach-nav-links a:last-child { border-bottom: none; }
  .coach-header { position: sticky; top: 0; }
  .coach-header-inner { position: relative; }
}

.coach-logo-wrap { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 10px; text-decoration: none; }

@media (min-width: 901px) {
  .coach-logo-name { display: none; }
}

/* MOBILE PRICE ORDER */
@media (max-width: 768px) {
  .coach-price-grid { display: flex; flex-direction: column; }
  .coach-price-card:nth-child(1) { order: 1; }
  .coach-price-card:nth-child(2) { order: 2; }
  .coach-price-card:nth-child(3) { order: 3; }
}

/* ===== CONTENT PAGES (Pillar, FAQ, Über mich etc.) ===== */
.coach-content-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 32px 80px;
  color: var(--text);
  line-height: 1.75;
}
.coach-content-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}
.coach-content-page h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 16px;
}
.coach-content-page h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
}
.coach-content-page p { margin-bottom: 18px; }
.coach-content-page ul {
  padding-left: 20px;
  margin-bottom: 18px;
}
.coach-content-page ul li {
  margin-bottom: 8px;
  color: var(--text);
}
.coach-content-page a {
  color: var(--blue);
  text-decoration: underline;
}
.coach-content-page strong { color: var(--navy); }

/* CTA block inside content pages */
.coach-content-page .wp-block-buttons,
.coach-content-page .wp-element-button {
  margin-top: 32px;
}

@media (max-width: 768px) {
  .coach-content-page { padding: 40px 20px 60px; }
}

/* ===== PAGE HERO (Pillar + Unterseiten) ===== */
.coach-page-hero {
  background: var(--navy);
  padding: 56px 32px 48px;
}
.coach-page-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.coach-page-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}
@media (max-width: 768px) {
  .coach-page-hero { padding: 40px 20px 36px; }
}

/* ===== FAQ ACCORDION ===== */
.coach-faq-list { max-width: 720px; margin: 0 auto; }
.coach-faq-item {
  border-bottom: 1px solid #e5eaf0;
  margin-bottom: 0;
}
.coach-faq-item summary {
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.coach-faq-item summary::-webkit-details-marker { display: none; }
.coach-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--green);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}
.coach-faq-item[open] summary::after { content: '−'; }
.coach-faq-item p {
  padding: 0 0 20px;
  color: var(--text);
  line-height: 1.75;
  margin: 0;
}

/* HEADER BLUE STYLE */
.coach-header { background: var(--navy) !important; }
.coach-nav-links a { color: rgba(255,255,255,0.85) !important; }
.coach-nav-links a:hover { color: #fff !important; }
.coach-logo-name { color: #fff !important; }
.coach-burger span { background: #fff !important; }

.coach-nav-cta { background: #fff !important; color: var(--navy) !important; }
.coach-nav-cta:hover { background: var(--green-light) !important; color: var(--navy) !important; }

/* MOBILE MENU */
@media (max-width: 768px) {
  .coach-nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    padding: 16px 24px;
    gap: 16px;
    z-index: 200;
  }
  .coach-nav-links.open { display: flex; }
  .coach-nav-links a { color: #fff !important; font-size: 15px; }
  .coach-nav-links a:hover { color: rgba(255,255,255,0.7) !important; }
}