/* ==========================================================
   Marcelino Alexander – Personal Branding & Organisches Marketing
   Shared Stylesheet
   ========================================================== */

:root {
  --dark-blue: #0E2A47;
  --mid-blue: #123A63;
  --light-blue: #3FA9F5;
  --pale-blue: #EAF4FD;
  --gold: #E8B830;
  --gold-dark: #C89620;
  --green: #2FBF71;
  --text-dark: #16202B;
  --text-muted: #55636F;
  --white: #FFFFFF;
  --border: #DCE7F0;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow: 0 12px 30px rgba(14, 42, 71, 0.12);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--dark-blue);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; margin-top: 1.4em; }

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

a { color: var(--light-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

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

section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-blue);
  background: var(--pale-blue);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark-blue);
  box-shadow: 0 10px 24px rgba(232, 184, 48, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(232, 184, 48, 0.45); }

.btn-secondary {
  background: var(--white);
  color: var(--dark-blue);
  border: 2px solid var(--dark-blue);
}
.btn-secondary:hover { background: var(--dark-blue); color: var(--white); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark-blue);
  font-size: 1.1rem;
}
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a.active { color: var(--light-blue); }
.nav-cta { display: flex; align-items: center; }
.nav-cta .btn { padding: 10px 22px; font-size: 0.9rem; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
  }
  .navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--mid-blue) 55%, var(--light-blue) 130%);
  color: var(--white);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: blur(6px);
  transform: scale(1.06);
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,0.75) 130%);
  z-index: 1;
}
@media (max-width: 640px) {
  /* skip video on small screens: save data, avoid autoplay jank */
  .hero-bg-video { display: none; }
}
.hero .container {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero h1 { color: var(--white); }
.hero p.lead { color: rgba(255,255,255,0.86); font-size: 1.15rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; justify-content: center; }

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  max-width: 640px;
  margin: 34px auto 6px;
  padding: 0;
  list-style: none;
  text-align: left;
}
.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.94);
  font-size: 0.98rem;
  font-weight: 500;
}
.hero-benefits .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .hero-benefits { grid-template-columns: 1fr; }
}

/* Same checklist styling as .hero-benefits, but for use on light backgrounds */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
  max-width: 640px;
  margin: 20px 0 6px;
  padding: 0;
  list-style: none;
  text-align: left;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dark);
  font-size: 0.98rem;
  font-weight: 500;
}
.check-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: 2px;
}
@media (max-width: 640px) {
  .check-list { grid-template-columns: 1fr; }
}

/* ---------- Dark feature section (Erfolge-Teaser) ---------- */
.section-dark {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--mid-blue) 100%);
  color: rgba(255,255,255,0.9);
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.78); }
.section-dark .eyebrow { background: rgba(255,255,255,0.12); color: var(--white); }
.section-dark .stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}
.section-dark .stat-card .stat-value { color: var(--gold); }
.section-dark .stat-card .stat-label { color: rgba(255,255,255,0.75); }

/* Gold-glow modifier: same treatment as page-header-dark / track-record,
   applied only to specific .section-dark sections (e.g. compare table)
   without touching the default .section-dark (Erfolge-Teaser). */
.section-dark.has-glow {
  position: relative;
  overflow: hidden;
}
.section-dark.has-glow::before {
  content: "";
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 720px; height: 480px;
  background: radial-gradient(ellipse at center, rgba(232,184,48,0.14) 0%, rgba(232,184,48,0) 70%);
  pointer-events: none;
}
.section-dark.has-glow .eyebrow {
  background: rgba(232,184,48,0.16);
  color: var(--gold);
  border: 1px solid rgba(232,184,48,0.4);
}
.section-dark.has-glow .container { position: relative; }

