/* Instingo Playbook Landing Page Styles - Only affects content in {% block main %} */

/* Scoped CSS variables for playbook sections only */
#playbook-hero, #warum-instingo, #fuehrung, #kommunikation, #motivation, 
#download, #cta-section {
  --green:       #90b72d;
  --green-dark:  #6d8a22;
  --green-faint: #f0f5e8;
  --ink:         #354860;
  --ink-mid:     #5a6d7f;
  --ink-light:   #8a99a8;
  --sand:        #f9fafb;
  --radius:      16px;
  --radius-lg:   28px;
  --max-w:       1140px;
}

/* ── HERO SECTION ── */
#playbook-hero {
  background: linear-gradient(135deg, var(--ink) 0%, #2a3d52 100%);
  color: #FFFFFF;
  position: relative; 
  overflow: hidden;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 4vw, 2.5rem);
}

#playbook-hero::before {
  content: '';
  position: absolute; 
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(144, 183, 45, .12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(144, 183, 45, .08) 0%, transparent 60%);
  pointer-events: none;
}

#playbook-hero .hero-grid {
  max-width: var(--max-w); 
  margin: auto;
  display: grid; 
  grid-template-columns: 1.2fr 1fr; 
  gap: 4rem; 
  align-items: center;
}

#playbook-hero h1 { 
  color: #FFFFFF !important; 
  margin-bottom: 1.5rem; 
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.2;
}

#playbook-hero h1 em { 
  font-style: italic; 
  color: var(--green); 
}

#playbook-hero p { 
  color: rgba(255,255,255,.72) !important; 
  max-width: 50ch; 
  margin-bottom: 2rem; 
  font-size: 1.1rem; 
}

#playbook-hero .label {
  display: inline-block;
  background: var(--green-faint);
  color: var(--green-dark);
  font-size: .78rem; 
  font-weight: 600; 
  letter-spacing: .08em; 
  text-transform: uppercase;
  padding: .3rem .9rem; 
  border-radius: 100px;
  margin-bottom: 1rem;
}

#playbook-hero .hero-ctas { 
  display: flex; 
  gap: 1rem; 
  flex-wrap: wrap; 
}

/* Custom button styling for hero section */
#playbook-hero .btn-primary {
  color: #FFFFFF !important;
}

#playbook-hero .btn-primary:hover {
  color: #FFFFFF !important;
}

/* Playbook Cover Visual */
#playbook-hero .hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

#playbook-hero .playbook-cover {
  position: relative;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

#playbook-hero .playbook-cover::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
  pointer-events: none;
}

#playbook-hero .playbook-cover h2 {
  font-size: 3rem;
  color: #FFFFFF !important;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  line-height: 1.1;
}

#playbook-hero .playbook-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  z-index: 1;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

#playbook-hero .playbook-cover p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9) !important;
  position: relative;
  z-index: 2;
}

#playbook-hero .cover-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(255,255,255,.2) 0%, transparent 100%);
  pointer-events: none;
}

/* ── CONTENT SECTIONS ── */
.content-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
}

.content-section.alt-bg {
  background: var(--sand);
}

.content-section .container {
  max-width: var(--max-w); 
  margin: auto;
}

.content-section .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.content-section .label {
  display: inline-block;
  background: var(--green-faint);
  color: var(--green-dark);
  font-size: .78rem; 
  font-weight: 600; 
  letter-spacing: .08em; 
  text-transform: uppercase;
  padding: .3rem .9rem; 
  border-radius: 100px;
  margin-bottom: 1rem;
}

.content-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--ink) !important;
}

.content-section h3 {
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink) !important;
  margin-bottom: .75rem;
}

.content-section h4 {
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--ink) !important;
  margin: 1.5rem 0 .75rem;
}

.content-section .section-header p {
  color: var(--ink-mid) !important;
  font-size: 1.05rem;
}

/* ── SECTION 1: WARUM INSTINGO ── */
#warum-instingo {
  background: #FFFFFF;
}

#warum-instingo .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

#warum-instingo .feature-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}

#warum-instingo .feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

#warum-instingo .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#warum-instingo .feature-card h3 {
  margin-bottom: .75rem;
  font-size: 1.2rem;
}

#warum-instingo .feature-card p {
  font-size: .95rem;
  color: var(--ink-mid) !important;
  line-height: 1.6;
}

#warum-instingo .highlight-box {
  background: linear-gradient(135deg, var(--green-faint) 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  border: 2px solid var(--green);
  box-shadow: 0 10px 40px rgba(144, 183, 45, 0.15);
}

