/* ===== Product Craft – Sister of bottom-up-transformation.com ===== */

:root {
  --amber: #E89B3E;
  --amber-med: #EDB371;     /* slightly desaturated amber for alternate Im Detail bg */
  --sand: #F5DEB3;          /* light sand */
  --navy: #1B2A4A;
  --card: #E8DDD0;
  --bold: #A56A1F;
  --text-dark: #1B2A4A;
  --text-light: #E8EEF0;
  --max: 1200px;
  --pad-x: clamp(24px, 6vw, 120px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Raleway', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
strong { font-weight: 700; color: inherit; }

/* ---------- TOP NAV ---------- */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 50px);
  pointer-events: none;
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  background: rgba(255,255,255,0.04);
}
.top-nav > * { pointer-events: auto; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.brand-mark { width: 30px; height: 30px; color: var(--navy); }
.brand-word { font-size: 18px; }
.brand-dot { color: var(--bold); }
/* On amber sections, the brand dot needs full navy contrast */
.top-nav.on-amber .brand-dot { color: var(--navy); }

.top-links {
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}
.top-links a {
  position: relative;
  padding: 6px 2px;
  transition: color .2s ease;
}
.top-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--bold);
  transition: width .25s ease;
}
.top-links a:hover::after { width: 100%; }

/* When body has dark hero/section visible at top, shift nav colors */
.top-nav.on-dark { background: rgba(27,42,74,0.6); }
.top-nav.on-dark .brand,
.top-nav.on-dark .top-links { color: #FFFFFF; }
.top-nav.on-dark .brand-mark { color: #FFFFFF; }
.top-nav.on-dark .brand .brand-dot { color: var(--amber); }
.top-nav.on-dark .top-links a::after { background: var(--amber); }

/* ---------- DOT NAV ---------- */
.dotnav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  background: transparent;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
  display: block;
}
.dot:hover { transform: scale(1.25); }
.dot.active { background: var(--amber); }

/* When over navy sections, ensure dots stay visible (they're amber on navy = great) */

/* ---------- SECTIONS ---------- */
.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px var(--pad-x) 100px;
  overflow: hidden;
}
.section--amber   { background: var(--amber); color: var(--text-dark); }
.section--navy    { background: var(--navy);  color: var(--text-light); }
.section--sand    { background: var(--sand);  color: var(--text-dark); }
.section--medamber{ background: var(--amber-med); color: var(--text-dark); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

/* ---------- TYPOGRAPHY ---------- */
.overline {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 28px;
  color: var(--navy);
}
.overline--light { color: var(--amber); }

.display {
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.02;
  font-size: clamp(44px, 7.2vw, 88px);
  margin: 0 0 28px;
}
.display--med { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.05; }
.display--xl  { font-size: clamp(56px, 9vw, 120px);  line-height: 1.0;  }
.display-name {
  font-size: clamp(54px, 7.5vw, 110px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  color: #fff;
}
.brand-dot { color: var(--amber); }

.prose p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.7;
  margin: 0 0 18px;
  max-width: 62ch;
}
.prose--light p { color: var(--text-light); }
.prose--light strong { color: #fff; }
.prose--wide p { max-width: 78ch; }

.lead {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
  max-width: 70ch;
  margin: 0 0 56px;
}

/* ---------- HERO ---------- */
.section--hero { padding-top: 140px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}
.hero-text .display { font-size: clamp(48px, 8vw, 104px); }
.hero-sub {
  font-size: clamp(17px, 1.3vw, 20px);
  max-width: 48ch;
  margin: 18px 0 0;
  line-height: 1.55;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--navy);
  margin-top: 28px;
}
.meta-tag {
  background: var(--navy);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 999px;
}
.meta-sep { color: var(--navy); opacity: 0.5; font-weight: 400; }
@media (max-width: 768px) {
  .hero-meta { font-size: 10px; }
  .meta-tag { padding: 5px 10px; }
}
.hero-art { display: flex; justify-content: center; }
.hero-svg { width: min(520px, 95%); height: auto; }

/* ---------- IN KÜRZE ---------- */
.section--inkuerze { padding-top: 140px; }
.ghost-watermark {
  position: absolute;
  left: var(--pad-x);
  bottom: -32px;
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(232, 155, 62, 0.07);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  font-family: inherit;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--outline-light {
  border-color: var(--text-light);
  color: var(--text-light);
  background: transparent;
}
.btn--outline-light:hover { background: var(--text-light); color: var(--navy); }
.btn--outline-dark {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn--outline-dark:hover { background: var(--navy); color: var(--amber); }
.btn--fill-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn--fill-navy:hover { background: #14213a; border-color: #14213a; }
.btn--ghost {
  background: transparent;
  border-color: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 14px 12px;
}
.btn--ghost:hover { color: var(--amber); }

/* ---------- ZUR PERSON ---------- */
.person-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 8px;
}
.person-portrait { display: flex; justify-content: center; }
.portrait-circle {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ffffff;
  outline: 6px solid #E89B3E;
  outline-offset: 0;
  box-shadow: 0 18px 48px rgba(27, 42, 74, 0.18);
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 40px 0 32px;
}
.cta-row--center { justify-content: center; margin-top: 56px; }

.credibility {
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
}
.credibility strong { color: var(--amber); font-weight: 700; }

/* legacy two-part credibility (kept for safety, unused now) */
._credibility_legacy {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--text-light);
  opacity: 0.85;
}
.credibility-label { letter-spacing: 0.05em; }
.credibility-mark {
  border-left: 2px solid var(--amber);
  padding-left: 14px;
  font-size: 15px;
  color: #fff;
}

/* ---------- TWO-COLUMN ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.two-col--icon-text { grid-template-columns: 0.9fr 1.1fr; }
.two-col--icon-text .col-icon { order: 1; }
.two-col--icon-text .col-text { order: 2; }
.two-col--text-icon .col-text { order: 1; }
.two-col--text-icon .col-icon { order: 2; }
.col-icon { display: flex; justify-content: center; }
.step-icon { width: min(440px, 100%); height: auto; }

/* ---------- WORKSHOP CARDS ---------- */
.ws-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.ws-card {
  background: var(--card);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.ws-num {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 700;
  color: var(--bold);
  margin: 0 0 12px;
}
.ws-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 18px;
  color: var(--navy);
}
.ws-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ws-card li {
  font-size: 14.5px;
  line-height: 1.5;
  padding: 8px 0 8px 18px;
  position: relative;
  border-top: 1px solid rgba(27,42,74,0.12);
}
.ws-card li:first-child { border-top: 0; }
.ws-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 8px; height: 8px;
  background: var(--amber);
  border-radius: 50%;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  margin-top: 32px;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 22px; max-width: 520px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.7;
}
.field input, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--navy);
  padding: 8px 0;
  font: inherit;
  font-size: 17px;
  color: var(--navy);
  outline: none;
  resize: vertical;
  font-family: inherit;
  border-radius: 0;
}
.field input::placeholder, .field textarea::placeholder { color: var(--navy); opacity: 0.45; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--bold); }
.contact-form .btn { align-self: flex-start; margin-top: 8px; }

