/* =========================================================================
   willomitzer.de — site overrides on top of _shared/css/base.css.
   Personal solo-expert site: CV-blue accent, stats band, project briefs,
   talk card, direct contact grid.
   ========================================================================= */

:root {
  /* CV deep blue from the personal Canva design — #001498 with a
     companion violet for gradients. */
  --accent: #001498;
  --accent-soft: #1313b0;
  --accent-deep: #000d6b;
  --accent-glow: rgba(0, 20, 152, 0.14);
  --accent-tint: rgba(0, 20, 152, 0.05);
  --accent-paper: #eef1fb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #4d6bff;
    --accent-soft: #3d5de8;
    --accent-glow: rgba(77, 107, 255, 0.22);
    --accent-tint: rgba(255, 255, 255, 0.04);
    --accent-paper: #0d1022;
  }
}


/* ----- main spacing ----------------------------------------------------- */

main {
  padding-bottom: 80px;
}

.page-intro {
  padding: 64px 0 32px;
}

.page-intro h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 800;
}

.page-intro .lede {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0;
}

/* `.page-section` vertical padding now lives in `_shared/css/base.css`
   (80px at desktop, 48px on mobile <720px). We keep only the per-section
   top border so /trainings/ and friends still read like a stack of
   distinct sections. */
.page-section {
  border-top: 1px solid var(--border);
}
.page-section:first-of-type {
  border-top: none;
}
.page-section h2 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 700;
}
.page-section h3 {
  font-size: 18px;
  margin: 24px 0 8px;
  font-weight: 600;
}

.page-section--paper {
  background: var(--accent-paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 32px 0;
}

/* ----- hero (energetic) ------------------------------------------------ */

.hero--home {
  padding: 96px 0 56px;
}

.hero--home .eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero--home h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  font-weight: 800;
}

.hero--home h1 .accent {
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}

.hero--home .lede {
  font-size: 19px;
  color: var(--text-soft);
  max-width: 56ch;
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.cta-primary,
.cta-secondary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border-bottom: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.cta-primary {
  background: var(--accent);
  color: white;
}

.cta-secondary {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--bg-elevated);
}

.cta-primary:hover,
.cta-secondary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ----- training topic grid --------------------------------------------- */

.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.training-card {
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.training-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.training-card .meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.training-card p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

.training-card ul {
  margin: 4px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-soft);
}

/* ----- contact form (same as TCW) ---------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0;
}
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-form { display: grid; gap: 14px; }
.contact-form label { font-size: 13px; font-weight: 600; color: var(--text-soft); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button {
  align-self: start;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 20px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.contact-side h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.contact-side p { font-size: 14px; color: var(--text-soft); }

/* ----- legal-text typography (same as TCW) ----------------------------- */

.legal-text { max-width: 70ch; }
.legal-text h2 { font-size: 22px; margin-top: 32px; }
.legal-text h3 { font-size: 16px; margin-top: 20px; font-weight: 600; }
.legal-text p,
.legal-text li {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
}
.legal-text dl { margin: 12px 0; }
.legal-text dt { font-weight: 600; color: var(--text); }
.legal-text dd { margin: 0 0 8px 0; color: var(--text-soft); }



/* ----- willomitzer-specific: stats band ----------------------------------- */

/* ----- stats band -------------------------------------------------------- */

.stats-band {
  background: var(--accent-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.stat-card {
  text-align: left;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* ----- project briefs ---------------------------------------------------- */

.project-briefs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.project-brief {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brief-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brief-period {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.project-brief h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.brief-role {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  margin: 0;
}

.brief-facts {
  list-style: none;
  padding: 0;
  margin: auto 0 0 0; /* push to bottom of card */
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brief-facts li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}

.brief-facts li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ----- talk card ---------------------------------------------------------- */

.talk-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  margin-top: 24px;
  align-items: start;
}

.talk-embed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 800 / 533;
}

.talk-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 240ms ease;
}

.talk-embed a {
  display: block;
  height: 100%;
  position: relative;
}

.talk-embed a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.35) 100%);
}

.talk-embed:hover img {
  transform: scale(1.02);
}

.talk-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  z-index: 2;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
  transition: transform 200ms ease;
}

.talk-embed:hover .talk-play {
  transform: scale(1.15);
}

.talk-copy h3 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
}

.talk-copy p {
  margin-bottom: 12px;
}

/* ----- contact grid ------------------------------------------------------ */

.contact-direct {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.contact-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item h3 {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.contact-item p {
  margin: 0;
  font-weight: 600;
}

.contact-item .contact-note {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ----- responsive ---------------------------------------------------------- */

@media (max-width: 720px) {
  .talk-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }
}

/* print — hide interactive chrome */
@media print {
  .cta-row a,
  .talk-play {
    display: none;
  }
}


/* ----- footer (same as fokusnuss/TCW) ------------------------------------ */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 48px 0 32px;
  background: var(--bg-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.footer-col h4 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.footer-col a {
  font-size: 14px;
  color: var(--text-soft);
  border-bottom: none;
}
.footer-col a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.footer-brand { font-weight: 700; font-size: 16px; margin: 0 0 8px; }
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  max-width: 30ch;
}

.footer-legal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 20px 0 12px;
  border-top: 1px solid var(--border);
}
.footer-legal-badges img {
  display: block;
  height: 64px;
  width: auto;
}
.footer-legal-badges + .footer-meta {
  border-top: none;
  padding-top: 8px;
}

