/* ─── Big Heroes Academy – Shared Styles ─── */
:root {
  --teal:      #4BA8A0;
  --teal-dark: #357a74;
  --teal-pale: #e8f5f4;
  --gold:      #D4901A;
  --gold-pale: #fdf3e0;
  --sage:      #8FB89A;
  --sage-pale: #f0f5f1;
  --dark:      #1a2b2a;
  --mid:       #4a6360;
  --light:     #F8F5F0;
  --white:     #ffffff;
  --border:    rgba(75,168,160,0.18);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --nav-h: 72px;
  --max-w: 1160px;
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--light); color: var(--dark); line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Utilities */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); border: 1px solid var(--teal); border-radius: 100px; padding: 4px 14px; margin-bottom: 16px; }
.tag--dark { color: var(--teal); border-color: var(--teal); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 100px; font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all .22s ease; }
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-pale); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* Section layout */
.section { padding: 96px 0; }
.section--white { background: var(--white); }
.section--light { background: var(--light); }
.section--dark  { background: var(--dark); }
.section--sage  { background: var(--sage-pale); }
.section--teal-pale { background: var(--teal-pale); }
.section__head { text-align: center; margin-bottom: 56px; }
.section__head--left { text-align: left; }
.section__title { font-family: var(--font-head); font-size: clamp(26px, 3.8vw, 40px); font-weight: 700; line-height: 1.2; color: var(--dark); margin-bottom: 14px; }
.section__title--white { color: var(--white); }
.section__sub { font-size: 17px; color: var(--mid); max-width: 580px; margin: 0 auto; line-height: 1.7; }
.section__sub--white { color: rgba(255,255,255,.65); }
.section__sub--left { margin: 0; }

/* Page Header */
.page-header { padding-top: calc(var(--nav-h) + 80px); padding-bottom: 80px; background: var(--white); position: relative; overflow: hidden; text-align: center; }
.page-header::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 800px; height: 500px; background: radial-gradient(ellipse, rgba(75,168,160,.09) 0%, transparent 65%); pointer-events: none; }
.page-header__title { font-family: var(--font-head); font-size: clamp(28px, 4.5vw, 52px); font-weight: 700; line-height: 1.15; color: var(--dark); margin-bottom: 22px; max-width: 800px; margin-left: auto; margin-right: auto; }
.page-header__title em { color: var(--teal); font-style: normal; }
.page-header__sub { font-size: 18px; color: var(--mid); line-height: 1.75; max-width: 640px; margin: 0 auto 36px; }
.page-header__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); background: rgba(248,245,240,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); z-index: 1000; display: flex; align-items: center; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.nav__logo { display: flex; align-items: center; gap: 10px; }
.nav__logo-img { height: 88px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 8px; font-size: 14px; color: var(--mid); transition: color .15s, background .15s; }
.nav__link:hover, .nav__link.active { color: var(--teal); background: var(--teal-pale); }
.nav__link .arrow { width: 11px; height: 11px; border: 1.5px solid currentColor; border-top: none; border-left: none; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.nav__item:hover .arrow { transform: rotate(225deg) translateY(-2px); }
.nav__dropdown { position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; min-width: 240px; box-shadow: 0 8px 32px rgba(26,43,42,.1); opacity: 0; pointer-events: none; transform: translateY(4px); transition: all .18s ease; }
.nav__dropdown::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav__item:hover .nav__dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav__dropdown a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 13.5px; color: var(--mid); transition: color .12s, background .12s; }
.nav__dropdown a:hover { color: var(--teal); background: var(--teal-pale); }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { font-size: 12px; font-weight: 600; letter-spacing: .05em; color: var(--mid); border: 1px solid var(--border); border-radius: 6px; padding: 5px 10px; cursor: pointer; transition: all .15s; }
.lang-switch:hover { color: var(--teal); border-color: var(--teal); }

