/* Fabian Widmann – Coaching für Führungskräfte */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("/assets/fonts/sourceserif.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif";
  src: url("/assets/fonts/sourceserif-italic.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy-950: #071426;
  --navy-900: #0b1d36;
  --navy-800: #13294a;
  --navy-600: #2a4670;
  --paper: #f1f4f8;
  --white: #ffffff;
  --ink: #0e1b2e;
  --slate: #5d6c82;
  --mist: #a9b7cb;
  --amber: #f2a541;
  --amber-deep: #c97d14;
  --line-dark: rgba(169, 183, 203, 0.18);
  --line-light: #d6dde7;

  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --ui: "Archivo", Arial, sans-serif;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.4em; }
strong { font-weight: 650; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 50;
  background: var(--amber); color: var(--ink); padding: 8px 14px; font-family: var(--ui);
}
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 66ch; }

/* Headlines: condensed, heavy, tight */
h1, h2, h3, .display {
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-stretch: 85%; font-weight: 750; line-height: 1.15; }
.lede { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.5; }
.small { font-size: 0.95rem; }
.muted { color: var(--slate); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font-family: var(--ui); font-weight: 650; font-size: 1.02rem; font-stretch: 100%;
  text-decoration: none; border-radius: 4px; border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--amber); color: var(--navy-950); }
.btn-primary:hover { background: #ffb85c; }
.btn-ghost { border-color: var(--mist); color: inherit; }
.btn-ghost:hover { border-color: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Header */
.site-header { background: var(--navy-950); color: var(--white); position: relative; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: 0.01em; }
.brand span { color: var(--amber); }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--ui); font-size: 0.98rem; }
.nav a { text-decoration: none; color: var(--mist); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .btn { min-height: 42px; padding: 0 18px; color: var(--navy-950); font-size: 0.95rem; }
.menu { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; position: relative; font-family: var(--ui); }
  .menu summary { list-style: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--navy-600); border-radius: 4px; color: var(--white); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { border-color: var(--amber); }
  .menu-panel { position: absolute; right: 0; top: calc(100% + 10px); background: var(--navy-900); border: 1px solid var(--navy-600); border-radius: 6px; padding: 10px; width: min(280px, 85vw); display: grid; }
  .menu-panel a { padding: 12px 12px; text-decoration: none; color: var(--white); border-radius: 4px; }
  .menu-panel a:hover { background: var(--navy-800); }
  .menu-panel .btn { margin-top: 6px; color: var(--navy-950); }
}

/* Sections */
.section { padding: var(--section) 0; }
.dark { background: var(--navy-900); color: #e8edf4; }
.dark .muted { color: var(--mist); }
.darker { background: var(--navy-950); color: #e8edf4; }
.white { background: var(--white); }

/* Hero */
.hero { background: var(--navy-950); color: var(--white); padding: clamp(40px, 6vw, 72px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lede { color: #cfd9e6; max-width: 34ch; }
.hero-media { position: relative; align-self: end; }
.hero-media video, .hero-media img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 88%, transparent 100%); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,20,38,0) 70%, rgba(7,20,38,0.9) 100%); pointer-events: none; }
.hero-note { position: absolute; left: 16px; bottom: 16px; z-index: 1; font-family: var(--ui); font-size: 0.85rem; color: var(--mist); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; }
}

