/* ============================================
   strictlypeople — Karin Glattes
   Design tokens
   ============================================ */
:root {
  --navy: #12233f;
  --navy-dark: #0b1830;
  --blue: #3f6ea5;
  --blue-light: #6f9dc9;
  --accent: #c9a86a;
  --bg: #ffffff;
  --bg-tint: #f4f7fb;
  --text: #1f2733;
  --text-muted: #55606f;
  --border: #e2e8f0;

  --font-heading: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1140px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1a2b;
    --bg-tint: #0b1422;
    --text: #e9edf3;
    --text-muted: #aab4c2;
    --border: #24314a;
  }
}

/* ============================================
   Reset & base
   ============================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.center { text-align: center; }
.light { color: #fff; }

section[id] { scroll-margin-top: 84px; }

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
@media (prefers-color-scheme: dark) {
  .site-header { background: rgba(15, 26, 43, 0.92); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--navy);
  letter-spacing: 0.02em;
}
@media (prefers-color-scheme: dark) { .brand { color: #fff; } }
.brand span { color: var(--blue); font-style: italic; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--blue); }
.main-nav a.nav-cta {
  background: var(--navy);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
}
.main-nav a.nav-cta:hover { background: var(--blue); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
}
@media (prefers-color-scheme: dark) { .nav-toggle span { background: #fff; } }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a.nav-cta { align-self: flex-start; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 110px 0 100px;
}
.hero-inner { max-width: 760px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 12px;
}
.eyebrow.light { color: var(--accent); }
.eyebrow.center { text-align: center; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: #fff;
  margin-bottom: 8px;
}
.hero-tagline {
  font-size: 1.25rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 1.08rem;
  color: #d7e1ee;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--navy-dark);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201, 168, 106, 0.35); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-large { font-size: 1.1rem; padding: 16px 36px; }

/* ============================================
   Sections
   ============================================ */
.section { padding: 96px 0; }
.section-tint { background: var(--bg-tint); }
.section-dark {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: #fff;
}
.section-dark h2 { color: #fff; }
.section-intro {
  max-width: 620px;
  margin: 0 auto 48px;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-intro.light { color: #d7e1ee; }
.draft-note {
  margin-top: -32px;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent);
}
.tbc {
  font-size: 0.7em;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: 1.4fr 1fr; }
.two-col.reverse .col-media { order: 2; }
@media (max-width: 800px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .col-media { order: 0; }
}

.portrait-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.portrait-placeholder span {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #fff;
}
.portrait-photo {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(18, 35, 63, 0.18);
}
.media-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  font-style: italic;
}

/* ============================================
   Cards / grid
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 20px;
}
.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(18, 35, 63, 0.08); }
.card-icon { color: var(--accent); font-size: 1.3rem; margin-bottom: 14px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; max-width: 82%; }
.card p { color: var(--text-muted); font-size: 0.96rem; margin: 0; max-width: 90%; }

/* Corner "Infos" badge */
.card-info-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 76px;
  height: 76px;
  display: block;
  text-decoration: none;
  z-index: 2;
}
.card-info-badge::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 76px 76px 0;
  border-color: transparent var(--accent) transparent transparent;
  transition: border-color 0.15s ease;
}
.card-info-badge:hover::before { border-color: transparent var(--navy) transparent transparent; }
.card-info-badge span {
  position: absolute;
  top: 12px;
  right: 4px;
  transform: rotate(45deg);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--navy-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
}
.card-info-badge:hover span { color: #fff; }

/* ============================================
   Book section
   ============================================ */
.book-subtitle {
  font-size: 1.05rem;
  color: var(--blue);
  font-weight: 600;
  margin-top: -8px;
}
.book-meta {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.book-link-note {
  margin-top: 14px;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}
.book-cover {
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(18, 35, 63, 0.18);
  max-width: 340px;
  margin: 0 auto;
}

/* ============================================
   Theme cards
   ============================================ */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.theme-card {
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  padding: 28px 32px;
  box-shadow: 0 6px 20px rgba(18, 35, 63, 0.05);
}
.theme-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--navy); }
@media (prefers-color-scheme: dark) { .theme-card h3 { color: var(--blue-light); } }
.theme-card p { color: var(--text-muted); margin: 0; }

