/* ============================================================
   Dr. Garagozova – V4 GynBalance-Stil (Blau & Weiß)
   Main CSS – replaces all previous versions
   ============================================================ */

:root {
    --v4-bg: #ffffff;
    --v4-bg-alt: #F5F0ED;
    --v4-bg-blue: #F5F0ED;
    --v4-text: #1e293b;
    --v4-text-muted: #64748b;
    --v4-blue: #2563eb;
    --v4-blue-dark: #1d4ed8;
    --v4-blue-light: #3b82f6;
    --v4-border: #e2e8f0;
    --v4-serif: 'Libre Baskerville', Georgia, serif;
    --v4-sans: 'Source Sans 3', -apple-system, sans-serif;
    --v4-radius: 12px;
    --v4-shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --v4-shadow-md: 0 8px 24px rgba(0,0,0,0.06);
    --v4-shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
    --v4-transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body { margin: 0; font-family: var(--v4-sans); font-size: 1rem; line-height: 1.65; color: var(--v4-text); background: var(--v4-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--v4-blue); text-decoration: none; transition: color 0.2s ease; }
a:hover { text-decoration: underline; }

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
.v4-btn:focus-visible {
    outline: 2px solid var(--v4-blue);
    outline-offset: 3px;
    border-radius: 4px;
}

.v4-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.v4-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--v4-blue); margin-bottom: 0.5rem; }
.v4-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.75rem; font-size: 0.95rem; font-weight: 600; border-radius: 8px; transition: all 0.3s var(--v4-transition); border: 2px solid transparent; cursor: pointer; font-family: var(--v4-sans); position: relative; overflow: hidden; }
.v4-btn-primary { background: var(--v4-blue); color: #fff; border-color: var(--v4-blue); }
.v4-btn-primary:hover { background: var(--v4-blue-dark); border-color: var(--v4-blue-dark); color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.25); }
.v4-btn-outline { background: transparent; color: var(--v4-blue); border-color: var(--v4-blue); }
.v4-btn-outline:hover { background: var(--v4-blue); color: #fff; text-decoration: none; transform: translateY(-1px); }

/* ============================================================
   HEADER
   ============================================================ */
.v4-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--v4-border); padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; transition: background 0.3s ease, box-shadow 0.3s ease; }
.v4-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.v4-logo { font-family: var(--v4-serif); font-size: 1.25rem; font-weight: 700; color: var(--v4-text); }
.v4-logo:hover { text-decoration: none; color: var(--v4-blue); }
.v4-nav { display: flex; align-items: center; gap: 1.75rem; }
.v4-nav a { color: var(--v4-text); font-size: 0.95rem; position: relative; }
.v4-nav a:hover { color: var(--v4-blue); text-decoration: none; }
.v4-nav a:not(.v4-btn-nav)::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--v4-blue); transition: width 0.3s var(--v4-transition); }
.v4-nav a:not(.v4-btn-nav):hover::after { width: 100%; }
.v4-btn-nav { padding: 0.5rem 1.25rem; background: var(--v4-blue); color: #fff !important; border-radius: 8px; transition: all 0.3s ease; }
.v4-btn-nav:hover { background: var(--v4-blue-dark); text-decoration: none !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.2); }
.v4-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.v4-mobile-toggle span { width: 22px; height: 2px; background: var(--v4-text); transition: transform 0.3s ease, opacity 0.3s ease; }
.v4-drawer { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: var(--v4-bg); box-shadow: -4px 0 20px rgba(37,99,235,0.08); z-index: 200; padding: 4rem 1.5rem 1.5rem; }
.v4-drawer[aria-hidden="false"] { display: block; }
.v4-drawer nav { display: flex; flex-direction: column; gap: 1rem; }
.v4-drawer a { color: var(--v4-text); font-size: 1rem; }

