/*
 * Webinar Landing Page – Styles
 * Datei: zeitkapsel-child/css/webinar-landing.css
 * Einbinden in functions.php (siehe webinar-functions.php)
 *
 * Farbpalette:
 *   Creme      #FAF7F2
 *   Terrakotta #8B5E3C
 *   Dunkelbraun #2C2520
 *   Warm-Akzent #C4874A  (helleres Terrakotta für Hover/Highlights)
 *   Sepia-Rand  #E8DDD0  (Trennlinien)
 */

/* ── Reset & Base ─────────────────────────────────────────────────────── */
.wz-landing-body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #2C2520;
  background-color: #FAF7F2;
  -webkit-font-smoothing: antialiased;
}

.wz-landing-body * {
  box-sizing: border-box;
}

.wz-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Typografie ────────────────────────────────────────────────────────── */
.wz-landing-body h1,
.wz-landing-body h2,
.wz-landing-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: #2C2520;
}

.wz-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.wz-section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: #8B5E3C;
  margin: 16px auto 0;
  border-radius: 1px;
}

/* ── Badge ─────────────────────────────────────────────────────────────── */
.wz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid currentColor;
}

.wz-badge--live {
  color: #8B5E3C;
  background: rgba(139, 94, 60, 0.08);
  animation: wz-pulse-badge 2s ease-in-out infinite;
}

@keyframes wz-pulse-badge {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

/* ── HERO ──────────────────────────────────────────────────────────────── */
.wz-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 32px 100px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139,94,60,0.07) 0%, transparent 70%),
    #FAF7F2;
  position: relative;
  overflow: hidden;
}

/* Dezente Textur */
.wz-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(&quot;data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238B5E3C' fill-opacity='0.025'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E&quot;);
  pointer-events: none;
}

.wz-hero > * { position: relative; }

.wz-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.wz-hero__date {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #7a6a5e;
  text-transform: uppercase;
}

.wz-hero__headline {
  font-size: clamp(2rem, 5vw, 3.8rem);
  max-width: 820px;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.wz-hero__headline em {
  font-style: italic;
  color: #8B5E3C;
}

.wz-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 600px;
  color: #5a4a3e;
  margin: 0 0 56px;
  line-height: 1.8;
}

/* ── Countdown ─────────────────────────────────────────────────────────── */
.wz-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  justify-content: center;
}

.wz-countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  background: #fff;
  border: 1px solid #E8DDD0;
  border-radius: 12px;
  padding: 16px 12px 12px;
  box-shadow: 0 2px 12px rgba(44,37,32,0.06);
}

.wz-countdown__num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #2C2520;
  line-height: 1;
  letter-spacing: -0.03em;
  min-width: 2ch;
  display: inline-block;
  text-align: center;
  transition: transform 0.15s ease;
}

.wz-countdown__num.flip {
  transform: scale(1.15);
}

.wz-countdown__label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8B5E3C;
  margin-top: 6px;
  font-weight: 700;
}

.wz-countdown__sep {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #C4874A;
  line-height: 1;
  margin-bottom: 20px;
  align-self: flex-start;
  margin-top: 16px;
}

/* ── Formular ──────────────────────────────────────────────────────────── */
.wz-form-wrap {
  width: 100%;
  max-width: 560px;
}

.wz-form {
  background: #fff;
  border: 1px solid #E8DDD0;
  border-radius: 16px;
  padding: 40px 40px 32px;
  box-shadow: 0 4px 32px rgba(44,37,32,0.08);
}

.wz-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.wz-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wz-form__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a6a5e;
}

.wz-form__input {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  border: 1.5px solid #E8DDD0;
  border-radius: 8px;
  background: #FAF7F2;
  color: #2C2520;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.wz-form__input::placeholder {
  color: #b0a090;
}

.wz-form__input:focus {
  border-color: #8B5E3C;
  box-shadow: 0 0 0 3px rgba(139,94,60,0.12);
  background: #fff;
}

.wz-form__error {
  font-size: 14px;
  color: #a33a2a;
  background: rgba(163,58,42,0.07);
  border: 1px solid rgba(163,58,42,0.2);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}

.wz-form__privacy {
  font-size: 12px;
  color: #9a8a7e;
  margin-top: 16px;
  text-align: center;
  line-height: 1.6;
}

.wz-form__privacy a {
  color: #8B5E3C;
  text-decoration: underline;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.wz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
  gap: 8px;
}

