/* ══════════════════════════════════════════
   Heilpraktiker Institut Berlin – Template CSS
   Teal/Gold Variante
   ══════════════════════════════════════════ */

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

:root {
  --deep-teal: #1a3a3a;
  --teal: #2a5c5c;
  --teal-light: #3a7a7a;
  --sage: #6b917b;
  --sage-light: #8fb09d;
  --cream: #f5f1eb;
  --cream-warm: #ede7dd;
  --white: #fafaf8;
  --text-dark: #1a2a2a;
  --text-body: #3a4a4a;
  --text-muted: #6a7a7a;
  --gold: #b8965a;
  --gold-light: #d4b07a;
  --accent-hp: #2a5c5c;
  --accent-psy: #5c6b3a;
  --border: rgba(26, 58, 58, 0.1);
  --shadow-soft: 0 4px 30px rgba(26, 58, 58, 0.08);
  --shadow-medium: 0 8px 40px rgba(26, 58, 58, 0.12);
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--deep-teal);
  line-height: 1.25;
  font-weight: 500;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; }

/* ─── Nav ─── */
nav#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s ease;
}
nav#site-nav.scrolled { box-shadow: var(--shadow-soft); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; max-width: 1140px; margin: 0 auto;
}

.nav-brand { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.nav-brand-name {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem;
  font-weight: 600; color: var(--deep-teal); letter-spacing: 0.02em;
}
.nav-brand-sub {
  font-size: 0.7rem; color: var(--text-muted);
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500;
}

/* Joomla nav menu styling */
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links li { list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-body); font-size: 0.85rem;
  font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--teal); transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links .active > a { color: var(--teal); }
.nav-links a:hover::after, .nav-links .active > a::after { width: 100%; }

.nav-cta {
  background: var(--deep-teal) !important; color: var(--white) !important;
  padding: 10px 22px !important; border-radius: var(--radius) !important;
  font-size: 0.8rem !important; letter-spacing: 0.08em !important;
  transition: background 0.3s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--teal) !important; transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span { width: 24px; height: 2px; background: var(--deep-teal); transition: all 0.3s; }

/* ─── Hero ─── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 140px;
  background: linear-gradient(165deg, var(--cream) 0%, var(--white) 40%, #e8ede9 100%);
}

.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 92, 92, 0.06) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -10%; left: -5%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 145, 123, 0.08) 0%, transparent 70%);
}

.hero-split {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; align-items: center;
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 28px;
  opacity: 0; transform: translateY(20px); animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 1.5px; background: var(--gold); }

.hero h1 {
  margin-bottom: 28px; opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.4s forwards;
}
.hero h1 em { font-style: italic; color: var(--teal); }

.hero-text {
  font-size: 1.15rem; line-height: 1.85; color: var(--text-body);
  max-width: 600px; margin-bottom: 44px;
  opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; transform: translateY(30px); animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-image {
  position: relative; z-index: 2;
  opacity: 0; transform: translateX(30px);
  animation: fadeLeft 0.9s ease 0.6s forwards;
}
.hero-image-inner {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-medium); position: relative;
}
.hero-image-inner img {
  width: 100%; height: 480px; object-fit: cover;
  object-position: center; display: block;
}
.hero-image-inner .img-placeholder {
  width: 100%; height: 480px;
  background: linear-gradient(145deg, var(--sage) 0%, var(--teal) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic;
  color: rgba(255,255,255,0.4);
}
.hero-image-accent {
  position: absolute; bottom: -16px; right: -16px;
  width: 120px; height: 120px; border-radius: var(--radius);
  background: var(--gold); opacity: 0.15; z-index: -1;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; font-family: 'Source Sans 3', sans-serif;
  font-size: 0.88rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--deep-teal); color: var(--white); }
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(26,58,58,0.25); }
.btn-outline { background: transparent; color: var(--deep-teal); border: 1.5px solid var(--deep-teal); }
.btn-outline:hover { background: var(--deep-teal); color: var(--white); transform: translateY(-2px); }
.btn-hp { background: var(--accent-hp); color: var(--white); }
.btn-hp:hover { background: #1e4a4a; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(42,92,92,0.3); }
.btn-psy { background: var(--accent-psy); color: var(--white); }
.btn-psy:hover { background: #4a5830; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(90,107,69,0.3); }

/* ─── Section Headers ─── */
.section-header { text-align: center; margin-bottom: 72px; }
.section-header h2 { margin-bottom: 18px; }
.section-header p { max-width: 620px; margin: 0 auto; color: var(--text-muted); font-size: 1.05rem; }

/* ─── Path Chooser ─── */
.path-chooser {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-top: 48px; opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s ease 1s forwards;
}

.path-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  text-decoration: none; transition: all 0.4s ease;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
}
.path-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px; transition: height 0.4s ease;
}
.path-card.hp::before { background: var(--accent-hp); }
.path-card.psy::before { background: var(--accent-psy); }
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); border-color: transparent; }
.path-card:hover::before { height: 4px; }

