/* =========================================================
   Dr. Benjamin Sack – Coaching & Organisationsberatung
   ========================================================= */

/* Selbst gehostete Schrift (kein externes CDN -> DSGVO-konform) */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:      #16263d;   /* tiefes Marineblau  */
  --ink-2:    #24364f;
  --accent:   #c2762f;   /* warmes Ocker/Amber */
  --accent-d: #a45f1f;
  --text:     #2b333d;
  --muted:    #5d6773;
  --bg:       #ffffff;
  --bg-soft:  #f6f3ee;   /* warmes Off-White   */
  --line:     #e6e1d8;
  --radius:   14px;
  --maxw:     1120px;
  /* Schrift: Schibsted Grotesk (selbst gehostet), Fallback Helvetica/Arial-Familie */
  --display: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent-d); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent-d);
  margin-bottom: .6rem;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-d); color: #fff; }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--display); font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.brand-sub  { font-size: .74rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

.nav-menu { list-style: none; display: flex; align-items: center; gap: 28px; }
.nav-menu a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-menu a:hover { color: var(--accent-d); text-decoration: none; }
.nav-cta { background: var(--ink); color: #fff !important; padding: 9px 18px; border-radius: 999px; }
.nav-cta:hover { background: var(--ink-2); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(580px, 90vh, 960px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; display: block; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(98deg,
      rgba(14,25,42,.94) 0%,
      rgba(14,25,42,.82) 30%,
      rgba(14,25,42,.42) 54%,
      rgba(14,25,42,0) 76%);
}
.hero-content { position: relative; width: 100%; padding: 48px 24px; }
.hero-text { max-width: 620px; color: #fff; }
.hero .eyebrow { color: #e2a766; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.9vw, 3.6rem); margin-bottom: 1.1rem; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 56ch; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-meta {
  margin-top: 1.2rem; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .12em; font-size: .82rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Hero-Einblendung (gestaffelt) */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { opacity: 0; animation: heroIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero-text > :nth-child(1) { animation-delay: .05s; }
  .hero-text > :nth-child(2) { animation-delay: .15s; }
  .hero-text > :nth-child(3) { animation-delay: .27s; }
  .hero-text > :nth-child(4) { animation-delay: .39s; }
  .hero-text > :nth-child(5) { animation-delay: .51s; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-intro { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); }

/* Ansatz-Intro über volle Breite (statt auf ~60ch begrenzt) */
#ansatz .section-head { max-width: none; }

/* ---------- Leistungs-Cards ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 12px 36px -28px rgba(22,38,61,.5);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px -30px rgba(22,38,61,.55);
  border-color: #d8d0c2;
}
.card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.6rem; margin-bottom: .7rem; }

.ticks { list-style: none; margin: 1.1rem 0 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: .5rem; color: var(--text); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
}
.card-note { margin-top: 1.1rem; font-size: .92rem; color: var(--muted); }
.link-arrow { margin-top: 1.4rem; font-weight: 700; align-self: flex-start; }
.link-arrow::after { content: " →"; display: inline-block; transition: transform .25s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Ansatz / Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px;
  border-top: 3px solid var(--accent);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: 0 20px 48px -32px rgba(22,38,61,.5); }
.pillar h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.pillar p { color: var(--muted); }

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about-image img { border-radius: var(--radius); box-shadow: 0 18px 48px -28px rgba(22,38,61,.5); position: sticky; top: 90px; }
.about-text h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; }
.creds { list-style: none; margin-top: 1.6rem; border-top: 1px solid var(--line); }
.creds li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--text); }
.creds li::before { content: "✓"; position: absolute; left: 0; top: 14px; color: var(--accent-d); font-weight: 700; }

/* ---------- Kontakt ---------- */
.section-contact { background: var(--ink); color: #eaeef4; }
.section-contact .eyebrow { color: #e2a766; }
.section-contact h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.section-contact .lead { color: #c4cdd9; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact-area { margin-top: 1.2rem; color: #9fb0c4; font-size: .96rem; }
.contact-actions { display: flex; flex-direction: column; gap: 16px; }
.contact-line {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 18px 22px; color: #fff;
}
.contact-line:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.contact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #9fb0c4; }
.contact-value { font-size: 1.15rem; font-weight: 600; }
.contact-socials { display: flex; gap: 18px; margin-top: 4px; }
.contact-socials a { color: #e2a766; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 40px 16px 0;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent-d); line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 40px 18px 0; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1c2e; color: #9fb0c4; padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: #c4cdd9; }

/* ---------- Rechtsseiten (Impressum/Datenschutz) ---------- */
.legal { max-width: 760px; padding: clamp(40px, 7vw, 80px) 24px; margin: 0 auto; }
.legal h1 { font-size: 2rem; margin-bottom: 1.4rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.legal p, .legal address { margin-bottom: 1rem; font-style: normal; }
.legal a.back { display: inline-block; margin-bottom: 2rem; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 360px; }
  .about-image img { position: static; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { border-bottom: 1px solid var(--line); }
  .nav-menu a { display: block; padding: 14px 0; }
  .nav-cta { text-align: center; margin-top: 12px; }
  .nav-menu li:last-child { border-bottom: 0; }
}

/* Hero auf Smartphones: Hochformat-Bild, Gesicht oben frei, Text unten */
@media (max-width: 760px) {
  .hero { min-height: 92vh; align-items: flex-end; }
  .hero-bg img { object-position: center top; }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(14,25,42,.30) 0%,
        rgba(14,25,42,0) 24%,
        rgba(14,25,42,.45) 52%,
        rgba(14,25,42,.93) 82%);
  }
  .hero-content { padding-top: 0; padding-bottom: 42px; }
  .hero-text { max-width: 100%; }
  .hero .lead { display: none; }   /* kürzer halten – Gesicht bleibt frei */
}
