/* ScriptMaster Akademie — very-gate-459.css */
:root {
  --primary: #e94560;
  --secondary: #1a1a2e;
  --accent: #f5a623;
  --purple: #16213e;
  --text: #1a1a2e;
  --text-light: #5a5a72;
  --bg: #ffffff;
  --bg-gray: #f9f9f9;
  --border: #e0e0e0;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap svg { height: 42px; width: auto; }
.logo-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}
.logo-name span { color: var(--primary); }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  padding: 8px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 4px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-desktop a:hover { background: var(--bg-gray); color: var(--primary); }
.nav-desktop a.active { color: var(--primary); }

.nav-cta {
  margin-left: 12px;
  background: var(--primary);
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 4px;
}
.nav-cta:hover { background: #c73450 !important; color: var(--white) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
  gap: 4px;
}
.nav-mobile a {
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--bg-gray);
  display: block;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--secondary);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .35;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: #c73450; border-color: #c73450; }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--secondary); }
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: #d4901f; border-color: #d4901f; }
.btn-dark { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-dark:hover { background: #0f0f1e; border-color: #0f0f1e; }

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--bg-gray);
  padding: 48px 24px;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: .9rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* ─── SECTIONS COMMON ─── */
.section { padding: 72px 24px; }
.section-alt { background: var(--bg-gray); }
.section-dark { background: var(--purple); color: var(--white); }
.section-primary { background: var(--primary); color: var(--white); }

.container { max-width: 1280px; margin: 0 auto; }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.section-dark .section-label { color: var(--accent); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  line-height: 1.7;
}
.section-dark .section-sub { color: rgba(255,255,255,.75); }
.section-center { text-align: center; }
.section-center .section-sub { margin: 0 auto; }

/* ─── COURSES / SERVICE CARDS ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.1); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  margin-bottom: 10px;
}
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.card p { font-size: .92rem; color: var(--text-light); line-height: 1.65; }
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-tag { font-size: 1.25rem; font-weight: 800; color: var(--secondary); }
.price-tag small { font-size: .75rem; font-weight: 500; color: var(--text-light); display: block; }

/* Dark section cards */
.section-dark .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: var(--white); }
.section-dark .card:hover { background: rgba(255,255,255,.1); }
.section-dark .card p { color: rgba(255,255,255,.7); }
.section-dark .card-footer { border-color: rgba(255,255,255,.12); }
.section-dark .price-tag { color: var(--white); }

/* ─── ABOUT SPLIT ─── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-img { border-radius: 8px; width: 100%; height: 420px; object-fit: cover; }
.about-list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; }
.about-list i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }

/* ─── HOW IT WORKS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.step { text-align: center; padding: 28px 20px; }
.step-num {
  width: 56px; height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800;
  margin: 0 auto 20px;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }
.section-dark .step p { color: rgba(255,255,255,.65); }

/* ─── PRICING TABLE ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.price-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.1); }
.price-card.featured {
  border-color: var(--primary);
  background: var(--secondary);
  color: var(--white);
}
.price-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px;
}
.price-name { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.price-card.featured .price-name { color: rgba(255,255,255,.85); }
.price-amount { font-size: 2.8rem; font-weight: 800; color: var(--primary); line-height: 1; }
.price-card.featured .price-amount { color: var(--accent); }
.price-period { font-size: .8rem; color: var(--text-light); margin-bottom: 24px; margin-top: 4px; }
.price-card.featured .price-period { color: rgba(255,255,255,.6); }
.price-features { text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.price-features li { font-size: .88rem; display: flex; align-items: flex-start; gap: 10px; }
.price-features li i { color: var(--primary); margin-top: 2px; }
.price-card.featured .price-features li i { color: var(--accent); }
.price-card.featured .price-features li { color: rgba(255,255,255,.85); }

/* ─── TESTIMONIALS ─── */
.testimonials-wrap {
  max-width: 760px;
  margin: 0 auto;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform .6s ease;
}
.testimonial-slide { width: 100%; flex-shrink: 0; }
.testimonial-quote {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  position: relative;
  padding: 0 24px;
  text-align: center;
  margin-bottom: 20px;
}
.testimonial-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  position: absolute;
  top: -20px; left: 0;
  line-height: 1;
  font-style: normal;
}
.testimonial-author { text-align: center; font-weight: 700; color: var(--secondary); }
.testimonial-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 28px;
}
.t-dot {
  width: 9px; height: 9px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: background .2s;
}
.t-dot.active { background: var(--primary); }