@media (max-width: 768px) {
    .v4-nav { display: none; }
    .v4-mobile-toggle { display: flex; }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.v4-lang { display: flex; align-items: center; gap: 0.35rem; margin-left: 0.75rem; padding-left: 0.75rem; border-left: 1px solid var(--v4-border); }
.v4-lang a { font-size: 0.8rem; font-weight: 600; color: var(--v4-text-muted); padding: 0.2rem 0.45rem; border-radius: 4px; transition: color 0.2s, background 0.2s; }
.v4-lang a:hover { color: var(--v4-blue); text-decoration: none; }
.v4-lang a.active { color: var(--v4-blue); background: var(--v4-bg-blue); }
.v4-drawer .v4-lang { display: flex; gap: 0.5rem; margin: 1rem 0 0; padding: 1rem 0 0; border-left: none; border-top: 1px solid var(--v4-border); }

/* Immer sichtbarer Sprachumschalter im Header (vor allem mobil) */
.v4-lang-mobile { display: none; margin-left: auto; margin-right: 0.4rem; padding-left: 0; border-left: none; }
@media (max-width: 768px) { .v4-lang-mobile { display: flex; } }

/* Social-Icons im Footer */
.v4-socials { display: flex; gap: 0.65rem; margin: 0.65rem 0; }
.v4-socials a { color: var(--v4-text-muted); display: inline-flex; line-height: 0; transition: color 0.2s, transform 0.2s; }
.v4-socials a:hover { color: var(--v4-blue); transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.v4-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--v4-bg-blue) 0%, #fff 50%); padding: 4rem 1.5rem 5rem; }
.v4-hero::before { content: ''; position: absolute; inset: 0; background: url('../static/uploads/hero-smoke.webp') center/cover no-repeat; filter: hue-rotate(200deg) saturate(0.7); opacity: 0.18; pointer-events: none; z-index: 0; }
.v4-hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.v4-hero-badge { font-size: 0.8rem; color: var(--v4-blue); font-weight: 600; margin-bottom: 0.5rem; }
.v4-hero h1 { font-family: var(--v4-serif); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 400; line-height: 1.25; margin: 0 0 1rem; color: var(--v4-text); }
.v4-hero h1 em { font-style: italic; color: var(--v4-blue); }
.v4-hero-sub { font-size: 1.05rem; color: var(--v4-text-muted); margin-bottom: 1.5rem; max-width: 500px; }
.v4-hero-btns { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.v4-hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 2rem; flex-wrap: wrap; font-size: 0.9rem; color: var(--v4-text-muted); }
.v4-hero-stats strong { display: block; font-size: 1.15rem; color: var(--v4-blue); margin-bottom: 0.2rem; }
.v4-hero-img { border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(37,99,235,0.12); }
.v4-hero-img img { width: 100%; height: auto; }

@media (max-width: 900px) {
    .v4-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .v4-hero-sub { margin-left: auto; margin-right: auto; }
    .v4-hero-btns { justify-content: center; }
    .v4-hero-stats { justify-content: center; }
    .v4-hero-img { max-width: 400px; margin: 0 auto; }
}

/* ============================================================
   STATS BAR — Premium with separators & subtle background
   ============================================================ */
.v4-stats { background: var(--v4-bg); padding: 2.5rem 1.5rem; border-top: 1px solid var(--v4-border); border-bottom: 1px solid var(--v4-border); position: relative; }
.v4-stats::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--v4-bg-blue) 0%, transparent 60%); opacity: 0.5; pointer-events: none; }
.v4-stats-inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; }
.v4-stats-item { padding: 0.5rem 2rem; position: relative; }
.v4-stats-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 40px; width: 1px; background: var(--v4-border); }
.v4-stats-item strong { display: block; font-size: 1.75rem; font-family: var(--v4-serif); color: var(--v4-blue); margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.v4-stats-item span { font-size: 0.85rem; color: var(--v4-text-muted); letter-spacing: 0.02em; }

@media (max-width: 768px) {
    .v4-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0; }
    .v4-stats-item:nth-child(2)::after { display: none; }
}

/* ============================================================
   ABOUT — Creative offset image + decorative accent
   ============================================================ */
