/* ============================================
   CARSTENWEHRLE.DE – STYLES
   ============================================ */

/* === Custom Properties === */
:root {
  --navy: #1A2537;
  --navy-dark: #0F1724;
  --sand: #D9CFC3;
  --sand-light: #F4F0EB;
  --orange: #C7742B;
  --orange-dark: #A85D1A;
  --text-primary: #1A2537;
  --text-secondary: #555555;
  --text-muted: #777777;
  --white: #FFFFFF;
  --border-light: #E5E1DA;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-ui: "Montserrat", system-ui, sans-serif;

  --container-max: 1200px;
  --container-narrow: 800px;

  --section-padding-y: 96px;
  --section-padding-y-mobile: 56px;

  --shadow-card: 0 4px 20px rgba(26, 37, 55, 0.06);
  --shadow-card-hover: 0 8px 30px rgba(26, 37, 55, 0.1);
  --shadow-header: 0 2px 12px rgba(26, 37, 55, 0.05);

  --transition: 0.25s ease;
}

/* === Reset === */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* === Container === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: var(--container-narrow);
}

/* === Utilities === */
.text-center { text-align: center; }
.mt-xl { margin-top: 3rem; }

/* === Eyebrow (small label above headlines) === */
.eyebrow {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 1rem;
}

.eyebrow--orange {
  font-size: 12px;
  letter-spacing: 0.15em;
}

/* === Section titles === */
.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 600;
}

.section-title--light {
  color: var(--white);
}

.section-header {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-intro {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-cta {
  margin-top: 48px;
  text-align: center;
}

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 16px 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--navy);
  color: var(--white);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* === Text links === */
.text-link {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link--orange { color: var(--orange); }
.text-link--orange:hover { color: var(--orange-dark); text-decoration: underline; }

.text-link--navy { color: var(--navy); }
.text-link--navy:hover { color: var(--orange); text-decoration: underline; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  min-height: 72px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.logo:hover { color: var(--navy); }

.logo--light {
  color: var(--sand);
  font-size: 24px;
  margin: 0 0 0.5em;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav a {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--orange);
}

.primary-nav a.btn {
  color: var(--white);
}

/* Hamburger toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}

.menu-icon {
  display: block;
  width: 28px;
  height: 20px;
  position: relative;
}

.menu-icon span {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.menu-icon span:nth-child(1) { top: 2px; }
.menu-icon span:nth-child(2) { top: 9px; }
.menu-icon span:nth-child(3) { top: 16px; }

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* === Sections base === */
section {
  padding: var(--section-padding-y) 0;
}

/* === Hero === */
.hero {
  padding: 80px 0 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 24px;
  font-weight: 600;
}

.hero-text .lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 0 32px;
}

.lead--light {
  color: var(--sand);
}

.hero-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-card-hover);
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* === Cards shared === */
.cards-grid {
  display: grid;
  gap: 32px;
}

.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  border-radius: 8px;
  padding: 32px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 12px;
}

.card p {
  color: var(--text-secondary);
  margin: 0 0 20px;
  font-size: 16px;
}

/* === Two-cards section === */
.two-cards {
  padding: 64px 0;
}

/* === Problem section === */
.problem-section {
  background: var(--sand-light);
}

.problem-section .section-title {
  margin-bottom: 40px;
}

.prose p {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-primary);
  margin: 0 0 1.25em;
}

.prose--light p {
  color: var(--sand);
  font-size: 18px;
  line-height: 1.7;
}

/* === Five-points strip === */
.five-points {
  padding: 80px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.points-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}

.point {
  text-align: center;
}

.point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  color: var(--orange);
  margin-bottom: 20px;
}

.point-icon svg {
  width: 48px;
  height: 48px;
}

.point h3 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
}

/* === CREATE Method === */
.create-section {
  background: var(--white);
}

.create-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.create-step {
  padding: 40px 24px;
  border-right: 1px solid var(--border-light);
  text-align: center;
}

.create-step:last-child {
  border-right: 0;
}

.step-letter {
  display: block;
  font-family: var(--font-heading);
  font-size: 56px;
  color: var(--orange);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin: 0 0 12px;
}

.create-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* === Workbook section === */
.workbook-section {
  background: var(--sand-light);
}

.workbook-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.workbook-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-card-hover);
  max-width: 420px;
  margin: 0 auto;
}

.workbook-text .section-title {
  font-size: 32px;
}

.workbook-text p {
  font-size: 16px;
  color: var(--text-primary);
  line-height: 1.7;
}

.pull-quote {
  margin: 24px 0;
  padding: 12px 0 12px 20px;
  border-left: 3px solid var(--orange);
  font-style: italic;
  font-size: 15px;
  color: var(--text-secondary);
}

.pull-quote p { margin: 0 0 8px; font-style: italic; }

.pull-quote cite {
  font-style: normal;
  font-size: 14px;
  color: var(--text-muted);
}

/* === Mentoring section (dark) === */
.mentoring-section {
  background: var(--navy);
  color: var(--sand);
}

.mentoring-section .section-title {
  font-size: 42px;
  color: var(--white);
  margin: 0 0 32px;
}

/* === Checklist === */
.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  color: var(--sand);
  font-size: 17px;
  line-height: 1.6;
  border-bottom: 1px solid rgba(217, 207, 195, 0.15);
}

