/* ============================================
   Dr. Oliver Nahm – Personal Website
   Warm Light Theme
   ============================================ */

/* --- Variables --- */
:root {
  --bg: #F7F6F3;
  --bg-white: #FDFCFA;
  --bg-warm: #F2F1ED;
  --teal: #2D5A6B;
  --teal-dark: #1e3f4c;
  --teal-light: rgba(45, 90, 107, 0.08);
  --gold: #9a7b2a;
  --gold-warm: #c9a84c;
  --gold-light: rgba(154, 123, 42, 0.08);
  --green: #4A6741;
  --green-light: rgba(74, 103, 65, 0.08);
  --text: #1a1a1a;
  --text-body: #444;
  --text-muted: #777;
  --text-light: #999;
  --border: #e8e6e1;
  --border-hover: #2D5A6B;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.3s ease;
}

/* --- Flowing Thread (continuous golden line along page) --- */
.flowing-thread {
  position: fixed;
  left: clamp(16px, 3vw, 48px);
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 0;
  pointer-events: none;
  color: var(--gold-warm);
  opacity: 0.12;
}

.flowing-thread svg {
  width: 100%;
  height: 100%;
}

/* --- Section Connectors (hand-drawn bridges between sections) --- */
.section-connector {
  position: relative;
  z-index: 1;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

.section-connector svg {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: -24px;
  margin-bottom: -24px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 0;
}

::selection {
  background: var(--teal);
  color: white;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 64px);
}

/* --- Typography --- */
.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-label-light {
  color: rgba(255,255,255,0.5);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text);
}

.body-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-body);
  max-width: 640px;
}

.body-text p {
  margin-bottom: 16px;
}

.section-intro-text {
  margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--teal-dark);
  color: white;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: white;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

.btn-white {
  background: white;
  color: var(--teal);
}

.btn-white:hover {
  background: var(--bg);
  color: var(--teal-dark);
}

/* --- Navigation --- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
  padding: 0 clamp(24px, 5vw, 64px);
}

#header.scrolled {
  background: rgba(247, 246, 243, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  transition: transform var(--transition);
}

.nav-logo:hover .nav-logo-icon {
  transform: scale(1.05);
}

#header:not(.scrolled) .nav-logo {
  color: var(--text);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
}

.nav-menu a {
  display: block;
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  border-radius: 4px;
  transition: all var(--transition);
  position: relative;
}

#header:not(.scrolled) .nav-menu a {
  color: rgba(255,255,255,0.7);
}

#header:not(.scrolled) .nav-menu a:hover,
#header:not(.scrolled) .nav-menu a.active {
  color: white;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--teal);
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

#header:not(.scrolled) .nav-toggle span {
  background: white;
}

/* ============================================
   HERO (Photo Split)
   ============================================ */
.hero--photo {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 100vh;
}

.hero-content {
  padding: 120px clamp(24px, 5vw, 64px) 80px clamp(32px, 6vw, 80px);
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.6;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.hero-accent {
  color: var(--gold-warm);
  font-weight: 600;
}

.hero-claim {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-warm);
  margin-top: 8px;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
  color: var(--text-light);
  max-width: 520px;
  margin-bottom: 48px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.bg-white { background: var(--bg-white); }
.bg-warm { background: var(--bg-warm); }

/* --- About --- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  width: 100%;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.credential {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-body);
}

.credential-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-warm);
  flex-shrink: 0;
}

/* --- Testimonial Breaker --- */
.testimonial-break {
  padding: 72px 0;
  background: var(--bg-warm);
  position: relative;
  z-index: 1;
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 24px;
  border-left: 3px solid var(--gold-warm);
}

.testimonial p {
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.testimonial cite {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted);
  font-style: normal;
}

/* --- Testimonial Carousel --- */
.testimonial-carousel {
  position: relative;
  min-height: 120px;
}

.testimonial-slide {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.testimonial-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  padding-left: 24px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition);
}

.testimonial-dot.active {
  background: var(--gold-warm);
  transform: scale(1.2);
}

.testimonial-break .testimonial-dots {
  justify-content: center;
  padding-left: 0;
}

.inline-testimonial {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.inline-testimonial .testimonial p {
  font-size: 17px;
  max-width: 700px;
}

.inline-testimonial .testimonial-carousel {
  min-height: 140px;
}

/* --- Cards --- */
.cards-grid {
  display: grid;
  gap: 24px;
}

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

.cards-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 32px;
  transition: all 0.4s ease;
  display: block;
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(45, 90, 107, 0.08);
  transform: translateY(-3px);
}

.card-icon {
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
}

.card-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.card-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}

.card-link-gold { color: var(--gold); }
.card-link-green { color: var(--green); }

/* Tags */
.tag {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 16px;
}

.tag-teal { background: var(--teal-light); color: var(--teal); }
.tag-gold { background: var(--gold-light); color: var(--gold); }
.tag-green { background: var(--green-light); color: var(--green); }

