/* =====================================================================
   Schumann-Halder – style.css
   Mobile-first. Schwarz/Weiß mit blauem Akzent (#01539C).
   Kein externes Font-CDN (Performance + DSGVO).
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --blue:        #01539C;
  --blue-deep:   #013f76;
  --blue-tint:   #eaf1f8;

  --ink:         #0a0c10;   /* Haupttext / fast-schwarz */
  --ink-soft:    #1a1d23;
  --muted:       #5b626b;   /* Sekundärtext */
  --paper:       #ffffff;
  --paper-alt:   #f6f7f9;   /* abgesetzte Sektionen */
  --line:        #e4e7ec;   /* Hairlines */
  --footer-bg:   #0a0c10;
  --footer-line: #21262e;

  --maxw:        1140px;
  --maxw-narrow: 760px;
  --radius:      6px;

  --space:       clamp(4rem, 9vw, 7rem);  /* vertikaler Sektionsabstand */

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
          Roboto, Helvetica, Arial, sans-serif;

  --shadow:    0 1px 2px rgba(10,12,16,.04), 0 8px 24px rgba(10,12,16,.06);
  --shadow-sm: 0 1px 3px rgba(10,12,16,.08);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--ink); }

p { margin: 0 0 1.1em; }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue); color: #fff; padding: .75rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--space); }
.section--alt { background: var(--paper-alt); }

.section__title { font-size: clamp(1.8rem, 4.5vw, 2.6rem); font-weight: 800; margin-bottom: 1.25rem; }
.section__intro { max-width: 60ch; color: var(--muted); font-size: 1.1rem; margin-bottom: 2.5rem; }

/* ---------- Eyebrow (Signature-Detail: blaue Markierung) ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 .9rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--blue); display: inline-block; }
.eyebrow--light { color: #6ea8df; }
.eyebrow--light::before { background: #6ea8df; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .95rem 1.5rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; }
.btn__icon { transition: transform .18s ease; }
.btn:hover .btn__icon { transform: translateX(3px); }

.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }

.wordmark { display: flex; align-items: center; gap: .6rem; line-height: 1.1; color: var(--ink); }
.wordmark:hover { text-decoration: none; }
.wordmark__logo { width: 34px; height: auto; color: var(--blue); flex: none; }
.wordmark__text { display: flex; flex-direction: column; }
.wordmark__name { font-weight: 800; letter-spacing: -.02em; font-size: 1.1rem; }
.wordmark__role { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* Navigation */
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0;
}
.nav__bars, .nav__bars::before, .nav__bars::after {
  content: ""; display: block; width: 24px; height: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav__bars { position: relative; }
.nav__bars::before { position: absolute; top: -7px; left: 0; }
.nav__bars::after  { position: absolute; top:  7px; left: 0; }
.nav__toggle[aria-expanded="true"] .nav__bars { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__bars::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars::after  { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  list-style: none; margin: 0; padding: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  flex-direction: column; gap: 0;
  max-height: 0; overflow: hidden; visibility: hidden;
  transition: max-height .25s ease, visibility .25s ease;
}
.nav__menu.is-open { max-height: 60vh; visibility: visible; }
.nav__menu li { border-top: 1px solid var(--line); }
.nav__menu a {
  display: block; padding: .9rem 1.25rem; color: var(--ink); font-weight: 500;
}
.nav__menu a:hover { color: var(--blue); text-decoration: none; }
.nav__cta { color: var(--blue) !important; font-weight: 700 !important; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 10vw, 7rem) clamp(3.5rem, 9vw, 6rem); }
.hero__title {
  font-size: clamp(2.4rem, 8vw, 4.6rem); font-weight: 800; letter-spacing: -.035em;
  margin-bottom: 1.1rem;
}
.hero__subtitle {
  font-size: clamp(1.15rem, 3.2vw, 1.6rem); font-weight: 600; color: var(--ink-soft);
  letter-spacing: -.01em; margin-bottom: 1.5rem; max-width: 36ch;
}
.hero__hook { font-size: 1.12rem; color: var(--muted); max-width: 62ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Profil ---------- */
.profile { display: grid; gap: 2.5rem; }
.profile__tldr { font-size: 1.18rem; font-weight: 600; line-height: 1.55; color: var(--ink); margin-bottom: 1.5rem; }
.profile__media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow);
  background: var(--paper-alt); aspect-ratio: 4/5; object-fit: cover;
}

/* ---------- Leistungs-Cards ---------- */
.cards { display: grid; gap: 1.25rem; margin-top: 2rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--blue); transform: scaleY(0); transform-origin: top;
  transition: transform .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleY(1); }
