/*
Theme Name: Stefan Endrös – The Signs Code
Theme URI: https://stefan-endros.de
Author: Stefan Endrös
Author URI: https://stefan-endros.de
Description: Speaker & Autor Website für Stefan Endrös – The Signs Code. Kommunikation ist der Schlüssel zur Zukunft. Vollständig anpassbar über den WordPress Customizer und den Block Editor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Tags: speaker, author, one-page, dark, responsive
Text Domain: stefan-endros
*/

/* ── VARIABLEN ─────────────────────────────────────────────────── */
:root {
  --navy:      #0A2547;
  --teal:      #008B9B;
  --yellow:    #C8A800;
  --white:     #FFFFFF;
  --off-white: #F4F6F9;
  --dark:      #1A1A2E;
  --gray:      #6B7280;
  --light-gray:#E8ECF0;
}

/* ── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── NAVIGATION ────────────────────────────────────────────────── */
#site-navigation {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 3rem;
  background: rgba(10,37,71,0.97);
  backdrop-filter: blur(8px);
  transition: padding 0.3s;
}
#site-navigation.scrolled { padding: 0.6rem 3rem; }
.site-logo {
  font-size: 1rem; font-weight: 700; color: var(--white);
  text-decoration: none; letter-spacing: 0.02em;
}
.site-logo span { color: var(--teal); }
.nav-menu { display: flex; gap: 2rem; list-style: none; }
.nav-menu a {
  color: rgba(255,255,255,0.72); text-decoration: none;
  font-family: Arial, sans-serif; font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--teal); }
