/* Website UI Kit — additional styles layered on colors_and_type.css */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--fg-1); font-family: var(--font-family-sans); font-weight: 300; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ============ Container ============ */
.bg-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (min-width: 900px) { .bg-container { padding: 0 56px; } }

/* ============ Buttons ============ */
.bg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; line-height: 1;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-button);
  transition: transform var(--duration-base) var(--easing-emph), box-shadow var(--duration-base) var(--easing-emph), opacity var(--duration-fast) var(--easing-standard);
  text-decoration: none;
}
.bg-btn:hover { transform: translateY(-1.5px); box-shadow: 0 12px 24px rgba(0,0,0,.22); }
.bg-btn:active { transform: scale(.98); }
.bg-btn--primary { background: var(--bg-capri); color: #fff; }
.bg-btn--black   { background: #000; color: #fff; }
.bg-btn--white   { background: #fff; color: var(--bg-capri); box-shadow: var(--shadow-soft); }
.bg-btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.bg-btn--ghost-dark  { background: transparent; color: var(--bg-capri); box-shadow: inset 0 0 0 1.5px var(--bg-capri); }

/* ============ Eyebrow ============ */
.bg-eyebrow-l {
  display: inline-block;
  font-weight: 700; font-size: 13px; line-height: 1;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--bg-capri);
}
.bg-eyebrow-l--on-dark { color: #fff; opacity: .9; }

/* ============ Headings ============ */
.bg-title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-wrap: balance;
}

/* ============ Header / nav ============ */
.bg-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 24px 0;
  transition: background var(--duration-base), backdrop-filter var(--duration-base), color var(--duration-base);
  color: #fff;
}
.bg-header--scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  color: var(--bg-capri);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.bg-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.bg-header__logo  { height: 22px; width: auto; }
.bg-header__nav {
  display: none;
  gap: 28px;
  font-weight: 500; font-size: 14px;
}
@media (min-width: 900px) { .bg-header__nav { display: flex; } }
.bg-header__nav a { color: inherit; text-decoration: none; opacity: .85; white-space: nowrap; }
.bg-header__nav a:hover { opacity: 1; }

/* ============ Hero ============ */
.bg-hero {
  position: relative;
  min-height: 88vh;
  background: linear-gradient(315deg, #483CFF 0%, #ED6CB4 100%);
  color: #fff;
  overflow: hidden;
  display: flex; align-items: center;
  padding: 160px 0 120px;
}
.bg-hero::after {
  /* faint sparkle motif */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.06) 0, transparent 14%),
    radial-gradient(circle at 12% 78%, rgba(255,255,255,.05) 0, transparent 14%);
  pointer-events: none;
}
.bg-hero__inner { position: relative; z-index: 2; }
.bg-hero__eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.bg-hero__eyebrow .e { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bg-hero__claim {
  font-weight: 900;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: .88;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  max-width: 1300px;
  text-wrap: nowrap;
  margin: 0;
}
.bg-hero__claim .claim-end {
  display: inline-flex;
  align-items: flex-end;
  gap: .02em;
  vertical-align: baseline;
}
.bg-hero__claim .claim-spark {
  display: inline-block;
  width: .6em;
  height: auto;
  transform: translateY(-.02em);
  margin-left: .04em;
}
.bg-hero__claim .claim-dot {
  font-weight: 900;
  line-height: 1;
  margin-left: -.02em;
}
.bg-hero__sub {
  margin-top: 18px;
  max-width: 720px;
  font-weight: 300;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.5;
}
.bg-hero__cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.bg-hero__gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 72px;
  z-index: 2; position: relative;
}
.bg-hero__gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-tile);
}

/* ============ Section bones ============ */
section { padding: 96px 0; }
@media (min-width: 900px) { section { padding: 128px 0; } }
.section-head {
  display: flex; flex-direction: column; gap: 18px;
  margin-bottom: 64px; max-width: 900px;
}
.section-head h2 {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.05em;
  font-size: clamp(40px, 5.5vw, 80px); line-height: 0.9; margin: 0;
  text-wrap: balance;
}
.section-head p { font-weight: 300; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; color: var(--fg-2); margin: 0; }