.wz-btn--primary {
  background: #8B5E3C;
  color: #FAF7F2;
  padding: 16px 32px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(139,94,60,0.3);
}

.wz-btn--primary:hover {
  background: #7a5235;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(139,94,60,0.38);
  color: #FAF7F2;
  text-decoration: none;
}

.wz-btn--primary:active {
  transform: translateY(0);
}

.wz-btn--large {
  font-size: 18px;
  padding: 20px 48px;
  width: auto;
}

.wz-btn--primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ── Erfolgs-Meldung ───────────────────────────────────────────────────── */
.wz-form-success {
  background: #fff;
  border: 1.5px solid #8B5E3C;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 32px rgba(44,37,32,0.08);
  line-height: 1.8;
}

.wz-form-success__icon {
  display: block;
  font-size: 2.5rem;
  color: #8B5E3C;
  margin-bottom: 16px;
}

/* ── Agenda ────────────────────────────────────────────────────────────── */
.wz-agenda {
  padding: 100px 0;
  border-top: 1px solid #E8DDD0;
}

.wz-agenda__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}

.wz-agenda__item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.wz-agenda__num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #E8DDD0;
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.wz-agenda__item h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.wz-agenda__item p {
  font-size: 15px;
  color: #5a4a3e;
  margin: 0;
  line-height: 1.7;
}

/* ── Social Proof ──────────────────────────────────────────────────────── */
.wz-proof {
  padding: 80px 0 100px;
  background: #2C2520;
  color: #FAF7F2;
}

.wz-proof .wz-section-title {
  color: #FAF7F2;
}

.wz-proof .wz-section-title::after {
  background: #C4874A;
}

.wz-proof__stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.wz-proof__stat {
  text-align: center;
}

.wz-proof__num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: #C4874A;
  line-height: 1;
}

.wz-proof__desc {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b09080;
  margin-top: 8px;
}

.wz-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.wz-testimonial {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px;
  margin: 0;
}

.wz-testimonial p {
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: #d4c8be;
  margin: 0 0 16px;
}

.wz-testimonial cite {
  font-size: 13px;
  font-style: normal;
  color: #8B5E3C;
  letter-spacing: 0.05em;
}

/* ── Referent ──────────────────────────────────────────────────────────── */
.wz-speaker {
  padding: 100px 0;
  border-top: 1px solid #E8DDD0;
}

.wz-speaker__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: center;
}

.wz-speaker__image-wrap {
  flex-shrink: 0;
}

.wz-speaker__image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: #E8DDD0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #8B5E3C;
  font-style: italic;
}

.wz-speaker__image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.wz-speaker__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8B5E3C;
  margin-bottom: 12px;
}

.wz-speaker__name {
  font-size: 2.4rem;
  margin: 0 0 24px;
}

.wz-speaker__text {
  color: #5a4a3e;
  margin-bottom: 12px;
}

/* ── Footer CTA ────────────────────────────────────────────────────────── */
.wz-footer-cta {
  padding: 100px 0;
  background: #FAF7F2;
  border-top: 1px solid #E8DDD0;
  text-align: center;
}

.wz-footer-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.wz-footer-cta h2 {
  font-size: 2.4rem;
  margin: 0;
}

.wz-footer-cta p {
  color: #7a6a5e;
  font-size: 15px;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .wz-agenda__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .wz-testimonials {
    grid-template-columns: 1fr;
  }

  .wz-speaker__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .wz-speaker__image-wrap {
    max-width: 240px;
    margin: 0 auto;
  }

  .wz-proof__stats {
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .wz-hero {
    padding: 60px 24px 80px;
  }

  .wz-form {
    padding: 28px 20px 24px;
  }

  .wz-form__row {
    grid-template-columns: 1fr;
  }

  .wz-countdown__block {
    min-width: 64px;
    padding: 12px 8px 10px;
  }

  .wz-countdown__num {
    font-size: 2rem;
  }

  .wz-container {
    padding: 0 20px;
  }

  .wz-agenda {
    padding: 64px 0;
  }

  .wz-testimonials {
    grid-template-columns: 1fr;
  }
}

/* ── AST-CONTAINER FIX: volle Breite ── */
.ast-container {
  display: block !important;
  max-width: 100% !important;
  padding: 0 !important;
}
.wz-hero {
  width: 100% !important;
  flex-shrink: 0 !important;
}
