/* Executive Coaching Frankfurt – Johannes Faupel
   Farbwelt nach den Treppenhaus-Fresken: Pergament, Salbeigrün, Pompeji-Rot, Gold.
   Typografie durchgehend IBM Plex Sans, lokal geladen. */

/* ---------- Schrift lokal (IBM Plex Sans) ---------- */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("https://www.executivecoachingfrankfurt.com/assets/fonts/ibm-plex-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic; font-weight: 400; font-display: swap;
  src: url("https://www.executivecoachingfrankfurt.com/assets/fonts/ibm-plex-sans-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("https://www.executivecoachingfrankfurt.com/assets/fonts/ibm-plex-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("https://www.executivecoachingfrankfurt.com/assets/fonts/ibm-plex-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("https://www.executivecoachingfrankfurt.com/assets/fonts/ibm-plex-sans-700.woff2") format("woff2");
}

:root {
  /* Pergament / Papier */
  --bg: #F4EBD7;
  --bg-2: #ECE0C6;
  --bg-3: #FBF6EA;
  /* Schrift, warmes Dunkelbraun statt Friedhofsschwarz */
  --ink: #2A231B;
  --ink-dim: #5C523F;
  --ink-mute: #877B62;
  /* Gold / Ocker */
  --accent: #B5872E;
  --accent-soft: #8C6014;   /* lesbares Gold-Braun fuer Text/Links auf hell */
  --gold-light: #E0B451;    /* Gold auf dunklem Grund */
  /* Pompeji-Rot und Salbeigruen */
  --red: #6E2831;
  --red-deep: #571F27;
  --green: #7E8C67;
  --green-deep: #5E6A49;
  /* dunkle Rahmenbaender */
  --dark: #241D18;
  /* Linien / Rahmen */
  --line: #DBCBA9;
  --cream: #FBF6EA;
  --anthra: #2A231B;
  --maxw: 1180px;
  --readw: 72ch;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: var(--sans);
}

* { 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(--sans);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin-top: 0.2em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15em; }
a { color: var(--accent-soft); text-decoration: none; }
a:hover { color: var(--red); 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, 92px) 0; }
section.tight { padding: clamp(36px, 5vw, 62px) 0; }

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

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

/* ---------- Header (dunkles Rahmenband) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark);
  border-bottom: 2px solid var(--accent);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 12px clamp(20px, 5vw, 48px);
  display: flex; align-items: center; gap: 24px;
}
.site-logo { display: inline-flex; align-items: center; flex-shrink: 1; min-width: 0; }
.site-logo img { width: 165px; height: auto; max-width: 44vw; 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: #E7DCC4; font-size: 0.95rem; font-family: var(--sans); font-weight: 400;
  background: none; border: 0; cursor: pointer; padding: 8px 2px; letter-spacing: 0.01em;
}
.nav-list a:hover, .nav-list button.nav-top:hover,
.nav-list a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav-list a[aria-current="page"] { border-bottom: 2px solid var(--accent); }

.nav-phone { color: var(--gold-light) !important; font-weight: 600; white-space: nowrap; }
.nav-phone:hover { color: #fff !important; }

.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: 290px;
  background: #2E2620; border: 1px solid var(--accent); border-radius: 4px;
  padding: 8px; list-style: none; margin: 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  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; color: #E7DCC4; }
.drop li a:hover { background: #3a3128; color: #fff; }

.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(30,20,14,0.90) 0%, rgba(30,20,14,0.5) 45%, rgba(30,20,14,0.12) 100%);
}
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.hero-copy .wrap { padding-bottom: clamp(44px, 6vw, 88px); }

/* Header-Baender: Text sitzt immer auf dem Bild, Band waechst mit dem Text */
.hero:has(.hero-media.band) { position: relative; display: flex; min-height: clamp(280px, 34vh, 440px); }
.hero:has(.hero-media.band) .hero-media.band { position: absolute; inset: 0; height: 100%; min-height: 0; }
.hero:has(.hero-media.band) .hero-copy { position: relative; width: 100%; align-self: flex-end; }
.hero:has(.hero-media.band) .hero-copy .wrap { padding-top: clamp(30px, 6vw, 52px); }
.hero-copy h1 { max-width: 20ch; color: #fff; }
.hero-copy .lead { max-width: 52ch; color: #F3ECDD; }
.hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; }

/* Startseiten-Hero: zusaetzlicher Schwarzfilm hinter Text */
.hero-scrim {
  background: linear-gradient(to top, rgba(20,14,10,0.62) 0%, rgba(20,14,10,0.42) 45%, rgba(20,14,10,0.10) 82%, rgba(20,14,10,0) 100%);
}
.hero-scrim h1, .hero-scrim .lead { color: #fff; text-shadow: 0 1px 16px rgba(0,0,0,0.5); }

.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero .btn-ghost:hover { border-color: var(--gold-light); color: #fff; }

/* ---------- 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.005em;
  border: 1px solid transparent; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: #241D18; border-color: var(--accent); }
.btn-primary:hover { background: #caa04a; color: #241D18; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #b8a374; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); text-decoration: none; }

/* ---------- Inhalt ---------- */
.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-top: 3px solid var(--accent);
  border-radius: 4px; padding: 26px; background: var(--bg-3);
}
.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; border: 1px solid var(--line); }
.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.65rem); }
.theme-block p { color: var(--ink-dim); margin-bottom: 0; }

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

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 (gerahmtes Papier-Panel) ---------- */
.cream { background: var(--bg-2); color: var(--ink); }
.cream .wrap { border: 2px solid var(--green); outline: 1px solid var(--accent); outline-offset: 7px; padding: clamp(30px, 5vw, 56px) clamp(22px, 4vw, 48px); background: var(--bg-3); }
.cream h2, .cream h3 { color: var(--ink); }
.cream a { color: var(--red); }
.cream a:hover { color: var(--accent-soft); }
figure.ref { margin: 0 0 clamp(34px, 5vw, 52px); max-width: 64ch; }
figure.ref blockquote { margin: 0 0 18px; padding: 0; font-size: 1.12em; line-height: 1.7; color: var(--ink); }
figure.ref figcaption { font-size: 0.92rem; color: var(--ink-dim); line-height: 1.55; }
figure.ref figcaption .name { display: block; font-weight: 700; color: var(--ink); padding-top: 10px; border-top: 2px solid var(--accent); margin-top: 6px; }
.ref-logos { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; margin-top: 20px; }
.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; }