.v4-about { padding: 6rem 1.5rem; background: var(--v4-bg-alt); overflow: hidden; }
.v4-about-grid { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: start; max-width: 1200px; margin: 0 auto; }
.v4-about-img { border-radius: var(--v4-radius); overflow: visible; position: relative; }
.v4-about-img::before {
    content: '';
    position: absolute;
    top: -12px;
    right: -12px;
    bottom: 12px;
    left: 12px;
    border: 2px solid var(--v4-blue);
    border-radius: var(--v4-radius);
    opacity: 0.2;
    z-index: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.v4-about-img::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 80px;
    height: 3px;
    background: var(--v4-blue);
    border-radius: 2px;
    opacity: 0.6;
}
.v4-about-img img { width: 100%; height: auto; border-radius: var(--v4-radius); position: relative; z-index: 1; box-shadow: 0 15px 40px rgba(37,99,235,0.1); }
.v4-about-content { padding-top: 0.5rem; }
.v4-about-content .v4-label { margin-bottom: 0.75rem; }
.v4-about-content h2 { font-family: var(--v4-serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; margin: 0 0 1.25rem; color: var(--v4-text); line-height: 1.3; }
.v4-about-lead { font-size: 1.1rem; color: var(--v4-text-muted); margin-bottom: 1.25rem; font-weight: 400; line-height: 1.6; }
.v4-about-content p { margin-bottom: 1rem; color: var(--v4-text); line-height: 1.75; }
.v4-quals { list-style: none; padding: 0; margin: 2rem 0 0; }
.v4-quals li { margin-bottom: 0.75rem; padding-left: 1.75rem; position: relative; font-size: 0.95rem; color: var(--v4-text-muted); line-height: 1.5; }
.v4-quals li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 8px; height: 8px; background: var(--v4-blue); border-radius: 50%; box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }
.v4-memberships { font-size: 0.9rem; color: var(--v4-text-muted); margin-top: 1.5rem; font-weight: 500; }

/* Certificate Cards Grid */
.v4-cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
}
.v4-cert-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1rem;
    background: var(--v4-bg);
    border: 1px solid var(--v4-border);
    border-radius: var(--v4-radius);
    transition: transform 0.3s var(--v4-transition), box-shadow 0.3s var(--v4-transition), border-color 0.3s ease;
    text-decoration: none;
    color: inherit;
}
a.v4-cert-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--v4-shadow-md);
    border-color: var(--v4-blue);
    text-decoration: none;
    color: inherit;
}
.v4-cert-icon {
    width: 44px;
    height: 44px;
    background: var(--v4-bg-blue);
    color: var(--v4-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.v4-cert-icon svg { stroke: var(--v4-blue); }
.v4-cert-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--v4-text);
    line-height: 1.35;
    margin-bottom: 0.3rem;
}
a.v4-cert-card .v4-cert-title { color: var(--v4-blue); }
.v4-cert-org {
    font-size: 0.78rem;
    color: var(--v4-text-muted);
    line-height: 1.3;
}
@media (max-width: 768px) {
    .v4-cert-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .v4-cert-grid { grid-template-columns: 1fr; }
}

/* Expandable about text (read more) */
.v4-about-expandable { position: relative; max-height: 6.5em; overflow: hidden; transition: max-height 0.5s var(--v4-transition); }
.v4-about-expandable::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3em; background: linear-gradient(transparent, var(--v4-bg-alt)); pointer-events: none; transition: opacity 0.3s; }
.v4-about-expandable.is-expanded { max-height: 200em; }
.v4-about-expandable.is-expanded::after { opacity: 0; }
.v4-about-readmore { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--v4-blue); cursor: pointer; margin-top: 0.75rem; border: none; background: none; padding: 0.25rem 0; font-family: var(--v4-sans); transition: color 0.2s ease; }
.v4-about-readmore:hover { text-decoration: underline; color: var(--v4-blue-dark); }

@media (max-width: 900px) {
    .v4-about { padding: 4rem 1.5rem; }
    .v4-about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .v4-about-img { max-width: 400px; margin: 0 auto; order: -1; }
    .v4-about-img::before { top: -8px; right: -8px; bottom: 8px; left: 8px; }
}

