/* ============================================================
   KI Mastermind Workshop – Schloss Elmau 2026
   Superkraft-KI-Brand · DM Sans + Space Mono
   ============================================================ */

:root {
  --color-indigo:   #1E1B4B;
  --color-purple:   #4338CA;
  --color-violet:   #6D5BDE;
  --color-gold:     #C8B98C;
  --color-gold-dk:  #B3A270;
  --color-cream:    #F5F0E8;
  --color-white:    #FFFFFF;
  --color-gray-50:  #F9F9F9;
  --color-gray-100: #F1EFE8;
  --color-text:     #1a1a2e;
  --color-muted:    #6B7280;

  --maxw: 1080px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(30, 27, 75, 0.08);
  --shadow-lg: 0 24px 70px rgba(30, 27, 75, 0.14);

  --font-body: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }

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

/* ---------- Shared bits ---------- */
.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-purple);
  margin-bottom: 16px;
}
.label-light { color: var(--color-gold); }

.section { padding: 96px 0; }
.section-alt { background: var(--color-gray-50); }
.section-dark { background: var(--color-indigo); color: var(--color-cream); }
.section-h2 {
  font-size: clamp(28px, 4.2vw, 42px);
  max-width: 760px;
  margin-bottom: 22px;
}
.section-h2-light { color: var(--color-white); }
.section-lead {
  max-width: 680px;
  color: var(--color-muted);
  font-size: 18px;
  margin-bottom: 48px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: var(--color-gold);
  color: var(--color-indigo);
  box-shadow: 0 8px 26px rgba(200, 185, 140, 0.4);
}
.btn-gold:hover { background: var(--color-gold-dk); }
.btn-ghost {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(245, 240, 232, 0.4);
}
.btn-ghost:hover { border-color: var(--color-cream); background: rgba(245, 240, 232, 0.08); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Badges & Pills ---------- */
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 999px;
}
.badge-light {
  background: rgba(245, 240, 232, 0.1);
  border: 1px solid rgba(200, 185, 140, 0.4);
  color: var(--color-cream);
}
.badge-amber {
  background: #FBF1D9;
  color: #8a6d12;
  border: 1px solid #E7CF8E;
  font-weight: 700;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(245, 240, 232, 0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  font-weight: 700; text-decoration: none; color: var(--color-cream);
  font-size: 17px; letter-spacing: -0.01em;
}
.brand-dot { color: var(--color-gold); margin: 0 8px; }
.brand-sub { color: var(--color-gold); font-family: var(--font-mono); font-size: 13px; font-weight: 400; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #1a1a2e;
  color: var(--color-cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(1200px 600px at 75% -10%, rgba(109, 91, 222, 0.4), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(67, 56, 202, 0.35), transparent 55%),
    linear-gradient(160deg, #1a1a2e 0%, #1E1B4B 100%);
}
.hero-inner { padding: 64px 24px 90px; max-width: 920px; }
/* Key-Visual (fertiger Banner: Titel + Jörg + Elmau) */
.hero-visual { margin: 26px 0 6px; }
.hero-visual img {
  width: 100%; height: auto; border-radius: 18px;
  border: 1px solid rgba(200, 185, 140, 0.25);
  box-shadow: var(--shadow-lg);
}
.hero-h1 {
  font-size: clamp(32px, 5.4vw, 56px);
  margin: 30px 0 22px;
  letter-spacing: -0.02em;
}
.hero-sub { font-size: clamp(17px, 2.2vw, 21px); color: var(--color-cream); opacity: .92; max-width: 720px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 30px; }
.hero-meta {
  list-style: none; margin: 0; padding: 24px 0 0; border-top: 1px solid rgba(245, 240, 232, 0.14);
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-family: var(--font-mono); font-size: 13.5px; color: var(--color-gold);
}
.hero-meta li { position: relative; }
.hero-meta li + li::before { content: "·"; position: absolute; left: -16px; opacity: .6; }

/* ---------- Video (direkt unter Hero) ---------- */
.video-section { background: var(--color-indigo); padding: 0 0 76px; }
.video-wrap {
  position: relative; width: 100%; max-width: 900px; margin: 0 auto;
  aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(200, 185, 140, 0.25);
  box-shadow: var(--shadow-lg);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.pain-card h3 { font-size: 19px; margin: 18px 0 10px; }
.pain-card p { color: var(--color-muted); font-size: 15.5px; }
.icon-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(150deg, #EEEDFE, #E3E0FB);
  color: var(--color-purple);
}
.icon-wrap svg { width: 26px; height: 26px; }

/* Before/After */
.ba-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.ba-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted);
  margin-bottom: 8px;
}
.ba-tag-after { color: var(--color-purple); }
.ba-before p { color: var(--color-muted); font-size: 15.5px; }
.ba-after p { color: var(--color-text); font-weight: 600; font-size: 16px; }
.ba-arrow { font-size: 26px; color: var(--color-gold); font-weight: 700; }

/* ---------- Elmau ---------- */
.elmau {
  position: relative; overflow: hidden; isolation: isolate;
  background: #16142e; color: var(--color-cream);
  text-align: center;
}
.elmau-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(800px 500px at 50% 0%, rgba(109, 91, 222, 0.35), transparent 60%),
    linear-gradient(180deg, #1E1B4B, #16142e);
}
/* Mit Foto: .elmau-bg::after { content:""; position:absolute; inset:0; background:url("hero-bg.jpg") center/cover; opacity:.15; } */
.elmau-inner { padding: 110px 24px; max-width: 820px; }
.elmau-quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.3; font-style: italic; margin: 0 0 26px;
  color: var(--color-white);
}
.elmau-sub { font-family: var(--font-mono); font-size: 14px; color: var(--color-gold); margin-bottom: 32px; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pill {
  padding: 10px 18px; border-radius: 999px; font-size: 14px;
  background: rgba(245, 240, 232, 0.07); border: 1px solid rgba(200, 185, 140, 0.35);
  color: var(--color-cream);
}

/* ---------- Agenda ---------- */
.day {
  background: var(--color-white); border: 1px solid var(--color-gray-100);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 30px; margin-bottom: 22px;
}
.day-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.day-badge {
  flex: none; font-family: var(--font-mono); font-size: 12.5px; font-weight: 700;
  letter-spacing: .05em; padding: 8px 14px; border-radius: 10px;
}
.day-title { font-size: 20px; }
.day-sub { color: var(--color-muted); font-size: 15px; margin-top: 2px; }

.agenda-table { width: 100%; border-collapse: collapse; }
.agenda-table td { padding: 11px 0; border-top: 1px solid var(--color-gray-100); vertical-align: top; }
.agenda-table tr:first-child td { border-top: none; }
.agenda-table .t {
  font-family: var(--font-mono); font-size: 14px; color: var(--color-purple);
  width: 84px; white-space: nowrap; font-weight: 700;
}
.agenda-table .a { font-size: 16px; font-weight: 500; }
.agenda-table .a-muted { color: var(--color-muted); font-weight: 400; }
.note-inline { color: var(--color-muted); font-weight: 400; font-size: 14px; }

/* Tag-Farben */
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .04em; padding: 3px 9px; border-radius: 7px; margin-left: 6px;
  vertical-align: middle; white-space: nowrap;
}
.tag-grey   { background: #F1EFE8; color: #444441; }
.tag-violet { background: #EEEDFE; color: #3C3489; }
.tag-blue   { background: #E6F1FB; color: #0C447C; }
.tag-green  { background: #E1F5EE; color: #085041; }
.tag-orange { background: #FAECE7; color: #712B13; }
.tag-gold   { background: #F4EAD0; color: #7a5d12; }

/* Special-Guest-Kasten (Dr. Oliver Pott) – kompaktes Bild-links/Text-rechts */
.guest-feature {
  margin-top: 30px;
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center;
  background: linear-gradient(150deg, #F6F4FF, #EEEDFE);
  border: 1px solid #ddd8fb; border-radius: var(--radius); padding: 24px 26px;
}
.guest-media img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.guest-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--color-purple);
}
.guest-feature .guest-body h3 { font-size: 22px; color: var(--color-indigo); margin: 6px 0 2px; }
.guest-creds { font-family: var(--font-mono); font-size: 12.5px; color: var(--color-purple); margin: 0 0 10px; }
.guest-feature .guest-body p { color: #4a4668; font-size: 15.5px; }

.hotseat-box {
  margin-top: 22px; background: #FAECE7; border: 1px solid #f0d6cb;
  border-radius: var(--radius); padding: 26px 28px;
}
.hotseat-box h4 { color: #712B13; font-size: 18px; margin-bottom: 8px; }
.hotseat-box p { color: #7a4a36; font-size: 15.5px; }
.agenda-hint {
  margin-top: 24px; font-family: var(--font-mono); font-size: 14px;
  color: var(--color-muted); text-align: center;
}

/* ---------- Coach ---------- */
.coach { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.coach-media { display: flex; }
.coach-media img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-lg); }
.avatar {
  width: 200px; height: 200px; border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 64px;
  color: var(--color-cream);
  background: linear-gradient(150deg, var(--color-purple), var(--color-indigo));
  box-shadow: var(--shadow-lg);
}
.avatar-sm { width: 84px; height: 84px; border-radius: 18px; font-size: 28px; flex: none; }
.coach-name { margin-bottom: 8px; }
.coach-creds { font-family: var(--font-mono); font-size: 14px; color: var(--color-purple); margin-bottom: 18px; }
.coach-text { color: var(--color-text); max-width: 620px; }

/* Prominente Coach-Card – Jörg ist Gastgeber, deutlich größer als der Guest-Kasten */
.coach-primary {
  grid-template-columns: 380px 1fr; gap: 56px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100); border-top: 4px solid var(--color-gold);
  border-radius: 22px; padding: 48px 52px; box-shadow: var(--shadow-lg);
}
.coach-label { color: var(--color-gold-dk); }
.coach-primary .coach-name { font-size: clamp(34px, 4.4vw, 50px); margin-bottom: 10px; }
.coach-primary .coach-creds { font-size: 15px; margin-bottom: 20px; }
.coach-primary .coach-text { font-size: 18px; max-width: 640px; }

/* ---------- Preis ---------- */
.price-card {
  max-width: 620px; margin: 0 auto; background: var(--color-white);
  border: 1px solid var(--color-gray-100); border-radius: 22px;
  box-shadow: var(--shadow-lg); padding: 44px 40px; text-align: center;
}
.price-head { padding-bottom: 28px; border-bottom: 1px solid var(--color-gray-100); margin-bottom: 28px; }
.price-tag { margin: 24px 0 6px; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.price-amount { font-size: 54px; font-weight: 700; letter-spacing: -0.02em; }
.price-vat { font-family: var(--font-mono); font-size: 15px; color: var(--color-muted); }
.price-note { color: var(--color-muted); font-size: 15px; }
.price-list { list-style: none; margin: 0 0 30px; padding: 0; text-align: left; }
.price-list li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--color-gray-50); font-size: 16px; }
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-purple);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat;
}
.price-subcta { margin-top: 16px; color: var(--color-muted); font-size: 14.5px; }

/* ---------- Formular ---------- */
.form-wrap { max-width: 680px; }
.form-lead { color: var(--color-cream); opacity: .9; margin-bottom: 36px; max-width: 560px; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--color-cream); }
.form input, .form textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--color-white);
  background: rgba(245, 240, 232, 0.06);
  border: 1.5px solid rgba(245, 240, 232, 0.18);
  border-radius: var(--radius-sm); padding: 13px 15px; width: 100%;
  transition: border-color .2s ease, background .2s ease;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(245, 240, 232, 0.45); }
.form input:focus, .form textarea:focus {
  outline: none; border-color: var(--color-gold); background: rgba(245, 240, 232, 0.1);
}
.form textarea { resize: vertical; }
.form .btn { margin-top: 6px; }
.form-fallback { text-align: center; font-size: 15px; color: var(--color-cream); opacity: .85; }
.form-fallback a, .form-privacy a { color: var(--color-gold); }
.form-privacy { font-size: 12.5px; color: rgba(245, 240, 232, 0.6); line-height: 1.6; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #16142e; color: rgba(245, 240, 232, 0.6); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; flex-wrap: wrap; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: rgba(245, 240, 232, 0.6); text-decoration: none; }
.footer-nav a:hover { color: var(--color-gold); }

/* ============================================================
   Responsive – Breakpoint 768px
   ============================================================ */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .elmau-inner { padding: 80px 24px; }
  .hero-inner { padding: 60px 24px 70px; }

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

  .ba-card { grid-template-columns: 1fr; text-align: left; gap: 12px; }
  .ba-arrow { transform: rotate(90deg); justify-self: start; }

  .coach { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .coach-media { justify-content: center; }
  .avatar { width: 150px; height: 150px; font-size: 48px; border-radius: 20px; }

  .day { padding: 22px; }
  .guest-feature { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
  .guest-media img { max-width: 220px; }
  .coach-primary { grid-template-columns: 1fr; padding: 28px 22px; }
  .day-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .agenda-table .t { width: 64px; font-size: 13px; }
  .agenda-table .a { font-size: 15px; }
  .tag { display: inline-block; margin: 4px 6px 0 0; }

  .price-card { padding: 32px 24px; }
  .price-amount { font-size: 44px; }

  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