/* ---------- Track Record (bold personal-credibility stats) ---------- */
.track-record {
  position: relative;
  background: linear-gradient(180deg, #0a1f36 0%, var(--dark-blue) 45%, var(--mid-blue) 100%);
  overflow: hidden;
}
.track-record::before {
  content: "";
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 720px; height: 480px;
  background: radial-gradient(ellipse at center, rgba(232,184,48,0.14) 0%, rgba(232,184,48,0) 70%);
  pointer-events: none;
}
.track-record .eyebrow {
  background: rgba(232,184,48,0.16);
  color: var(--gold);
  border: 1px solid rgba(232,184,48,0.4);
}
.track-record h2 { color: var(--white); }
.track-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
@media (max-width: 860px) {
  .track-stats { grid-template-columns: 1fr; }
}
.track-stat {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-l);
  background: linear-gradient(160deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(232,184,48,0.3);
  box-shadow: 0 20px 45px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.track-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 55px rgba(0,0,0,0.4);
}
.track-stat .icon-badge {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  box-shadow: 0 10px 24px rgba(232,184,48,0.4);
}
.track-stat .stat-value-lg {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  background: linear-gradient(135deg, #f7d774 0%, var(--gold) 55%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
  margin-bottom: 8px;
}
.track-stat .stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* ---------- Page header (Unterseiten) ---------- */
.page-header {
  background: var(--pale-blue);
  padding: 64px 0 48px;
  text-align: center;
}
.page-header .eyebrow { margin-left: auto; margin-right: auto; }

/* ---------- Page header, dark gradient variant (e.g. Über mich) ---------- */
.page-header-dark {
  position: relative;
  background: linear-gradient(180deg, var(--mid-blue) 0%, #0a1f36 100%);
  overflow: hidden;
}
.page-header-dark::before {
  content: "";
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 720px; height: 480px;
  background: radial-gradient(ellipse at center, rgba(232,184,48,0.14) 0%, rgba(232,184,48,0) 70%);
  pointer-events: none;
}
.page-header-dark .eyebrow {
  background: rgba(232,184,48,0.16);
  color: var(--gold);
  border: 1px solid rgba(232,184,48,0.4);
}
.page-header-dark h1 { color: var(--white); position: relative; }
.page-header-dark p { color: rgba(255,255,255,0.78); position: relative; }

/* ---------- Cards / Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--pale-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

/* ---------- "Warum organisch" cards: circular ringed icons (distinct from journey cards) ---------- */
.icon-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--light-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.reason-card {
  position: relative;
  border-top: 3px solid var(--light-blue);
}
.reason-card .step-num {
  position: absolute;
  top: -14px; right: 20px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(63,169,245,0.4);
}

/* ---------- "Leistungen" feature blocks (Personal Branding / Organisches Marketing) ---------- */
.leistung-feature {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.leistung-feature:last-child { margin-bottom: 0; }
.phase-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark-blue);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.leistung-feature .icon-circle-lg {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--pale-blue);
  border: 2px solid var(--light-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.leistung-feature h3 {
  font-size: 1.55rem;
  margin: 4px 0 14px;
}
.leistung-feature .check-list {
  max-width: none;
  margin: 20px 0 26px;
}
@media (max-width: 700px) {
  .leistung-feature { grid-template-columns: 1fr; padding: 30px 26px; }
  .leistung-feature .icon-circle-lg { margin-bottom: 6px; }
}

/* ---------- "Leistungen" journey / treasure-map path ---------- */
.journey-wrap { position: relative; }
.journey-path {
  display: none;
  position: absolute;
  top: 58px; left: 6%; right: 6%;
  height: 0;
  border-top: 3px dashed var(--gold-dark);
  z-index: 0;
}
.journey-plane {
  display: none;
  position: absolute;
  top: 42px;
  font-size: 1.5rem;
  z-index: 1;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25));
}
.journey-plane.p1 { left: calc(33.33% - 12px); transform: rotate(8deg); }
.journey-plane.p2 { left: calc(66.66% - 12px); transform: rotate(8deg); }
@media (min-width: 861px) {
  .journey-path, .journey-plane { display: block; }
}
.journey .card {
  position: relative;
  z-index: 2;
}
.journey .card .icon {
  background: rgba(232,184,48,0.16);
}
.journey .card .step-num {
  position: absolute;
  top: -14px; left: 20px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark-blue);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(232,184,48,0.45);
}
@media (max-width: 860px) {
  .journey .card:not(:first-child) { margin-top: 38px; }
  .journey .card:not(:first-child)::before {
    content: "";
    position: absolute;
    top: -30px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 22px;
    border-left: 3px dashed var(--gold-dark);
  }
  .journey .card:not(:first-child)::after {
    content: "\2708\FE0F";
    position: absolute;
    top: -38px; left: 50%;
    transform: translateX(-50%) rotate(90deg);
    font-size: 1.2rem;
  }
}

.stat-card {
  text-align: center;
  padding: 26px 18px;
  border-radius: var(--radius-m);
  background: var(--pale-blue);
}
.stat-card .stat-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--dark-blue);
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Process steps ---------- */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 28px 22px 22px;
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid var(--border);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--dark-blue);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Treasure map (Leistungen workflow) ---------- */
.treasure-map {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0 4px;
}
.map-marker {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 18px;
}
.map-marker .flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-blue);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(14,42,71,0.25);
}
.map-marker.map-end .flag {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark-blue);
}
.treasure-map .map-track {
  position: relative;
}
.map-line {
  position: absolute;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
  pointer-events: none;
}
.map-line-base {
  top: 0; bottom: 0;
  border-left: 3px dotted rgba(192,57,43,0.22);
  z-index: 0;
}
.map-line-progress {
  top: 0;
  height: 0%;
  border-left: 3px dotted #C0392B;
  z-index: 0;
  transition: height 0.12s linear;
  filter: drop-shadow(0 0 3px rgba(192,57,43,0.35));
}
.map-step-row {
  display: flex;
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}
.map-step-row:last-child { margin-bottom: 0; }
.map-step-row.map-right { justify-content: flex-end; }
.map-step-row.map-left { justify-content: flex-start; }
.map-node {
  position: absolute;
  left: 50%; top: 26px;
  transform: translate(-50%, -50%) scale(1);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7d6a4 0%, #cbaf72 100%);
  border: 3px solid var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark-blue);
  font-size: 0.95rem;
  z-index: 2;
  opacity: 0.6;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.35s ease, opacity 0.35s ease;
}
.map-node.is-active {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  box-shadow: 0 6px 16px rgba(0,0,0,0.22), 0 0 0 4px rgba(192,57,43,0.32);
  transform: translate(-50%, -50%) scale(1.14);
  opacity: 1;
  animation: tm-pulse-ring 1.8s ease-out infinite;
}
@keyframes tm-pulse-ring {
  0% { box-shadow: 0 6px 16px rgba(0,0,0,0.22), 0 0 0 4px rgba(192,57,43,0.32), 0 0 0 0 rgba(232,184,48,0.5); }
  70% { box-shadow: 0 6px 16px rgba(0,0,0,0.22), 0 0 0 4px rgba(192,57,43,0.32), 0 0 0 12px rgba(232,184,48,0); }
  100% { box-shadow: 0 6px 16px rgba(0,0,0,0.22), 0 0 0 4px rgba(192,57,43,0.32), 0 0 0 0 rgba(232,184,48,0); }
}

