/* ==========================================================
   DR. CHRISTY R. KULZ — WEBSITE STYLES
   Extracted from InDesign export 2025-06
   ========================================================== */

/* === Montserrat (lokal gehostet, DSGVO-konform – kein Google-Fonts-Request) === */
/* Variable Font, deckt die Weights 300/400/600/700 über die Achse 100–900 ab */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* === Design Tokens === */
:root {
  /* Colors */
  --c-brand:      #009bb4;
  --c-brand-dark: #007d92;
  --c-text:       #464646;
  --c-bg-warm:    #f5f4f3;
  --c-bg-blue:    #d6ecf3;
  --c-bg-gray:    #f0f0f0;
  --c-bg-dark:    #2a2a2a;
  --c-white:      #ffffff;

  /* Typography */
  --font:         'Montserrat', sans-serif;
  --fw-light:     300;
  --fw-regular:   400;
  --fw-semi:      600;
  --fw-bold:      700;

  --fs-label:     13px;
  --fs-sm:        16px;
  --fs-base:      18px;
  --fs-card-h:    26px;
  --fs-section-h: 44px;
  --fs-hero:      72px;

  /* Layout */
  --max-w:        1200px;
  --section-v:    80px;
  --gap-lg:       64px;
  --gap-md:       48px;
  --gap-sm:       32px;
  --radius-btn:   50px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--c-text);
  line-height: 1.65;
  background: var(--c-white);
}
img { max-width: 100%; display: block; }
a { color: var(--c-brand); text-decoration: none; }


/* ==========================================================
   NAV
   ========================================================== */
.nav-wrapper {
  background: var(--c-white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e8e8e8;
}

.site-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo: CK icon + name */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-icon {
  width: auto;
  height: 34px;
  flex-shrink: 0;
}

.nav-logo-name {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--c-text);
  line-height: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--c-text);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--c-brand); }
.nav-links a.active { font-weight: var(--fw-bold); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  margin: 5px 0;
  transition: 0.3s;
}


/* ==========================================================
   UTILITIES
   ========================================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Category Label — teal, uppercase, tracked */
.label {
  display: block;
  font-size: var(--fs-label);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-brand);
  margin-bottom: 20px;
}

/* Section Headings */
.h-section {
  font-size: clamp(30px, 4vw, var(--fs-section-h));
  font-weight: var(--fw-light);
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: 20px;
}

.h-card {
  font-size: var(--fs-card-h);
  font-weight: var(--fw-semi);
  line-height: 1.3;
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

/* Body copy */
.body-copy {
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Text link with arrow */
.text-link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  transition: color 0.2s;
}
.text-link:hover { color: var(--c-brand); }

/* Inline arrow icon (arrow.svg) — recoloured to inherit the current text colour */
.arrow {
  display: inline-block;
  width: 9px;
  height: 8px;
  margin-left: 8px;
  background-color: currentColor;
  -webkit-mask: url('../assets/images/arrow.svg') no-repeat center / contain;
          mask: url('../assets/images/arrow.svg') no-repeat center / contain;
  vertical-align: middle;
}

/* Pill button */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.25s;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--c-brand);
  color: var(--c-white);
  border-color: var(--c-brand);
}
.btn-primary:hover {
  background: var(--c-brand-dark);
  border-color: var(--c-brand-dark);
  color: var(--c-white);
}
/* Ausnahme: Contact-Button auf dem teal CTA-Band — solides weißes Pill mit teal Schrift */
.btn-outline-white {
  background: var(--c-white);
  color: var(--c-brand);
  border-color: var(--c-white);
}
.btn-outline-white:hover {
  background: var(--c-white);
  color: var(--c-brand-dark);
}


/* ==========================================================
   HOMEPAGE — HERO
   ========================================================== */
.hero {
  position: relative;
  background: var(--c-bg-warm) url('../assets/images/christy1.webp') no-repeat right top / cover;
  overflow: hidden;
}

/* Foto vollflächig im Hintergrund (rechts), Text links darüber – gleiche Behandlung wie About-Hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(245, 244, 243, 0.92) 25%,
    rgba(245, 244, 243, 0.55) 48%,
    rgba(245, 244, 243, 0) 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Dynamische Höhe: wächst mit der Viewport-Breite (folgt dem Bild-Seitenverhältnis ~1.79),
     damit oben möglichst nichts beschnitten wird; gedeckelt für sehr breite Screens */
  min-height: clamp(480px, 52vw, 700px);
}

