/*
 * Theme Name:   Markus Palmer – Elementor Edition
 * Theme URI:    https://fotografie.markuspalmer.de
 * Description:  Child-Theme für Markus Palmer. Basiert auf Hello Elementor.
 *               Alle Sections sind vollständig im Elementor-Editor bearbeitbar.
 *               Globale Farben und Typografie sind in Elementor → Site Settings registriert.
 * Author:       Markus Palmer
 * Author URI:   https://markuspalmer.de
 * Template:     hello-elementor
 * Version:      1.0.0
 * Text Domain:  markuspalmer-elementor
 * License:      GPL-2.0+
 */

/* ═══════════════════════════════════════════════════════════════
   GOOGLE FONT – Lato
   (Auch in Elementor → Site Settings → Typography gesetzt)
═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&display=swap');

/* ═══════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES – Design Tokens
   Werden auch als Elementor Global Colors registriert (inc/elementor-globals.php)
═══════════════════════════════════════════════════════════════ */
:root {
  --mp-font:       'Lato', sans-serif;
  --mp-white:      #FFFFFF;
  --mp-off:        #F7F5F2;
  --mp-stone:      #EDEAE5;
  --mp-stone2:     #DDD9D2;
  --mp-ink:        #1C1917;
  --mp-ink-60:     rgba(28,25,23,.6);
  --mp-ink-30:     rgba(28,25,23,.3);
  --mp-ink-10:     rgba(28,25,23,.1);
  --mp-weinrot:    #8B2347;
  --mp-weinrot-lt: #F5E8ED;
  --mp-weinrot-dk: #5E1530;
  --mp-radius:     4px;
  --mp-ease:       cubic-bezier(.16,1,.3,1);
}

/* ═══════════════════════════════════════════════════════════════
   GLOBALE ELEMENTOR-KOMPATIBILITÄT
═══════════════════════════════════════════════════════════════ */
body {
  font-family: var(--mp-font) !important;
  background: var(--mp-white);
  color: var(--mp-ink);
}

/* Elementor-Sections bekommen standardmäßig keinen padding-top wegen nav */
.elementor-section.mp-first-section {
  padding-top: 64px !important;
}

/* Elementor überschreibt manchmal Links */
.elementor a {
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════════
   FIXE NAVIGATION (außerhalb Elementor – immer sichtbar)
═══════════════════════════════════════════════════════════════ */
#mp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
  font-family: var(--mp-font);
}
#mp-nav.scrolled { border-color: var(--mp-ink-10); }

.mp-nav-logo {
  font-size: 1.05rem; font-weight: 900;
  letter-spacing: .01em; color: var(--mp-ink);
}
.mp-nav-logo-dot { color: var(--mp-weinrot); }