/* ============================================================
   MEMBERSHIPS
   ============================================================ */
.v4-members { padding: 3rem 1.5rem; background: var(--v4-bg); }
.v4-members h3 { font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--v4-text); }
.v4-members-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; max-width: 900px; margin: 0 auto; }
.v4-members-item { font-size: 0.9rem; color: var(--v4-text-muted); text-align: center; }

/* ============================================================
   PROCESS — Premium steps with connecting lines
   ============================================================ */
.v4-process { padding: 6rem 1.5rem; background: var(--v4-bg-alt); }
.v4-process .v4-container { text-align: center; }
.v4-process .v4-label { text-align: center; }
.v4-process h2 { font-family: var(--v4-serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; margin: 0 0 0.5rem; }
.v4-process-intro { color: var(--v4-text-muted); margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.v4-steps { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; counter-reset: step-counter; }

/* Connecting line between steps (desktop) */
.v4-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.67% + 24px);
    right: calc(16.67% + 24px);
    height: 2px;
    background: linear-gradient(90deg, var(--v4-border), var(--v4-blue), var(--v4-border));
    opacity: 0.4;
    z-index: 0;
}

.v4-steps li {
    padding: 2.25rem 1.75rem 2rem;
    background: var(--v4-bg);
    border-radius: var(--v4-radius);
    border: 1px solid var(--v4-border);
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s var(--v4-transition), box-shadow 0.3s var(--v4-transition), border-color 0.3s ease;
}
.v4-steps li:hover {
    transform: translateY(-4px);
    box-shadow: var(--v4-shadow-md);
    border-color: var(--v4-blue);
    border-color: rgba(37,99,235,0.2);
}
.v4-step-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--v4-blue) 0%, var(--v4-blue-light) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--v4-serif);
    box-shadow: 0 4px 16px rgba(37,99,235,0.2);
    transition: transform 0.3s var(--v4-transition), box-shadow 0.3s var(--v4-transition);
}
.v4-steps li:hover .v4-step-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37,99,235,0.3);
}
.v4-steps h3 { font-size: 1.1rem; margin: 0 0 0.6rem; color: var(--v4-text); font-weight: 600; }
.v4-steps p { font-size: 0.95rem; color: var(--v4-text-muted); margin: 0; line-height: 1.6; }
.v4-note { font-size: 0.9rem; color: var(--v4-text-muted); padding: 1.25rem 1.5rem; background: var(--v4-bg-blue); border-radius: var(--v4-radius); border-left: 4px solid var(--v4-blue); margin-top: 1rem; text-align: left; line-height: 1.6; }