.hero-content {
  padding: 80px 48px 80px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Counselling-Hero: identische Skalierung wie Start-Hero, nur anderes Foto */
.hero--counselling {
  background-image: url('../assets/images/bg_counselling.webp');
}

.hero-title {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: var(--fw-light);
  line-height: 1.1;
  color: var(--c-text);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 40px;
}

/* Placeholder for missing images */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--c-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
}


/* ==========================================================
   TOPICS SECTION (homepage cards)
   ========================================================== */
.section {
  padding: var(--section-v) 24px;
}
.section-white { background: var(--c-white); }
.section-warm  { background: var(--c-bg-warm); }
.section-gray  { background: var(--c-bg-gray); }
.section-blue  { background: var(--c-bg-blue); }
.section-dark  { background: var(--c-bg-dark); color: var(--c-white); }
.section-brand { background: var(--c-brand); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-sm);
  margin-top: 40px;
}

.card-media {
  overflow: hidden;
  margin-bottom: 20px;
}

.card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card:hover .h-card { color: var(--c-brand); }

.card-body {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}


/* ==========================================================
   IN PRACTICE (homepage)
   ========================================================== */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}

.practice-icons-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.practice-icon {
  width: auto;
  height: 52px;
  margin-bottom: 12px;
}

.practice-icon-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-semi);
  margin-bottom: 8px;
}

.practice-icon-text {
  font-size: 15px;
  font-weight: var(--fw-light);
  line-height: 1.6;
}


/* ==========================================================
   TWO-COLUMN CONTENT (testimonial + contact on homepage)
   ========================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.testimonial-quote {
  padding-left: 92px;
  position: relative;
}

.testimonial-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 74px;
  height: 62px;
  background: url('../assets/images/citation.svg') no-repeat left top;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-author {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--c-text);
  font-style: normal;
}

.see-all-link {
  display: block;
  margin-top: 16px;
  font-size: var(--fs-sm);
  color: var(--c-text);
}
.see-all-link:hover { color: var(--c-brand); }


/* ==========================================================
   PAGE-LEVEL HERO (inner pages)
   ========================================================== */
.page-hero {
  padding: 64px 24px;
  background: var(--c-white);
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.page-hero-image {
  overflow: hidden;
}

.page-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* About-Hero: Foto liegt vollflächig im Hintergrund, Text links darüber (wie im Entwurf) */
.page-hero--photo {
  position: relative;
  background: var(--c-bg-warm) url('../assets/images/bg.webp') no-repeat center right / cover;
}
.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    rgba(245, 244, 243, 0.92) 25%,
    rgba(245, 244, 243, 0.55) 48%,
    rgba(245, 244, 243, 0) 68%);
  pointer-events: none;
}
.page-hero--photo .page-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 460px;
}
.page-hero--photo .page-hero-text {
  max-width: 520px;
}


/* ==========================================================
   ALTERNATING CONTENT SECTIONS (counselling page)
   ========================================================== */
.alt-section {
  padding: var(--section-v) 24px;
}

.alt-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.alt-inner.img-right { }
.alt-inner.img-left  { }

.alt-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.alt-content {}


/* ==========================================================
   APPROACH SECTION (with carousel dots)
   ========================================================== */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: end;
}

.carousel-wrapper {
  position: relative;
}

.carousel-slide { display: none; }
.carousel-slide.active { display: block; }

/* Inhalt + Blätter-Chevron in einer Reihe (Chevron rechts, vertikal zentriert; wie Entwurf) */
.carousel-row {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
}
.carousel-row > :first-child {
  flex: 1;
  min-width: 0;
}

/* Dots mittig unter dem Inhalt */
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-bg-gray);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.dot.active { background: var(--c-brand); }

/* Blätter-Chevron (chevron.svg), teal, einfärbbar via Mask */
.carousel-arrow {
  flex-shrink: 0;
  width: 25px;
  height: 58px;
  border: none;
  padding: 0;
  cursor: pointer;
  background-color: var(--c-brand);
  -webkit-mask: url('../assets/images/chevron.svg') no-repeat center / contain;
          mask: url('../assets/images/chevron.svg') no-repeat center / contain;
  transition: background-color 0.2s ease;
}
.carousel-arrow:hover {
  background-color: var(--c-brand-dark);
}


/* ==========================================================
   TESTIMONIALS (counselling page, 2-up)
   ========================================================== */
.testimonials-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  margin-top: 40px;
}


/* ==========================================================
   CONTACT CTA BAND
   ========================================================== */
.cta-band {
  background: var(--c-brand);
  padding: 60px 24px;
}

.cta-band-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: var(--fw-light);
  color: var(--c-white);
  line-height: 1.2;
  flex: 1;
  min-width: 260px;
}