#warum-instingo .highlight-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

#warum-instingo .highlight-box h3 {
  margin-bottom: .5rem;
  color: var(--ink) !important;
}

#warum-instingo .highlight-box p {
  color: var(--ink-mid) !important;
  line-height: 1.6;
}

/* ── SECTION 2: FÜHRUNG ── */
#fuehrung .split-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
}

#fuehrung .content-text {
  font-size: 1rem;
  color: var(--ink-mid) !important;
  line-height: 1.7;
}

#fuehrung .content-text h3 {
  margin-bottom: 1rem;
}

#fuehrung .quote-box {
  background: var(--green-faint);
  border-left: 4px solid var(--green);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  position: relative;
}

#fuehrung .quote-mark {
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 4rem;
  color: var(--green);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

#fuehrung .quote-box blockquote {
  font-style: italic;
  color: var(--ink) !important;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
  margin: 0;
}

#fuehrung .checkmark-list {
  list-style: none;
  margin-top: 1rem;
}

#fuehrung .checkmark-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  font-size: .98rem;
  color: var(--ink-mid) !important;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

#fuehrung .checkmark-list li:last-child {
  border-bottom: none;
}

#fuehrung .checkmark-list li svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}

#fuehrung .content-visual {
  position: sticky;
  top: 2rem;
}

#fuehrung .visual-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: #FFFFFF;
}

#fuehrung .visual-stat {
  margin-bottom: 2rem;
}

#fuehrung .visual-stat:last-child {
  margin-bottom: 0;
}

#fuehrung .stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: .5rem;
}

#fuehrung .stat-label {
  font-size: .95rem;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
}

/* ── SECTION 3: KOMMUNIKATION ── */
#kommunikation .communication-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

#kommunikation .comm-card {
  background: #FFFFFF;
  border-radius: var(--radius);
  padding: 2rem;
  border: 2px solid rgba(0,0,0,.06);
  transition: border-color .2s, box-shadow .2s;
}

#kommunikation .comm-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 30px rgba(144, 183, 45, 0.15);
}

#kommunikation .comm-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#kommunikation .comm-card h3 {
  margin-bottom: .75rem;
  font-size: 1.25rem;
}

#kommunikation .comm-card p {
  color: var(--ink-mid) !important;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

#kommunikation .comm-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

#kommunikation .tag {
  background: var(--green-faint);
  color: var(--green-dark);
  font-size: .82rem;
  font-weight: 500;
  padding: .35rem .75rem;
  border-radius: 100px;
}

#kommunikation .support-section {
  margin-top: 3rem;
}

#kommunikation .support-box {
  background: linear-gradient(135deg, var(--green-faint) 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 2px solid var(--green);
}

#kommunikation .support-box h3 {
  margin-bottom: 1rem;
  color: var(--ink) !important;
}

#kommunikation .support-box > p {
  color: var(--ink-mid) !important;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

#kommunikation .support-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

#kommunikation .support-item {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--ink-mid) !important;
  line-height: 1.6;
}

#kommunikation .support-item strong {
  color: var(--ink) !important;
  display: block;
  margin-bottom: .25rem;
}

#kommunikation .support-item small {
  display: block;
  margin-top: .5rem;
  font-size: .85rem;
  color: var(--ink-light) !important;
}

/* ── SECTION 4: MOTIVATION ── */
#motivation .motivation-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

#motivation .lead-text {
  font-size: 1.15rem;
  color: var(--ink-mid) !important;
  line-height: 1.7;
}

#motivation .reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

#motivation .reward-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 2px solid rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

#motivation .reward-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}

#motivation .reward-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(144, 183, 45, .1) 0%, transparent 70%);
  pointer-events: none;
}

#motivation .reward-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: .5rem;
}

#motivation .reward-card h3 {
  margin-bottom: .75rem;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

#motivation .reward-card p {
  color: var(--ink-mid) !important;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

#motivation .persona-section {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
}

#motivation .persona-section h3 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 1.6rem;
}

#motivation .persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

#motivation .persona-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 2px solid rgba(0,0,0,.06);
}

#motivation .persona-badge {
  font-size: 3rem;
  margin-bottom: 1rem;
}

#motivation .persona-card h4 {
  margin-bottom: .75rem;
  font-size: 1.15rem;
}

#motivation .persona-card p {
  font-size: .92rem;
  color: var(--ink-mid) !important;
  line-height: 1.6;
}

