/* SK-CS — Coaching & Solutions
   Palette: Logo-Blau, seriöses Goldgelb, Weiss */

:root {
  --blue: #1a86c4;
  --blue-mid: #1474ad;
  --blue-deep: #0b466c;
  --blue-navy: #072a46;
  --blue-ink: #051c30;
  --blue-soft: #e7f4fb;
  --blue-mist: #f3f8fc;
  --gold: #e6b325;
  --gold-deep: #c49212;
  --gold-soft: #f8e7b0;
  --white: #ffffff;
  --cream: #fbf8f1;
  --sand: #f3eee3;
  --ink: #14202b;
  --muted: #5c6b78;
  --line: rgba(7, 42, 70, 0.1);
  --shadow: 0 18px 50px rgba(7, 42, 70, 0.12);
  --shadow-soft: 0 10px 30px rgba(7, 42, 70, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 84px;
  --max: 1180px;
  --font-serif: "Fraunces", "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 0.96rem + 0.28vw, 1.125rem);
  line-height: 1.7;
}

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

a {
  color: var(--blue-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-deep);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold-soft);
  color: var(--blue-navy);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--gold);
  color: var(--blue-navy);
  padding: 0.7rem 1rem;
  font-weight: 700;
  border-radius: 10px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(calc(100% - 2.4rem), var(--max));
  margin-inline: auto;
}

.wrap-wide {
  width: min(calc(100% - 2.4rem), 1280px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: var(--header-h);
  display: flex;
  align-items: center;
  overflow: visible;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(7, 42, 70, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), 1280px);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--blue-navy);
}

.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0 0 0 auto;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  z-index: 90;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--blue-navy);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: background 0.3s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue-navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav ul {
  display: flex;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  color: var(--blue-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 8px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid rgba(26, 134, 196, 0.18);
}

.lang-switch a {
  min-width: 44px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.lang-switch a[aria-current="true"] {
  background: var(--white);
  color: var(--blue-navy);
  box-shadow: var(--shadow-soft);
}

.header-cta {
  display: inline-flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(180deg, #f1c63d 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: var(--blue-navy);
  box-shadow: 0 10px 24px rgba(196, 146, 18, 0.28);
}

.btn-gold:hover {
  color: var(--blue-ink);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(26, 134, 196, 0.28);
}

.btn-blue:hover {
  background: var(--blue-mid);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-ghost-dark {
  background: transparent;
  color: var(--blue-navy);
  border-color: rgba(7, 42, 70, 0.18);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  place-items: end stretch;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 22s var(--ease) infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 28, 48, 0.18) 0%, rgba(5, 28, 48, 0.28) 38%, rgba(5, 28, 48, 0.78) 100%),
    linear-gradient(90deg, rgba(7, 42, 70, 0.55), transparent 58%);
}

.hero-inner {
  width: min(calc(100% - 2.4rem), var(--max));
  margin: 0 auto 5.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.page-hero h1,
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.hero h1 {
  margin: 0.7rem 0 1rem;
  max-width: 14ch;
  font-size: clamp(2.5rem, 1.4rem + 5vw, 5.2rem);
}

.hero p.lead {
  max-width: 38rem;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.8rem;
}

.hero-license {
  margin: 0.9rem 0 0;
}

/* Page heroes */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 42, 70, 0.25), rgba(5, 28, 48, 0.82));
}

.page-hero .wrap {
  padding: 7rem 0 3rem;
}

.page-hero h1 {
  margin: 0.4rem 0 0.6rem;
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem);
}

/* Stats */
.stats {
  background: var(--blue-navy);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.6rem 0;
}

.stat {
  text-align: center;
  padding: 0.6rem;
}

.stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  color: var(--gold);
  line-height: 1.1;
}

.stat span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

/* Sections */
.section {
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0;
}

.section.cream {
  background: var(--cream);
}

.section.mist {
  background: var(--blue-mist);
}

.section.navy {
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(230, 179, 37, 0.12), transparent 50%),
    var(--blue-navy);
  color: var(--white);
}

.kicker {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.7rem;
}

.section.navy .kicker {
  color: var(--gold);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem);
  color: var(--blue-navy);
}

.section.navy .section-title {
  color: var(--white);
}

.intro {
  max-width: 46rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
}

