/*
 Theme Name:   Guntersweiler Family (Child of Astra)
 Theme URI:    https://guntersweiler.com
 Description:  Child Theme für familie.guntersweiler.com – dunkles, edles Design (glassy cards) passend zum Stammbaum.
 Author:       Guntersweiler
 Template:     astra
 Version:      0.1.0
*/

/* Global look & feel */
:root{
  --gw-bg0:#070a12; --gw-bg1:#0b0f18;
  --gw-txt:rgba(255,255,255,.92); --gw-muted:rgba(255,255,255,.68);
  --gw-line:rgba(255,255,255,.12);
  --gw-radius:22px;
}
body{
  background:
    radial-gradient(1100px 650px at 20% 10%, rgba(122,167,255,.14), transparent 60%),
    radial-gradient(900px 600px at 85% 22%, rgba(99,230,190,.12), transparent 55%),
    linear-gradient(180deg,var(--gw-bg0),var(--gw-bg1));
  color: var(--gw-txt);
}
a{color: inherit}
.gw-glass{
  border:1px solid var(--gw-line);
  border-radius:var(--gw-radius);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  backdrop-filter:blur(12px);
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}


/* ===== Guntersweiler Family – Startseite (v2) ===== */
.gw-home{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px;
}
.gw-home .gw-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px;
}
.gw-home .gw-brand{
  display:flex;align-items:center;gap:12px;min-width:0;
}
.gw-home .gw-logo{
  width:46px;height:46px;border-radius:16px;overflow:hidden;
  border:1px solid var(--gw-line);
  background:rgba(255,255,255,.05);
  display:flex;align-items:center;justify-content:center;flex:0 0 auto;
}
.gw-home .gw-title{margin:0;font-weight:900;font-size:18px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gw-home .gw-sub{margin:2px 0 0;font-size:12px;color:var(--gw-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.gw-home .gw-hero{margin-top:14px;padding:18px}
.gw-home .gw-pill{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12px;color:var(--gw-muted);
  border:1px solid var(--gw-line);
  background:rgba(255,255,255,.04);
  padding:6px 10px;border-radius:999px;
}
.gw-home .gw-h1{margin:14px 0 8px;font-size:44px;line-height:1.05;font-weight:900;letter-spacing:-.02em}
.gw-home .gw-lead{margin:0;color:var(--gw-muted);font-size:16px;line-height:1.65;max-width:62ch}

.gw-home .gw-cards{display:grid;grid-template-columns:1fr;gap:12px;margin-top:16px}
.gw-home .gw-card{
  padding:14px;border:1px solid var(--gw-line);
  border-radius:18px;background:rgba(255,255,255,.04);
}
.gw-home .gw-card h3{margin:0;font-size:16px;font-weight:900}
.gw-home .gw-card p{margin:6px 0 0;color:var(--gw-muted)}

.gw-home .gw-actions{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.gw-home .gw-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:14px 16px;border-radius:16px;
  border:1px solid var(--gw-line);
  background:rgba(255,255,255,.06);
  color:var(--gw-txt);text-decoration:none;font-weight:800;
}
.gw-home .gw-btn.primary{
  border-color:rgba(99,230,190,.35);
  background:linear-gradient(135deg, rgba(122,167,255,.92), rgba(99,230,190,.88));
  color:#081018;
}
.gw-home .gw-btn.secondary{
  background:rgba(255,255,255,.04);
  color:var(--gw-txt);
}
.gw-home .gw-wappen{margin-top:16px;padding:16px;text-align:center}
.gw-home .gw-wappen img{max-width:340px;width:100%;height:auto;display:block;margin:0 auto;border-radius:18px}
.gw-home .gw-foot{
  margin-top:14px;padding:14px;
  display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;
  color:var(--gw-muted);font-size:12px;
}
.gw-home .gw-nav a{margin-left:10px;color:var(--gw-muted);text-decoration:none}
.gw-home .gw-nav a:hover{color:var(--gw-txt)}
@media (min-width:760px){
  .gw-home .gw-actions{flex-direction:row}
  .gw-home .gw-btn{flex:1}
  .gw-home .gw-cards{grid-template-columns:1fr}
}
@media (max-width:420px){
  .gw-home .gw-h1{font-size:34px}
}


/* ===== Front Page Cleanup (v3) ===== */
/* Hide Astra header/footer bars and page title on front page */
body.home header.ast-primary-header,
body.home footer.ast-footer,
body.home .ast-page-builder-template .entry-header,
body.home .entry-title {
  display: none !important;
}

/* Remove Astra credit line if present */
body.home .ast-footer-copyright {
  display:none !important;
}

/* Full viewport background without white bands */
body.home {
  background: radial-gradient(1200px 600px at 10% 0%, #0f1a2a 0%, #0b0f14 60%) !important;
}


/* ===== WP Menu styling for GW top menu (v5) ===== */
.gw-home .gw-menu{list-style:none;margin:0;padding:0;display:flex;gap:16px;align-items:center}
.gw-home .gw-menu li{margin:0;padding:0}
.gw-home .gw-menu a{color:var(--gw-muted);text-decoration:none;font-weight:700}
.gw-home .gw-menu a:hover{color:var(--gw-txt)}


/* ===== Elementor compatibility (v6) ===== */
.gw-body{background:radial-gradient(1200px 600px at 10% 0%, #0f1a2a 0%, #0b0f14 60%);min-height:100vh}
.gw-elementor-canvas{min-height:100vh}
