/* =========================================================
   Prof. Dr. Stefan Krause – Sportpsychologie Stuttgart
   Stylesheet – im Stil der BDP-Fachpsycholog*innen-Liste
   ========================================================= */

:root {
  /* Dark trial palette: --navy/--mid keep their original NAMES but are now
     "ink" (light) resp. "sky" (accent) foreground tones; the handful of
     places that used them as dark BACKGROUND fills are hardcoded below
     instead of via var(), so redefining these here can't fight itself. */
  --navy: #f1f0ec;
  --blue: #262626;
  --mid: #7fb6d9;
  --light: #262626;
  --accent: #dd9d4c;
  --accent-light: #efc383;
  --text-dark: #eaeaea;
  --text-mid: #a7abb4;
  --white: #1e1e1e;
  --bg: #131313;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--mid); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.25;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--mid), transparent);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after,
.eyebrow.center::before {
  content: '';
  flex: 0 0 48px;
  height: 1px;
  background: var(--accent);
}

/* ---------- Skip link (a11y) ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #1c1c1c;
  color: #fff;
  padding: 10px 18px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 16, 16, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}
.brand-text {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.2;
}
.brand-text strong { display: block; font-weight: 700; letter-spacing: 0.02em; }
.brand-text span {
  display: block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 400;
  max-width: 46vw;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
.main-nav a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover,
.main-nav a:focus-visible { color: #fff; border-color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #171717 !important;
  padding: 9px 20px;
  border-radius: 30px;
  font-weight: 600 !important;
  border-bottom: none !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-light); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  color: #fff;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #232323 55%, #2e2620 100%);
  position: relative;
  overflow: hidden;
  padding: 76px 0 90px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-text .eyebrow { color: var(--accent-light); }
.hero-text .eyebrow::after { background: linear-gradient(to right, var(--accent-light), transparent); }
.hero-text h1 {
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-text .lede {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--accent);
  color: #171717;
  box-shadow: 0 6px 20px rgba(221,157,76,0.4);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-light); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.trust-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding: 7px 14px;
  border-radius: 20px;
}

.hero-portrait {
  display: flex;
  justify-content: center;
}
.portrait-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--accent) 0%, var(--accent-light) 100%);
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.portrait-frame img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  background: var(--light);
}

/* ---------- Pull quote band ---------- */
.quote-band {
  background: var(--white);
  border-left: 5px solid var(--accent);
  max-width: 1100px;
  margin: -44px auto 0;
  padding: 32px 40px;
  border-radius: 3px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.45);
  position: relative;
  z-index: 2;
}
.quote-band blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 10px;
}
.quote-band cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.quote-band cite a { color: var(--mid); text-decoration: none; }
.quote-band cite a:hover { text-decoration: underline; }

/* ---------- Generic section ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.section-head p { color: var(--text-mid); font-size: 1.02rem; }

/* ---------- Profil ---------- */
.profil-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}
.profil-photo-wrap { position: sticky; top: 100px; }
.profil-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  box-shadow: 0 14px 40px rgba(0,0,0,0.5);
  background: linear-gradient(155deg, #1c1c1c, #2a2a2a);
  border-radius: 8px;
}
.profil-photo > img:first-child {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 8px;
  display: block;
}
.bdp-seal {
  position: absolute;
  left: -20px;
  bottom: -20px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.6);
}
.profil-caption {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-mid);
  text-align: center;
}
.profil-caption .subtle {
  display: block;
  font-size: 0.78rem;
  color: #8a93a6;
  margin-top: 2px;
}
.subtle-inline {
  color: var(--accent);
  font-weight: 600;
}