/* ============ Practices ============ */
.practices-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 700px) { .practices-grid { grid-template-columns: repeat(2, 1fr); } }
.practice-tile {
  position: relative; overflow: hidden; border-radius: 32px;
  box-shadow: var(--shadow-tile);
  aspect-ratio: 16/11;
}
.practice-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--easing-emph); }
.practice-tile:hover img { transform: scale(1.04); }
.practice-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65) 100%);
}
.practice-tile .meta {
  position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2; color: #fff;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.practice-tile .num { font-weight: 900; font-size: 18px; letter-spacing: 0; opacity: .85; }
.practice-tile h3 { font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(28px, 3vw, 44px); line-height: .95; margin: 0; text-wrap: balance; }

/* ============ Numbers ============ */
.numbers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; }
@media (min-width: 900px) { .numbers-grid { grid-template-columns: repeat(4, 1fr); } }
.numbers-grid .n { font-weight: 900; font-size: clamp(56px, 7vw, 96px); line-height: .85; letter-spacing: -0.05em; color: var(--bg-capri); }
.numbers-grid .caption { margin-top: 14px; font-weight: 300; font-size: 16px; line-height: 1.4; color: var(--fg-2); }

/* ============ Clients ============ */
.clients-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 36px 56px; align-items: center;
  filter: brightness(0);
}
@media (min-width: 700px) { .clients-row { grid-template-columns: repeat(6, 1fr); } }
.clients-row img { max-height: 40px; width: 100%; object-fit: contain; }

/* ============ Testimonials carousel ============ */
.testimonial-carousel__viewport,
.team-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.testimonial-carousel__viewport::-webkit-scrollbar,
.team-carousel__viewport::-webkit-scrollbar { display: none; }
.testimonial-carousel__track,
.team-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 30px;
  padding: 18px 8px 28px;
}
.testimonial {
  flex: 0 0 44%;
  min-width: 0;
  min-height: 340px;
  box-sizing: border-box;
  padding: 38px 40px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(72,60,255,.10), 0 2px 6px rgba(0,0,0,.05);
  position: relative;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}