.check-list li:last-child { border-bottom: 0; }

.check-list strong {
  color: var(--white);
  font-weight: 600;
}

.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--orange);
  margin-top: 2px;
}

/* === FAQ === */
.faq-section {
  background: var(--white);
}

.faq-section .section-title {
  margin-bottom: 48px;
}

.faq-list {
  margin: 0 0 32px;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ""; }

.faq-item summary:hover { color: var(--orange); }

.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform var(--transition), opacity var(--transition);
}

.faq-toggle::before {
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-toggle::after {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.faq-item[open] .faq-toggle::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  padding: 0 0 24px;
  max-width: 720px;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0;
}

/* === About === */
.about-section {
  background: var(--sand-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}

.about-image img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--sand);
  box-shadow: var(--shadow-card);
}

.about-text .section-title {
  margin-top: 0;
}

/* === Community === */
.community-section {
  background: var(--sand-light);
  text-align: left;
}

.community-section .prose p {
  max-width: 700px;
}

/* === Testimonials === */
.testimonials-section {
  background: var(--white);
}

.testimonials-section .section-title {
  margin-bottom: 56px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.testimonial-mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 8px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-primary);
  margin: 0 0 24px;
  flex-grow: 1;
}

.testimonial-meta {
  font-family: var(--font-ui);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-meta strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-meta span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* === Resources === */
.resources-section {
  background: var(--sand-light);
}

.resources-section .section-title {
  margin-bottom: 56px;
}

.resource-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.resource-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.resource-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--navy);
  margin: 0 0 12px;
}

.resource-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}

/* === Final CTA === */
.final-cta {
  background: var(--navy);
  padding: 120px 0;
}

.final-cta .section-title {
  font-size: 42px;
  margin: 0 0 24px;
}

.final-cta .lead {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto 40px;
  max-width: 650px;
}

/* === Footer === */
.site-footer {
  background: var(--navy-dark);
  color: var(--sand);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(217, 207, 195, 0.1);
}

.footer-brand p {
  color: var(--sand);
  opacity: 0.8;
  font-size: 15px;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin: 0 0 20px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: var(--sand);
  font-family: var(--font-ui);
  font-size: 15px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--transition), color var(--transition);
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--orange);
}

.social-list {
  display: flex;
  gap: 16px;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--sand);
  background: rgba(217, 207, 195, 0.08);
  transition: background var(--transition), color var(--transition);
}

.social-list a:hover {
  background: var(--orange);
  color: var(--white);
}

.social-list svg {
  width: 20px;
  height: 20px;
}

.footer-copyright {
  text-align: center;
  padding-top: 32px;
}

.footer-copyright p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--sand);
  opacity: 0.6;
}

/* ============================================
   RESPONSIVE – Tablet (max 960px)
   ============================================ */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

  .workbook-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    justify-items: center;
    text-align: center;
  }

  .about-text { text-align: left; }

  .points-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .create-grid {
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--border-light);
  }

  .create-step {
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
  }

  .create-step:nth-child(3n) { border-right: 0; }
  .create-step:nth-child(n+4) { border-bottom: 0; }

  .cards-grid--3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand { grid-column: 1 / -1; }
}

/* ============================================
   RESPONSIVE – Mobile (max 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --section-padding-y: var(--section-padding-y-mobile);
  }

  section { padding: 56px 0; }

  .hero {
    padding: 48px 0;
    min-height: auto;
  }

  .hero-text h1 { font-size: 32px; }
  .hero-text .lead { font-size: 18px; }

  .section-title { font-size: 28px; }
  .mentoring-section .section-title,
  .final-cta .section-title { font-size: 32px; }

  .eyebrow { font-size: 13px; }

  /* Mobile nav */
  .menu-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-header);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    visibility: hidden;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
  }

  .primary-nav li {
    border-bottom: 1px solid var(--border-light);
  }

  .primary-nav li:last-child {
    border-bottom: 0;
    margin-top: 12px;
  }

  .primary-nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
  }

  .primary-nav a.btn {
    text-align: center;
    padding: 14px 20px;
  }

  .cards-grid--2 {
    grid-template-columns: 1fr;
  }

  .create-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .create-step:nth-child(3n) { border-right: 1px solid var(--border-light); }
  .create-step:nth-child(n+4) { border-bottom: 1px solid var(--border-light); }
  .create-step:nth-child(2n) { border-right: 0; }
  .create-step:nth-child(n+5) { border-bottom: 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: auto; }

  .final-cta { padding: 72px 0; }

  .workbook-image img { max-width: 320px; }

  .about-image img {
    width: 220px;
    height: 220px;
  }
}

/* ============================================
   RESPONSIVE – Small Mobile (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .container { padding: 0 20px; }

  .hero-text h1 { font-size: 28px; }

  .points-grid { grid-template-columns: 1fr; }

  .create-grid { grid-template-columns: 1fr; }
  .create-step {
    border-right: 0 !important;
    border-bottom: 1px solid var(--border-light) !important;
  }
  .create-step:last-child { border-bottom: 0 !important; }

  .testimonial, .resource-card { padding: 28px; }
  .card { padding: 24px; }

  .btn { padding: 14px 24px; font-size: 15px; width: 100%; }
  .btn-sm { width: auto; }

  .header-inner .logo { font-size: 18px; }
}

/* === Prefers reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}
