/* Executive Coaching Frankfurt – Johannes Faupel
   Dunkle editoriale Ästhetik. Eine zentrale Stylesheet-Datei. */

:root {
  --bg: #101214;
  --bg-2: #15181b;
  --bg-3: #1b1f23;
  --ink: #F2EFEA;
  --ink-dim: #c3c0b9;
  --ink-mute: #8f8c85;
  --accent: #B08D57;
  --accent-soft: #c9a978;
  --line: #2a2f34;
  --cream: #F4EEE3;
  --anthra: #1C1E21;
  --maxw: 1180px;
  --readw: 72ch;
  --serif: Georgia, "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 0.2em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.15em; }
a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

strong { color: var(--ink); font-weight: 600; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.readable { max-width: var(--readw); }

section { padding: clamp(48px, 8vw, 96px) 0; }
section.tight { padding: clamp(36px, 5vw, 64px) 0; }

.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--ink-dim); line-height: 1.6; }

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #14100a; padding: 10px 16px; border-radius: 3px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 18, 20, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 10px clamp(20px, 5vw, 48px);
  display: flex; align-items: center; gap: 24px;
}
.site-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 52px; width: auto; display: block; }

.primary-nav { margin-left: auto; }
.nav-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: clamp(14px, 1.6vw, 26px);
}
.nav-list > li { position: relative; }
.nav-list a, .nav-list button.nav-top {
  color: var(--ink-dim); font-size: 0.95rem; font-family: var(--sans);
  background: none; border: 0; cursor: pointer; padding: 8px 2px;
  letter-spacing: 0.02em;
}
.nav-list a:hover, .nav-list button.nav-top:hover,
.nav-list a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.nav-list a[aria-current="page"] { border-bottom: 2px solid var(--accent); }

.nav-phone {
  color: var(--accent-soft) !important; font-weight: 600; white-space: nowrap;
}
.nav-phone:hover { color: var(--ink) !important; }

/* Dropdown */
.has-drop > button.nav-top::after { content: " \25BE"; color: var(--accent); font-size: 0.7em; }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px;
  padding: 8px; list-style: none; margin: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop,
.drop[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.drop li a { display: block; padding: 9px 12px; border-radius: 3px; font-size: 0.95rem; }
.drop li a:hover { background: var(--bg-3); color: var(--ink); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-media { position: relative; width: 100%; height: 70vh; min-height: 480px; overflow: hidden; }
.hero-media.band { height: 34vh; min-height: 240px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,18,20,0.92) 0%, rgba(16,18,20,0.55) 42%, rgba(16,18,20,0.15) 100%);
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
}
.hero-copy .wrap { padding-bottom: clamp(28px, 5vw, 60px); }
.hero-copy h1 { max-width: 20ch; }
.hero-copy .lead { max-width: 52ch; }
.hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 1rem; font-weight: 600;
  padding: 13px 24px; border-radius: 3px; cursor: pointer; letter-spacing: 0.01em;
  border: 1px solid transparent; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: #14100a; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-soft); color: #14100a; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #47433c; }
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); text-decoration: none; }

/* ---------- Generic content ---------- */
.eyerow { color: var(--ink-mute); font-size: 0.95rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.teaser { border: 1px solid var(--line); border-radius: 5px; padding: 26px; background: var(--bg-2); }
.teaser h3 { margin-bottom: 0.35em; }
.teaser p { color: var(--ink-dim); font-size: 0.98rem; margin-bottom: 0.8em; }
.teaser a.more { font-weight: 600; }

.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split.rev { grid-template-columns: 0.85fr 1.15fr; }
.portrait { width: 100%; max-width: 420px; height: auto; border-radius: 4px; display: block; }
.portrait.lg { max-width: 560px; }

.theme-block { padding: 22px 0; border-top: 1px solid var(--line); }
.theme-block:first-of-type { border-top: 0; }
.theme-block h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.theme-block p { color: var(--ink-dim); margin-bottom: 0; }

.callout {
  border-left: 3px solid var(--accent); padding: 6px 0 6px 22px; margin: 28px 0; color: var(--ink-dim);
}

ul.clean { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.clean li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-dim); border-bottom: 1px solid var(--line); }
ul.clean li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
ul.clean li:last-child { border-bottom: 0; }