.path-card .path-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.path-card.hp .path-label { color: var(--accent-hp); }
.path-card.psy .path-label { color: var(--accent-psy); }
.path-card h3 { font-size: 1.4rem; color: var(--deep-teal); margin: 0; }
.path-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

.path-card .path-arrow {
  margin-top: auto; display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; transition: gap 0.3s;
}
.path-card.hp .path-arrow { color: var(--accent-hp); }
.path-card.psy .path-arrow { color: var(--accent-psy); }
.path-card:hover .path-arrow { gap: 12px; }

/* ─── Comparison ─── */
.comparison { background: var(--white); }

.comparison-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.comp-column { padding: 0; }
.comp-header { padding: 40px 36px; text-align: center; }
.comp-header.hp { background: var(--accent-hp); }
.comp-header.psy { background: var(--accent-psy); }
.comp-header h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 6px; }
.comp-header p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

.comp-badge {
  display: inline-block; padding: 4px 14px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 12px;
  background: rgba(255,255,255,0.2); color: var(--white);
}

.comp-body { padding: 36px; }
.comp-section-title {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 16px; margin-top: 28px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.comp-section-title:first-child { margin-top: 0; }

.comp-list { list-style: none; }
.comp-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; font-size: 0.92rem; color: var(--text-body); line-height: 1.6;
}
.comp-list li svg {
  flex-shrink: 0; width: 16px; height: 16px;
  stroke: var(--sage); fill: none; stroke-width: 2; margin-top: 3px;
}

.comp-footer { padding: 28px 36px; border-top: 1px solid var(--border); text-align: center; }
.comp-price { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--deep-teal); margin-bottom: 4px; }
.comp-price-note { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }

/* ─── Curriculum Detail ─── */
.curriculum-detail { padding: 100px 0; }
.curriculum-detail.hp-detail { background: var(--cream); }
.curriculum-detail.psy-detail { background: var(--white); }

.curriculum-detail .section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; margin-bottom: 16px;
}
.hp-detail .section-tag { color: var(--accent-hp); }
.psy-detail .section-tag { color: var(--accent-psy); }
.curriculum-detail .section-tag::before { content: ''; width: 28px; height: 2px; }
.hp-detail .section-tag::before { background: var(--accent-hp); }
.psy-detail .section-tag::before { background: var(--accent-psy); }

.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.module-card {
  background: var(--white); padding: 32px 28px;
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.psy-detail .module-card { background: var(--cream); }
.module-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0; transition: height 0.4s ease;
}
.hp-detail .module-card::before { background: var(--accent-hp); }
.psy-detail .module-card::before { background: var(--accent-psy); }
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.module-card:hover::before { height: 100%; }

.module-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 300; line-height: 1; margin-bottom: 12px;
}
.hp-detail .module-num { color: rgba(42,92,92,0.25); }
.psy-detail .module-num { color: rgba(92,107,58,0.25); }
.module-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.module-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ─── Features ─── */
.features {
  background: var(--deep-teal); color: var(--cream);
  position: relative; overflow: hidden;
}
.features::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(107,145,123,0.15) 0%, transparent 70%);
}
.features .section-header h2 { color: var(--cream); }
.features .section-header p { color: rgba(245,241,235,0.6); }

.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; position: relative; z-index: 2;
}

.feature-item {
  display: flex; gap: 20px; padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(245,241,235,0.08);
  background: rgba(245,241,235,0.04); transition: all 0.3s;
}
.feature-item:hover { background: rgba(245,241,235,0.08); border-color: rgba(245,241,235,0.15); }

.feature-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(184,150,90,0.15);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg {
  width: 22px; height: 22px; stroke: var(--gold-light);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feature-item h3 { color: var(--cream); font-size: 1.2rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; color: rgba(245,241,235,0.55); line-height: 1.7; }

/* ─── Institut ─── */
.institut { background: var(--cream); }
.institut-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: center; }
.institut-visual { position: relative; }

.institut-image-placeholder {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--sage) 0%, var(--teal) 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.institut-image-placeholder::after {
  content: ''; position: absolute; inset: 16px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 2px;
}
.institut-image-placeholder img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }

.institut-quote {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--white); padding: 28px 32px;
  border-radius: var(--radius); box-shadow: var(--shadow-medium); max-width: 300px;
}
.institut-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-style: italic; color: var(--deep-teal); line-height: 1.6;
}
.institut-quote cite {
  display: block; margin-top: 10px; font-size: 0.78rem;
  font-style: normal; color: var(--text-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}

.institut-content h2 { margin-bottom: 24px; }
.institut-content > p { margin-bottom: 18px; font-size: 1.02rem; }

.credentials { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.credential-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; background: var(--white);
  border: 1px solid var(--border); border-radius: 24px;
  font-size: 0.82rem; color: var(--text-body); font-weight: 500;
}
.credential-tag svg { width: 14px; height: 14px; stroke: var(--sage); fill: none; stroke-width: 2; }

/* ─── Portal CTA ─── */
.portal {
  background: linear-gradient(145deg, var(--sage) 0%, var(--teal) 100%);
  text-align: center; position: relative; overflow: hidden; padding: 80px 0;
}
.portal::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
}
.portal h2 { color: var(--white); margin-bottom: 16px; position: relative; }
.portal p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 500px; margin: 0 auto 36px; position: relative; }
.portal .btn { position: relative; background: var(--white); color: var(--deep-teal); }
.portal .btn:hover { background: var(--cream); box-shadow: 0 6px 24px rgba(0,0,0,0.2); }

/* ─── Kontakt ─── */
.kontakt { background: var(--cream); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; }
.kontakt-info h2 { margin-bottom: 20px; }
.kontakt-info > p { color: var(--text-muted); margin-bottom: 36px; font-size: 1.02rem; }

.kontakt-details { display: flex; flex-direction: column; gap: 20px; }
.kontakt-detail { display: flex; align-items: flex-start; gap: 14px; }
.kontakt-detail svg {
  flex-shrink: 0; width: 20px; height: 20px;
  stroke: var(--teal); fill: none; stroke-width: 1.8; margin-top: 3px;
}
.kontakt-detail strong {
  display: block; font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 3px; font-weight: 600;
}
.kontakt-detail span, .kontakt-detail a { color: var(--text-dark); font-size: 1rem; text-decoration: none; }
.kontakt-detail a:hover { color: var(--teal); }

.kontakt-form {
  background: var(--white); padding: 44px;
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 14px 18px; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem; color: var(--text-dark); background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,92,92,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ─── Section Image Banners ─── */
.section-image { width: 100%; height: 320px; overflow: hidden; position: relative; }
.section-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.section-image .img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--cream-warm) 0%, var(--cream) 50%, rgba(107,145,123,0.15) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif; font-size: 1rem; font-style: italic; color: var(--text-muted); opacity: 0.6;
}
.section-image.dark .img-placeholder {
  background: linear-gradient(135deg, var(--deep-teal) 0%, var(--teal) 50%, var(--sage) 100%);
  color: rgba(245,241,235,0.4);
}

/* ─── Footer ─── */
footer {
  background: var(--deep-teal); color: rgba(245,241,235,0.5); padding: 56px 0 32px;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px;
}
.footer-brand .nav-brand-name { color: var(--cream); }
.footer-brand .nav-brand-sub { color: rgba(245,241,235,0.4); }

.footer-links { display: flex; gap: 32px; list-style: none; }
.footer-links a {
  color: rgba(245,241,235,0.5); text-decoration: none; font-size: 0.88rem; transition: color 0.3s;
}
.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(245,241,235,0.08);
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; font-size: 0.82rem;
}

/* ─── Divider ─── */
.section-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 0; margin: 0 auto;
}
.section-divider span { width: 60px; height: 1px; background: var(--border); }
.section-divider svg { width: 16px; height: 16px; fill: none; stroke: var(--sage); stroke-width: 1.5; opacity: 0.6; }

/* ─── Animations ─── */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes bobDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Mobile Menu ─── */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(250,250,248,0.98); backdrop-filter: blur(20px);
  z-index: 999; flex-direction: column; align-items: center;
  justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif; font-size: 1.7rem;
  color: var(--deep-teal); text-decoration: none;
}
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-close svg { width: 28px; height: 28px; stroke: var(--deep-teal); stroke-width: 2; }

.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 0.8s ease 1.2s forwards;
}
.scroll-indicator span {
  font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 500;
}
.scroll-indicator svg {
  width: 20px; height: 20px; stroke: var(--text-muted);
  fill: none; stroke-width: 2; animation: bobDown 2s ease-in-out infinite;
}

/* ─── Joomla Component Area ─── */
.component-area { padding: 80px 0; }
.component-area:empty { padding: 0; }

/* Override Joomla default styles */
.com-content-article { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.com-content-article__body h2 { margin-top: 48px; margin-bottom: 18px; }
.com-content-article__body p { margin-bottom: 16px; }

/* ─── Responsive ─── */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
  section { padding: 72px 0; }
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { order: -1; }
  .hero-image-inner img, .hero-image-inner .img-placeholder { height: 300px; }
  .section-image { height: 220px; }
  .path-chooser { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .institut-layout { grid-template-columns: 1fr; gap: 48px; }
  .institut-quote { position: relative; bottom: auto; right: auto; margin-top: 20px; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 640px) {
  .hero { min-height: auto; padding: 160px 0 80px; }
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; justify-content: center; }
  .kontakt-form { padding: 28px 20px; }
  .comp-header { padding: 28px 20px; }
  .comp-body { padding: 24px 20px; }
  .comp-footer { padding: 24px 20px; }
}