/* Cards */
.cards-grid { display: grid; gap: 24px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; position: relative; overflow: hidden; transition: transform .22s, box-shadow .22s; }
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .22s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,43,42,.08); }
.card:hover::before { transform: scaleX(1); }
.card__icon { font-size: 28px; width: 52px; height: 52px; border-radius: 12px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card__title { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.card__text { font-size: 15px; color: var(--mid); line-height: 1.7; margin-bottom: 18px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--teal); transition: gap .15s; }
.card:hover .card__link { gap: 10px; }

/* Table */
.styled-table-wrap { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.styled-table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--white); }
.styled-table thead th { text-align: left; padding: 13px 20px; background: var(--teal-pale); color: var(--teal-dark); font-weight: 600; font-size: 13px; letter-spacing: .04em; border-bottom: 2px solid rgba(75,168,160,.25); }
.styled-table tbody tr { border-bottom: 1px solid var(--border); transition: background .12s; }
.styled-table tbody tr:last-child { border-bottom: none; }
.styled-table tbody tr:hover { background: var(--teal-pale); }
.styled-table td { padding: 13px 20px; }
.styled-table td:last-child { color: var(--mid); font-size: 14px; }

/* Checklist */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist__item { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--mid); }
.checklist__icon { color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* Intro text block */
.intro-text { font-size: 17px; color: var(--mid); line-height: 1.8; }
.intro-text p { margin-bottom: 18px; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-text strong { color: var(--dark); font-weight: 600; }

/* CTA section (dark) */
.cta-dark { background: var(--dark); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-dark::before { content: ''; position: absolute; bottom: -80px; left: 50%; transform: translateX(-50%); width: 600px; height: 600px; background: radial-gradient(circle, rgba(75,168,160,.13) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.cta-dark__title { font-family: var(--font-head); font-size: clamp(26px, 3.8vw, 42px); font-weight: 700; color: var(--white); margin-bottom: 14px; line-height: 1.2; position: relative; }
.cta-dark__title em { color: var(--teal); font-style: normal; }
.cta-dark__sub { font-size: 17px; color: rgba(255,255,255,.65); max-width: 500px; margin: 0 auto 32px; line-height: 1.7; position: relative; }
.cta-dark__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; position: relative; }
.cta-dark__meta { font-size: 13px; color: rgba(255,255,255,.4); position: relative; }
.cta-dark__meta a { color: var(--teal); }

/* CTA light */
.cta-light { background: var(--teal-pale); padding: 80px 0; text-align: center; border-top: 1px solid var(--border); }
.cta-light__title { font-family: var(--font-head); font-size: clamp(26px, 3.8vw, 42px); font-weight: 700; color: var(--dark); margin-bottom: 14px; line-height: 1.2; }
.cta-light__title em { color: var(--teal); font-style: normal; }
.cta-light__sub { font-size: 17px; color: var(--mid); max-width: 500px; margin: 0 auto 32px; line-height: 1.7; }
.cta-light__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-light__meta { font-size: 13px; color: var(--mid); }
.cta-light__meta a { color: var(--teal); font-weight: 600; }

/* Step / process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; }
.step::after { content: '→'; position: absolute; top: 20px; right: -16px; color: var(--border); font-size: 20px; }
.step:last-child::after { display: none; }
.step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: white; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step__title { font-weight: 700; font-size: 16px; color: var(--dark); margin-bottom: 8px; }
.step__text { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* Group header in Angebote */
.group-section { padding: 80px 0; }
.group-section + .group-section { border-top: 1px solid var(--border); }
.group-section--alt { background: var(--white); }
.group-header { margin-bottom: 40px; }
.group-header__title { font-family: var(--font-head); font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.group-header__text { font-size: 16px; color: var(--mid); max-width: 620px; line-height: 1.7; }

/* Form */
.form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.form-title { font-family: var(--font-head); font-size: 22px; color: var(--dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--mid); margin-bottom: 6px; letter-spacing: .04em; text-transform: uppercase; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-family: var(--font-body); font-size: 14px; color: var(--dark); background: var(--light); transition: border-color .15s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.form-radio { padding: 9px 16px; border: 1.5px solid var(--border); border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--mid); transition: all .15s; user-select: none; }
.form-radio.active { border-color: var(--teal); background: var(--teal-pale); color: var(--teal); }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--mid); }
.form-checkbox input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--teal); flex-shrink: 0; }
.submit-btn { width: 100%; padding: 14px; background: var(--teal); color: white; border: none; border-radius: 100px; font-family: var(--font-body); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s, transform .15s; margin-top: 8px; }
.submit-btn:hover { background: var(--teal-dark); transform: translateY(-1px); }

/* Footer */
footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 64px 0 32px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 28px; }
.footer__brand-name { font-family: var(--font-head); font-size: 20px; color: white; margin-bottom: 10px; }
.footer__brand-text { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.footer__contact a { display: block; font-size: 13px; color: var(--teal); margin-bottom: 4px; }
.footer__contact span { display: block; font-size: 13px; color: rgba(255,255,255,.35); }
.footer__heading { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer__links a { display: block; font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 10px; transition: color .12s; }
.footer__links a:hover { color: var(--teal); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.35); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: rgba(255,255,255,.4); transition: color .12s; }
.footer__legal a:hover { color: rgba(255,255,255,.8); }
.footer__langs { display: flex; gap: 8px; }
.footer__lang { font-size: 12px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 100px; color: rgba(255,255,255,.4); cursor: pointer; transition: all .12s; }
.footer__lang:hover, .footer__lang.active { border-color: var(--teal); color: var(--teal); }

/* Cookie Banner */
.cookie-banner { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); box-shadow: 0 -4px 24px rgba(26,43,42,.1); z-index: 9999; padding: 20px 24px; }
.cookie-banner__inner { max-width: var(--max-w); margin: 0 auto; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-banner__content { flex: 1; min-width: 260px; }
.cookie-banner__title { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.cookie-banner__text { font-size: 14px; color: var(--mid); line-height: 1.6; margin-bottom: 6px; }
.cookie-banner__more { font-size: 13px; color: var(--mid); }
.cookie-banner__more a { color: var(--teal); font-weight: 600; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 700px) { .cookie-banner__inner { flex-direction: column; align-items: flex-start; } }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up  { animation: fadeUp .6s ease forwards; }
.fade-up-2 { animation: fadeUp .6s ease .12s forwards; opacity: 0; }
.fade-up-3 { animation: fadeUp .6s ease .24s forwards; opacity: 0; }

/* Mobile nav hamburger */
.nav__hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; cursor: pointer; padding: 4px; border: none; background: transparent; }
.nav__hamburger span { display: block; height: 2px; background: var(--dark); border-radius: 2px; transition: all .22s ease; }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav__mobile { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--light); z-index: 999; overflow-y: auto; padding: 24px; flex-direction: column; gap: 4px; }
.nav__mobile.open { display: flex; }
.nav__mobile-link { display: block; padding: 12px 16px; border-radius: 8px; font-size: 16px; color: var(--dark); font-weight: 500; transition: color .15s, background .15s; }
.nav__mobile-link:hover, .nav__mobile-link.active { color: var(--teal); background: var(--teal-pale); }
.nav__mobile-link--sub { padding-left: 32px; font-size: 14px; color: var(--mid); }
.nav__mobile-divider { height: 1px; background: var(--border); margin: 8px 0; }
.nav__mobile-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

/* Responsive */
@media (max-width: 1000px) { .cards-grid--4 { grid-template-columns: 1fr 1fr; } .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .cards-grid--3 { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr 1fr; } .nav__menu { display: none; } .nav__hamburger { display: flex; } }
@media (max-width: 700px) { .cards-grid--2 { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; } .step::after { display: none; } }
@media (max-width: 600px) { .cards-grid--4 { grid-template-columns: 1fr; } .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; gap: 14px; text-align: center; } }