/* ---------- Referenzen (Creme-Bruch) ---------- */
.cream { background: var(--cream); color: var(--anthra); }
.cream h2, .cream h3 { color: var(--anthra); }
.cream a { color: #7a5f2e; }
.cream a:hover { color: var(--anthra); }
figure.ref { margin: 0 0 clamp(34px, 5vw, 56px); max-width: 62ch; }
figure.ref blockquote {
  margin: 0 0 18px; padding: 0; font-family: var(--serif);
  font-size: 1.15em; line-height: 1.7; color: var(--anthra);
}
figure.ref figcaption { font-family: var(--sans); font-size: 0.92rem; color: #4a4640; line-height: 1.55; }
figure.ref figcaption .name { display: block; font-weight: 700; color: var(--anthra); padding-top: 10px; border-top: 2px solid var(--accent); margin-top: 6px; }
figure.ref figcaption .name::first-line { color: var(--anthra); }
.ref-logos { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; margin-top: 20px; opacity: 0.9; }
.ref-logos img { height: 42px; width: auto; }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin-bottom: 0.4em; }
.faq-item p { color: var(--ink-dim); margin-bottom: 0; }

/* ---------- Book / Springer ---------- */
.book-hero { display: grid; grid-template-columns: 320px 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.book-cover { width: 100%; max-width: 320px; border-radius: 4px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); display: block; }
.spec { list-style: none; padding: 0; margin: 18px 0 0; }
.spec li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.spec li span.k { color: var(--ink-mute); min-width: 130px; }
.spec li span.v { color: var(--ink); }

/* ---------- Contact / NAP ---------- */
.nap-big { font-size: 1.15rem; line-height: 1.8; }
.nap-big .name { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(44px, 6vw, 72px) 0 32px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--ink); font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 14px; }
.footer-nap address { font-style: normal; color: var(--ink-dim); line-height: 1.75; }
.footer-nap .name { color: var(--ink); font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 5px 0; }
.footer-links a { color: var(--ink-dim); font-size: 0.95rem; }
.footer-links a:hover { color: var(--ink); }
.footer-logo img { height: 34px; width: auto; opacity: 0.85; margin-bottom: 16px; }
.consent-settings-link { background: none; border: 0; color: var(--ink-dim); font-size: 0.95rem; cursor: pointer; padding: 5px 0; font-family: var(--sans); text-align: left; }
.consent-settings-link:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; color: var(--ink-mute); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }

/* ---------- Consent banner + modal ---------- */
.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  background: var(--bg); border-top: 1px solid var(--accent);
  padding: 20px clamp(16px, 5vw, 32px);
}
.consent-banner .cb-inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: center; }
.consent-banner h2 { font-size: 1.15rem; margin: 0 0 6px; }
.consent-banner p { margin: 0; color: var(--ink-dim); font-size: 0.95rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.consent-actions .btn { padding: 10px 18px; font-size: 0.95rem; }
.consent-link { background: none; border: 0; color: var(--ink-dim); cursor: pointer; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; font-family: var(--sans); }
.consent-link:hover { color: var(--ink); }

.consent-overlay { position: fixed; inset: 0; z-index: 310; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.consent-modal { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; max-width: 560px; width: 100%; padding: 28px; max-height: 90vh; overflow-y: auto; }
.consent-modal h2 { font-size: 1.5rem; }
.consent-cat { border: 1px solid var(--line); border-radius: 5px; padding: 16px 18px; margin: 14px 0; }
.consent-cat .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.consent-cat h3 { margin: 0; font-size: 1.1rem; }
.consent-cat p { margin: 8px 0 0; color: var(--ink-mute); font-size: 0.9rem; }
.consent-modal .modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.consent-close { position: absolute; }
.consent-modal-head { display: flex; justify-content: space-between; align-items: start; }
.consent-x { background: none; border: 0; color: var(--ink-dim); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.consent-x:hover { color: var(--ink); }

/* Toggle switch */
.switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; inset: 0; background: #3a3f44; border-radius: 26px; transition: .2s; cursor: pointer; }
.slider::before { content: ""; position: absolute; height: 20px; width: 20px; left: 3px; bottom: 3px; background: var(--ink); border-radius: 50%; transition: .2s; }
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(20px); }
.switch input:disabled + .slider { opacity: 0.5; cursor: not-allowed; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 0.85rem; color: var(--ink-mute); padding-top: 18px; }
.crumb a { color: var(--ink-mute); }
.crumb a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split.rev, .book-hero { grid-template-columns: 1fr; }
  .split .portrait, .book-cover { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .consent-banner .cb-inner { grid-template-columns: 1fr; }
  .consent-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-logo img { height: 42px; }
  .hero-media { height: 62vh; }

  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    background: var(--bg-2); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .22s ease;
    padding: 80px 26px 40px; overflow-y: auto; margin-left: 0;
  }
  .primary-nav[data-open="true"] { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a, .nav-list button.nav-top { padding: 12px 4px; font-size: 1.05rem; width: 100%; text-align: left; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .has-drop > button.nav-top::after { content: ""; }
  .nav-toggle {
    display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line);
    color: var(--ink); border-radius: 4px; padding: 9px 12px; cursor: pointer; font-size: 0.95rem; z-index: 110;
  }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 105; }
}

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