.mp-nav-menu {
  display: flex; gap: 2.25rem; list-style: none; margin: 0; padding: 0;
}
.mp-nav-menu a {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--mp-ink-60); transition: color .2s;
  text-decoration: none;
}
.mp-nav-menu a:hover { color: var(--mp-weinrot); }
.mp-nav-menu .mp-live-dot {
  display: inline-block; width: 7px; height: 7px;
  background: #e63535; border-radius: 50%;
  margin-right: 4px; vertical-align: middle;
  animation: livepulse 1.4s ease-in-out infinite;
}
.mp-nav-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.3rem;
  background: var(--mp-weinrot); color: #fff;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--mp-radius);
  transition: background .2s, transform .2s var(--mp-ease);
  text-decoration: none;
}
.mp-nav-btn:hover { background: var(--mp-weinrot-dk); transform: translateY(-1px); color: #fff; }

@keyframes livepulse {
  0%,100% { opacity:1; transform:scale(1); box-shadow:0 0 0 0 rgba(230,53,53,.6); }
  50% { opacity:.85; transform:scale(1.15); box-shadow:0 0 0 5px rgba(230,53,53,0); }
}

/* ═══════════════════════════════════════════════════════════════
   ELEMENTOR CUSTOM BUTTON STYLES
   Klasse am Button-Widget in Elementor setzen
═══════════════════════════════════════════════════════════════ */
.mp-btn-fill .elementor-button {
  background: var(--mp-weinrot) !important;
  color: #fff !important;
  border-radius: var(--mp-radius) !important;
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  transition: background .2s, transform .2s var(--mp-ease) !important;
}
.mp-btn-fill .elementor-button:hover {
  background: var(--mp-weinrot-dk) !important;
  transform: translateY(-2px) !important;
}
.mp-btn-outline .elementor-button {
  background: transparent !important;
  color: var(--mp-ink) !important;
  border: 1.5px solid var(--mp-ink-30) !important;
  border-radius: var(--mp-radius) !important;
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  transition: all .2s !important;
}
.mp-btn-outline .elementor-button:hover {
  background: var(--mp-ink) !important;
  color: #fff !important;
  border-color: var(--mp-ink) !important;
  transform: translateY(-2px) !important;
}

/* ═══════════════════════════════════════════════════════════════
   CHIP / LABEL (Abschnitts-Kennzeichnung)
   CSS-Klasse am Elementor-Text-Widget setzen: mp-chip
═══════════════════════════════════════════════════════════════ */
.mp-chip {
  display: inline-block !important;
  padding: .3rem .9rem !important;
  border: 1px solid var(--mp-ink-10) !important;
  border-radius: 100px !important;
  font-size: .68rem !important; font-weight: 700 !important;
  letter-spacing: .12em !important; text-transform: uppercase !important;
  color: var(--mp-ink-60) !important;
  margin-bottom: 1.5rem !important;
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */
.mp-hero-section.elementor-section {
  min-height: 100svh;
  padding-top: 64px !important;
}
.mp-hero-eyebrow {
  font-size: .72rem !important; font-weight: 700 !important;
  letter-spacing: .18em !important; text-transform: uppercase !important;
  color: var(--mp-weinrot) !important;
  display: flex !important; align-items: center !important; gap: .7rem !important;
}
.mp-hero-eyebrow::before {
  content: ''; display: block;
  width: 1.8rem; height: 1.5px; background: var(--mp-weinrot);
}
.mp-hero-h1 .elementor-heading-title {
  font-family: var(--mp-font) !important;
  font-weight: 900 !important;
  letter-spacing: -.03em !important;
  line-height: .97 !important;
  color: var(--mp-ink) !important;
}
.mp-hero-h1 em, .mp-hero-h1 i {
  font-style: italic !important;
  font-weight: 300 !important;
  color: var(--mp-weinrot) !important;
}

/* Hero Stats */
.mp-stat-num .elementor-heading-title {
  font-weight: 900 !important; letter-spacing: -.03em !important;
  line-height: 1 !important; color: var(--mp-ink) !important;
}
.mp-stat-lbl {
  font-size: .72rem !important; font-weight: 700 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important;
  color: var(--mp-ink-60) !important; margin-top: .25rem !important;
}

/* ═══════════════════════════════════════════════════════════════
   VIDEO WIDGET
   Klasse an Elementor Video-Widget setzen: mp-video-widget
═══════════════════════════════════════════════════════════════ */
.mp-video-widget .elementor-widget-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(28,25,23,.12);
}
.mp-video-widget .elementor-video-container {
  border-radius: 12px;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   INBEGRIFFEN-BAR
   CSS-Klasse an Section: mp-inclbar
═══════════════════════════════════════════════════════════════ */
.mp-inclbar.elementor-section > .elementor-container {
  max-width: 100% !important;
}
.mp-inclbar .elementor-column-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}
.mp-incl-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: .6rem !important;
  padding: .4rem 1.8rem !important;
  font-size: .72rem !important; font-weight: 700 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important;
  color: rgba(255,255,255,.55) !important;
  border-right: 1px solid rgba(255,255,255,.1) !important;
  white-space: nowrap !important;
}
.mp-incl-item:last-child { border-right: none !important; }
.mp-incl-dot {
  width: 5px !important; height: 5px !important;
  background: var(--mp-weinrot) !important;
  border-radius: 50% !important;
  display: inline-block !important; flex-shrink: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   PAKET-KARTEN
   Klasse an Elementor-Column: mp-paket-card, mp-paket-card-best
═══════════════════════════════════════════════════════════════ */
.mp-paket-card > .elementor-column-wrap {
  background: var(--mp-white);
  border: 1px solid var(--mp-ink-10);
  padding: 2.5rem 2rem !important;
  transition: background .25s, transform .25s var(--mp-ease);
}
.mp-paket-card > .elementor-column-wrap:hover {
  background: var(--mp-off);
  transform: translateY(-3px);
}
.mp-paket-card-best > .elementor-column-wrap {
  background: var(--mp-weinrot) !important;
  border-color: var(--mp-weinrot) !important;
  padding: 2.5rem 2rem !important;
  transition: background .25s var(--mp-ease);
}
.mp-paket-card-best > .elementor-column-wrap:hover {
  background: var(--mp-weinrot-dk) !important;
}
.mp-paket-card-best .elementor-heading-title,
.mp-paket-card-best .elementor-text-editor,
.mp-paket-card-best p { color: #fff !important; }

.mp-paket-name .elementor-heading-title {
  font-size: .7rem !important; font-weight: 700 !important;
  letter-spacing: .12em !important; text-transform: uppercase !important;
  color: var(--mp-ink-60) !important;
}
.mp-paket-price .elementor-heading-title {
  font-size: 3rem !important; font-weight: 900 !important;
  letter-spacing: -.04em !important; line-height: 1 !important;
  color: var(--mp-ink) !important;
}
.mp-paket-type {
  font-size: .75rem !important; color: var(--mp-ink-60) !important;
  padding-bottom: 1.75rem !important;
  border-bottom: 1px solid var(--mp-ink-10) !important;
}
.mp-paket-studio {
  background: var(--mp-off);
  border-radius: 6px;
  padding: .6rem .9rem;
  font-size: .75rem; font-weight: 700; color: var(--mp-ink-60);
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.25rem;
}
.mp-paket-studio span { font-weight: 900; color: var(--mp-ink); }
.mp-paket-btn .elementor-button {
  background: var(--mp-off) !important;
  color: var(--mp-ink) !important;
  border-radius: 6px !important;
  font-family: var(--mp-font) !important;
  font-size: .75rem !important; font-weight: 700 !important;
  letter-spacing: .07em !important; text-transform: uppercase !important;
  width: 100% !important;
  transition: background .2s, color .2s !important;
}
.mp-paket-btn .elementor-button:hover {
  background: var(--mp-ink) !important;
  color: #fff !important;
}
.mp-paket-card-best .mp-paket-btn .elementor-button {
  background: #fff !important; color: var(--mp-weinrot) !important;
}
.mp-paket-card-best .mp-paket-btn .elementor-button:hover {
  background: var(--mp-ink) !important; color: #fff !important;
}

/* Checkmark-Liste */
.mp-check-list .elementor-icon-list-item .elementor-icon-list-icon {
  color: var(--mp-weinrot) !important;
}
.mp-check-list .elementor-icon-list-item .elementor-icon-list-text {
  font-size: .85rem !important; color: var(--mp-ink-60) !important;
}

/* ═══════════════════════════════════════════════════════════════
   GALERIE – Masonry-Grid
   Klasse an Section: mp-galerie
═══════════════════════════════════════════════════════════════ */
.mp-galerie .elementor-image img {
  border-radius: 8px;
  object-fit: cover;
  width: 100%; height: 100%;
  transition: transform .55s var(--mp-ease);
}
.mp-galerie .elementor-image:hover img { transform: scale(1.05); }
.mp-galerie .elementor-image {
  overflow: hidden;
  border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   ABLAUF – Schritte
═══════════════════════════════════════════════════════════════ */
.mp-step-no {
  font-size: .65rem !important; font-weight: 900 !important;
  letter-spacing: .15em !important;
  color: var(--mp-weinrot) !important;
  background: var(--mp-weinrot-lt) !important;
  width: 32px !important; height: 32px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important; justify-content: center !important;
}
.mp-step-title .elementor-heading-title {
  font-size: 1.05rem !important; font-weight: 900 !important;
  color: var(--mp-ink) !important;
}

/* Tip/CTA Karten */
.mp-tip-card > .elementor-column-wrap {
  background: var(--mp-off) !important;
  border-radius: 12px !important;
  padding: 2rem !important;
}
.mp-cta-card > .elementor-column-wrap {
  background: var(--mp-weinrot) !important;
  border-radius: 12px !important;
  padding: 2.5rem 2rem !important;
}
.mp-cta-card .elementor-heading-title,
.mp-cta-card p,
.mp-cta-card .elementor-text-editor { color: #fff !important; }
.mp-cta-card .mp-btn-fill .elementor-button {
  background: #fff !important; color: var(--mp-weinrot) !important;
}
.mp-cta-card .mp-btn-fill .elementor-button:hover {
  background: var(--mp-ink) !important; color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════════
   WORKSHOPS
═══════════════════════════════════════════════════════════════ */
.mp-ws-card > .elementor-column-wrap {
  background: var(--mp-white) !important;
  border: 1px solid var(--mp-ink-10) !important;
  padding: 1.75rem 2rem !important;
  transition: background .2s, transform .2s var(--mp-ease) !important;
}
.mp-ws-card > .elementor-column-wrap:hover {
  background: var(--mp-off) !important;
  transform: translateY(-3px) !important;
}
.mp-ws-icon .elementor-icon {
  color: var(--mp-weinrot) !important;
  background: var(--mp-weinrot-lt) !important;
  border-radius: 8px !important;
  padding: 10px !important;
}
.mp-ws-quote-block {
  border-left: 3px solid var(--mp-weinrot) !important;
  padding-left: 1.75rem !important;
}
.mp-ws-quote-block blockquote,
.mp-ws-quote-block .elementor-text-editor {
  font-size: 1.3rem !important; font-weight: 300 !important;
  font-style: italic !important; color: var(--mp-ink) !important;
  line-height: 1.55 !important;
}

/* ═══════════════════════════════════════════════════════════════
   LIVE / TWITCH SECTION
═══════════════════════════════════════════════════════════════ */
.mp-live-section.elementor-section {
  background: var(--mp-ink) !important;
}
.mp-live-section .elementor-heading-title { color: #fff !important; }
.mp-live-section p,
.mp-live-section .elementor-text-editor { color: rgba(255,255,255,.6) !important; }
.mp-live-badge {
  display: inline-flex !important;
  align-items: center !important; gap: .6rem !important;
  background: rgba(230,53,53,.15) !important;
  border: 1px solid rgba(230,53,53,.3) !important;
  border-radius: 100px !important;
  padding: .35rem 1rem .35rem .7rem !important;
  font-size: .68rem !important; font-weight: 700 !important;
  letter-spacing: .15em !important; text-transform: uppercase !important;
  color: #e63535 !important;
}
.mp-twitch-btn .elementor-button {
  background: #9146FF !important; color: #fff !important;
  border-radius: 6px !important;
  font-family: var(--mp-font) !important;
  font-weight: 700 !important;
  transition: background .2s, transform .2s !important;
}
.mp-twitch-btn .elementor-button:hover {
  background: #7a35e0 !important;
  transform: translateY(-2px) !important;
}

/* Twitch/YouTube Player Wrapper */
.mp-player-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: #0e0e10;
  position: relative;
  aspect-ratio: 16 / 9;
}
.mp-player-wrap iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}

/* ═══════════════════════════════════════════════════════════════
   FAQ ACCORDION
   Klasse an Toggle-Widget: mp-faq
═══════════════════════════════════════════════════════════════ */
.mp-faq .elementor-toggle-item {
  border-bottom: 1px solid var(--mp-ink-10) !important;
}
.mp-faq .elementor-toggle-title {
  font-family: var(--mp-font) !important;
  font-size: .95rem !important; font-weight: 700 !important;
  color: var(--mp-ink) !important;
  padding: 1.3rem 0 !important;
  transition: color .2s !important;
}
.mp-faq .elementor-toggle-title:hover,
.mp-faq .elementor-tab-title.elementor-active { color: var(--mp-weinrot) !important; }
.mp-faq .elementor-tab-content {
  font-size: .875rem !important; font-weight: 300 !important;
  color: var(--mp-ink-60) !important;
  line-height: 1.8 !important;
  padding: 0 0 1.25rem !important;
}
.mp-faq .elementor-toggle-icon { color: var(--mp-ink-60) !important; }
.mp-faq .elementor-tab-title.elementor-active .elementor-toggle-icon {
  color: var(--mp-weinrot) !important;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT/FAQ ASIDE KARTE
═══════════════════════════════════════════════════════════════ */
.mp-contact-box > .elementor-column-wrap {
  background: var(--mp-off) !important;
  border-radius: 12px !important;
  padding: 2.5rem !important;
}

/* ═══════════════════════════════════════════════════════════════
   FINALER CTA
═══════════════════════════════════════════════════════════════ */
.mp-cta-final.elementor-section {
  background: var(--mp-off) !important;
  text-align: center !important;
}
.mp-cta-final .elementor-heading-title { color: var(--mp-ink) !important; }
.mp-cta-eyebrow {
  font-size: .72rem !important; font-weight: 700 !important;
  letter-spacing: .15em !important; text-transform: uppercase !important;
  color: var(--mp-weinrot) !important;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL REVEAL (JS-gesteuert)
═══════════════════════════════════════════════════════════════ */
.mp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--mp-ease), transform .6s var(--mp-ease);
}
.mp-reveal.mp-visible { opacity: 1; transform: none; }
.mp-reveal.mp-d1 { transition-delay: .1s; }
.mp-reveal.mp-d2 { transition-delay: .2s; }
.mp-reveal.mp-d3 { transition-delay: .3s; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.mp-footer.elementor-section {
  background: var(--mp-ink) !important;
}
.mp-footer .elementor-heading-title,
.mp-footer .elementor-text-editor,
.mp-footer p,
.mp-footer a { color: rgba(255,255,255,.45) !important; }
.mp-footer a:hover { color: var(--mp-weinrot) !important; }
.mp-footer-brand .elementor-heading-title {
  color: #fff !important;
  font-size: 1.1rem !important; font-weight: 900 !important;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  #mp-nav { padding: 0 1.25rem; }
  .mp-nav-menu { display: none; }
  .mp-hero-section.elementor-section { padding-top: 64px !important; }
  .mp-paket-card > .elementor-column-wrap,
  .mp-paket-card-best > .elementor-column-wrap { padding: 1.75rem 1.5rem !important; }
}