/* ==========================================================
   ABOUT — BACKGROUND SECTION (3-col)
   ========================================================== */
.background-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gap-md);
  align-items: start;
}

.credentials {
  list-style: none;
  border-left: 2px solid var(--c-brand);
  padding-left: 24px;
  padding-top: 8px;
}

.credentials li {
  position: relative;
  margin-bottom: 28px;
}

.credentials li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--c-brand);
  border-radius: 50%;
  position: absolute;
  left: -30px;
  top: 6px;
}

.cred-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  line-height: 1.4;
  margin-bottom: 4px;
}

.cred-org {
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
}

.background-photo img {
  width: 100%;
  height: auto;
}


/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--c-bg-dark);
  padding: 28px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-disclaimer {
  font-size: var(--fs-label);
  font-weight: var(--fw-regular);
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .hero-inner,
  .practice-grid,
  .two-col,
  .page-hero-inner,
  .alt-inner,
  .approach-grid,
  .testimonials-two-col,
  .background-grid {
    grid-template-columns: 1fr;
  }

  .hero-content { padding: 56px 24px; }

  /* Hero-Fotos (Start + About): stärkerer Scrim, da Text über voller Bildbreite liegt */
  .hero::before,
  .page-hero--photo::before {
    background: rgba(245, 244, 243, 0.82);
  }

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

  .practice-icons-row { grid-template-columns: repeat(3, 1fr); }

  .cta-band-inner { flex-direction: column; align-items: flex-start; }

  .testimonials-two-col { grid-template-columns: 1fr; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: var(--c-white); border-top: 1px solid #eee; padding: 16px 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  .nav-links.open li { padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
  .nav-toggle { display: flex; flex-direction: column; }
}

@media (max-width: 600px) {
  .practice-icons-row { grid-template-columns: 1fr 1fr; }
  :root { --section-v: 56px; }
}


/* ==========================================================
   MICRO-ANIMATIONS (dezent — respektiert prefers-reduced-motion)
   ========================================================== */
@media (prefers-reduced-motion: no-preference) {

  /* Progressive Disclosure: Teaser/Inhalte blenden beim Scrollen sanft ein.
     Versteckt wird nur bei aktivem JS (html.js) → ohne JS bleibt alles sichtbar. */
  .js :where(
    .card,
    .practice-left,
    .practice-icons-row > div,
    .alt-content,
    .alt-image,
    .background-grid > *,
    .testimonial-slide,
    #contact .two-col > div,
    .cta-band-inner
  ) {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  .js .is-visible {
    opacity: 1;
    transform: none;
  }
  /* leichter Stagger bei den 3er-Gruppen */
  .js .cards-grid .card:nth-child(2),
  .js .practice-icons-row > div:nth-child(2) { transition-delay: 0.08s; }
  .js .cards-grid .card:nth-child(3),
  .js .practice-icons-row > div:nth-child(3) { transition-delay: 0.16s; }

  /* Hover: CTAs werden dezent größer (Pfeil bleibt an Ort und Stelle) */
  .btn:hover { transform: scale(1.01); }

  /* Hover: Textlinks — Pfeil rückt sanft nach rechts */
  .text-link .arrow,
  .see-all-link .arrow { transition: transform 0.25s ease; }
  .text-link:hover .arrow,
  .see-all-link:hover .arrow { transform: translateX(4px); }

  /* Hover: Teaser-Bilder zoomen leicht rein (Headline-Farbe siehe Basis-Styles) */
  .card-image { transition: transform 0.5s ease; }
  .card:hover .card-image { transform: scale(1.05); }

  /* Hero-Inhalte beim Laden gestaffelt einblenden (einheitlich: Titel, Subtext, Button …) */
  .js .hero-content > *,
  .js .page-hero--photo .page-hero-text > * {
    animation: heroIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  }
  .js .hero-content > *:nth-child(1),
  .js .page-hero--photo .page-hero-text > *:nth-child(1) { animation-delay: 0.10s; }
  .js .hero-content > *:nth-child(2),
  .js .page-hero--photo .page-hero-text > *:nth-child(2) { animation-delay: 0.22s; }
  .js .hero-content > *:nth-child(3),
  .js .page-hero--photo .page-hero-text > *:nth-child(3) { animation-delay: 0.34s; }
  .js .hero-content > *:nth-child(4),
  .js .page-hero--photo .page-hero-text > *:nth-child(4) { animation-delay: 0.46s; }
  .js .hero-content > *:nth-child(5),
  .js .page-hero--photo .page-hero-text > *:nth-child(5) { animation-delay: 0.58s; }
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