.contact-info { font-size: 18px; line-height: 1.55; color: var(--navy); }
.contact-block { margin: 0 0 32px; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block--title strong { font-size: 22px; font-weight: 700; display: inline-block; margin-bottom: 6px; }
.contact-block--title a { color: var(--navy); text-decoration: none; border-bottom: none; }
.contact-block--links a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; border-bottom: none; }
.contact-info a:hover { opacity: 0.7; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--sand);
  padding: 48px var(--pad-x);
  color: var(--navy);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.footer-left { display: flex; flex-direction: column; gap: 8px; }
.footer-text { margin: 0; }
.footer-meta { margin: 0; opacity: 0.75; }
.footer-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.footer-links a { color: var(--navy); }
.footer-links a:hover { text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: 2; }
  .hero-svg { width: min(360px, 80%); }
  .two-col,
  .two-col--icon-text { grid-template-columns: 1fr; gap: 40px; }
  .two-col--icon-text .col-icon { order: 1; }
  .two-col--icon-text .col-text { order: 2; }
  .two-col--text-icon .col-icon { order: 2; }
  .two-col--text-icon .col-text { order: 1; }
  .ws-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .person-grid { grid-template-columns: 1fr; gap: 48px; }
  .person-portrait { order: 2; }
  .portrait-circle { max-width: 280px; }
}

@media (max-width: 768px) {
  .dotnav { display: none; }
  .top-nav { padding: 16px 20px; }
  .top-links { display: none; }
  .section { padding: 100px 24px 80px; min-height: auto; }
  .ws-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .ghost-watermark { font-size: 96px; bottom: -16px; }
  /* credibility wraps naturally on small screens */
}

/* === Loop-Note (Tagline-Pille im Hero/In-Kürze) === */
.loop-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 18px;
  border: 1px solid rgba(245, 222, 179, 0.35);
  border-radius: 999px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.loop-glyph {
  font-size: 20px;
  color: var(--amber);
  font-weight: 700;
  line-height: 1;
}
.loop-note em {
  font-style: normal;
  color: var(--text-light);
}