.nav-menu .nav-cta {
  background: var(--teal); color: var(--white) !important;
  padding: 0.5rem 1.1rem; border-radius: 2px;
}
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.4rem;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0; transition: all 0.3s;
}

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; background: var(--teal); color: var(--white);
  padding: 0.9rem 1.9rem; border-radius: 2px;
  font-family: Arial, sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: background 0.2s, transform 0.15s; border: none; cursor: pointer;
}
.btn-primary:hover { background: #007080; transform: translateY(-1px); color: var(--white); }
.btn-ghost {
  display: inline-block; background: transparent;
  color: rgba(255,255,255,0.78); padding: 0.9rem 1.9rem;
  border: 1px solid rgba(255,255,255,0.22); border-radius: 2px;
  font-family: Arial, sans-serif; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-cta {
  display: inline-block; background: var(--navy); color: var(--white);
  padding: 1rem 2.4rem; border-radius: 2px;
  font-family: Arial, sans-serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-cta:hover { opacity: 0.88; transform: translateY(-2px); color: var(--white); }

/* ── SECTION LABELS ────────────────────────────────────────────── */
.sec-label {
  font-family: Arial, sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.8rem;
}
.sec-label::before { content: ''; display: block; width: 1.5rem; height: 1px; background: var(--teal); }
.sec-title {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 900;
  color: var(--navy); line-height: 1.1; margin-bottom: 1rem;
}

/* ── HERO ──────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh; background: var(--navy);
  display: grid; grid-template-columns: 55% 45%;
  align-items: stretch; padding-top: 4.5rem;
  position: relative; overflow: hidden;
}
.hero-section::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, transparent, var(--teal), transparent);
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 3rem 5rem 4rem; z-index: 2;
}
.hero-eyebrow {
  font-family: Arial, sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 1.8rem; display: flex; align-items: center; gap: 0.8rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 2rem; height: 1px; background: var(--teal); }
.hero-headline {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem); font-weight: 900;
  color: var(--white); line-height: 1.08; margin-bottom: 1.2rem;
}
.hero-headline .key { color: var(--yellow); font-style: italic; }
.hero-sub {
  font-style: italic; color: var(--teal); font-size: 1.3rem;
  margin-bottom: 2rem; letter-spacing: 0.03em;
}
.hero-body {
  font-family: Arial, sans-serif; color: rgba(255,255,255,0.62);
  font-size: 0.97rem; line-height: 1.78; margin-bottom: 2.8rem; max-width: 460px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-right { position: relative; overflow: hidden; }
.hero-portrait {
  width: 100%; height: 100%; min-height: 600px;
  object-fit: cover; object-position: center top; display: block;
  filter: grayscale(10%) contrast(1.04);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 35%),
              linear-gradient(0deg, var(--navy) 0%, transparent 30%);
}
.hero-book-badge {
  position: absolute; bottom: 2.5rem; right: 2rem;
  background: var(--teal); padding: 1rem 1.2rem; border-radius: 3px;
  text-align: center; box-shadow: -6px 6px 24px rgba(0,0,0,0.4);
  border-left: 6px solid rgba(0,0,0,0.2);
}
.hero-book-badge .bt { font-size: 1.1rem; font-weight: 900; color: var(--white); line-height: 1; }
.hero-book-badge .bs { font-family: Arial, sans-serif; font-size: 0.55rem; color: rgba(255,255,255,0.75); letter-spacing: 0.1em; margin-top: 0.3rem; }

/* ── PILLARS ───────────────────────────────────────────────────── */
.pillars-section { background: var(--dark); padding: 5rem 0; }
.pillars-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.pillar {
  padding: 2.5rem; border-right: 1px solid rgba(255,255,255,0.06);
  position: relative; transition: background 0.2s;
}
.pillar:last-child { border-right: none; }
.pillar::before {
  content: ''; position: absolute; top: 0; left: 2.5rem; right: 2.5rem;
  height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.pillar:hover::before { transform: scaleX(1); }
.pillar-word { font-size: 2.2rem; font-weight: 900; color: var(--white); margin-bottom: 0.8rem; }
.pillar-dot { display: inline-block; width: 6px; height: 6px; background: var(--yellow); border-radius: 50%; vertical-align: middle; margin-left: 2px; margin-bottom: 5px; }
.pillar-text { font-family: Arial, sans-serif; color: rgba(255,255,255,0.48); font-size: 0.88rem; line-height: 1.7; }

/* ── THEMA ─────────────────────────────────────────────────────── */
.thema-section { background: var(--off-white); padding: 8rem 4rem; }
.thema-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.thema-headline { font-size: clamp(1.8rem,2.8vw,2.6rem); font-weight: 900; color: var(--navy); line-height: 1.15; margin-bottom: 1.8rem; }
.thema-headline em { color: var(--teal); font-style: italic; }
.thema-body { font-family: Arial, sans-serif; color: var(--gray); font-size: 0.97rem; line-height: 1.82; margin-bottom: 1.2rem; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat-card { background: var(--white); padding: 1.4rem; border-radius: 2px; border-bottom: 3px solid var(--teal); box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 0.35rem; }
.stat-num span { color: var(--teal); }
.stat-lbl { font-family: Arial, sans-serif; font-size: 0.75rem; color: var(--gray); line-height: 1.45; }

/* ── BUCH ──────────────────────────────────────────────────────── */
.book-section { background: var(--navy); padding: 8rem 4rem; position: relative; overflow: hidden; }
.book-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,139,155,0.09) 0%, transparent 70%); pointer-events: none;
}
.book-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.book-img-wrap { display: flex; justify-content: center; }
.book-photo {
  max-width: 380px; width: 100%; border-radius: 3px;
  box-shadow: -12px 16px 48px rgba(0,0,0,0.55), 4px 4px 20px rgba(0,0,0,0.3);
  transform: perspective(700px) rotateY(-6deg);
}
.book-headline { font-size: clamp(1.7rem,2.4vw,2.4rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 1.4rem; }
.book-headline em { color: var(--teal); font-style: italic; }
.book-body { font-family: Arial, sans-serif; color: rgba(255,255,255,0.6); font-size: 0.94rem; line-height: 1.8; margin-bottom: 1.8rem; }
.book-meta { border: 1px solid rgba(255,255,255,0.1); border-radius: 2px; background: rgba(255,255,255,0.03); padding: 1.4rem; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.65rem; }
.book-meta-item { font-family: Arial, sans-serif; font-size: 0.84rem; color: rgba(255,255,255,0.62); display: flex; gap: 0.6rem; }
.book-meta-item::before { content: '→'; color: var(--teal); flex-shrink: 0; }

/* ── KEYNOTES ──────────────────────────────────────────────────── */
.keynotes-section { background: var(--white); padding: 8rem 4rem; }
.keynotes-inner { max-width: 1100px; margin: 0 auto; }
.kn-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3.5rem; }
.kn-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--light-gray); }
.kn-card {
  background: var(--white); padding: 2.2rem 2rem; position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kn-card:hover { transform: translateY(-3px); box-shadow: 0 8px 36px rgba(0,0,0,0.09); z-index: 2; }
.kn-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal); }
.kn-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.kn-card:hover::after { transform: scaleX(1); }
.kn-num { font-size: 3.2rem; font-weight: 900; color: var(--light-gray); line-height: 1; margin-bottom: 0.8rem; }
.kn-tag { font-family: Arial, sans-serif; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; display: block; }
.kn-title { font-size: 1.15rem; font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 0.9rem; }
.kn-body { font-family: Arial, sans-serif; font-size: 0.85rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.3rem; }
.kn-meta { font-family: Arial, sans-serif; font-size: 0.74rem; color: var(--gray); border-top: 1px solid var(--light-gray); padding-top: 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; }

