/* ========================================================================
   Endlich fit & gesund mit Dr. Grund – Stylesheet
   ärztlich-fundiert, modern, vertrauenserweckend
   ======================================================================== */

:root {
  --primary: #1F4E79;
  --primary-dark: #15385a;
  --primary-light: #2E75B6;
  --accent: #70AD47;
  --accent-dark: #5a8c39;
  --text: #1a1a1a;
  --text-muted: #555;
  --text-light: #888;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-section: #fafbfd;
  --border: #e4e9ef;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(31, 78, 121, 0.06);
  --shadow-lg: 0 8px 32px rgba(31, 78, 121, 0.1);
  --content-max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--text); }

p { margin-bottom: 1rem; color: var(--text-muted); }
p.lead { font-size: 1.15rem; color: var(--text); }
p.subtle { color: var(--text-light); font-size: 0.95rem; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

ul, ol { padding-left: 1.25rem; margin-bottom: 1rem; }
ul li, ol li { margin-bottom: 0.5rem; color: var(--text-muted); }

strong { color: var(--text); font-weight: 600; }

/* ---- Layout ---- */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }
section.soft { background: var(--bg-soft); }
section.section-bg { background: var(--bg-section); }

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ---- Header / Navigation ---- */
header.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  letter-spacing: -0.01em;
}
.logo .logo-accent { color: var(--accent); }
.logo .logo-sub { color: var(--text-light); font-weight: 400; font-size: 0.85rem; }
nav ul { display: flex; gap: 2rem; list-style: none; padding: 0; margin: 0; }
nav ul li { margin: 0; }
nav ul li a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.97rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
nav ul li a:hover, nav ul li a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}

/* ---- Hero ---- */
.hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
}
.hero h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}
@media (min-width: 900px) { .hero h1 { font-size: 3.5rem; } }
.hero .hero-claim {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 1.25rem 0 2rem;
  max-width: 30em;
}
.hero-visual {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: white;
  box-shadow: var(--shadow-lg);
}
.hero-visual h3 { color: #fff; margin-bottom: 1rem; }
.hero-visual ul { list-style: none; padding: 0; }
.hero-visual ul li {
  color: rgba(255, 255, 255, 0.92);
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.6rem;
}
.hero-visual ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #C6E0B4;
  font-weight: 700;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: white;
}
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Cards / Grids ---- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 700px) { .card-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--bg-soft);
  color: var(--accent);
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.card.pillar .icon {
  background: var(--primary);
  color: white;
}
.card.pillar h3 { color: var(--primary); }

/* ---- Über mich section ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 800px) { .about-grid { grid-template-columns: 1fr 1.5fr; } }
.about-photo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center top;
  display: block;
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}
/* Hero-Foto (kleiner, rund) */
.hero-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 4px solid white;
}
/* Hero-Layout-Anpassung mit Foto */
.hero-figure {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---- Steps (Ablauf) ---- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
  counter-reset: step;
}
.steps .step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  position: relative;
}
.steps .step .step-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

/* ---- Quote ---- */
.quote {
  text-align: center;
  max-width: 720px;
  margin: 3rem auto 0;
  padding: 2.5rem 2rem;
  background: var(--primary);
  border-radius: var(--radius);
  color: white;
}
.quote p {
  font-size: 1.4rem;
  font-style: italic;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.quote .quote-source { color: #C6E0B4; font-size: 0.95rem; font-weight: 600; }

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 700px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
.contact-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.contact-card h3 { color: var(--primary); margin-bottom: 0.5rem; }
.contact-card a { font-size: 1.15rem; font-weight: 600; word-break: break-all; }
.contact-card .extra-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-dark);
  padding: 0.4rem 0.9rem;
  background: rgba(112, 173, 71, 0.12);
  border-radius: 999px;
}
.contact-card .extra-link:hover { background: rgba(112, 173, 71, 0.22); color: var(--accent-dark); }
.contact-card .extra-link::before { content: ""; font-size: 1rem; }
/* Social-Bereich im Footer */
.footer-social { margin-top: 0.5rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1rem;
}

/* ---- CTA Section ---- */
.cta {
  background: var(--primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}
.cta h2 { color: white; }
.cta p { color: rgba(255, 255, 255, 0.9); font-size: 1.1rem; max-width: 36em; margin: 0 auto 2rem; }
.cta .btn-primary { background: var(--accent); color: white; }
.cta .btn-primary:hover { background: var(--accent-dark); }

/* ---- Footer ---- */
footer.site-footer {
  background: #15385a;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
}
footer.site-footer h4 { color: white; margin-bottom: 1rem; font-size: 1.05rem; }
footer.site-footer a { color: rgba(255, 255, 255, 0.85); }
footer.site-footer a:hover { color: white; }
footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 700px) { footer .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
footer .footer-grid p { color: rgba(255, 255, 255, 0.7); margin-bottom: 0.4rem; }
footer .footer-grid ul { list-style: none; padding: 0; }
footer .footer-grid ul li { margin-bottom: 0.4rem; color: rgba(255, 255, 255, 0.7); }
footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
footer .footer-bottom a { color: rgba(255, 255, 255, 0.75); }

/* ---- Page Header (für Unterseiten) ---- */
.page-header {
  background: var(--bg-soft);
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { font-size: 1.15rem; color: var(--text-muted); margin: 0; }

/* ---- Pillar Detail (Angebot Seite) ---- */
.pillar-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}
@media (min-width: 700px) { .pillar-detail { grid-template-columns: 90px 1fr; gap: 2rem; } }
.pillar-detail .pillar-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  font-family: Georgia, serif;
}
.pillar-detail h3 { margin-top: 0; font-size: 1.5rem; }
.pillar-detail ul { margin-top: 1rem; }

/* ---- Disclaimer ---- */
.disclaimer {
  background: var(--bg-soft);
  border-left: 4px solid var(--text-light);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 2rem;
}
.disclaimer.warning {
  background: #FFF4E5;
  border-left-color: #D88500;
  color: #5C3A00;
}
.disclaimer.warning strong { color: #5C3A00; }
/* Inline-Hinweis im Footer */
.footer-disclaimer {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid rgba(255, 255, 255, 0.2);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.83rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 0;
}

/* ---- Responsive Tweaks ---- */
@media (max-width: 700px) {
  .hero h1 { font-size: 2.2rem; }
  h2 { font-size: 1.6rem; }
  section { padding: 3.5rem 0; }
  nav ul { gap: 1rem; }
  nav ul li a { font-size: 0.9rem; }
}