.testimonial .spark { width: 36px; height: 40px; margin-bottom: 24px; }
.testimonial .text { font-weight: 700; font-size: clamp(20px, 1.8vw, 28px); line-height: 1.25; letter-spacing: -0.015em; }
.testimonial .attr { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 18px; }
.testimonial .attr .name { font-weight: 700; font-size: 15px; }
.testimonial .attr .role { font-weight: 300; font-size: 13px; color: var(--fg-2); }
.testimonial .attr img.logo { height: 28px; filter: brightness(0); }
.testimonial .attr img.logo--dachsberger { flex: 0 1 84px; width: 84px; max-width: 84px; height: 28px; object-fit: contain; }
.bg-list-star { flex: 0 0 20px; width: 20px; height: 22px; object-fit: contain; margin-top: 1px; }
.testimonial-nav { display: flex; gap: 12px; margin-top: 10px; justify-content: flex-end; }
.testimonial-nav button {
  width: 54px; height: 54px; border-radius: 999px;
  background: #fff; color: var(--bg-capri); cursor: pointer;
  border: 1.5px solid var(--bg-capri);
  font-size: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 140ms;
}
.testimonial-nav button:hover:not(:disabled) { background: var(--bg-capri); color: #fff; }
.testimonial-nav button:disabled { opacity: .35; cursor: default; }
@media (max-width: 767px) {
  .testimonial { flex-basis: 82%; min-height: 320px; padding: 30px 28px; }
  .testimonial-carousel__track,
  .team-carousel__track { gap: 20px; }
}

/* ============ Podcast cards ============ */
.podcast-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 900px) { .podcast-grid { grid-template-columns: repeat(3, 1fr); } }
.podcast-card {
  border-radius: 28px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-tile);
  display: flex; flex-direction: column;
}
.podcast-card .cover { aspect-ratio: 1; background: linear-gradient(315deg, #483CFF, #ED6CB4); overflow: hidden; }
.podcast-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.podcast-card .body { padding: 28px; }
.podcast-card .show { font-weight: 700; font-size: 12px; color: var(--bg-capri); letter-spacing: .1em; text-transform: uppercase; }
.podcast-card .title { font-weight: 700; font-size: 22px; line-height: 1.2; margin-top: 10px; letter-spacing: -0.01em; }
.podcast-card .desc { margin-top: 12px; font-weight: 300; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.podcast-card .links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.podcast-card .links a { font-weight: 600; font-size: 12px; color: var(--bg-capri); text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--bg-capri); transition: all 140ms; }
.podcast-card .links a:hover { background: var(--bg-capri); color: #fff; }

/* ============ Team carousel ============ */
.team-carousel__viewport {
  scroll-padding-inline: 8px;
}
.koepfe-card {
  flex: 0 0 max(220px, 28%);
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 18px rgba(72,60,255,.09), 0 1px 4px rgba(0,0,0,.05);
  scroll-snap-align: start;
}
.koepfe-card__portrait,
.koepfe-card__placeholder { width: 100%; height: 340px; flex: none; }
.koepfe-card__portrait {
  position: relative;
  overflow: hidden;
  background: linear-gradient(315deg, #483CFF, #ED6CB4);
}
.koepfe-card__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.koepfe-card__placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(ellipse at 20% 20%, rgba(255,255,255,.2), transparent 46%), linear-gradient(315deg, #483CFF, #ED6CB4);
}
.koepfe-card__placeholder span { font-size: clamp(88px, 11vw, 150px); font-weight: 900; line-height: .8; letter-spacing: -.08em; }
.koepfe-card__placeholder small { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.koepfe-card__body { min-height: 210px; padding: 24px 24px 28px; }
.koepfe-card__name { margin: 10px 0 0; font-weight: 900; font-size: clamp(22px, 2.2vw, 30px); line-height: .98; letter-spacing: -.035em; text-transform: uppercase; }
.koepfe-card__name > span { display: block; }
.koepfe-card__role { min-height: 2.8em; margin-top: 6px; color: var(--fg-3); font-size: 13px; font-weight: 700; line-height: 1.4; }
.koepfe-card__body p { margin: 14px 0 0; color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.team-carousel__controls { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.team-carousel__controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1.5px solid var(--bg-capri);
  border-radius: 50%;
  background: #fff;
  color: var(--bg-capri);
  font-family: inherit;
  font-size: 26px;
  cursor: pointer;
  transition: background 140ms, color 140ms, opacity 140ms;
}
.team-carousel__controls button:hover:not(:disabled) { background: var(--bg-capri); color: #fff; }
.team-carousel__controls button:disabled { opacity: .35; cursor: default; }
@media (max-width: 767px) {
  .koepfe-card { flex-basis: 82%; }
  .koepfe-card__portrait,
  .koepfe-card__placeholder { height: 280px; }
  .koepfe-card__body { min-height: 180px; padding: 24px; }
}

/* ============ Contact ============ */
.contact-form { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 640px; }
@media (min-width: 700px) { .contact-form { grid-template-columns: 1fr 1fr; } }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-weight: 300; font-size: 16px;
  padding: 18px 20px; border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  color: #fff;
  outline: none;
  transition: border-color 140ms;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.65); }
.contact-form input:focus, .contact-form textarea:focus { border-color: #fff; }
.contact-form .span-2 { grid-column: 1 / -1; }
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ============ Footer ============ */
footer { background: #000; color: #fff; padding: 56px 0 32px; }
.footer-legal-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.footer-logo { display: block; width: auto; height: 24px; }
.footer-identity p { margin: 20px 0 0; color: rgba(255,255,255,.64); font-size: 13px; line-height: 1.6; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 28px; padding-bottom: 2px; }
footer .footer-legal-links a { color: #fff; opacity: .82; text-decoration: none; font-size: 14px; font-weight: 500; }
footer .footer-legal-links a:hover { opacity: 1; }
footer .meta { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; color: rgba(255,255,255,.52); }
@media (max-width: 767px) {
  .footer-legal-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-legal-links { gap: 20px; }
}

/* Keyboard access to the main content */
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: #fff; color: var(--bg-capri); font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
