/* ============================================================
   you.mazing — Website stylesheet
   Corporate design: Montserrat · Navy #0a2351 · Yellow #fdc100
   ============================================================ */

:root {
  --navy: #0a2351;
  --navy-2: #0e2c63;
  --blue: #5375b4;
  --lavender: #c3d2fa;
  --lav-tint: #eef1fb;
  --yellow: #fdc100;
  --yellow-light: #ffde5a;
  --yellow-dark: #e3ae05;
  --paper: #fbfcfe;
  --ink: #0a2351;
  --muted: #5b6b8c;

  --grad-yellow: linear-gradient(90deg, var(--yellow-light), var(--yellow-dark));
  --grad-radial: radial-gradient(120% 120% at 25% 15%, #1c47a0 0%, #0d2c66 42%, #0a2351 78%);
  --grad-radial-soft: radial-gradient(120% 130% at 80% 0%, #28529f 0%, #102d63 45%, #08193b 100%);

  --maxw: 1180px;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-card: 0 18px 50px -20px rgba(10,35,81,.28);
  --shadow-soft: 0 10px 30px -16px rgba(10,35,81,.22);

  --accent: var(--yellow);
  --accent-grad: var(--grad-yellow);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

::selection { background: var(--yellow); color: var(--navy); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.section.dark { background: var(--grad-radial); color: #fff; }
.section.dark-2 { background: var(--grad-radial-soft); color: #fff; }
.section.tint { background: var(--lav-tint); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.06; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(83,117,180,.14); color: var(--blue);
  border: 1px solid rgba(83,117,180,.28);
}
.dark .eyebrow, .dark-2 .eyebrow {
  background: rgba(255,255,255,.07); color: var(--yellow);
  border-color: rgba(253,193,0,.32);
}
.h-display { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; font-weight: 600; }
.h-1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.h-2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.h-3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; font-weight: 300; }
.text-yellow { color: var(--yellow); }
.thin { font-weight: 200; }
.light { font-weight: 300; }
.medium { font-weight: 500; }
p { line-height: 1.62; }

.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { margin: 18px 0 0; }
.section-head .lead { margin: 18px 0 0; opacity: .82; }
.dark .section-head .lead, .dark-2 .section-head .lead { opacity: .72; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 600;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; line-height: 1; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent-grad); color: var(--navy);
  box-shadow: 0 12px 26px -10px rgba(227,174,5,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(227,174,5,.7); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid rgba(10,35,81,.22); }
.btn-ghost:hover { border-color: var(--navy); }
.dark .btn-ghost, .dark-2 .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.dark .btn-ghost:hover, .dark-2 .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn .arr { transition: transform .18s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav.scrolled { background: rgba(251,252,254,.86); backdrop-filter: blur(14px); border-bottom-color: rgba(10,35,81,.08); box-shadow: 0 6px 24px -18px rgba(10,35,81,.4); }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: .95rem; font-weight: 500; text-decoration: none; color: #fff;
  opacity: .85; transition: opacity .15s ease, color .15s ease; cursor: pointer;
}
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; color: var(--yellow); }
.nav.scrolled .nav-link.active { color: var(--blue); }
.nav.scrolled .nav-logo img { content: none; }
.nav.scrolled .nav-link { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav .btn { padding: 11px 20px; font-size: .9rem; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .25s; border-radius: 2px; }
.nav.scrolled .nav-burger span { background: var(--navy); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--grad-radial);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 40px;
  transform: translateY(-100%); transition: transform .4s cubic-bezier(.7,0,.2,1); opacity: 0;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }
.mobile-menu a { color: #fff; text-decoration: none; font-size: 1.3rem; font-weight: 300; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu a:last-of-type { border: 0; }

/* ---------- hero shared ---------- */
.hero { position: relative; overflow: hidden; }
.hero .glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; pointer-events: none; }
.hero .glow.a { width: 520px; height: 520px; background: #2a59b8; top: -160px; right: -120px; }
.hero .glow.b { width: 420px; height: 420px; background: rgba(253,193,0,.25); bottom: -180px; left: -100px; }
.stats { display: flex; gap: 14px; flex-wrap: nowrap; }
.stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 20px 24px; flex: 1 1 0; min-width: 0; backdrop-filter: blur(6px);
}
.stat .num { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; color: var(--yellow); line-height: 1; }
.stat .lbl { font-size: .82rem; opacity: .72; margin-top: 8px; font-weight: 300; line-height: 1.35; }

/* foerderung ribbon */
.ribbon {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 26px;
  font-size: .9rem; font-weight: 500; color: var(--lavender);
}
.ribbon b { color: var(--yellow); font-weight: 600; }
.ribbon .strike { text-decoration: line-through; opacity: .5; font-weight: 300; }

/* ---------- placeholder image ---------- */
.ph {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(83,117,180,.16) 0 12px, rgba(83,117,180,.06) 12px 24px),
    var(--lav-tint);
  border: 1px dashed rgba(83,117,180,.4);
  display: flex; align-items: center; justify-content: center; min-height: 220px;
}
.ph.on-dark {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 12px, rgba(255,255,255,.02) 12px 24px),
    rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.2);
}
.ph .tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .78rem;
  color: var(--blue); background: rgba(251,252,254,.85); padding: 7px 12px; border-radius: 8px;
  letter-spacing: .02em;
}
.ph.on-dark .tag { color: var(--lavender); background: rgba(10,35,81,.5); }

