/* createmysearch.com – Bildungsplattform Berlin
   Stylesheet: Montserrat (headings) + Open Sans (body)
   Palette: primary #1B5E20, secondary #2E7D32, accent #4CAF50, tint #A5D6A7, light #E8F5E9
*/

:root {
  --primary: #1B5E20;
  --secondary: #2E7D32;
  --accent: #4CAF50;
  --tint: #A5D6A7;
  --light: #E8F5E9;
  --ink: #0E1F12;
  --muted: #4a584d;
  --paper: #ffffff;
  --line: #d6e4d8;
  --shadow: 0 14px 30px rgba(27, 94, 32, 0.10);
  --radius: 8px;
  --container: 1200px;
  --transition: 220ms cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Open Sans', system-ui, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .6em;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--muted); }

a { color: var(--secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.gradient-text {
  background: linear-gradient(120deg, var(--primary), var(--accent) 60%, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.brand img { width: 36px; height: 36px; }

.nav-toggle {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  display: none;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li { position: relative; }

.nav-menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  padding: 8px 2px;
  display: inline-block;
}
.nav-menu a:hover { color: var(--accent); }

.has-dropdown > a::after {
  content: "▾";
  font-size: .7em;
  margin-left: 5px;
  color: var(--accent);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 0;
  list-style: none;
  margin: 0;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--transition);
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 8px 18px;
  font-size: .88rem;
  font-weight: 500;
}
.dropdown a:hover { background: var(--light); color: var(--primary); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: var(--radius);
}
.nav-cta:hover { transform: translateY(-1px); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.28);
}
.btn-primary:hover {
  transform: scale(1.02) translateY(-2px);
  color: #fff;
  box-shadow: 0 14px 28px rgba(46, 125, 50, 0.38);
}
.btn-primary .arrow { transition: transform var(--transition); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
}
.btn-light:hover { background: var(--light); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 90px 0 130px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--light));
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 80px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--secondary);
  background: var(--light);
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
}

.hero h1 { margin-bottom: 18px; }

.hero-lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-meta {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .92rem;
}
.hero-meta strong { color: var(--ink); display: block; font-size: 1.4rem; font-family: 'Montserrat',sans-serif; }

.hero-visual {
  position: relative;
}
.hero-visual img {
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(27, 94, 32, 0.22);
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.hero-visual::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 18px;
  z-index: -1;
}
.hero-visual::after {
  content: "";
  position: absolute;
  bottom: -22px;
  right: -22px;
  width: 120px;
  height: 120px;
  background: var(--tint);
  border-radius: 50%;
  z-index: -1;
}

.hero-bg-shape {
  position: absolute;
  pointer-events: none;
  opacity: .35;
  z-index: 0;
}
.hero-bg-shape.left { top: 40px; left: -120px; }
.hero-bg-shape.right { bottom: 80px; right: -80px; }

/* ===== SECTION GENERICS ===== */
section { padding: 90px 0; position: relative; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

/* zigzag clip alternating sections */
.zigzag-top {
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
  margin-top: -40px;
  padding-top: 130px;
}
.zigzag-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
  padding-bottom: 130px;
}

.section-tint {
  background: linear-gradient(180deg, var(--light), #f5fbf6);
}
.section-dark {
  background: linear-gradient(135deg, var(--primary), #134a18);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.82); }

/* ===== CARDS GRID ===== */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.card.tinted { background: var(--light); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card .icon-wrap {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .95rem; }

/* overlapping cards layout */
.overlap-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.overlap-row .card {
  transform: translateY(0);
}
.overlap-row .card:nth-child(2) { transform: translateY(-22px); }
.overlap-row .card:nth-child(3) { transform: translateY(0); }

/* ===== STATS ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  display: block;
}
.stat-label {
  font-size: .92rem;
  color: var(--muted);
  letter-spacing: .04em;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: var(--accent);
  opacity: .25;
  border-radius: 50%;
}
.cta-banner::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: var(--tint);
  opacity: .22;
  border-radius: 30px;
  transform: rotate(20deg);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.cta-inner h2 { color: #fff; margin: 0; max-width: 720px; }
.cta-inner .btn-primary { background: #fff; color: var(--primary); box-shadow: 0 12px 22px rgba(0,0,0,0.18); }

/* ===== FOOTER ===== */
.site-footer {
  background: #0c1f10;
  color: #c5d6c8;
  padding: 70px 0 22px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: #fff;
  font-size: .98rem;
  letter-spacing: .04em;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #b9cabc; font-size: .92rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .85rem;
}
.footer-brand p { color: #95a797; font-size: .9rem; }
.footer-contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .9rem; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  z-index: 100;
  transform: translateY(120%);
  transition: transform 360ms cubic-bezier(.2,.7,.2,1);
  flex-wrap: wrap;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: .92rem; flex: 1 1 280px; color: var(--ink); }
.cookie-banner button {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: 0;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

/* ===== FORMS ===== */
.form {
  display: grid;
  gap: 18px;
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
}
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}
.form input, .form textarea, .form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .96rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: #fbfdfb;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15);
}
.form .error-msg {
  color: #b71c1c;
  font-size: .82rem;
  margin-top: 4px;
  min-height: 18px;
}
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] {
  border-color: #b71c1c;
}
.form-success {
  background: var(--light);
  color: var(--primary);
  padding: 14px 18px;
  border-radius: var(--radius);
  display: none;
}
.form-success.visible { display: block; }

/* ===== ARTICLE ===== */
.article-hero {
  background: linear-gradient(180deg, var(--light), #fff);
  padding: 70px 0 50px;
}
.article-hero img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 30px;
  box-shadow: var(--shadow);
}
.article-meta {
  display: flex;
  gap: 22px;
  font-size: .88rem;
  color: var(--muted);
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 22px;
  font-size: 1.06rem;
  line-height: 1.8;
}
.article-body h2 { margin-top: 1.8em; }
.article-body h3 { margin-top: 1.5em; }
.article-body p { color: var(--ink); }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 14px 22px;
  background: var(--light);
  margin: 26px 0;
  font-style: italic;
  border-radius: 4px;
}
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 1.2em; }
.article-body li { margin-bottom: 6px; color: var(--ink); }