/* ---------- Buch / Springer ---------- */
.book-hero { display: grid; grid-template-columns: 320px 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.book-cover { width: 100%; height: auto; max-width: 320px; border-radius: 4px; box-shadow: 0 20px 46px rgba(60,40,20,0.32); display: block; }
.book-subtitle { font-style: italic; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-dim); margin: -0.2em 0 0.8em; }
.affiliate-note { font-size: 0.85rem; color: var(--ink-mute); margin: 16px 0 0; max-width: 56ch; line-height: 1.6; }
.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); }

/* ---------- Honorar ---------- */
.honorar { max-width: 860px; margin: 0 auto 22px; text-align: center; }
.honorar h2 { margin-bottom: 0.4em; }
.honorar > p { color: var(--ink-dim); max-width: 52ch; margin-left: auto; margin-right: auto; }
.honorar-price { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; color: var(--red); margin: 0.3em 0 0.15em; line-height: 1.1; letter-spacing: -0.02em; }
.honorar-note { font-size: 0.9rem; color: var(--ink-mute); }

/* ---------- Garantie (Pompeji-Rot-Panel) ---------- */
.guarantee {
  border: 1px solid var(--accent);
  background: var(--red);
  color: #F4EBD7;
  border-radius: 6px;
  padding: clamp(28px, 5vw, 48px);
  max-width: 860px; margin: 0 auto; text-align: center;
}
.guarantee h2 { color: var(--gold-light); margin-bottom: 0.5em; }
.guarantee-claim { font-size: clamp(1.2rem, 2.6vw, 1.65rem); line-height: 1.5; color: #F7EFDD; max-width: 46ch; margin: 0 auto 0.6em; font-weight: 500; }
.guarantee-seal { font-style: italic; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--gold-light); margin: 0; letter-spacing: 0.01em; }

/* ---------- Kontakt / NAP ---------- */
.nap-big { font-size: 1.12rem; line-height: 1.8; }
.nap-big .name { font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* ---------- Footer (Pompeji-Rot-Rahmenband) ---------- */
.site-footer { background: var(--red-deep); border-top: 3px solid var(--accent); padding: clamp(44px, 6vw, 72px) 0 32px; margin-top: 24px; color: #E7DAC0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; font-weight: 600; }
.footer-nap address { font-style: normal; color: #E7DAC0; line-height: 1.75; }
.footer-nap .name { color: #fff; font-weight: 700; }
.footer-nap a, .footer-links a { color: #E7DAC0; }
.footer-nap a:hover, .footer-links a:hover { color: var(--gold-light); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 5px 0; }
.footer-links a { font-size: 0.95rem; }
.footer-logo img { width: 150px; height: auto; opacity: 0.92; margin-bottom: 16px; }
.consent-settings-link { background: none; border: 0; color: #E7DAC0; font-size: 0.95rem; cursor: pointer; padding: 5px 0; font-family: var(--sans); text-align: left; }
.consent-settings-link:hover { color: var(--gold-light); text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(224,180,81,0.3); margin-top: 40px; padding-top: 22px; color: #C9B896; font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.footer-legal a { color: #C9B896; }
.footer-legal a:hover { color: var(--gold-light); }

/* ---------- Consent ---------- */
.consent-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--bg-3); border-top: 3px solid var(--red); padding: 20px clamp(16px, 5vw, 32px); box-shadow: 0 -8px 30px rgba(60,40,20,0.18); }
.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(36,29,24,0.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.consent-modal { background: var(--bg-3); 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-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); }

.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: #c3b48f; border-radius: 26px; transition: .2s; cursor: pointer; }
.slider::before { content: ""; position: absolute; height: 20px; width: 20px; left: 3px; bottom: 3px; background: #fff; 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.55; 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(--red); }

/* ---------- 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; }
  .hero-media { height: 62vh; }

  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); z-index: 120;
    background: var(--dark); border-left: 1px solid var(--accent);
    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(--accent);
    color: #E7DCC4; border-radius: 4px; padding: 9px 12px; cursor: pointer; font-size: 0.95rem; z-index: 110;
  }
  .site-logo img { width: 135px; max-width: 55vw; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(36,29,24,0.5); z-index: 90; }
}

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