.profil-text p { margin-bottom: 18px; color: var(--text-mid); }
.profil-text p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--accent);
  float: left;
  line-height: 1;
  padding-right: 8px;
  padding-top: 4px;
  font-weight: 700;
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.credential-card {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.credential-card .cc-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.credential-card .cc-sub {
  font-size: 0.82rem;
  color: var(--text-mid);
}

/* ---------- Services (Sportpsychologie) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  padding: 30px 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  border-top: 4px solid var(--accent);
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.55); }
.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 16px;
  color: var(--mid);
}
.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}
.service-card p { color: var(--text-mid); font-size: 0.92rem; }

.approach-note {
  margin-top: 40px;
  background: var(--light);
  border-radius: 8px;
  padding: 26px 30px;
  color: var(--text-mid);
  font-size: 0.95rem;
}
.approach-note strong { color: var(--navy); }

/* ---------- Medien ---------- */
.medien-sub {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 36px 0 18px;
}
.medien-sub:first-of-type { margin-top: 6px; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.media-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border-radius: 6px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.media-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.media-card audio {
  width: 100%;
  margin-top: 2px;
  border-radius: 20px;
}
.media-icon {
  width: 30px; height: 30px;
  flex-shrink: 0;
  color: var(--mid);
}
.media-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.94rem;
  line-height: 1.3;
}
.media-sub {
  font-size: 0.78rem;
  color: var(--text-mid);
  margin-top: 2px;
}
.media-note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-style: italic;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.press-card {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.press-outlet {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mid);
}
.press-card h4 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.35;
}
.press-card blockquote {
  margin: 0;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-mid);
  border-left: 2px solid var(--accent-light);
  padding-left: 12px;
}
.press-link {
  margin-top: 4px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--mid);
  text-decoration: none;
}
.press-link:hover { text-decoration: underline; }

/* ---------- Wissenschaft ---------- */
.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.science-list { list-style: none; }
.science-list li {
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--light);
  position: relative;
  color: var(--text-mid);
}
.science-list li:last-child { border-bottom: none; }
.science-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 22px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.science-list strong { color: var(--navy); }

.timeline { border-left: 2px solid var(--light); padding-left: 26px; }
.timeline-item { margin-bottom: 26px; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute; left: -32px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 2px solid var(--accent);
}
.timeline-item .ti-when {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  font-weight: 600;
}
.timeline-item h4 { font-size: 1rem; margin: 4px 0 4px; }
.timeline-item p { color: var(--text-mid); font-size: 0.9rem; }

/* ---------- Second quote band ---------- */
.quote-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #232323 100%);
  padding: 70px 0;
  text-align: center;
}
.quote-section blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: #fff;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 16px;
  line-height: 1.5;
}
.quote-section cite {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.quote-section cite a { color: var(--accent-light); text-decoration: none; }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.contact-card {
  background: #1c1c1c;
  color: #fff;
  border-radius: 10px;
  padding: 40px;
}
.contact-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.contact-card > p { color: rgba(255,255,255,0.7); margin-bottom: 26px; font-size: 0.95rem; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-item .ci-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.contact-item a, .contact-item span { color: rgba(255,255,255,0.88); text-decoration: none; font-size: 0.95rem; }
.contact-item a:hover { color: var(--accent-light); text-decoration: underline; }
.contact-item .ci-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.45); margin-bottom: 2px; }

.contact-card .btn-primary { margin-top: 10px; }

.contact-side h3 { margin-bottom: 14px; }
.contact-side p { color: var(--text-mid); margin-bottom: 16px; }
.contact-side ul { list-style: none; margin-top: 20px; }
.contact-side li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light);
  color: var(--text-mid);
  font-size: 0.92rem;
}
.contact-side li strong { color: var(--navy); }

/* ---------- Footer ---------- */
footer {
  background: #0e0e0e;
  color: rgba(255,255,255,0.65);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid p, .footer-grid a, .footer-grid li {
  font-size: 0.85rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
}
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--accent-light); }
.footer-grid ul { list-style: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; }
  .portrait-frame { max-width: 200px; }
  .profil-grid { grid-template-columns: 1fr; }
  .profil-photo-wrap { position: static; max-width: 260px; margin: 0 auto; }
  .science-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .main-nav { position: fixed; top: 64px; left: 0; right: 0; background: #161616; flex-direction: column; padding: 10px 24px 20px; display: none; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav a { display: block; padding: 12px 4px; }
  .nav-toggle { display: inline-block; }
  .nav-cta { display: inline-block; margin-top: 8px; }
  .quote-band { margin: 20px 16px 0; padding: 24px; }
  section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .footer-bottom { flex-direction: column; }
  .brand-badge { width: 42px; height: 42px; }
  .brand-text { font-size: 0.92rem; }
  .brand-text span { font-size: 0.56rem; max-width: 42vw; }
}