/* ===== TESTIMONIALS ===== */
.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  scrollbar-width: thin;
}
.testimonial {
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  border-top: 4px solid var(--accent);
}
.testimonial-quote { font-size: 1rem; color: var(--ink); font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
}
.testimonial-author strong { display: block; color: var(--ink); font-size: .96rem; }
.testimonial-author span { font-size: .84rem; color: var(--muted); }

.carousel-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.carousel-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition);
}
.carousel-controls button:hover { background: var(--primary); color: #fff; }

/* ===== PROCESS / TIMELINE ===== */
.timeline {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}
.timeline-step {
  position: relative;
  padding: 26px 22px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.timeline-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -18px;
  left: 22px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: .82rem;
}
.timeline-step h4 { margin-bottom: 8px; margin-top: 10px; }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.faq-q::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform var(--transition);
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  transition: max-height var(--transition), padding var(--transition);
  color: var(--muted);
  font-size: .96rem;
}
.faq-item.is-open .faq-a { max-height: 400px; padding: 0 22px 22px; }

/* ===== BADGES ===== */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.badge {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.badge-icon {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}
.badge h4 { margin-bottom: 6px; }
.badge p { font-size: .86rem; margin: 0; }

/* ===== PARTNERS STRIP ===== */
.partners-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.partner-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-logo svg { max-height: 36px; max-width: 100%; }

/* ===== FLOATING ACTION BUTTONS ===== */
.fab-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 60;
}
.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: 0;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(27, 94, 32, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.fab:hover { transform: scale(1.08); }
.fab.secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
}

/* ===== LIVE CHAT MOCKUP ===== */
.chat-mockup {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 320px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 22px 48px rgba(0,0,0,0.18);
  z-index: 59;
  overflow: hidden;
  transform: translateY(12px) scale(.96);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.chat-mockup.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header strong { font-family: 'Montserrat', sans-serif; font-size: .98rem; }
.chat-header button { background: none; border: 0; color: #fff; font-size: 1.2rem; cursor: pointer; }
.chat-body { padding: 18px; }
.chat-msg {
  background: var(--light);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: .9rem;
  margin-bottom: 10px;
  max-width: 80%;
}
.chat-msg.user { background: var(--primary); color: #fff; margin-left: auto; }
.chat-input {
  display: flex;
  padding: 12px;
  border-top: 1px solid var(--line);
  gap: 8px;
}
.chat-input input { flex: 1; padding: 8px 12px; border: 1px solid var(--line); border-radius: 18px; font-family: inherit; }
.chat-input button {
  background: var(--accent);
  color: #fff;
  border: 0;
  padding: 8px 14px;
  border-radius: 18px;
  cursor: pointer;
}

/* ===== COMPARISON TABLE ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table th, .compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
}
.compare-table th {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: .03em;
}
.compare-table tr:nth-child(even) td { background: #f7fbf7; }
.compare-table tr:hover td { background: var(--light); }

/* cookie table reuses .compare-table styles */

/* ===== DOWNLOAD CARDS ===== */
.download-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 18px;
  align-items: center;
}
.download-card .icon-wrap { margin-bottom: 0; border-radius: 12px; }
.download-card h4 { margin-bottom: 4px; }
.download-card p { margin: 0; font-size: .88rem; }
.download-card .btn { padding: 10px 16px; font-size: .9rem; }

/* ===== EVENT CALENDAR ===== */
.event-list { display: grid; gap: 14px; max-width: 820px; margin: 0 auto; }
.event-row {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  align-items: center;
}
.event-date {
  text-align: center;
  background: var(--light);
  padding: 12px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
}
.event-date strong { display: block; font-size: 1.6rem; color: var(--primary); line-height: 1; }
.event-date span { font-size: .82rem; text-transform: uppercase; color: var(--muted); letter-spacing: .12em; }

/* ===== MAP / IFRAME ===== */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 360px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== TEAM ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-4px); }
.team-card img { width: 100%; height: 250px; object-fit: cover; }
.team-info { padding: 18px; }
.team-info h4 { margin: 0 0 4px; }
.team-info span { color: var(--accent); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.team-info p { font-size: .88rem; margin-top: 8px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--secondary); }
.breadcrumb span { margin: 0 8px; color: var(--tint); }

