/*
Theme Name: 1A Haarpigment
Theme URI:  https://1a-haarpigment.de
Description: Child Theme für 1A Haarpigment, basierend auf Divi 5.
Author: 1A Haarpigment
Author URI: https://1a-haarpigment.de
Template: Divi
Version: 1.0.0
Text Domain: 1a-haarpigment
*/

/* ============================================================
   Google Font: Manrope
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --1ahp-bg-dark:       #101014;
  --1ahp-bg-dark-card:  #28282C;
  --1ahp-bg-light:      #FAFAFA;
  --1ahp-bg-mid:        #E9ECF2;
  --1ahp-text-on-dark:  #FFFFFF;
  --1ahp-text-muted:    #D0D1DB;
  --1ahp-text-on-light: #101014;
  --1ahp-text-secondary:#3D3D47;
  --1ahp-btn-radius:    50px;
  --1ahp-font-family:   'Manrope', sans-serif;
  --1ahp-section-py:    80px;
  --1ahp-header-h:      72px;
}

/* ============================================================
   Globale Basis
   ============================================================ */
body {
  font-family: var(--1ahp-font-family);
  background-color: var(--1ahp-bg-dark);
  color: var(--1ahp-text-on-dark);
}

html { scroll-behavior: smooth; }

/* ============================================================
   Header – Sticky
   ============================================================ */
.ahp-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999 !important;
  background-color: var(--1ahp-bg-dark) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
}

.ahp-header.scrolled {
  background-color: rgba(16,16,20,0.95) !important;
}

/* Body Offset damit Inhalt nicht unter Header verschwindet */
#page-container { padding-top: var(--1ahp-header-h); }

/* Header CTA Button */
.ahp-header .et_pb_button {
  background: #fff !important;
  color: #101014 !important;
  border-radius: 50px !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 22px !important;
  white-space: nowrap;
}
.ahp-header .et_pb_button:hover {
  background: rgba(255,255,255,0.85) !important;
}

/* Nav links in Header */
.ahp-header .et_pb_menu .et_pb_menu__wrap ul li a {
  color: #fff !important;
  font-weight: 500;
  font-size: 15px;
}
.ahp-header .et_pb_menu .et_pb_menu__wrap ul li a:hover {
  color: rgba(255,255,255,0.7) !important;
}

/* ============================================================
   Footer
   ============================================================ */
.ahp-footer {
  background-color: var(--1ahp-bg-dark) !important;
}

/* ============================================================
   Sections – allgemein
   ============================================================ */
.et_pb_section {
  font-family: var(--1ahp-font-family);
}

/* Dunkle Sektionen */
.ahp-dark {
  background-color: var(--1ahp-bg-dark) !important;
}
.ahp-dark-card {
  background-color: var(--1ahp-bg-dark-card) !important;
  border-radius: 16px;
}
.ahp-light {
  background-color: var(--1ahp-bg-light) !important;
}

/* ============================================================
   Buttons
   ============================================================ */
.ahp-btn-primary {
  background: #fff !important;
  color: #101014 !important;
  border-radius: 50px !important;
  border: none !important;
  font-weight: 600 !important;
  padding: 14px 32px !important;
}
.ahp-btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 50px !important;
  font-weight: 500 !important;
  padding: 14px 32px !important;
}

/* ============================================================
   Counter Section
   ============================================================ */
.ahp-counter-num {
  font-size: clamp(40px, 5vw, 64px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1;
}
.ahp-counter-label {
  font-size: 14px !important;
  color: var(--1ahp-text-muted) !important;
  margin-top: 6px !important;
}

/* ============================================================
   Behandlungen Cards
   ============================================================ */
.ahp-card {
  background: var(--1ahp-bg-dark-card);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease;
}
.ahp-card:hover { transform: translateY(-4px); }
.ahp-card .ahp-card__body { padding: 24px; }
.ahp-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--1ahp-text-muted);
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

/* ============================================================
   Marquee / Image Scroll
   ============================================================ */
.ahp-marquee-wrap {
  overflow: hidden;
  width: 100%;
}
.ahp-marquee {
  display: flex;
  gap: 16px;
  animation: ahp-marquee-scroll 30s linear infinite;
  width: max-content;
}
.ahp-marquee img {
  height: 280px;
  width: auto;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
@keyframes ahp-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   FAQ Accordion
   ============================================================ */
.ahp-faq .et_pb_accordion_item {
  background: var(--1ahp-bg-dark-card) !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
  border: none !important;
}
.ahp-faq .et_pb_accordion_item h5 {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}
.ahp-faq .et_pb_accordion_item .et_pb_accordion_item_content {
  color: var(--1ahp-text-muted) !important;
  font-size: 14px !important;
}

/* ============================================================
   Testimonials
   ============================================================ */
.ahp-testimonial {
  background: var(--1ahp-bg-dark-card);
  border-radius: 16px;
  padding: 28px;
}
.ahp-testimonial__text {
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
}
.ahp-testimonial__author {
  color: var(--1ahp-text-muted);
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
}

/* ============================================================
   Kontakt-Formular
   ============================================================ */
.ahp-contact input,
.ahp-contact textarea {
  background: var(--1ahp-bg-dark-card) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-family: var(--1ahp-font-family) !important;
}
.ahp-contact input::placeholder,
.ahp-contact textarea::placeholder { color: var(--1ahp-text-muted) !important; }

/* ============================================================
   Unsere Arbeit – Work Cards
   ============================================================ */
.ahp-work-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.ahp-work-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(16,16,20,0.95));
}
.ahp-work-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--1ahp-text-muted);
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 4px 12px;
  margin-right: 6px;
}