/* --- Bücher-Sektion --- */
.books-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.books-subtitle {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.card-book {
  text-align: center;
}

.book-cover-placeholder {
  width: 140px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-book:hover .book-cover-placeholder {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 6px 10px 28px rgba(0,0,0,0.18);
}

.book-cover-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: #f0ece4;
  text-align: center;
  padding: 12px;
  line-height: 1.3;
}

.card-book .card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
}

.card-book .tag {
  margin-top: 12px;
  margin-bottom: 0;
}

/* --- Blog Section Subtitle --- */
.blog-section-subtitle {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Vortragsliste --- */
.vortraege-section {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.vortraege-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.vortraege-list {
  max-width: 700px;
}

.vortrag-item {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.vortrag-year {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  min-width: 42px;
  flex-shrink: 0;
}

.vortrag-info {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.5;
}

.vortrag-info strong {
  color: var(--text);
}

.vortrag-desc {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.vortrag-placeholder {
  opacity: 0.5;
  border-bottom: none;
}

/* --- Coaching Solo (full-width featured) --- */
.coaching-solo {
  /* volle Container-Breite wie alle anderen Sektionen */
}

.coaching-solo .coaching-featured {
  min-height: 420px;
}

/* --- Gedankenraum Split Layout --- */
.gedankenraum-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

.gedankenraum-col-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.gedankenraum-col-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 1rem 0;
  line-height: 1.6;
}

.gedankenraum-col .blog-header {
  margin-bottom: 0.5rem;
}

.gedankenraum-col .blog-list {
  margin-top: 0;
}

.gedankenraum-col .blog-item {
  padding: 1rem 0;
}

.gedankenraum-col .blog-excerpt {
  font-size: 0.9rem;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}

@media (max-width: 768px) {
  .gedankenraum-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* --- Coaching Layout --- */
.coaching-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.coaching-featured {
  background-size: cover;
  background-position: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.coaching-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.92) 0%, rgba(30,63,76,0.6) 50%, rgba(30,63,76,0.2) 100%);
}

.coaching-featured-content h3 {
  color: var(--gold-warm);
}

.coaching-featured-content {
  position: relative;
  z-index: 1;
  color: white;
}

.coaching-featured-content h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.coaching-featured-content p {
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 24px;
}

.coaching-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.coaching-side .card {
  flex: 1;
}

/* --- Blog --- */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-header .section-title {
  margin-bottom: 0;
}

.blog-list {
  border-top: 1px solid var(--border);
}

.blog-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.blog-item:hover {
  padding-left: 12px;
}

.blog-item:hover .blog-title a {
  color: var(--teal);
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.blog-date {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-light);
}

.blog-meta .tag {
  margin-bottom: 0;
  font-size: 10px;
}

.blog-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin: 8px 0;
}

.blog-title a {
  color: var(--text);
  transition: color var(--transition);
}

.blog-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
}

/* --- Persönliches --- */
.youtube-feature {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
  align-items: center;
}

.youtube-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-warm);
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.youtube-info h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.youtube-info p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.weiteres-list {
  max-width: 700px;
}

.weiteres-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.weiteres-item:hover {
  padding-left: 8px;
}

.weiteres-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--gold);
}

.weiteres-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.weiteres-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.weiteres-arrow {
  margin-left: auto;
  color: #aaa;
  font-size: 18px;
}

/* --- Kontakt --- */
.kontakt-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: white;
}

.kontakt-intro {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 48px;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 700px;
}

.kontakt-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}

.kontakt-value {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
}

.kontakt-value a {
  color: white;
}

.kontakt-value a:hover {
  color: rgba(255,255,255,0.8);
}

.kontakt-buttons {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  background: #1a2a32;
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-sans);
  font-size: 13px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
}

.footer-links a:hover {
  color: rgba(255,255,255,0.7);
}

/* --- Hand-drawn Accent Underlines --- */
.sketch-underline {
  position: relative;
  display: inline;
}

.sketch-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8'%3E%3Cpath d='M2,5 C30,2 60,7 90,4 C120,1 150,6 198,3' fill='none' stroke='%23c9a84c' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  opacity: 0.6;
}

.sketch-underline-teal::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8'%3E%3Cpath d='M2,5 C30,2 60,7 90,4 C120,1 150,6 198,3' fill='none' stroke='%232D5A6B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  opacity: 0.5;
}

.sketch-underline-light::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 8'%3E%3Cpath d='M2,5 C30,2 60,7 90,4 C120,1 150,6 198,3' fill='none' stroke='%23c9a84c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  opacity: 0.7;
}

/* Hand-drawn section divider */
.sketch-divider {
  display: block;
  width: 80px;
  height: 8px;
  margin: 24px 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8'%3E%3Cpath d='M2,4 C15,2 30,6 45,3 C60,1 70,5 78,4' fill='none' stroke='%23c9a84c' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  opacity: 0.5;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-page-header {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 48px;
  background: var(--bg-white);
  position: relative;
  z-index: 1;
}

.blog-page-header .section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 8px;
}

.blog-page-intro {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 560px;
}

