/* ==========================================================================
   Kerstin Bruns – HR Interim Management & Consulting
   Globales Stylesheet  (statische Seite, kein Tracking, keine externen Fonts)
   --------------------------------------------------------------------------
   FARBEN: zentral als CSS-Variablen unten in :root.
   Um die Farbwelt exakt an das Logo anzupassen, nur diese Werte aendern –
   der Rest der Seite zieht automatisch nach.
   ========================================================================== */

:root {
  /* --- Markenfarben (abgeleitet aus dem KB-Consulting-Logo: Magenta + Grau) --- */
  --accent:        #9c2a8c;   /* Primaerton: Magenta/Violett aus dem Logo */
  --accent-dark:   #7a2170;   /* dunklere Variante (Hover) */
  --accent-soft:   #f6e8f3;   /* sehr heller Akzent-Hintergrund */
  --accent-2:      #6e7378;   /* Sekundaerakzent: Silber-Grau aus dem Logo */

  /* --- Text & Flaechen (hoher Kontrast = gute Lesbarkeit) --- */
  --ink:           #1a1620;   /* Haupttext, fast schwarz mit leichtem Plum-Ton */
  --ink-soft:      #3d3744;   /* Sekundaertext */
  --muted:         #6a6470;   /* gedaempfter Text, Captions */
  --bg:            #ffffff;
  --bg-soft:       #f7f4f6;   /* abgesetzte Sektionen */
  --bg-deep:       #112648;   /* dunkle Sektion (Footer / Akzentbloecke) – Dunkelblau */
  --nav:           #112648;   /* Header-Hintergrund – gleiches Dunkelblau wie Footer */
  --line:          #e4dde2;   /* Trennlinien, Rahmen */

  /* --- Typo-Skala --- */
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 35, 45, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 35, 45, 0.14);
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;       /* 18px Basis – grosszuegiger Fliesstext */
  line-height: 1.7;
  color: var(--ink);          /* kraeftige Textfarbe statt blass */
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