/* ---------- cards / offers ---------- */
.grid { display: grid; gap: 24px; }
.offer-card {
  background: #fff; border-radius: var(--r-lg); padding: 36px; border: 1px solid rgba(10,35,81,.07);
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease; position: relative; overflow: hidden;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.offer-card .kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.offer-card h3 { font-size: 1.5rem; }
.offer-card p { color: #44557a; font-weight: 300; margin: 0; }
.offer-card .price { font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.offer-card .price .was { text-decoration: line-through; opacity: .45; font-weight: 300; margin-right: 8px; }
.offer-card ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.offer-card li { display: flex; gap: 10px; font-size: .96rem; color: #3a4a6e; font-weight: 400; line-height: 1.4; }
.offer-card li svg { flex: none; margin-top: 2px; }
.offer-card .card-foot { margin-top: auto; padding-top: 8px; }

.offer-flag {
  background: var(--grad-radial); color: #fff; border: 0;
}
.offer-flag .kicker { color: var(--yellow); }
.offer-flag h3 { color: #fff; }
.offer-flag p { color: rgba(255,255,255,.78); }
.offer-flag li { color: rgba(255,255,255,.88); }
.offer-flag .price { color: #fff; }
.flag-badge {
  position: absolute; top: 24px; right: -42px; transform: rotate(45deg);
  background: var(--grad-yellow); color: var(--navy); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; padding: 7px 52px; text-transform: uppercase;
  text-align: center; width: 168px;
}

/* 4A method */
.phase-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.phase {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden;
  transition: transform .25s ease, background .25s ease;
}
.phase:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); }
.phase .big-a {
  position: absolute; top: -22px; right: 6px; font-size: 7rem; font-weight: 700;
  color: rgba(253,193,0,.1); line-height: 1; pointer-events: none;
}
.phase .pnum { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.phase h3 { font-size: 1.3rem; margin: 14px 0 6px; color: #fff; }
.phase .tag-line { font-size: .82rem; color: var(--lavender); font-weight: 500; margin-bottom: 14px; }
.phase p { font-size: .92rem; color: rgba(255,255,255,.7); font-weight: 300; margin: 0; }

/* free tools (freebies) */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tool-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: #fff; border-radius: var(--r-lg); padding: 36px; border: 1px solid rgba(10,35,81,.07);
  box-shadow: var(--shadow-soft); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tool-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.tool-card .tool-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); padding-right: 90px; }
.tool-card h3 { font-size: 1.5rem; color: var(--navy); }
.tool-card p { color: #44557a; font-weight: 300; margin: 0; }
.tool-card ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tool-card li { display: flex; gap: 10px; font-size: .96rem; color: #3a4a6e; font-weight: 400; line-height: 1.4; }
.tool-card li svg { flex: none; margin-top: 2px; }
.tool-badge {
  position: absolute; top: 30px; right: 30px; background: var(--yellow); color: var(--navy);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.tool-cta { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.tool-cta .arr { transition: transform .2s ease; }
.tool-card:hover .tool-cta .arr { transform: translateX(4px); }

.section:not(.dark):not(.dark-2) .text-yellow, .footer .text-yellow ~ .none { color: var(--navy); }
.section:not(.dark):not(.dark-2) h1 .text-yellow, .section:not(.dark):not(.dark-2) h2 .text-yellow { color: var(--navy); background: linear-gradient(transparent 62%, rgba(253,193,0,.55) 62%); }
.cta-note { flex-basis: 100%; font-size: .8rem; color: rgba(255,255,255,.62); letter-spacing: .01em; }

/* hero photo */
.hero-nl-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--yellow, #fdc100); z-index: 3; }
.h-nl { font-size: clamp(3rem, 7.4vw, 5.6rem); line-height: .92; letter-spacing: -.02em; text-transform: uppercase; font-weight: 800; margin: 0; }
.hero-nl-tag { margin-top: 22px; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); }
@media (max-width: 720px) { .hero-nl-bar { width: 6px; } }
.hero-photo.hero-photo-bleed { border-radius: 0; box-shadow: none; aspect-ratio: 4/4.4; width: calc(100% + max(24px, (100vw - 1240px) / 2)); }
.hero-photo.hero-photo-bleed::after { display: none; }
.hero-photo.hero-photo-bleed img { -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 14%, #000 42%), linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 14%, #000 42%), linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); mask-composite: intersect; }
.hero-photo.hero-photo-bleed .hero-photo-chip { left: auto; right: 16px; bottom: 24px; }
@media (max-width: 900px) { .hero-photo.hero-photo-bleed { width: 100%; aspect-ratio: 4/5; } }
.hero-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/5; }
.hero-photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-photo-chip {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(10,35,81,.55); backdrop-filter: blur(8px); color: #fff;
  font-size: .78rem; font-weight: 500; letter-spacing: .01em;
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
}

/* about photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 6px; }
.photo-strip figure { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-soft); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-strip figure:hover img { transform: scale(1.05); }
.photo-strip figcaption {
  position: absolute; left: 8px; bottom: 8px; color: #fff;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .64rem; letter-spacing: .04em;
  background: rgba(10,35,81,.5); backdrop-filter: blur(4px); padding: 3px 7px; border-radius: 6px;
}

/* reality / stats */
.reality-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.reality-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.rfact { background: #fff; border: 1px solid rgba(10,35,81,.07); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow-soft); }
.rfact b { display: block; font-size: 2rem; line-height: 1; color: var(--navy); font-weight: 600; }
.rfact span { display: block; margin-top: 8px; font-size: .92rem; line-height: 1.5; color: rgba(10,35,81,.72); }
.chart-card { margin: 0; background: #fff; border: 1px solid rgba(10,35,81,.07); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-soft); }
.chart-card figcaption { font-size: .95rem; color: rgba(10,35,81,.72); }
.chart-card figcaption b { color: var(--navy); font-weight: 600; }
.bars { display: grid; gap: 20px; margin-top: 26px; }
.bar-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.bar-lbl { font-size: .86rem; color: rgba(10,35,81,.7); }
.bar-track { position: relative; height: 14px; border-radius: 999px; background: rgba(10,35,81,.07); overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: #5375b4; transform-origin: left center; animation: barGrow .9s cubic-bezier(.22,.9,.28,1) both; }
.bar-fill.hi { background: var(--accent, #fdc100); }
.bar-val { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .82rem; color: var(--navy); }
.bar-row { grid-template-columns: 1fr auto; grid-template-areas: 'lbl val' 'track track'; }
.bar-lbl { grid-area: lbl; } .bar-val { grid-area: val; } .bar-track { grid-area: track; }
.chart-src { margin: 22px 0 0; font-size: .74rem; line-height: 1.5; color: rgba(10,35,81,.5); }
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 900px) { .reality-grid { grid-template-columns: 1fr; gap: 36px; } .reality-facts { grid-template-columns: 1fr; } }

/* sketch stats */
.sketch-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 64px; }
.sketch-stats > * { display: flex; }
.sketch-stat { width: 100%; height: 100%; }
.sketch-stat { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; align-items: center; margin: 0; padding: 30px 28px; background: #fff; border: 1px solid rgba(10,35,81,.08); border-radius: var(--r-lg); box-shadow: var(--shadow-soft); }
.sk-icon { color: var(--navy); }
.sk-icon svg { width: 100%; height: auto; display: block; }
.sk-big { font-weight: 700; font-size: 2.5rem; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.sk-head { margin-top: 10px; font-weight: 600; font-size: 1.18rem; line-height: 1.25; color: var(--navy); letter-spacing: -.01em; }
.sk-note { margin-top: 8px; font-weight: 400; font-size: .98rem; line-height: 1.45; color: #46608f; }
@media (max-width: 1080px) { .sketch-stats { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 44px; } .sketch-stat { grid-template-columns: 72px minmax(0, 1fr); padding: 24px 22px; } }

/* results */
.result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.result-grid > * { display: flex; flex-direction: column; }
.result {
  background: #fff; border-radius: var(--r-lg); padding: 36px 32px; text-align: left;
  border: 1px solid rgba(10,35,81,.07); box-shadow: var(--shadow-soft);
  flex: 1;
}
.result .big { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 600; color: var(--navy); line-height: 1; }
.result .big small { font-size: 1.1rem; font-weight: 500; color: var(--blue); display: block; margin-top: 6px; }
.result h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.result p { font-size: .94rem; color: #44557a; font-weight: 300; margin: 0; }

/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 78%; aspect-ratio: 4/5; }
.about-photo .cap {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  background: rgba(10,35,81,.66); backdrop-filter: blur(8px); color: #fff;
  padding: 16px 20px; border-radius: var(--r); font-size: .92rem;
}
.about-photo .cap b { color: var(--yellow); }
.about-body p { color: #3a4a6e; font-weight: 300; margin: 0 0 18px; }
.about-body p:first-of-type { margin-top: 24px; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 56px; }
.value {
  border-top: 3px solid var(--yellow); padding-top: 22px;
}
.value h4 { font-size: 1.15rem; margin-bottom: 10px; }
.value p { font-size: .92rem; color: #44557a; font-weight: 300; margin: 0; line-height: 1.55; }

/* testimonials */
.tgrid { columns: 3; column-gap: 24px; }
.tcard {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 28px; margin-bottom: 24px; break-inside: avoid;
  backdrop-filter: blur(4px);
}
.tcard .stars { color: var(--yellow); letter-spacing: 3px; font-size: .95rem; margin-bottom: 14px; }
.tcard p { font-size: .94rem; color: rgba(255,255,255,.82); font-weight: 300; line-height: 1.6; margin: 0 0 18px; }
.tcard .who { font-weight: 600; font-size: .98rem; }
.tcard .role { font-size: .82rem; color: var(--lavender); opacity: .8; margin-top: 2px; font-weight: 300; }
.tcard.video { padding: 0; overflow: hidden; }
.tcard.video .vid {
  aspect-ratio: 16/10; background: var(--grad-radial-soft); position: relative;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.tcard.video .play {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(253,193,0,.95);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.tcard.video .vlabel { position: absolute; top: 16px; left: 16px; right: 16px; font-size: .82rem; font-weight: 600; color: #fff; }
.tcard.video .body { padding: 24px 28px 28px; }
.tcard.video button.vid { width: 100%; border: 0; padding: 0; cursor: pointer; background-color: #061634; background-size: cover; background-position: center; }
.tcard.video button.vid::before { content: ""; position: absolute; inset: 0; background: rgba(10,35,81,.25); transition: background .2s; }
.tcard.video button.vid:hover::before { background: rgba(10,35,81,.05); }
.tcard.video button.vid .play { position: relative; transition: transform .2s; }
.tcard.video button.vid:hover .play { transform: scale(1.08); }
.tcard.video .vid.on { background: #000; }
.tcard.video .vid.on iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* dark section tweaks */
.section.dark-2 .tool-card { background: rgba(255,255,255,.97); }
.section.dark-2 .news-grid { box-shadow: 0 40px 90px -40px rgba(0,0,0,.55); }

/* retreat teaser */
.horizon{isolation:isolate;overflow:hidden;background:var(--navy)}
.horizon>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:58% 44%;z-index:-2}
.horizon::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,rgba(8,26,60,.95) 0%,rgba(8,26,60,.88) 34%,rgba(8,26,60,.34) 74%,rgba(8,26,60,.12) 100%);z-index:-1}
.horizon .wrap{position:relative}
.horizon-body{max-width:600px}
.horizon-body p{margin:22px 0 0;font-weight:300;font-size:1.08rem;line-height:1.66;color:rgba(255,255,255,.9);text-wrap:pretty}
.horizon-note{display:inline-flex;align-items:center;gap:10px;margin-top:28px;font-weight:600;font-size:.95rem;color:var(--yellow)}
.horizon-note .arr{transition:transform .2s ease}
.horizon-note:hover .arr{transform:translateX(4px)}
@media (max-width:760px){.horizon::after{background:linear-gradient(180deg,rgba(8,26,60,.9) 0%,rgba(8,26,60,.88) 60%,rgba(8,26,60,.72) 100%)}}

/* newsletter */.news-grid { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); }
.news-photo { position: relative; min-height: 420px; }
.news-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.news-form { background: var(--lavender); padding: clamp(36px, 4vw, 56px); }
.news-form h2 { color: var(--navy); }
.news-form .eyebrow { background: rgba(10,35,81,.07); color: var(--navy); border-color: rgba(10,35,81,.2); }
.news-form .lead { color: #2c3e6b; margin: 14px 0 28px; }
.news-form .field { margin-bottom: 14px; }
.news-form label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: #2c3e6b; margin-bottom: 6px; }
.news-form input[type=text], .news-form input[type=email] {
  width: 100%; padding: 15px 18px; border-radius: var(--r-sm); border: 1.5px solid rgba(10,35,81,.16);
  font-family: inherit; font-size: 1rem; background: rgba(255,255,255,.85); color: var(--navy);
}
.news-form input:focus { outline: none; border-color: var(--navy); background: #fff; }
.news-form .check { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; color: #2c3e6b; margin: 8px 0 22px; line-height: 1.45; font-weight: 300; }
.news-form .check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.news-form .btn { width: 100%; justify-content: center; }
.news-ok { background: rgba(255,255,255,.6); border-radius: var(--r); padding: 28px; text-align: center; color: var(--navy); }
.news-ok .check-ring { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; }

/* footer */
.footer { background: var(--navy); color: #fff; padding: 72px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo img { height: 26px; margin-bottom: 18px; }
.footer p { color: rgba(255,255,255,.62); font-weight: 300; font-size: .95rem; max-width: 320px; }
.footer h5 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 0 0 18px; font-weight: 600; }
.footer-col a { display: block; color: rgba(255,255,255,.74); text-decoration: none; font-size: .95rem; font-weight: 300; padding: 6px 0; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: .85rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.5); text-decoration: none; margin-left: 20px; }
.footer-bottom a:hover { color: #fff; }

/* reveal — content always fully visible (no entrance animation; some preview
   environments freeze CSS animations/transitions at their first frame, which
   would leave content stuck invisible). */
.reveal { opacity: 1; transform: none; }

/* ---------- blog ---------- */
.blog-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(10,35,81,.07);
  box-shadow: var(--shadow-soft); transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.blog-card:hover .blog-more { gap: 12px; }
.blog-thumb { position: relative; aspect-ratio: 16/10; }
.blog-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--grad-yellow); color: var(--navy); padding: 6px 12px; border-radius: 999px;
}
.blog-cat.solid { position: static; display: inline-block; }
.blog-card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.blog-meta { font-size: .8rem; color: var(--blue); font-weight: 500; letter-spacing: .02em; }
.blog-card h3 { font-size: 1.25rem; line-height: 1.22; }
.blog-card p { font-size: .95rem; color: #44557a; font-weight: 300; margin: 0; flex: 1; }
.blog-more { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; font-size: .9rem; transition: gap .2s ease; margin-top: 4px; }

.blog-card.featured { display: grid; grid-template-columns: 1.1fr 1fr; }
.blog-card.featured .blog-thumb { aspect-ratio: auto; min-height: 320px; }
.blog-card.featured .blog-card-body { padding: 40px; justify-content: center; }
.blog-card.featured h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.blog-card.featured p { font-size: 1.05rem; flex: none; }

.back-link { color: var(--lavender); text-decoration: none; font-size: .92rem; font-weight: 500; display: inline-block; }
.back-link:hover { color: #fff; }
.article-body p { font-size: 1.12rem; line-height: 1.72; color: #2f3f63; font-weight: 300; margin: 0 0 24px; }
.article-body .lead { margin-bottom: 28px; }
.article-body h2 { font-family: var(--font-head, 'Montserrat', sans-serif); font-size: 1.62rem; line-height: 1.28; font-weight: 600; color: var(--navy); margin: 44px 0 16px; letter-spacing: -.01em; text-wrap: balance; }
.article-body h2:first-child { margin-top: 0; }
.article-body ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
.article-body ul li { position: relative; padding-left: 26px; font-size: 1.08rem; line-height: 1.66; color: #2f3f63; font-weight: 300; }
.article-body ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow, #ffd24a); }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--navy); }
@media (max-width: 640px) { .article-body h2 { font-size: 1.34rem; margin-top: 34px; } }
.article-cta {
  margin-top: 48px; padding: 36px; border-radius: var(--r-lg); background: var(--lav-tint);
  border: 1px solid rgba(83,117,180,.2); text-align: center;
}
.article-cta p { color: #44557a; font-weight: 300; margin: 12px 0 22px; }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: 1fr !important; }
  .blog-card.featured { grid-template-columns: 1fr; }
  .blog-card.featured .blog-thumb { min-height: 220px; }
}

/* ---------- chat widget ---------- */
.chat-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 180;
  width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent-grad); box-shadow: 0 14px 34px -10px rgba(227,174,5,.6);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, opacity .2s ease;
}
.chat-fab:hover { transform: translateY(-3px) scale(1.04); }
.chat-fab.hide { opacity: 0; pointer-events: none; transform: scale(.6); }

.chat-panel {
  position: fixed; bottom: 26px; right: 26px; z-index: 181;
  width: 380px; max-width: calc(100vw - 36px); height: 560px; max-height: calc(100vh - 52px);
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 90px -28px rgba(10,35,81,.5); border: 1px solid rgba(10,35,81,.08);
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(16px) scale(.98); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.chat-head { background: var(--grad-radial); color: #fff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.chat-id { display: flex; align-items: center; gap: 12px; }
.chat-av { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-grad); color: var(--navy); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; }
.chat-name { font-weight: 600; font-size: .98rem; }
.chat-status { font-size: .76rem; opacity: .8; display: flex; align-items: center; gap: 6px; margin-top: 2px; font-weight: 300; }
.chat-status .online { width: 7px; height: 7px; border-radius: 50%; background: #46d39a; box-shadow: 0 0 0 3px rgba(70,211,154,.25); }
.chat-x { background: rgba(255,255,255,.12); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.chat-x:hover { background: rgba(255,255,255,.22); }

.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--lav-tint); display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 84%; padding: 11px 15px; border-radius: 16px; font-size: .92rem; line-height: 1.5; font-weight: 400; white-space: pre-wrap; }
.bubble.assistant { background: #fff; color: var(--navy); border: 1px solid rgba(10,35,81,.08); border-bottom-left-radius: 5px; align-self: flex-start; box-shadow: 0 4px 14px -10px rgba(10,35,81,.3); }
.bubble.user { background: var(--navy); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.bubble.typing { display: flex; gap: 5px; align-items: center; }
.cdot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); opacity: .5; animation: cblink 1.2s infinite ease-in-out; }
.cdot:nth-child(2) { animation-delay: .2s; } .cdot:nth-child(3) { animation-delay: .4s; }
@keyframes cblink { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: .9; transform: translateY(-3px); } }

.chat-sugg { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.chat-sugg button {
  text-align: left; background: #fff; border: 1px solid rgba(83,117,180,.3); color: var(--navy);
  padding: 10px 14px; border-radius: 12px; font-family: inherit; font-size: .86rem; font-weight: 500; cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.chat-sugg button:hover { border-color: var(--navy); transform: translateX(2px); }

.chat-input { display: flex; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid rgba(10,35,81,.08); }
.chat-input input { flex: 1; border: 1.5px solid rgba(10,35,81,.14); border-radius: 999px; padding: 11px 16px; font-family: inherit; font-size: .92rem; color: var(--navy); }
.chat-input input:focus { outline: none; border-color: var(--navy); }
.chat-input button[type=submit] { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--accent-grad); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
.chat-input button[type=submit]:hover:not(:disabled) { transform: scale(1.06); }
.chat-input button[type=submit]:disabled { opacity: .4; cursor: default; }
.chat-foot { text-align: center; font-size: .68rem; color: #8893ad; padding: 0 0 9px; background: #fff; }

@media (max-width: 640px) {
  .chat-panel { bottom: 0; right: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .chat-fab { bottom: 18px; right: 18px; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav .nav-cta .btn { display: none; }
  .phase-grid { grid-template-columns: repeat(2, 1fr); }
  .result-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .values { grid-template-columns: 1fr; }
  .tgrid { columns: 2; }
  .news-grid { grid-template-columns: 1fr; }
  .news-photo { min-height: 240px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .phase-grid { grid-template-columns: 1fr; }
  .tgrid { columns: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-split { grid-template-columns: 1fr !important; }
  .stats { flex-wrap: wrap; row-gap: 10px; }
  .stat { flex: 1 1 45%; min-width: 0; padding: 14px 16px; }
  .stat .num { font-size: 1.5rem; }
  .stat .lbl { font-size: .72rem; }
  .nav-inner { height: 52px; }
  .nav-logo img { height: 18px; }
  .nav { padding-top: env(safe-area-inset-top, 0px); }
  .btn { white-space: normal; text-align: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* ---------- legal pages (Impressum / Datenschutz) ---------- */
.legal-wrap{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:56px;align-items:start}
.legal-body{max-width:760px}
.legal-intro{font-size:1.05rem;line-height:1.7;color:#3a4a6e;font-weight:300;border-left:3px solid var(--yellow);padding-left:22px;margin:0 0 48px}
.legal-block{scroll-margin-top:110px}
.legal-block+.legal-block{margin-top:44px}
.legal-block h2{font-size:1.22rem;font-weight:600;color:var(--navy);margin:0 0 14px;line-height:1.3}
.legal-block p,.legal-block li{font-size:.96rem;line-height:1.72;color:#3a4a6e;font-weight:300;text-wrap:pretty}
.legal-block p{margin:0 0 14px}
.legal-block ul{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px}
.legal-block a{color:var(--blue);text-decoration:underline;text-underline-offset:2px;word-break:break-word}
.legal-block a:hover{color:var(--navy)}
.legal-toc{position:sticky;top:104px;border-top:3px solid var(--yellow);padding-top:20px}
.legal-toc h5{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin:0 0 14px;font-weight:600}
.legal-toc nav{display:flex;flex-direction:column;gap:9px;max-height:70vh;overflow:auto}
.legal-toc a{font-size:.82rem;color:#5b6b8c;text-decoration:none;font-weight:300;line-height:1.35}
.legal-toc a:hover{color:var(--navy)}
@media (max-width:980px){.legal-wrap{grid-template-columns:1fr}.legal-toc{display:none}}

/* compact blog cards (index grid + Weiterlesen) */
.blog-compact .blog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px}.blog-compact .blog-grid .blog-thumb{aspect-ratio:16/8}.blog-compact .blog-grid .blog-card-body{padding:18px 20px 20px;gap:8px}.blog-compact .blog-grid h3{font-size:1.02rem;line-height:1.28}.blog-compact .blog-grid p{font-size:.86rem}.blog-compact .blog-grid .blog-cat{top:10px;left:10px;font-size:.7rem}
@media(max-width:820px){.blog-compact .blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:520px){.blog-compact .blog-grid{grid-template-columns:1fr!important}}

/* checklist (numbered, prominent) */
.article-body ol.checklist{list-style:none;counter-reset:ck;margin:28px 0 32px;padding:0 0 0 12px;display:flex;flex-direction:column;gap:14px}
.article-body ol.checklist li{counter-increment:ck;position:relative;margin:0;padding:16px 20px 16px 64px;background:#fff;border:1px solid rgba(10,35,81,.1);border-radius:14px;font-size:1.06rem;line-height:1.6;font-weight:500;color:var(--navy);box-shadow:0 6px 18px -12px rgba(10,35,81,.25)}
.article-body ol.checklist li::before{content:counter(ck);position:absolute;left:16px;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;background:var(--yellow);color:var(--navy);font-weight:700;font-size:.95rem;display:flex;align-items:center;justify-content:center}
@media(max-width:560px){.article-body ol.checklist{padding-left:0}.article-body ol.checklist li{padding:14px 16px 14px 56px;font-size:1rem}.article-body ol.checklist li::before{left:12px;width:30px;height:30px}}
