/*
Theme Name: Galeno Child
Theme URI: https://galeno-webseite-ljenyjwwum.live-website.com
Description: Galeno GmbH – Pediatric Medicines. Custom WordPress Theme.
Author: galeno GmbH
Version: 1.0.0
License: Private
Text Domain: galeno
*/

/* ===== CSS VARIABLES ===== */
:root {
  --blue: #2492d9;
  --blue-dark: #1a7bbf;
  --blue-pale: #eaf5fc;
  --blue-light: #d0eaf8;
  --white: #ffffff;
  --off: #f7f9fb;
  --border: #d4e4ef;
  --ink: #1a2530;
  --mid: #3d5060;
  --soft: #6b8898;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 68px; background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; z-index: 1000;
  box-shadow: 0 2px 16px rgba(26,123,191,0.07);
  backdrop-filter: blur(8px);
}
.nav-logo img { height: 36px; width: auto; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--mid); text-decoration: none; padding: 8px 14px;
  border-radius: 4px; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a:focus { color: var(--blue-dark); background: var(--blue-pale); }
.nav-contact {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: white; background: var(--blue-dark);
  padding: 9px 20px; border-radius: 4px; text-decoration: none;
  transition: background 0.2s;
}
.nav-contact:hover { background: var(--blue); color: white; }

/* ===== HERO ===== */
#home {
  min-height: 100vh; display: flex; align-items: center;
  padding: 68px 6% 0;
  background: linear-gradient(135deg, #ffffff 0%, #eaf5fc 60%, #d0eaf8 100%);
  position: relative; overflow: hidden;
}
.hero-decor {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36,146,217,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-decor2 {
  position: absolute; left: -60px; bottom: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(36,146,217,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 80px; align-items: center; width: 100%;
}
.hero-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--blue-dark); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.hero-tag::before {
  content: ''; display: inline-block;
  width: 28px; height: 2px; background: var(--blue-dark); border-radius: 2px;
}
h1.hero-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(38px, 5vw, 62px); font-weight: 400; line-height: 1.18;
  color: var(--ink); letter-spacing: -0.01em; margin-bottom: 24px;
}
h1.hero-title em { font-style: italic; color: var(--blue-dark); }
.hero-body {
  font-size: 17px; line-height: 1.8; color: var(--mid);
  font-weight: 300; max-width: 500px; margin-bottom: 36px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue-dark); color: white; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 28px; border-radius: 4px; transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue); color: white; }
.btn-primary svg { width: 16px; height: 16px; stroke: white; fill: none; stroke-width: 2; }
.hero-right {
  background: white; border: 1px solid var(--border); border-radius: 10px;
  padding: 36px 32px; box-shadow: 0 8px 40px rgba(26,123,191,0.10);
}
.hero-right-title {
  font-family: 'Libre Baskerville', serif; font-style: italic;
  font-size: 15px; color: var(--blue-dark); margin-bottom: 20px;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.stat-box {
  background: var(--off); padding: 20px 16px;
  border: 1px solid var(--border);
}
.stat-box:nth-child(1) { border-radius: 6px 0 0 0; }
.stat-box:nth-child(2) { border-radius: 0 6px 0 0; }
.stat-box:nth-child(3) { border-radius: 0 0 0 6px; }
.stat-box:nth-child(4) { border-radius: 0 0 6px 0; }
.stat-num {
  font-family: 'Libre Baskerville', serif; font-size: 34px;
  font-weight: 400; color: var(--blue-dark); line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: 12px; font-weight: 400; color: var(--soft); line-height: 1.4; }

/* ===== SECTION BASE ===== */
section { padding: 96px 6%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blue-dark); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ''; display: inline-block;
  width: 24px; height: 2px; background: var(--blue-dark); border-radius: 2px;
}
h2.section-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(28px, 3.5vw, 42px); font-weight: 400; line-height: 1.25;
  color: var(--ink); letter-spacing: -0.01em; margin-bottom: 20px;
}
h2.section-title em { font-style: italic; color: var(--blue-dark); }
.section-body { font-size: 16px; line-height: 1.8; color: var(--mid); font-weight: 300; max-width: 640px; }