.card__title { font-size: 1.18rem; font-weight: 700; margin-bottom: .75rem; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Tabs (Erfahrung) ---------- */
.tabs { margin-top: 2rem; }
.tabs__nav {
  display: flex; flex-wrap: wrap; gap: .4rem; border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.tabs__tab {
  background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  color: var(--muted); padding: .8rem .25rem; margin-right: 1.25rem;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .18s ease, border-color .18s ease;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.tabs__hint { color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; }

/* Referenzen – gruppiertes Chip-Layout */
.cred-groups { display: grid; gap: 2rem; }
.cred-group__label {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 .85rem;
}
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.tags li {
  font-size: .95rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em;
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: 8px;
  padding: .5rem .9rem; transition: border-color .18s ease, color .18s ease;
}
.tags li:hover { border-color: var(--blue); color: var(--blue); }
.tags--wide li { font-weight: 500; }

/* ---------- Ventures ---------- */
.ventures { display: grid; gap: 1.25rem; }
.venture {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.venture:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.venture__title {
  font-size: 1.25rem; font-weight: 700; margin-bottom: .75rem;
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
}
.venture__tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-tint); padding: .2rem .5rem; border-radius: 100px;
}
.venture p { color: var(--muted); font-size: .98rem; flex: 1; }
.venture__link { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; }
.venture__arrow { font-size: .9em; }

/* ---------- FAQ (Accordion) ---------- */
.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer; padding: 1.35rem 2.5rem 1.35rem 0; position: relative;
  font-size: 1.12rem; font-weight: 600; color: var(--ink);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; position: absolute; right: .25rem; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] .faq__q::after { transform: translateY(2px) rotate(-135deg); }
.faq__q:hover { color: var(--blue); }
.faq__a { padding: 0 2.5rem 1.4rem 0; }
.faq__a p { color: var(--muted); margin: 0; }

/* ---------- Footer (dunkler Abschluss) ---------- */
.footer { background: var(--footer-bg); color: #cfd4db; padding-block: var(--space); }
.footer__inner { text-align: center; }
.footer__logo { width: 56px; height: auto; margin: 0 auto 1.75rem; opacity: .92; }
.footer__title { color: #fff; font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 800; margin-bottom: 1.1rem; }
.footer__text { color: #aab1bc; max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; font-size: 1.1rem; }
.footer .eyebrow { justify-content: center; }

.socials {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin: 2.75rem 0 0; padding: 0;
}
.socials a {
  display: inline-flex; align-items: center; gap: .5rem; color: #cfd4db;
  border: 1px solid var(--footer-line); border-radius: 100px; padding: .55rem 1rem;
  font-size: .9rem; font-weight: 500; transition: border-color .18s ease, color .18s ease;
}
.socials a:hover { color: #fff; border-color: #6ea8df; text-decoration: none; }
.socials svg { flex: none; }

.footer__legal { margin: 2.75rem 0 0; font-size: .85rem; color: #7c838d; }
.footer__legal a { color: #aab1bc; }
.footer__legal a:hover { color: #fff; }

/* ---------- Footer-Link-Buttons (öffnen Modals) ---------- */
.link-btn {
  background: none; border: 0; padding: 0; margin: 0; font: inherit; cursor: pointer;
  color: #aab1bc; text-decoration: none;
}
.link-btn:hover { color: #fff; text-decoration: underline; }

/* ---------- Modals (natives <dialog>) ---------- */
.modal {
  width: min(720px, 92vw); max-height: 86vh; padding: 0; border: 0; border-radius: 10px;
  color: var(--ink); background: var(--paper); box-shadow: 0 24px 64px rgba(10,12,16,.32);
}
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop { background: rgba(10,12,16,.55); backdrop-filter: blur(2px); }

.modal__head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.5rem; border-bottom: 1px solid var(--line); flex: none;
}
.modal__title { font-size: 1.4rem; font-weight: 800; }
.modal__close {
  width: 40px; height: 40px; flex: none; display: inline-flex; align-items: center;
  justify-content: center; font-size: 1.7rem; line-height: 1; color: var(--muted);
  background: none; border: 0; border-radius: var(--radius); cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.modal__close:hover { background: var(--paper-alt); color: var(--ink); }

.modal__body { padding: 1.5rem; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overflow-wrap: break-word; hyphens: auto; }
.modal__body h3 {
  overflow-wrap: anywhere;
  font-size: 1.08rem; font-weight: 700; margin: 1.75rem 0 .6rem; color: var(--ink);
}
.modal__body p { font-size: .96rem; color: var(--ink-soft); margin: 0 0 .9em; }
.modal__body ul { margin: 0 0 1em; padding-left: 1.2rem; }
.modal__body li { font-size: .96rem; color: var(--ink-soft); margin-bottom: .35rem; }
.modal__body a { word-break: break-word; }
.modal__meta { font-size: .85rem !important; color: var(--muted) !important; margin-top: 1.25rem; }

/* ============================================================
   BREAKPOINTS
   ============================================================ */

/* Tablet ab 640px */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
  .ventures { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop-Navigation ab 768px */
@media (min-width: 768px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static; display: flex; flex-direction: row; align-items: center; gap: .35rem;
    max-height: none; visibility: visible; overflow: visible;
    background: none; border: 0; width: auto;
  }
  .nav__menu li { border: 0; }
  .nav__menu a { padding: .5rem .85rem; border-radius: var(--radius); }
  .nav__cta {
    background: var(--blue); color: #fff !important; font-weight: 700 !important;
    margin-left: .5rem;
  }
  .nav__cta:hover { background: var(--blue-deep); color: #fff !important; }

  .profile { grid-template-columns: 1.3fr .9fr; align-items: start; gap: 3.5rem; }
  .profile__media { position: sticky; top: 90px; }
}

/* Desktop ab 1024px */
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .ventures { grid-template-columns: repeat(3, 1fr); }
}