.blog-page-categories {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.blog-category-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 24px;
  transition: all var(--transition);
}

.blog-category-btn:hover,
.blog-category-btn.active {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}

.blog-page-main {
  padding: 64px 0;
  position: relative;
  z-index: 1;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 32px;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(45, 90, 107, 0.08);
  transform: translateY(-3px);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.blog-card-date {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-light);
}

.blog-card h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}

.blog-card h3 a {
  color: var(--text);
  transition: color var(--transition);
}

.blog-card h3 a:hover {
  color: var(--teal);
}

.blog-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.blog-card-readmore {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}

.blog-card-readmore:hover {
  color: var(--teal-dark);
}


/* Featured blog post (first) */
.blog-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.blog-card-featured .blog-card-image {
  background: var(--bg-warm);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-featured .blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-featured .blog-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-featured h3 {
  font-size: 26px;
}

/* ============================================
   KURSE PAGE – 3D Network Explorer
   ============================================ */
.kurse-hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 48px;
  background: var(--bg-white);
  position: relative;
  z-index: 1;
}

.kurse-hero .section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 8px;
}

.kurse-hero-intro {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
}

.kurse-main {
  padding: 64px 0;
  position: relative;
  z-index: 1;
}

/* Network visualization container */
.kurse-network-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.kurse-network-canvas {
  width: 100%;
  height: 500px;
  position: relative;
}

/* Network nodes */
.kurs-node {
  position: absolute;
  width: 140px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 2;
}

.kurs-node:hover {
  transform: scale(1.08);
}

.kurs-node-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.4s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.kurs-node-teal .kurs-node-circle {
  background: var(--teal);
  color: white;
}

.kurs-node-gold .kurs-node-circle {
  background: var(--gold-warm);
  color: white;
}

.kurs-node-green .kurs-node-circle {
  background: var(--green);
  color: white;
}

.kurs-node:hover .kurs-node-circle {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.kurs-node-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.kurs-node-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* SVG connection lines */
.kurse-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.kurse-connections line {
  stroke: var(--border);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  opacity: 0.6;
}

/* Detail panel */
.kurs-detail {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  display: none;
}

.kurs-detail.active {
  display: block;
  animation: fadeSlideIn 0.4s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.kurs-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.kurs-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.kurs-detail h3 {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
}

.kurs-detail-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 24px;
  max-width: 640px;
}

.kurs-detail-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kurs-module {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-warm);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-body);
}

.kurs-module-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.kurs-detail-connections {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.kurs-detail-connections h4 {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.kurs-connection-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.kurs-connection-link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--teal);
  cursor: pointer;
  transition: all var(--transition);
  background: none;
}

.kurs-connection-link:hover {
  border-color: var(--teal);
  background: var(--teal-light);
}

/* How it works section */
.kurse-how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.kurse-how-step {
  text-align: center;
  padding: 32px 24px;
}

.kurse-how-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold-warm);
  margin-bottom: 16px;
}

.kurse-how-title {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.kurse-how-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- Gold Accent Utilities --- */
.section-label-gold {
  color: var(--gold);
}

.nav-logo::after {
  content: '';
  display: none;
}

/* Subtle gold line under nav logo on scroll */
#header.scrolled .nav-logo {
  position: relative;
}

/* Gold selection for coaching section */
#coaching ::selection {
  background: var(--gold-warm);
  color: white;
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-inner p {
  font-size: 14px;
  color: var(--text-body);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 13px;
}

/* --- Page Header (Blog, Impressum) --- */
.page-header {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 48px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}

.page-header .section-title::after {
  display: none;
}

.blog-post-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px clamp(24px, 5vw, 64px);
}

.blog-post-content h2,
.blog-post-content h3 {
  font-family: var(--font-serif);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-post-content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--text-body);
}

.blog-post-meta {
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.blog-back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-family: var(--font-sans);
  font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-layout {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu.open a {
    font-size: 20px;
    color: var(--text) !important;
    padding: 12px 20px;
  }

  .flowing-thread { display: none; }

  .section { padding: 64px 0; }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
    max-width: 280px;
  }

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

  .coaching-layout {
    grid-template-columns: 1fr;
  }

  .coaching-featured {
    min-height: 350px;
  }

  .youtube-feature {
    grid-template-columns: 1fr;
  }

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

  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

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

  .blog-card-featured {
    grid-template-columns: 1fr;
  }

  .blog-card-featured .blog-card-image {
    min-height: 200px;
  }

  .kurse-network-canvas {
    height: auto;
    min-height: 600px;
  }

  .kurs-node {
    position: relative !important;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    margin-bottom: 16px;
  }

  .kurs-node-circle {
    margin: 0;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
  }

  .kurse-connections { display: none; }

  .kurse-how {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero--photo { min-height: auto; }
  .hero-content {
    padding: 120px 24px 48px;
    text-align: center;
  }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-image {
    height: 60vw;
    max-height: 480px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(32px, 8vw, 48px); }
  .hero-content { padding: 100px 24px 40px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-image { height: 70vw; }
}