/* Compass marker that travels down the path with the scroll progress */
.map-progress-marker {
  position: absolute;
  left: 50%; top: 0%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  line-height: 1;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(232,184,48,0.85)) drop-shadow(0 2px 5px rgba(0,0,0,0.35));
  transition: top 0.12s linear;
  animation: tm-marker-bob 1.6s ease-in-out infinite;
  opacity: 0;
}
.treasure-map.tm-started .map-progress-marker { opacity: 1; }
@keyframes tm-marker-bob {
  0%, 100% { transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(8deg) scale(1.08); }
}

.map-card {
  width: calc(50% - 44px);
  background: #FBF4E4;
  border: 1px solid #E5CE9F;
  border-radius: var(--radius-m);
  padding: 18px 20px;
  box-shadow: 0 12px 26px rgba(76,54,16,0.12);
  opacity: 0.65;
  transform: translateY(18px) scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.map-step-row.is-active .map-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (min-width: 761px) {
  .map-step-row.map-right .map-card { transform: translateY(14px) translateX(34px) rotate(2.5deg) scale(0.94); }
  .map-step-row.map-left .map-card { transform: translateY(14px) translateX(-34px) rotate(-2.5deg) scale(0.94); }
  .map-step-row.is-active.map-right .map-card,
  .map-step-row.is-active.map-left .map-card { transform: translateY(0) translateX(0) rotate(0deg) scale(1); }
}
.treasure-map .map-card:hover {
  transform: translateY(-6px) scale(1.025) !important;
  box-shadow: 0 22px 42px rgba(76,54,16,0.24);
  border-color: var(--gold-dark);
}
.map-card .map-icon {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 6px;
  transform-origin: center;
}
.map-step-row.is-active .map-icon {
  animation: tm-icon-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes tm-icon-pop {
  0% { transform: scale(0.5) rotate(-16deg); }
  60% { transform: scale(1.3) rotate(8deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.map-card h3 { margin: 0 0 6px; font-size: 1.02rem; color: var(--dark-blue); }
.map-card p { margin: 0; font-size: 0.86rem; color: var(--text-muted); }

/* End flag glows once the whole path has been scrolled through */
.map-marker.map-end .flag {
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.treasure-map.tm-complete .map-marker.map-end .flag {
  animation: tm-flag-celebrate 1.1s ease-in-out infinite;
}
@keyframes tm-flag-celebrate {
  0%, 100% { box-shadow: 0 8px 18px rgba(232,184,48,0.35); transform: scale(1); }
  50% { box-shadow: 0 10px 26px rgba(232,184,48,0.65); transform: scale(1.05); }
}

@media (max-width: 760px) {
  .map-line { left: 21px; }
  .map-step-row.map-right, .map-step-row.map-left { justify-content: flex-start; padding-left: 54px; }
  .map-node { left: 21px; top: 26px; }
  .map-progress-marker { left: 21px; }
  .map-card { width: 100%; }
  .map-step-row.map-right .map-card,
  .map-step-row.map-left .map-card { transform: translateY(18px) scale(0.96); }
  .map-step-row.is-active.map-right .map-card,
  .map-step-row.is-active.map-left .map-card { transform: translateY(0) scale(1); }
}

/* ---------- Paid Ads vs. Organisch comparison table ---------- */
.compare-table {
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}
.compare-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.compare-col-label {
  padding: 18px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.compare-col-label.paid { background: #FBEAEA; color: #B23A3A; }
.compare-col-label.organic { background: rgba(47,191,113,0.14); color: #1F8F53; }

.compare-block {
  padding: 22px 24px;
  border-top: 1px solid var(--border);
}
.compare-dimension {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.compare-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.compare-cell {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-dark);
}
.compare-cell .mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 2px;
}
.compare-cell.paid .mark { background: #FBEAEA; color: #C0392B; }
.compare-cell.organic .mark { background: rgba(47,191,113,0.16); color: #1F8F53; }

@media (max-width: 700px) {
  .compare-col-label { font-size: 0.88rem; padding: 14px 14px; }
  .compare-pair { grid-template-columns: 1fr; gap: 12px; }
  .compare-block { padding: 18px; }
}

/* ---------- Platform brand icons ---------- */
.platform-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.platform-icon.tiktok { background: #000000; }
.platform-icon.instagram { background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%); }
.platform-icon.facebook { background: #1877F2; }
.platform-icon.linkedin { background: #0A66C2; }
.platform-icon.youtube { background: #FF0000; }

/* ---------- Contact form ---------- */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
}
.form-field .optional-tag {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.82rem;
}
.form-field input {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9AA7B2; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(63,169,245,0.18);
}
.form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: var(--text-dark);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-s);
  padding: 11px 14px;
  resize: vertical;
  min-height: 100px;
}
.contact-form .btn { align-self: flex-start; margin-top: 6px; border: none; cursor: pointer; }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: -4px; }

/* ---------- Contact form: post-submit fallback panel ---------- */
.form-fallback {
  display: none;
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--pale-blue);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-s);
}
.form-fallback.is-visible { display: block; }
.form-fallback h4 {
  margin: 0 0 6px;
  color: var(--text-dark);
}
.form-fallback p {
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.form-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.form-fallback-actions .btn {
  padding: 10px 18px;
  font-size: 0.9rem;
}
.form-fallback-email {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.form-fallback-email a { color: var(--light-blue); font-weight: 600; }

/* ---------- Nav highlight (Erfolge) ---------- */
.nav-links a.nav-highlight {
  color: var(--gold-dark);
  font-weight: 700;
}
.nav-links a.nav-highlight.active { color: var(--gold-dark); }

/* ---------- FOMO / CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-blue), var(--mid-blue));
  color: var(--white);
  border-radius: var(--radius-l);
  padding: 56px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { margin-top: 10px; }

/* ---------- Placeholder / coming soon ---------- */
.placeholder-box {
  border: 2px dashed var(--light-blue);
  background: var(--pale-blue);
  border-radius: var(--radius-m);
  padding: 40px;
  text-align: center;
}
.placeholder-box .tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark-blue);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--dark-blue);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
@media (max-width: 860px) { footer .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: var(--white); font-family: 'Poppins', sans-serif; font-size: 1rem; }
footer a { color: rgba(255,255,255,0.75); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.note {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--pale-blue);
  border-left: 3px solid var(--light-blue);
  padding: 12px 16px;
  border-radius: var(--radius-s);
}

/* ==========================================================
   Special effects: scroll reveal, hover polish, micro-interactions
   ========================================================== */

/* Scroll reveal (fade + slide up as elements enter the viewport) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Card / tile hover polish (lift + shadow + accent border) */
.card, .stat-card, .leistung-feature, .track-stat {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover, .leistung-feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(14,42,71,0.16);
  border-color: var(--light-blue);
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(14,42,71,0.14);
}
.track-stat:hover {
  transform: translateY(-6px) scale(1.015);
}

/* Icon badges gently scale/tilt on card hover */
.icon, .icon-circle, .icon-circle-lg, .platform-icon, .icon-badge {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .icon,
.card:hover .icon-circle,
.card:hover .icon-circle-lg,
.card:hover .platform-icon,
.leistung-feature:hover .icon-circle-lg {
  transform: scale(1.12) rotate(-6deg);
}
.track-stat:hover .icon-badge { transform: scale(1.15) rotate(6deg); }

/* Map step nodes get a little extra life on hover, on top of their scroll-active state */
.map-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.map-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(14,42,71,0.18); }

/* Animated underline for nav links */
.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Logo mark gives a friendly little wiggle on hover */
.brand img { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }

/* Shine sweep across primary buttons on hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn-primary:hover::before { left: 125%; }

/* Checklist items nudge in on hover for a bit of interactivity */
.check-list li, .hero-benefits li {
  transition: transform 0.2s ease;
}
.check-list li:hover, .hero-benefits li:hover { transform: translateX(4px); }

/* ---------- Cookie-Hinweis-Banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  background: var(--dark-blue);
  padding: 18px 24px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
  transform: translateY(120%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.82);
  max-width: 720px;
}
.cookie-banner a { color: var(--gold); }
.cookie-banner .btn { flex-shrink: 0; }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner .btn { width: 100%; text-align: center; }
}