.section.navy .intro {
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .copy {
  order: 2;
}

.media {
  margin: 0;
  position: relative;
}

.media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.media.portrait img {
  aspect-ratio: 1;
  object-position: center top;
  max-width: 460px;
  margin-inline: auto;
}

.media.cover img {
  aspect-ratio: 4 / 3;
  min-height: 280px;
}

.license {
  margin: 0.55rem 0 0;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.45;
}

.hero-license,
.page-hero .license {
  color: rgba(255, 255, 255, 0.72);
}

.license a {
  color: inherit;
}

.checklist {
  margin: 1.1rem 0 1.6rem;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 1.7rem;
  margin: 0.55rem 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(230, 179, 37, 0.18);
}

.person-meta {
  margin: 1.3rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.person-meta strong {
  display: block;
  color: var(--blue-navy);
}

.person-meta span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 1.3rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card h3 {
  font-family: var(--font-serif);
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  color: var(--blue-navy);
}

.card p {
  color: var(--muted);
  margin-top: 0;
}

.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.service {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.4rem;
  align-items: center;
  padding: 2.4rem 0;
}

.service + .service {
  border-top: 1px solid var(--line);
}

.service:nth-child(even) {
  grid-template-columns: 1.1fr 0.9fr;
}

.service:nth-child(even) .copy {
  order: -1;
}

.quote {
  margin: 3rem auto 0;
  max-width: 46rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  line-height: 1.45;
  color: var(--blue-navy);
}

.quote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.95rem;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.gold-rule {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 0 1rem;
  border: 0;
}

/* Legal */
.legal {
  max-width: 46rem;
}

.legal.reveal,
.reveal.legal {
  opacity: 1;
  transform: none;
  animation: none;
}

.legal h2 {
  font-family: var(--font-serif);
  color: var(--blue-navy);
  margin-top: 2.2rem;
}

.legal h3 {
  color: var(--blue-deep);
  margin-top: 1.4rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

.contact-card p {
  margin: 0.2rem 0;
}

/* Footer */
.site-footer {
  background: var(--blue-ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.2rem 0 calc(1.4rem + env(safe-area-inset-bottom, 0px));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.site-footer a {
  color: var(--gold-soft);
}

.site-footer h3 {
  color: var(--white);
  font-family: var(--font-serif);
  margin: 0 0 0.8rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 0.35rem 0;
}

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.9s var(--ease) forwards;
  animation-play-state: paused;
}

.reveal.is-in {
  animation-play-state: running;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes kenburns {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
  .btn:hover { transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .split,
  .split.reverse,
  .service,
  .service:nth-child(even),
  .cta-band,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .copy,
  .service:nth-child(even) .copy {
    order: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(88vh, 760px);
  }
}

@media (max-width: 1100px) {
  :root { --header-h: 76px; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-cluster {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    z-index: 85;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 1.4rem;
    padding: 1.4rem 1.2rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  body.nav-open .nav-cluster {
    transform: none;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.4s var(--ease), visibility 0s;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a {
    font-size: 1.2rem;
    min-height: 52px;
  }

  .header-cta {
    width: 100%;
  }

  .header-cta .btn {
    width: 100%;
  }

  .lang-switch {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .wrap,
  .wrap-wide,
  .hero-inner {
    width: min(calc(100% - 1.4rem), var(--max));
  }

  .brand-text span { display: none; }

  .hero-inner { margin-bottom: 3.4rem; }

  .btn { width: 100%; white-space: normal; }
  .btn-row { flex-direction: column; }

  .media.cover img { min-height: 220px; }
}

/* Phone landscape / short viewports */
@media (max-height: 540px) and (orientation: landscape) {
  :root { --header-h: 64px; }

  .hero,
  .page-hero {
    min-height: auto;
  }

  .hero-inner {
    margin: 0.6rem auto 1rem;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    max-width: 22ch;
    margin: 0.25rem 0 0.4rem;
  }

  .hero p.lead {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
  }

  .hero .btn {
    min-height: 42px;
    padding: 0.4rem 1rem;
  }

  .hero-license {
    display: none;
  }

  .section {
    padding: 2.8rem 0;
  }

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

@media (min-width: 1101px) and (max-width: 1280px) {
  .header-cta .btn {
    padding-inline: 1rem;
  }
}