#motivation .highlight-box {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--green-faint) 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border: 2px solid var(--green);
}

#motivation .highlight-icon {
  flex-shrink: 0;
  font-size: 2.5rem;
}

#motivation .highlight-box h3 {
  margin-bottom: .5rem;
  color: var(--ink) !important;
}

#motivation .highlight-box p {
  color: var(--ink-mid) !important;
  line-height: 1.6;
}

/* ── DOWNLOAD SECTION ── */
#download {
  background: linear-gradient(135deg, var(--ink) 0%, #2a3d52 100%);
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}

#download::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(144, 183, 45, .12) 0%, transparent 70%);
  pointer-events: none;
}

#download .container {
  max-width: var(--max-w);
  margin: auto;
  position: relative;
  z-index: 1;
}

#download .download-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
}

#download .download-content h2 {
  color: #FFFFFF !important;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

#download .download-content .label {
  display: inline-block;
  background: var(--green-faint);
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

#download .download-content > p {
  color: rgba(255,255,255,.75) !important;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

#download .download-benefits {
  list-style: none;
  margin-bottom: 2.5rem;
  padding: 0;
}

#download .download-benefits li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  color: rgba(255,255,255,.85) !important;
  font-size: 1rem;
  line-height: 1.6;
}

#download .download-benefits svg {
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

#download .download-note {
  margin-top: 1rem;
  font-size: .88rem;
  color: rgba(255,255,255,.5) !important;
}

#download .playbook-download-btn {
  color: #FFFFFF !important;
}

#download .playbook-download-btn svg {
  color: #FFFFFF !important;
}

#download .download-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

#download .pdf-preview {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  min-width: 280px;
}

#download .pdf-icon {
  color: var(--green);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#download .pdf-details {
  color: rgba(255,255,255,.9);
}

#download .pdf-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

#download .pdf-size {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
}

/* ── CTA SECTION ── */
#cta-section {
  background: var(--green);
  text-align: center;
  position: relative; 
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem);
}

#cta-section::before {
  content: '';
  position: absolute; 
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255, 255, 255, .15) 0%, transparent 70%);
}

#cta-section .cta-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  height: 80%;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, rgba(0, 0, 0, .15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#cta-section .container {
  max-width: var(--max-w); 
  margin: auto;
  position: relative;
  z-index: 1;
}

#cta-section h2 { 
  color: #FFFFFF !important; 
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}

#cta-section p { 
  color: rgba(255,255,255,.85) !important; 
  max-width: 54ch; 
  margin: 0 auto 2.5rem; 
  font-size: 1.1rem; 
}

#cta-section .cta-btns { 
  display: flex; 
  gap: 1rem; 
  justify-content: center; 
  flex-wrap: wrap; 
}

#cta-section .label {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: #FFFFFF;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* Custom button styling for CTA section with green background */
#cta-section .btn-primary {
  background: #FFFFFF !important;
  color: var(--green-dark) !important;
  border-color: #FFFFFF !important;
}

#cta-section .btn-primary:hover {
  background: rgba(255,255,255,0.9) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,.3);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { 
    opacity: 0; 
    transform: translateY(24px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

#playbook-hero .fade-up { 
  opacity: 0; 
  animation: fadeUp .6s ease forwards; 
}

#playbook-hero .delay-1 { 
  animation-delay: .1s; 
}

#playbook-hero .delay-2 { 
  animation-delay: .22s; 
}

#playbook-hero .delay-3 { 
  animation-delay: .34s; 
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #playbook-hero .hero-grid,
  #fuehrung .split-content,
  #download .download-card {
    grid-template-columns: 1fr;
  }
  
  #warum-instingo .feature-grid,
  #kommunikation .communication-grid,
  #motivation .reward-grid,
  #motivation .persona-grid {
    grid-template-columns: 1fr;
  }

  #download .download-card {
    gap: 3rem;
  }
  
  #fuehrung .content-visual {
    position: static;
  }
}

@media (max-width: 600px) {
  #playbook-hero .playbook-cover {
    min-height: 300px;
    padding: 2rem 1.5rem;
  }

  #playbook-hero .playbook-cover h2 {
    font-size: 2rem;
  }

  #warum-instingo .highlight-box,
  #motivation .highlight-box {
    flex-direction: column;
    padding: 2rem;
  }

  #kommunikation .support-channels {
    grid-template-columns: 1fr;
  }
}