/* ============================================
   Timeline
   ============================================ */
.timeline {
  max-width: 760px;
  margin: 40px auto 0;
  border-left: 2px solid var(--border);
  padding-left: 32px;
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 4px;
}
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-content p { color: var(--text-muted); margin: 0; }

/* ============================================
   Contact
   ============================================ */
.contact-links {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #d7e1ee;
  font-size: 0.95rem;
  flex-wrap: wrap;
}
.contact-links a { text-decoration: underline; color: #fff; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy-dark);
  color: #b9c5d6;
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
}
.footer-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: #b9c5d6; }
.footer-nav a:hover { color: #fff; }

.footer-social { position: relative; }
.footer-social summary {
  cursor: pointer;
  color: #b9c5d6;
  list-style: none;
}
.footer-social summary::-webkit-details-marker { display: none; }
.footer-social summary::marker { content: ""; }
.footer-social summary::before {
  content: "+ ";
  color: var(--accent);
}
.footer-social[open] summary::before { content: "– "; }
.footer-social summary:hover { color: #fff; }
.footer-social-links {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 14px 18px;
  min-width: 150px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  white-space: nowrap;
}
.footer-social-links a { color: #b9c5d6; text-decoration: none; font-size: 0.88rem; }
.footer-social-links a:hover { color: #fff; }

/* ============================================
   Scroll-reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Simple legal pages
   ============================================ */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 24px 100px;
}
.legal-page h1 { font-size: 2rem; margin-bottom: 32px; }
.legal-page h2 { font-size: 1.25rem; margin-top: 36px; }
.legal-page p, .legal-page li { color: var(--text-muted); }
.legal-page .placeholder {
  background: #fff7e6;
  border: 1px dashed var(--accent);
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #7a5c1e;
}
.back-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
}

/* ============================================
   Leistungen — Detailseite
   ============================================ */
.leistungen-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 140px 24px 0;
  text-align: center;
}
.leistungen-intro h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.leistungen-intro p { color: var(--text-muted); }

.visual-toggle {
  position: sticky;
  top: 73px;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.visual-toggle-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  align-self: center;
  margin-right: 8px;
}
.visual-toggle button {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.visual-toggle button[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.leistung-detail {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 150px;
}
.leistung-detail:nth-of-type(even) { background: var(--bg-tint); }
.leistung-detail .container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}
.leistung-detail:nth-of-type(even) .container { direction: rtl; }
.leistung-detail:nth-of-type(even) .container > * { direction: ltr; }
@media (max-width: 800px) {
  .leistung-detail .container,
  .leistung-detail:nth-of-type(even) .container {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.leistung-visual { position: relative; }
.leistung-visual .visual-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(18, 35, 63, 0.14);
}
.leistung-visual .visual-icon {
  display: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  box-shadow: 0 16px 40px rgba(18, 35, 63, 0.18);
  align-items: center;
  justify-content: center;
}
.leistung-visual .visual-icon .icon-badge {
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.leistung-visual .visual-icon svg {
  width: 54%;
  aspect-ratio: 1;
  height: auto;
  fill: var(--accent);
  display: block;
}

body[data-visual="icon"] .leistung-visual .visual-photo { display: none; }
body[data-visual="icon"] .leistung-visual .visual-icon { display: flex; }

.leistung-text .eyebrow { margin-bottom: 8px; }
.leistung-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.leistung-detail-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.leistung-detail-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.leistung-detail-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7em;
  top: 0.35em;
}
.leistung-detail-list strong { color: var(--text); }

/* ============================================
   Referenzen
   ============================================ */
.reference-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.reference-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 28px;
}
.reference-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.reference-item p { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 14px; }
.reference-item a { color: var(--blue); font-size: 0.92rem; font-weight: 600; text-decoration: none; }
.reference-item a:hover { text-decoration: underline; }