@media (max-width: 768px) {
    .v4-steps { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
    .v4-steps::before { display: none; }
    .v4-process { padding: 4rem 1.5rem; }
}

/* ============================================================
   IMAGE GRID + CTA — Hover zoom, gaps, premium CTA
   ============================================================ */
.v4-img-cta { padding: 0; overflow: hidden; }
.v4-img-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.v4-img-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.6s var(--v4-transition), filter 0.4s ease;
    cursor: default;
}
.v4-img-grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}
.v4-cta-box {
    padding: 5rem 1.5rem;
    background: linear-gradient(135deg, var(--v4-bg-blue) 0%, var(--v4-bg) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.v4-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.v4-cta-box h2 { font-family: var(--v4-serif); font-size: clamp(1.5rem, 2.5vw, 2.1rem); font-weight: 400; margin: 0 0 0.75rem; color: var(--v4-text); position: relative; }
.v4-cta-box p { color: var(--v4-text-muted); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; line-height: 1.7; }
.v4-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

@media (max-width: 768px) {
    .v4-img-grid { grid-template-columns: repeat(2, 1fr); }
    .v4-img-grid img { height: 180px; }
    .v4-cta-box { padding: 3.5rem 1.5rem; }
}

/* ============================================================
   SERVICES — Premium cards with glass effect + accent
   ============================================================ */
.v4-services { padding: 6rem 1.5rem; background: var(--v4-bg); }
.v4-services .v4-label { margin-bottom: 0.75rem; }
.v4-services h2 { font-family: var(--v4-serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; margin: 0 0 0.5rem; }
.v4-services-intro { color: var(--v4-text-muted); margin-bottom: 3rem; max-width: 640px; line-height: 1.7; }
.v4-service-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.v4-service-card {
    background: var(--v4-bg);
    border-radius: var(--v4-radius);
    overflow: hidden;
    border: 1px solid var(--v4-border);
    position: relative;
    transition: transform 0.35s var(--v4-transition), box-shadow 0.35s var(--v4-transition), border-color 0.35s ease;
}
/* Subtle bottom accent line on hover */
.v4-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--v4-blue), var(--v4-blue-light));
    transform: scaleX(0);
    transition: transform 0.4s var(--v4-transition);
    transform-origin: left;
}
.v4-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    border-color: rgba(37,99,235,0.15);
}
.v4-service-card:hover::after {
    transform: scaleX(1);
}
.v4-service-card-img { height: 200px; overflow: hidden; position: relative; }
/* Subtle overlay on hover */
.v4-service-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.v4-service-card:hover .v4-service-card-img::after {
    opacity: 1;
}
.v4-service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--v4-transition);
}
.v4-service-card:hover .v4-service-card-img img {
    transform: scale(1.06);
}
.v4-service-card-body { padding: 1.5rem 1.5rem 1.75rem; }
.v4-service-card h3 { font-size: 1.1rem; margin: 0 0 0.6rem; color: var(--v4-text); font-weight: 600; line-height: 1.35; }
.v4-service-card p { font-size: 0.9rem; color: var(--v4-text-muted); margin: 0 0 0.85rem; line-height: 1.6; }
.v4-service-list { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 0.85rem; color: var(--v4-text-muted); }
.v4-service-list li { margin-bottom: 0.4rem; padding-left: 1.25rem; position: relative; line-height: 1.5; }
.v4-service-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--v4-blue); font-weight: 700; font-size: 0.8rem; }
.v4-service-meta {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--v4-blue);
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    background: var(--v4-bg-blue);
    border-radius: 100px;
    letter-spacing: 0.02em;
}

/* Ernährung section: 2 cards → 2-column layout, no gap */
#ernaehrung .v4-service-grid { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1024px) {
    .v4-service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .v4-service-grid { grid-template-columns: 1fr; }
    #ernaehrung .v4-service-grid { grid-template-columns: 1fr; }
    .v4-services { padding: 4rem 1.5rem; }
}

/* ============================================================
   STATEMENT — Dramatic, impactful typography
   ============================================================ */
.v4-statement {
    padding: 6rem 1.5rem;
    background: var(--v4-bg-alt);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.v4-statement::before {
    content: '\201C';
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--v4-serif);
    font-size: 8rem;
    color: var(--v4-blue);
    opacity: 0.07;
    line-height: 1;
    pointer-events: none;
}
.v4-statement .v4-container { position: relative; }
.v4-statement h2 {
    font-family: var(--v4-serif);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    margin: 0 0 1.5rem;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.45;
    color: var(--v4-text);
}
.v4-statement p {
    color: var(--v4-text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Subtle decorative line below statement */
.v4-statement .v4-container::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--v4-blue);
    margin: 2.5rem auto 0;
    border-radius: 2px;
    opacity: 0.5;
}

/* ============================================================
   VALUES — Subtle gradient background + refined spacing
   ============================================================ */
.v4-values {
    padding: 6rem 1.5rem;
    background: var(--v4-bg);
    position: relative;
    overflow: hidden;
}
.v4-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--v4-border), transparent);
}
.v4-values::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--v4-border), transparent);
}
.v4-values .v4-label { margin-bottom: 0.75rem; }
.v4-values h2 { font-family: var(--v4-serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; margin: 0 0 1.5rem; text-align: center; line-height: 1.35; }
.v4-values-text .v4-values-intro {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--v4-text-muted);
}
.v4-values-centered .v4-container { display: flex; flex-direction: column; align-items: center; text-align: center; }
.v4-values-centered .v4-label { text-align: center; }
.v4-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.v4-value-item { text-align: center; }
.v4-value-icon { width: 56px; height: 56px; background: var(--v4-bg-blue); color: var(--v4-blue); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.5rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.v4-value-item:hover .v4-value-icon { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,99,235,0.15); }
.v4-value-item h3 { font-size: 1rem; margin: 0 0 0.35rem; color: var(--v4-text); }
.v4-value-item p { font-size: 0.9rem; color: var(--v4-text-muted); margin: 0; }