/* ===== MISSION ===== */
#mission { background: var(--white); }
.mission-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; margin-top: 12px;
}
.mission-visual {
  background: var(--blue-pale); border: 1px solid var(--blue-light);
  border-radius: 10px; overflow: hidden;
}
.mv-header {
  background: var(--blue-dark); color: white; padding: 18px 24px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.mv-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 24px; border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.mv-row:hover { background: white; }
.mv-row:last-child { border-bottom: none; }
.mv-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mv-label { font-size: 14px; color: var(--ink); flex: 1; }
.mv-bar-wrap { width: 100px; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.mv-bar { height: 100%; border-radius: 3px; }
.mv-val { font-size: 11px; font-weight: 600; color: var(--soft); width: 32px; text-align: right; }
.mission-note { margin-top: 12px; font-size: 12px; font-style: italic; color: var(--soft); padding-left: 4px; }

/* ===== WHAT WE DO ===== */
#what-we-do { background: var(--off); }
.cards-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; margin-top: 44px;
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
}
.card {
  background: white; padding: 40px 28px;
  border-right: 1px solid var(--border);
  transition: background 0.25s, transform 0.25s; position: relative; overflow: hidden;
}
.card:last-child { border-right: none; }
.card:hover { background: var(--blue-pale); transform: translateY(-3px); }
.card-n {
  font-family: 'Libre Baskerville', serif; font-size: 48px;
  font-weight: 400; color: var(--blue-light); line-height: 1; margin-bottom: 18px;
}
.card-title { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.card-body { font-size: 13.5px; line-height: 1.75; color: var(--mid); font-weight: 300; }
.card-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.card:hover .card-bar { transform: scaleX(1); }

/* ===== APPROACH ===== */
#approach { background: white; }
.approach-grid {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 80px; align-items: start; margin-top: 12px;
}
.puma-box {
  background: var(--blue-dark); color: white;
  padding: 32px 28px; border-radius: 8px; margin-top: 32px;
}
.puma-abbr { font-family: 'Libre Baskerville', serif; font-size: 38px; font-weight: 400; margin-bottom: 4px; }
.puma-full { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.puma-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.75); font-weight: 300; }
.steps { display: flex; flex-direction: column; }
.step {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--border); align-items: start;
  transition: padding-left 0.25s;
}
.step:first-child { border-top: 1px solid var(--border); }
.step:hover { padding-left: 6px; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue-pale); border: 1px solid var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Libre Baskerville', serif; font-size: 16px; color: var(--blue-dark); flex-shrink: 0;
}
.step-title { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.step-body { font-size: 13.5px; line-height: 1.7; color: var(--mid); font-weight: 300; }

/* ===== FOCUS AREAS ===== */
#focus { background: var(--blue-dark); color: white; padding: 88px 6%; }
.focus-inner { max-width: 1100px; margin: 0 auto; }
.focus-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.focus-eyebrow::before {
  content: ''; display: inline-block;
  width: 24px; height: 2px; background: rgba(255,255,255,0.35); border-radius: 2px;
}
.focus-title {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 400; color: white;
  margin-bottom: 48px; line-height: 1.25;
}
.focus-title em { font-style: italic; color: #9fd8f5; }
.focus-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.focus-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  padding: 32px 24px; transition: background 0.25s;
}
.focus-card:hover { background: rgba(255,255,255,0.13); }
.focus-icon {
  width: 38px; height: 38px; background: rgba(255,255,255,0.12);
  border-radius: 6px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.focus-icon svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 1.6; }
.focus-card-title { font-size: 15px; font-weight: 600; color: white; margin-bottom: 10px; }
.focus-card-body { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.6); font-weight: 300; }
.therapy-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.tag { font-size: 11px; font-weight: 500; padding: 5px 12px; border-radius: 20px; letter-spacing: 0.04em; }
.tag-white { background: rgba(255,255,255,0.12); color: white; border: 1px solid rgba(255,255,255,0.2); }

/* ===== CONTACT ===== */
#contact { background: var(--off); padding: 96px 6%; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start; max-width: 1100px; margin: 0 auto;
}
.contact-form-area {
  background: white; border: 1px solid var(--border); border-radius: 8px; padding: 40px 36px;
}
.form-title {
  font-family: 'Libre Baskerville', serif; font-size: 22px;
  font-weight: 400; color: var(--ink); margin-bottom: 28px;
}
.form-row { margin-bottom: 20px; }
label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--soft); margin-bottom: 7px;
}
input, textarea, select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif; font-size: 14px; color: var(--ink);
  background: var(--off); transition: border-color 0.2s; outline: none;
}
input:focus, textarea:focus { border-color: var(--blue-dark); background: white; }
textarea { min-height: 100px; resize: vertical; }
.form-submit, input[type="submit"], .wpcf7-submit {
  width: 100%; padding: 14px; background: var(--blue-dark); color: white; border: none;
  font-family: 'Source Sans 3', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; border-radius: 4px; cursor: pointer;
  transition: background 0.2s;
}
.form-submit:hover, input[type="submit"]:hover, .wpcf7-submit:hover { background: var(--blue); }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-detail:first-of-type { border-top: 1px solid var(--border); }
.cd-icon {
  width: 36px; height: 36px; background: var(--blue-pale); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cd-icon svg { width: 16px; height: 16px; stroke: var(--blue-dark); fill: none; stroke-width: 1.6; }
.cd-text { font-size: 14px; color: var(--ink); }
.cd-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); margin-bottom: 3px; }

/* CF7 overrides */
.wpcf7 .wpcf7-form p { margin-bottom: 20px; }
.wpcf7 .wpcf7-form input[type="text"],
.wpcf7 .wpcf7-form input[type="email"],
.wpcf7 .wpcf7-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif; font-size: 14px;
}
.wpcf7-not-valid-tip { color: #c0392b; font-size: 12px; }
.wpcf7-response-output { padding: 12px 16px; border-radius: 4px; font-size: 13px; margin-top: 16px; }

/* ===== FOOTER ===== */
footer.site-footer { background: var(--ink); color: white; padding: 56px 6% 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand img { height: 32px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-desc { font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,0.5); font-weight: 300; }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col a {
  display: block; font-size: 13.5px; color: rgba(255,255,255,0.6);
  text-decoration: none; margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ===== IMPRESSUM ===== */
#impressum, .page-impressum { background: var(--white); padding: 120px 6% 96px; }
.impressum-inner { max-width: 760px; margin: 0 auto; }
.impressum-inner h1, .impressum-inner h2 {
  font-family: 'Libre Baskerville', serif; font-size: 32px;
  font-weight: 400; color: var(--ink); margin-bottom: 36px;
}
.imp-block { margin-bottom: 32px; }
.imp-block h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 10px; }
.imp-block p, .imp-block address { font-size: 15px; line-height: 1.85; color: var(--mid); font-weight: 300; font-style: normal; }
.imp-block a { color: var(--blue-dark); text-decoration: none; }
.imp-block a:hover { text-decoration: underline; }
hr.imp-divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner, .mission-grid, .approach-grid, .contact-grid, .footer-top {
    grid-template-columns: 1fr; gap: 40px;
  }
  .cards-grid, .focus-grid { grid-template-columns: 1fr 1fr; }
  nav.site-nav .nav-links { display: none; }
}
@media (max-width: 560px) {
  .cards-grid, .focus-grid, .stat-grid { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