/* Signature: the week */
.week-band { background: var(--navy-900); color: var(--white); padding: 56px 0 var(--section); border-top: 1px solid var(--line-dark); }
.week-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 40px; margin-bottom: 28px; }
.week-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; max-width: 22ch; }
.week-head p { margin: 0; color: var(--mist); max-width: 40ch; }
.week { display: grid; grid-template-columns: 52px repeat(5, minmax(0, 1fr)); gap: 0 8px; font-family: var(--ui); }
.week-hours { display: grid; grid-template-rows: 34px repeat(24, 16px); font-size: 0.72rem; color: var(--mist); }
.week-hours span { grid-row: span 2; transform: translateY(-0.6em); }
.day { display: grid; grid-template-rows: 34px repeat(24, 16px); background-image: linear-gradient(var(--line-dark) 1px, transparent 1px); background-size: 100% 32px; background-position: 0 34px; border-left: 1px solid var(--line-dark); }
.day-name { grid-row: 1; font-size: 0.9rem; font-weight: 650; color: var(--white); padding-left: 8px; }
.ev { margin: 1px 0 1px 6px; border-radius: 3px; padding: 4px 8px; font-size: 0.74rem; line-height: 1.2; overflow: hidden; background: var(--navy-800); color: var(--mist); border-left: 3px solid var(--navy-600); }
.ev.train { background: var(--amber); color: var(--navy-950); border-left-color: var(--amber-deep); font-weight: 700; font-size: 0.8rem; }
.ev small { display: block; font-weight: 500; opacity: 0.8; }
@media (max-width: 640px) {
  .week { grid-template-columns: 34px repeat(5, minmax(0, 1fr)); gap: 0 4px; }
  .ev { padding: 3px 4px; margin-left: 3px; font-size: 0.66rem; }
  .ev:not(.train) { color: transparent; }
  .ev.train { font-size: 0.68rem; }
  .ev small { display: none; }
  .day-name { padding-left: 4px; }
}

/* Pain list */
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; padding: 0; list-style: none; }
.pains li { padding: 22px 0; border-top: 1px solid var(--line-light); margin: 0; }
.pains li strong { display: block; font-family: var(--display); font-stretch: 85%; font-weight: 750; font-size: 1.3rem; line-height: 1.2; margin-bottom: 6px; }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }

/* Program facts */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.facts li { display: grid; grid-template-columns: 10.5rem 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); margin: 0; }
.facts .k { font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--amber); }
.facts .v { color: #d6dfea; }
.white .facts, .section:not(.dark):not(.darker) .facts { border-top-color: var(--line-light); }
.section:not(.dark):not(.darker) .facts li { border-bottom-color: var(--line-light); }
.section:not(.dark):not(.darker) .facts .k { color: var(--amber-deep); }
.section:not(.dark):not(.darker) .facts .v { color: var(--ink); }
@media (max-width: 520px) { .facts li { grid-template-columns: 1fr; gap: 6px; } }

.guarantee { margin-top: 36px; padding: 24px 26px; border: 1px solid var(--amber); border-radius: 6px; }
.guarantee h3 { margin-bottom: 0.3em; }
.guarantee p { margin: 0; }

/* Steps (a real sequence) */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: step; margin: 0; padding-top: 18px; border-top: 3px solid var(--navy-900); }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 2.6rem; line-height: 1; margin-bottom: 12px; color: var(--amber-deep); }
.steps h3 { margin-bottom: 0.35em; }
.steps p { margin: 0; font-size: 1.02rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Lead magnet */
.check { background: var(--amber); color: var(--navy-950); }
.check .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; align-items: center; }
.check h2 { margin-bottom: 0.3em; }
.check .btn-primary { background: var(--navy-950); color: var(--white); }
.check .btn-primary:hover { background: var(--navy-800); }
.check ul { padding-left: 1.1em; margin: 0; }
@media (max-width: 860px) { .check .wrap { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about figure { margin: 0; }
.about img { border-radius: 6px; width: 100%; aspect-ratio: 24 / 25; object-fit: cover; }
.about figcaption { font-family: var(--ui); font-size: 0.9rem; color: var(--slate); margin-top: 10px; }
.creds { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.creds li { padding: 14px 0; border-top: 1px solid var(--line-light); margin: 0; font-size: 1rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about figure { max-width: 380px; } }
@media (max-width: 520px) { .creds { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--display); font-stretch: 85%; font-weight: 750; font-size: 1.3rem; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 1.6rem; font-weight: 400; color: var(--amber-deep); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; max-width: 66ch; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Articles list */
.posts { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line-light); }
.posts li { margin: 0; border-bottom: 1px solid var(--line-light); }
.posts a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 26px 0; text-decoration: none; }
.posts a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.posts h3 { margin: 0 0 6px; }
.posts p { margin: 0; color: var(--slate); font-size: 1.02rem; }
.posts .read { font-family: var(--ui); font-size: 0.9rem; color: var(--slate); white-space: nowrap; }
@media (max-width: 600px) { .posts a { grid-template-columns: 1fr; gap: 8px; } }

/* Closing CTA */
.closing h2 { max-width: 18ch; }
.closing p { max-width: 52ch; }

/* Page header (sub pages) */
.page-head { background: var(--navy-950); color: var(--white); padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-head .lede { color: #cfd9e6; max-width: 46ch; }
.crumbs { font-family: var(--ui); font-size: 0.9rem; color: var(--mist); margin-bottom: 18px; }
.crumbs a { color: var(--mist); }

/* Long-form text */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ol li, .prose ul li { margin-bottom: 0.6em; }
.prose .note { border-left: 3px solid var(--amber-deep); padding: 4px 0 4px 20px; margin: 1.6em 0; }
.prose table { border-collapse: collapse; width: 100%; font-family: var(--ui); font-size: 0.98rem; margin: 1.2em 0 1.6em; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.prose th { font-weight: 650; }
.meta { font-family: var(--ui); font-size: 0.92rem; color: var(--mist); }
.author-box { display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: center; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.author-box img { border-radius: 50%; width: 88px; height: 88px; object-fit: cover; }
.author-box p { margin: 0; font-size: 1rem; }

/* Fit list on program page */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.ticks, .crosses { list-style: none; padding: 0; margin: 0; }
.ticks li, .crosses li { padding: 12px 0 12px 32px; border-top: 1px solid var(--line-light); position: relative; margin: 0; }
.ticks li::before, .crosses li::before { position: absolute; left: 2px; top: 11px; font-family: var(--ui); font-weight: 800; }
.ticks li::before { content: "✓"; color: var(--amber-deep); }
.crosses li::before { content: "✕"; color: var(--slate); }

.phases { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.phases li { margin: 0; padding: 26px 26px 26px 0; border-right: 1px solid var(--line-dark); }
.phases li + li { padding-left: 26px; }
.phases li:last-child { border-right: 0; }
.phases .wk { font-family: var(--ui); font-size: 0.92rem; color: var(--amber); margin-bottom: 8px; display: block; }
.phases p { margin: 0; color: #d6dfea; font-size: 1.02rem; }
@media (max-width: 760px) { .phases { grid-template-columns: 1fr; } .phases li, .phases li + li { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); } }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--mist); padding: 56px 0 40px; font-family: var(--ui); font-size: 0.95rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; }
.site-footer .brand { color: var(--white); display: inline-block; margin-bottom: 8px; }

/* Video pause control */
.video-toggle { position: absolute; right: 12px; bottom: 12px; z-index: 2; font-family: var(--ui); font-size: 0.85rem; background: rgba(7,20,38,0.7); color: var(--white); border: 1px solid var(--navy-600); border-radius: 4px; padding: 6px 12px; cursor: pointer; }
.video-toggle:hover { border-color: var(--mist); }

/* Lead form */
.lead-form { display: grid; gap: 8px; padding: 28px; border: 1px solid var(--line-light); border-radius: 6px; background: var(--paper); font-family: var(--ui); }
.lead-form label { font-size: 0.95rem; font-weight: 600; margin-top: 8px; }
.lead-form input[type="text"], .lead-form input[type="email"] { font: inherit; font-size: 1.05rem; padding: 12px 14px; border: 1px solid #b9c4d3; border-radius: 4px; background: var(--white); color: var(--ink); }
.lead-form input:focus-visible { outline: 3px solid var(--amber); outline-offset: 1px; }
.lead-form .check-label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: 0.92rem; line-height: 1.45; margin-top: 12px; }
.lead-form .check-label input { margin-top: 3px; width: 18px; height: 18px; }
.lead-form .btn { margin-top: 14px; width: 100%; }
.lead-form p { margin: 6px 0 0; font-family: var(--ui); }
.hp { position: absolute; left: -9999px; }

/* Language switch */
.lang-switch { font-family: var(--ui); font-weight: 650; font-size: 0.85rem; letter-spacing: 0.04em; color: var(--white) !important; border: 1px solid var(--navy-600); border-radius: 4px; padding: 6px 10px; text-decoration: none; }
.lang-switch:hover { border-color: var(--amber); }
.menu-panel .lang-switch { border: 0; padding: 12px; }