@media (max-width: 768px) {
    .v4-values { padding: 4rem 1.5rem; }
    .v4-values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.v4-testimonials { padding: 5rem 1.5rem; background: var(--v4-bg-alt); }
.v4-testimonials h2 { font-family: var(--v4-serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; margin: 0 0 2rem; }
.v4-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.v4-testimonial-card { background: var(--v4-bg); padding: 1.75rem; border-radius: 12px; border: 1px solid var(--v4-border); transition: transform 0.3s var(--v4-transition), box-shadow 0.3s var(--v4-transition); }
.v4-testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--v4-shadow-md); }
.v4-testimonial-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 0.75rem; }
.v4-testimonial-card blockquote { font-size: 0.95rem; font-style: italic; color: var(--v4-text); margin: 0 0 1rem; line-height: 1.6; }
.v4-testimonial-card cite { font-size: 0.85rem; color: var(--v4-text-muted); font-style: normal; }

@media (max-width: 768px) {
    .v4-testimonial-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA SECTION — Dramatic gradient + glow button
   ============================================================ */
.v4-cta {
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, var(--v4-blue) 0%, var(--v4-blue-dark) 50%, #0f1b3d 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Animated radial glow background */
.v4-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events: none;
    animation: cta-glow 8s ease-in-out infinite alternate;
}
@keyframes cta-glow {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(10%) translateY(-5%); }
}
.v4-cta .v4-container { position: relative; z-index: 1; }
.v4-cta .v4-label { color: rgba(255,255,255,0.7); letter-spacing: 0.15em; }
.v4-cta h2 { font-family: var(--v4-serif); font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 400; margin: 0 0 1rem; color: #fff; line-height: 1.35; }
.v4-cta p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto; font-size: 1.05rem; line-height: 1.7; }
.v4-cta .v4-btn-primary {
    background: #fff;
    color: var(--v4-blue);
    border-color: #fff;
    font-size: 1rem;
    padding: 0.95rem 2rem;
}
.v4-cta .v4-btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--v4-blue-dark);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,255,255,0.25);
}
.v4-cta .v4-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.v4-cta .v4-btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: #fff; text-decoration: none; transform: translateY(-2px); }

@media (max-width: 768px) {
    .v4-cta { padding: 4.5rem 1.5rem; }
}

/* ============================================================
   FOOTER — Premium with hover effects + better hierarchy
   ============================================================ */