/* ─── FAQ ─── */
.faq-list { margin-top: 40px; max-width: 800px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-question i { color: var(--primary); transition: transform .3s; flex-shrink: 0; }
.faq-question.open i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-answer.open { max-height: 400px; padding-bottom: 20px; }

/* ─── CONTACT SECTION ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info-list { margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-item i { color: var(--primary); font-size: 1.1rem; margin-top: 3px; }
.contact-info-item p { font-size: .95rem; line-height: 1.5; }
.contact-info-item strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: 2px; }

.contact-form { background: var(--bg); border-radius: 10px; padding: 36px; border: 1px solid var(--border); }
.form-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.form-sub { font-size: .9rem; color: var(--text-light); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--text-light); margin-bottom: 20px; }
.form-check input { margin-top: 3px; flex-shrink: 0; cursor: pointer; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #c0153a 100%);
  padding: 72px 24px;
  text-align: center;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-banner p { font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 32px; }

/* ─── FOOTER ─── */
.site-footer { background: var(--secondary); color: var(--white); padding: 56px 24px 28px; }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.65; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s;
}
.footer-socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

.footer-col h4 { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; color: rgba(255,255,255,.5); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .9rem; color: rgba(255,255,255,.7); transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col address { font-style: normal; font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.8; }
.footer-col address a { color: rgba(255,255,255,.65); }
.footer-col address a:hover { color: var(--primary); }

.footer-bottom {
  max-width: 1280px;
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--primary); }

/* ─── COOKIE BANNER ─── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--secondary);
  color: var(--white);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  border-top: 3px solid var(--primary);
  transform: translateY(100%);
  transition: transform .4s ease;
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner p { font-size: .88rem; color: rgba(255,255,255,.8); max-width: 640px; }
#cookie-banner a { color: var(--primary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
#cookie-accept {
  background: var(--primary); color: var(--white);
  border: none; padding: 9px 22px;
  border-radius: 4px; font-size: .88rem; font-weight: 700;
  cursor: pointer;
}
#cookie-decline {
  background: transparent; color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.3); padding: 9px 18px;
  border-radius: 4px; font-size: .88rem;
  cursor: pointer;
}

/* ─── PAGE HEADER (inner pages) ─── */
.page-hero {
  background: var(--secondary);
  padding: 64px 24px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--white); margin-bottom: 12px; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--primary); }

/* ─── PROSE CONTENT ─── */
.prose { max-width: 860px; }
.prose h2 { font-size: 1.45rem; font-weight: 700; margin: 36px 0 14px; color: var(--secondary); }
.prose h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 10px; color: var(--secondary); }
.prose p { font-size: .97rem; color: var(--text-light); line-height: 1.75; margin-bottom: 16px; }
.prose ul { margin: 12px 0 20px 20px; list-style: disc; }
.prose ul li { font-size: .97rem; color: var(--text-light); line-height: 1.7; margin-bottom: 6px; }
.prose a { color: var(--primary); text-decoration: underline; }

/* ─── SUCCESS PAGE ─── */
.success-box { text-align: center; max-width: 520px; margin: 0 auto; padding: 60px 24px; }
.success-icon { font-size: 3.5rem; color: #27ae60; margin-bottom: 20px; }
.success-box h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.success-box p { color: var(--text-light); margin-bottom: 28px; }

/* ─── MAP PLACEHOLDER ─── */
.map-placeholder {
  width: 100%; height: 340px;
  background: var(--bg-gray);
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--text-light);
  font-size: .9rem;
  border: 1px solid var(--border);
  margin-top: 40px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .about-img { height: 280px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-btns { flex-direction: column; }
  .contact-form { padding: 24px; }
}