/* ===== JOURNEY MAP ===== */
.journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.journey::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}
.journey-step { text-align: center; position: relative; z-index: 1; padding: 0 6px; }
.journey-dot {
  width: 66px;
  height: 66px;
  background: #fff;
  border: 3px solid var(--accent);
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}
.journey-step h4 { font-size: .96rem; margin-bottom: 6px; }
.journey-step p { font-size: .84rem; margin: 0; }

/* ===== SOCIAL PROOF ===== */
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.proof-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 10px 22px;
  font-size: .9rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--ink);
}
.proof-chip::before {
  content: "★";
  color: var(--accent);
  margin-right: 8px;
}

/* ===== BEFORE/AFTER ===== */
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ba-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.ba-panel.before { border-top: 4px solid #b71c1c; }
.ba-panel.after { border-top: 4px solid var(--accent); }
.ba-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.ba-panel.before .ba-label { background: #fde7e7; color: #b71c1c; }
.ba-panel.after .ba-label { background: var(--light); color: var(--primary); }
.ba-panel ul { padding-left: 18px; margin: 0; }
.ba-panel li { margin-bottom: 8px; }

/* ===== SOCIAL LINKS ===== */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform var(--transition);
}
.social-card:hover { transform: translateY(-3px); }
.social-card .icon {
  width: 44px;
  height: 44px;
  background: var(--light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.social-card strong { display: block; font-family: 'Montserrat', sans-serif; font-size: .96rem; color: var(--ink); }
.social-card span { font-size: .82rem; color: var(--muted); }

/* ===== NEWSLETTER ===== */
.newsletter {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border-radius: var(--radius);
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,0.85); margin: 0; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input {
  flex: 1 1 200px;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 0;
  font-family: inherit;
  font-size: .96rem;
}
.newsletter button {
  background: #fff;
  color: var(--primary);
  border: 0;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition);
}
.newsletter button:hover { transform: scale(1.03); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--muted); }

/* ===== LEGAL PAGES ===== */
.legal-page { padding: 60px 0 90px; }
.legal-page .container { max-width: 880px; }
.legal-page h2 {
  margin-top: 2em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light);
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page li { color: var(--ink); }
.legal-page ol, .legal-page ul { padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .grid-4, .team-grid, .badges-grid, .partners-strip { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 22px 22px;
    gap: 6px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav-menu.is-open { max-height: 90vh; overflow-y: auto; }
  .nav-menu > li { width: 100%; }
  .dropdown {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .has-dropdown.is-open > .dropdown { display: block; }
  .hero-grid, .footer-grid, .newsletter, .before-after, .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { display: grid; }
  .grid-3, .grid-4, .grid-2, .team-grid, .badges-grid, .overlap-row { grid-template-columns: 1fr 1fr; gap: 18px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .partners-strip { grid-template-columns: repeat(3, 1fr); }
  .journey { grid-template-columns: 1fr 1fr; }
  .journey::before { display: none; }
  .overlap-row .card:nth-child(2) { transform: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-visual img { height: 320px; }
  .download-card, .event-row { grid-template-columns: 1fr; text-align: left; }
  .event-row .event-date { max-width: 110px; }
  section { padding: 60px 0; }
  .hero { padding: 50px 0 90px; }
  .zigzag-top, .zigzag-bottom { clip-path: none; padding: 60px 0; margin-top: 0; }
}

@media (max-width: 540px) {
  .grid-3, .grid-4, .grid-2, .team-grid, .badges-grid, .overlap-row, .stats, .partners-strip, .journey, .social-grid {
    grid-template-columns: 1fr;
  }
  .timeline { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 70px; }
  .container { padding: 0 18px; }
  .form { padding: 22px; }
  .nav-cta { padding: 8px 14px !important; font-size: .85rem; }
}