.v4-footer { background: var(--v4-text); color: #fff; padding: 4rem 1.5rem 2rem; }
.v4-footer a { color: rgba(255,255,255,0.8); transition: color 0.2s ease, transform 0.2s ease; display: inline-block; }
.v4-footer a:hover { color: #fff; text-decoration: none; transform: translateX(2px); }
.v4-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.v4-footer-brand h3 { font-family: var(--v4-serif); font-size: 1.25rem; color: #fff; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
.v4-footer-brand p { font-size: 0.9rem; margin: 0; line-height: 1.7; color: rgba(255,255,255,0.6); }
.v4-footer-links { display: flex; flex-direction: column; gap: 0.65rem; }
.v4-footer-links a { font-size: 0.95rem; position: relative; padding-left: 0; }
.v4-footer-links a::before { content: ''; position: absolute; bottom: -1px; left: 0; width: 0; height: 1px; background: rgba(255,255,255,0.5); transition: width 0.3s var(--v4-transition); }
.v4-footer-links a:hover::before { width: 100%; }
.v4-footer-contact { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.v4-footer-contact a { color: rgba(255,255,255,0.8); }
.v4-footer-contact a:hover { color: #fff; }
.v4-footer-bottom { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.v4-footer-bottom a { color: rgba(255,255,255,0.4); }
.v4-footer-bottom a:hover { color: rgba(255,255,255,0.7); transform: none; }

@media (max-width: 768px) {
    .v4-footer { padding: 3rem 1.5rem 2rem; }
    .v4-footer-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .v4-footer-links { align-items: center; }
    .v4-footer-links a:hover { transform: none; }
    .v4-footer-links a::before { display: none; }
    .v4-footer-contact { align-items: center; }
    .v4-footer a:hover { transform: none; }
}

/* Extra small screens: safe spacing and touch targets */
@media (max-width: 380px) {
    .v4-container { padding-left: 1rem; padding-right: 1rem; }
    .v4-hero, .v4-about, .v4-services, .v4-cta { padding-left: 1rem; padding-right: 1rem; }
    .v4-cta-btns { flex-direction: column; align-items: stretch; }
    .back-to-top { bottom: 1.25rem; right: 1.25rem; }
}

/* ============================================================
   LEGAL PAGES (Vita, Impressum, Datenschutz)
   ============================================================ */
.legal-page {
    padding: 7rem 1.5rem 4rem;
    min-height: 60vh;
}
.legal-inner {
    max-width: 720px;
    margin: 0 auto;
}
.legal-page h1 {
    font-family: var(--v4-serif);
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 400;
    color: var(--v4-text);
    margin-bottom: 0.5rem;
}
.legal-intro {
    font-size: 1rem;
    color: var(--v4-text-muted);
    margin-bottom: 2.5rem;
}
.legal-block {
    margin-bottom: 2rem;
}
.legal-block h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--v4-text);
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}
.legal-block p,
.legal-block ul {
    font-size: 0.95rem;
    color: var(--v4-text);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}
.legal-block ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.vita-list li {
    margin-bottom: 0.75rem;
}
.legal-block a {
    color: var(--v4-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-block a:hover { color: var(--v4-blue-dark); }
.legal-note {
    margin-top: 2.5rem;
    padding: 1rem 1.25rem;
    background: var(--v4-bg-blue);
    border-radius: 12px;
    border-left: 4px solid var(--v4-blue);
    font-size: 0.9rem;
    color: var(--v4-text);
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--v4-border);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.06);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}
.cookie-banner[aria-hidden="false"] {
    transform: translateY(0);
}
.cookie-banner.hidden {
    display: none !important;
}
.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cookie-banner-text {
    flex: 1;
    min-width: 260px;
    font-size: 0.9rem;
    color: var(--v4-text);
    line-height: 1.6;
    margin: 0;
}
.cookie-banner-text a {
    color: var(--v4-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner-text a:hover { color: var(--v4-blue-dark); }
.cookie-banner-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.cookie-banner-accept {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-banner-buttons { justify-content: center; }
}

/* ============================================================
   SCROLL-REVEAL ANIMATIONS — Enhanced with stagger
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--v4-transition), transform 0.7s var(--v4-transition);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger animations for child elements within revealed sections */
.reveal.active .v4-service-card,
.reveal.active .v4-steps li {
    opacity: 0;
    transform: translateY(20px);
    animation: stagger-in 0.5s var(--v4-transition) forwards;
}
.reveal.active .v4-service-card:nth-child(1),
.reveal.active .v4-steps li:nth-child(1) { animation-delay: 0.05s; }
.reveal.active .v4-service-card:nth-child(2),
.reveal.active .v4-steps li:nth-child(2) { animation-delay: 0.12s; }
.reveal.active .v4-service-card:nth-child(3),
.reveal.active .v4-steps li:nth-child(3) { animation-delay: 0.19s; }
.reveal.active .v4-service-card:nth-child(4) { animation-delay: 0.26s; }
.reveal.active .v4-service-card:nth-child(5) { animation-delay: 0.33s; }
.reveal.active .v4-service-card:nth-child(6) { animation-delay: 0.40s; }
.reveal.active .v4-service-card:nth-child(7) { animation-delay: 0.45s; }
.reveal.active .v4-service-card:nth-child(8) { animation-delay: 0.50s; }
.reveal.active .v4-service-card:nth-child(9) { animation-delay: 0.55s; }
.reveal.active .v4-service-card:nth-child(10) { animation-delay: 0.58s; }
.reveal.active .v4-service-card:nth-child(11) { animation-delay: 0.61s; }
.reveal.active .v4-service-card:nth-child(12) { animation-delay: 0.64s; }

@keyframes stagger-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Stagger for about section child elements */
.reveal.active .v4-about-content > * {
    opacity: 0;
    animation: stagger-fade 0.5s var(--v4-transition) forwards;
}
.reveal.active .v4-about-content > *:nth-child(1) { animation-delay: 0.05s; }
.reveal.active .v4-about-content > *:nth-child(2) { animation-delay: 0.12s; }
.reveal.active .v4-about-content > *:nth-child(3) { animation-delay: 0.18s; }
.reveal.active .v4-about-content > *:nth-child(4) { animation-delay: 0.24s; }
.reveal.active .v4-about-content > *:nth-child(5) { animation-delay: 0.30s; }
.reveal.active .v4-about-content > *:nth-child(6) { animation-delay: 0.36s; }

@keyframes stagger-fade {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Respect reduced motion for stagger animations */
@media (prefers-reduced-motion: reduce) {
    .reveal.active .v4-service-card,
    .reveal.active .v4-steps li,
    .reveal.active .v4-about-content > * {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* ============================================================
   GG HEALTH LOGO STYLING
   ============================================================ */
.v4-logo {
    font-family: var(--v4-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--v4-text);
    letter-spacing: 0.01em;
}
.v4-logo .logo-gg {
    color: var(--v4-blue);
    font-weight: 700;
}
.v4-logo .logo-health {
    font-family: var(--v4-sans);
    font-weight: 400;
    color: var(--v4-text-muted);
    font-size: 0.95em;
    margin-left: 0.15em;
}
.v4-logo:hover { text-decoration: none; }
.v4-logo:hover .logo-gg { color: var(--v4-blue-dark); }

/* ============================================================
   BACK-TO-TOP BUTTON
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--v4-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
    z-index: 90;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--v4-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================================
   50/50 PILLARS SECTION (Framer-style)
   ============================================================ */
.v4-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 75vh;
}
.v4-pillar {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3.5rem 3rem;
    overflow: hidden;
    text-decoration: none;
}
.v4-pillar:hover { text-decoration: none; }
.v4-pillar-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.v4-pillar:last-child .v4-pillar-bg {
    opacity: 1;
}
.v4-pillar:hover .v4-pillar-bg {
    transform: scale(1.06);
}
.v4-pillar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.08) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}
.v4-pillar:hover::after {
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.12) 100%);
}
.v4-pillar-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 480px;
}
.v4-pillar-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #fff;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
}
.v4-pillar-content h2 {
    font-family: var(--v4-serif);
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 400;
    margin: 0 0 0.75rem;
    color: #fff;
    line-height: 1.2;
}
.v4-pillar-content p {
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
    margin: 0 0 1.75rem;
    line-height: 1.65;
}
.v4-pillar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    padding: 0.8rem 1.75rem;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.v4-pillar:hover .v4-pillar-cta {
    background: #fff;
    color: var(--v4-text);
    border-color: #fff;
}
.v4-pillar-cta svg {
    transition: transform 0.3s ease;
}
.v4-pillar:hover .v4-pillar-cta svg {
    transform: translateX(3px);
}
/* Divider line between pillars */
.v4-pillar:first-child {
    border-right: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 900px) {
    .v4-pillars { grid-template-columns: 1fr; }
    .v4-pillar { min-height: 55vh; padding: 2.5rem 2rem; }
    .v4-pillar:first-child { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
}
@media (max-width: 480px) {
    .v4-pillar { min-height: 50vh; padding: 2rem 1.5rem; }
    .v4-pillar-content h2 { font-size: 1.5rem; }
}