/* ----------------------------- Layout ----------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 56px 0; }
.narrow { max-width: 760px; }

/* ----------------------------- Typografie ----------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); text-wrap: balance; }
/* Kontakt-Headline: zwei ausgewogene Zeilen */
.h1-contact { font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1.1em; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.lead { font-size: 1.3rem; color: var(--ink); font-weight: 500; }
.claim { font-size: 1.5rem; color: var(--muted); font-weight: 600; margin-top: -.3em; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color:#fff; text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.btn--light { background:#fff; color: var(--accent); border-color:#fff; }
.btn--light:hover { background: var(--accent-soft); color: var(--accent-dark); border-color: var(--accent-soft); }

/* ----------------------------- Header / Nav ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav);                 /* dunkelblauer Header */
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; }
.brand-text { font-weight: 800; color: #fff; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.1; }
.brand-text span { display:block; font-weight: 600; font-size: .8rem; color: rgba(255,255,255,.68); letter-spacing: .02em; }
.brand:hover { text-decoration: none; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: rgba(255,255,255,.86); font-weight: 600; font-size: 1rem;
}
.nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; text-decoration: none; }
.nav-links a.active { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 0 0; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display:block; width: 26px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ----------------------------- Vollbreites Foto-Band ----------------------------- */
.image-band { width: 100%; line-height: 0; }
.image-band img { width: 100%; height: auto; max-height: 460px; object-fit: cover; object-position: center 28%; display: block; }

/* ----------------------------- Foto-Hero mit Schrift darüber ----------------------------- */
.photo-hero { position: relative; line-height: 0; }
.photo-hero > img { width: 100%; height: auto; max-height: 520px; object-fit: cover; object-position: center 26%; display: block; }
.photo-hero-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; line-height: 1.15;
  background: linear-gradient(90deg, rgba(156,42,140,0) 40%, rgba(156,42,140,.26) 72%, rgba(156,42,140,.5) 100%);
}
.photo-hero-overlay .container { width: 100%; }
.photo-hero-text { margin-left: auto; max-width: 620px; text-align: right; }
.photo-hero-text .eyebrow { color: #fff; opacity: .95; font-size: 1rem; letter-spacing: .14em; }
.photo-hero-text h1 { color: #fff; margin-bottom: .12em; font-size: clamp(2.8rem, 5.8vw, 4.6rem); text-shadow: 0 2px 16px rgba(60,8,50,.45); }
.photo-hero-text .claim { color: #fff; margin-bottom: 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); text-shadow: 0 1px 10px rgba(60,8,50,.4); }
@media (max-width: 760px){
  .photo-hero > img { max-height: 480px; object-position: center 22%; }
  .photo-hero-overlay { align-items: flex-end;
    background: linear-gradient(0deg, rgba(156,42,140,.58) 0%, rgba(156,42,140,.2) 45%, rgba(156,42,140,0) 72%); }
  .photo-hero-text { max-width: none; text-align: left; padding-bottom: 24px; }
}

/* ----------------------------- Bild-Hero (Banner mit weißer Schrift) ----------------------------- */
.hero-banner {
  position: relative;
  background: linear-gradient(rgba(17,38,72,.58), rgba(17,38,72,.58)), var(--banner) center/cover no-repeat;
  background-color: var(--nav);
  color: #fff;
  padding: 120px 0;
  text-align: center;
}
.hero-banner .eyebrow { color: #fff; opacity: .9; }
.hero-banner h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero-banner .claim { color: rgba(255,255,255,.95); text-shadow: 0 1px 10px rgba(0,0,0,.3); margin-bottom: 0; }
@media (max-width: 700px){ .hero-banner { padding: 84px 0; } }

/* ----------------------------- Hero ----------------------------- */
.hero { padding: 96px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: .25em; }
.hero .claim { margin-bottom: 1.6em; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.hero-media--cut img { box-shadow: none; border-radius: 0; object-fit: contain; background: transparent; }

/* Gefuelltes, eckiges Panel: Person vor Magenta-Flaeche (Gesichtsfokus) */
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; max-width: 460px; display: block; margin: 0 auto;
  border-radius: 24px; box-shadow: var(--shadow-lg);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.6em; }

/* ----------------------------- Karten / Leistungen ----------------------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.card h3 { color: var(--accent); }
.card .btn { margin-top: 10px; }

.feature { display:flex; gap: 18px; }
.feature .ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display:flex; align-items:center; justify-content:center; font-weight: 800; font-size: 1.2rem;
}

/* ----------------------------- Split-Block (Text + Bild) ----------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ----------------------------- Listen ----------------------------- */
ul.check { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.check li { position: relative; padding-left: 34px; margin-bottom: .65em; color: var(--ink-soft); }
ul.check li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 18px; height: 10px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
ul.questions { list-style: none; padding: 0; margin: 0 0 1.4em; }
ul.questions li {
  background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; color: var(--ink); font-weight: 500;
}

/* ----------------------------- Projektkarten (aus projekte.json) ----------------------------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.project .tag {
  align-self: flex-start; background: var(--accent-soft); color: var(--accent-dark);
  font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.project h3 { margin-bottom: .1em; color: var(--ink); }
.project .meta { color: var(--muted); font-weight: 600; margin-bottom: 16px; font-size: .98rem; }
.project ul { margin: 0; padding-left: 0; list-style: none; }
.project ul li { position: relative; padding-left: 24px; margin-bottom: .5em; color: var(--ink-soft); font-size: 1rem; }
.project ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); }

/* ----------------------------- Timeline (Ausbildung) ----------------------------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content:""; position:absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 22px 38px; }
.timeline li::before { content:""; position:absolute; left: 3px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent-soft); }
.timeline .yr { font-weight: 800; color: var(--accent); margin-right: 8px; }

/* ----------------------------- Heller Akzentblock / CTA ----------------------------- */
.cta-band { background: linear-gradient(135deg,#f7edf4 0%,#efe1ec 100%); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 56px; text-align: center; }
.cta-band h2 { color: var(--nav); }
.cta-band p { color: var(--ink-soft); }
/* Button in der hellen CTA-Box: magenta statt weiß */
.cta-band .btn--light { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta-band .btn--light:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* ----------------------------- Kontaktdaten ----------------------------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list .lbl { font-weight: 700; color: var(--ink); min-width: 110px; }

/* ----------------------------- Inhaltsseiten (Impressum/Datenschutz) ----------------------------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; color: var(--ink); }
.prose ul { padding-left: 1.3em; }
.prose ul li { margin-bottom: .4em; color: var(--ink-soft); }
.prose .meta-note { color: var(--muted); font-size: .95rem; }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--bg-deep); color: #ffffff; padding: 56px 0 32px; margin-top: 0; }
.site-footer p { color: #ffffff; }
.site-footer ul li { color: #ffffff; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1em; letter-spacing: .02em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .55em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 22px; display:flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .92rem; color:#fff; }
.footer-bottom a { color: #ffffff; }

/* ----------------------------- Hilfsklassen ----------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.placeholder-img {
  width: 100%; aspect-ratio: 3 / 2; border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--accent-soft), var(--accent-soft) 12px, #eef4f6 12px, #eef4f6 24px);
  display: flex; align-items: center; justify-content: center; color: var(--accent-dark);
  font-weight: 600; text-align: center; padding: 16px; border: 1px dashed var(--accent);
}

/* ----------------------------- Responsiv ----------------------------- */
@media (max-width: 900px) {
  .hero-grid, .split, .grid-2, .grid-3, .projects, .footer-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 24px; }

  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--nav); border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 8px 16px 16px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; border-radius: 8px; }
}

@media (max-width: 560px) {
  body { font-size: 1.06rem; }
  .card, .project { padding: 24px; }
  .footer-bottom { flex-direction: column; }
}

/* ============ FAQ / Häufige Fragen ============ */
.faq { margin-top: 1.75rem; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.4rem;
  font-weight: 700;
  color: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-item p {
  margin: 0;
  padding: 0 1.4rem 1.2rem;
  color: var(--ink-soft);
}