/* ── GALERIE ───────────────────────────────────────────────────── */
.gallery-section { background: var(--dark); padding: 7rem 4rem; }
.gallery-inner { max-width: 1100px; margin: 0 auto; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 2.5rem; }
.gallery-cell { overflow: hidden; }
.gallery-cell.full-width { grid-column: 1 / -1; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter 0.3s, transform 0.4s; filter: grayscale(15%) contrast(1.04); }
.gallery-cell:hover .gallery-img { filter: grayscale(0%) contrast(1.04); transform: scale(1.02); }
.gallery-caption { font-family: Arial, sans-serif; font-size: 0.7rem; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.6rem 0.8rem; background: rgba(0,0,0,0.3); }
.gallery-img-portrait { height: 520px; object-position: center top; }
.gallery-img-landscape { height: 340px; object-position: center 30%; }
.gallery-img-stage { height: 500px; object-position: center top; }

/* ── ZITAT ─────────────────────────────────────────────────────── */
.quote-section { background: var(--off-white); padding: 7rem 4rem; }
.quote-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.big-quote { font-size: clamp(1.3rem,2.2vw,1.9rem); font-style: italic; color: var(--navy); line-height: 1.6; margin-bottom: 2.5rem; position: relative; }
.big-quote::before { content: '\201C'; font-size: 5.5rem; color: var(--teal); opacity: 0.18; position: absolute; top: -2rem; left: -1.5rem; font-style: normal; line-height: 1; }
.quote-attr { font-family: Arial, sans-serif; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }

/* ── ABOUT ─────────────────────────────────────────────────────── */
.about-section { background: var(--navy); padding: 8rem 4rem; }
.about-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 380px 1fr; gap: 5rem; align-items: start; }
.about-photo-wrap { position: relative; }
.about-photo { width: 100%; border-radius: 3px; display: block; box-shadow: 8px 12px 40px rgba(0,0,0,0.5); }
.about-photo-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(10,37,71,0.95)); padding: 2rem 1.5rem 1.2rem; border-radius: 0 0 3px 3px; }
.about-photo-name { font-size: 1.3rem; font-weight: 900; color: var(--white); }
.about-photo-role { font-family: Arial, sans-serif; font-size: 0.7rem; color: var(--teal); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.2rem; }
.about-headline { font-size: clamp(1.6rem,2.2vw,2.1rem); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 1.8rem; }
.about-text { font-family: Arial, sans-serif; color: rgba(255,255,255,0.6); font-size: 0.94rem; line-height: 1.85; margin-bottom: 1.2rem; }
.about-quote-inline { border-left: 3px solid var(--teal); padding: 0.9rem 0 0.9rem 1.4rem; margin: 1.8rem 0; font-style: italic; font-size: 1.05rem; color: rgba(255,255,255,0.85); line-height: 1.6; }
.cred-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.5rem; }
.cred-item { font-family: Arial, sans-serif; font-size: 0.83rem; color: rgba(255,255,255,0.55); display: flex; gap: 0.6rem; align-items: flex-start; padding-bottom: 0.7rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
.cred-item:last-child { border-bottom: none; }
.cred-item::before { content: '→'; color: var(--teal); flex-shrink: 0; }

/* ── STIMMEN ───────────────────────────────────────────────────── */
.social-section { background: var(--dark); padding: 5rem 4rem; }
.social-inner { max-width: 1100px; margin: 0 auto; }
.social-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2.5rem; }
.soc-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 2px; padding: 1.8rem; position: relative; }
.soc-card::before { content: '\201C'; font-family: Georgia, serif; font-size: 2.8rem; color: var(--teal); opacity: 0.35; position: absolute; top: 0.8rem; left: 1.2rem; line-height: 1; }
.soc-text { font-style: italic; font-size: 0.92rem; color: rgba(255,255,255,0.68); line-height: 1.65; margin-top: 1.4rem; margin-bottom: 1.2rem; }
.soc-author { font-family: Arial, sans-serif; font-size: 0.7rem; font-weight: 700; color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── KANÄLE ────────────────────────────────────────────────────── */
.channels-section { background: var(--off-white); padding: 6rem 4rem; }
.channels-inner { max-width: 1100px; margin: 0 auto; }
.ch-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2.5rem; }
.ch-card { background: var(--white); padding: 1.8rem; border-radius: 2px; border-top: 3px solid var(--navy); box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.2s, box-shadow 0.2s; }
.ch-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.ch-icon { font-size: 1.6rem; margin-bottom: 0.8rem; display: block; }
.ch-name { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.ch-role { font-family: Arial, sans-serif; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.8rem; }
.ch-desc { font-family: Arial, sans-serif; font-size: 0.84rem; color: var(--gray); line-height: 1.65; margin-bottom: 1.2rem; }
.ch-link { font-family: Arial, sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }

/* ── CTA ───────────────────────────────────────────────────────── */
.cta-section { background: var(--teal); padding: 5.5rem 4rem; text-align: center; }
.cta-headline { font-size: clamp(1.7rem,2.8vw,2.6rem); font-weight: 900; color: var(--white); margin-bottom: 0.8rem; }
.cta-sub { font-family: Arial, sans-serif; color: rgba(255,255,255,0.78); font-size: 0.97rem; margin-bottom: 2.2rem; }

/* ── FOOTER ────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); padding: 2.5rem 4rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-size: 1rem; font-weight: 700; color: var(--white); }
.footer-logo span { color: var(--teal); }
.footer-claim { font-family: Arial, sans-serif; font-size: 0.73rem; color: rgba(255,255,255,0.35); text-align: center; line-height: 1.6; }
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a { font-family: Arial, sans-serif; font-size: 0.7rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal); }

/* ── MODALS ────────────────────────────────────────────────────── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 1000; align-items: center; justify-content: center; padding: 2rem; }
.modal-overlay.active { display: flex; }
.modal-box { background: #fff; max-width: 640px; width: 100%; max-height: 80vh; overflow-y: auto; border-radius: 3px; padding: 3rem; position: relative; }
.modal-close { position: absolute; top: 1.2rem; right: 1.5rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray); line-height: 1; }
.modal-label { font-family: Arial, sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.6rem; }
.modal-title { font-size: 1.8rem; font-weight: 900; color: var(--navy); margin-bottom: 1.8rem; }
.modal-body h3 { font-size: 0.92rem; font-weight: 700; color: var(--navy); margin: 1.2rem 0 0.4rem; }
.modal-body p { font-family: Arial, sans-serif; font-size: 0.88rem; color: #4B5563; line-height: 1.75; margin-bottom: 0.8rem; }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; }
  .hero-right { min-height: 50vw; max-height: 420px; }
  .hero-left { padding: 5rem 2rem 3rem; }
  .thema-inner, .book-inner, .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .pillars-grid, .kn-grid, .social-grid, .ch-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 380px; }
}
@media (max-width: 768px) {
  #site-navigation { padding: 1rem 1.5rem; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 1.5rem; gap: 1rem; }
  .nav-menu.open { display: flex; }
  .menu-toggle { display: block; }
  .thema-section, .book-section, .keynotes-section, .gallery-section, .quote-section, .about-section, .social-section, .cta-section, .channels-section { padding: 5rem 1.5rem; }
  .hero-left { padding: 5rem 1.5rem 3rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-cell.full-width { grid-column: auto; }
  .kn-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
