.epilstar-page { background: #0b0b0b url('images/594708-l_oreal_paris_photoshoot.jpg') center/cover fixed no-repeat; }
.epilstar-page .section { background: rgba(255,255,255,0.10); }
.epilstar-page h1, .epilstar-page h2, .epilstar-page h3 { color: #fff; text-align: center; }
.epilstar-page p, .epilstar-page li { color: #ededed; }
.epilstar-page .gallery-grid { justify-items: center; }
.epilstar-page .btn-group { display: grid; justify-content: center; gap: 0.5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (max-width: 1000px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-card { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); background: rgba(0,0,0,0.4); padding: 0; cursor: zoom-in; }
.gallery-card[data-type="video"] { cursor: pointer; }
.gallery-card img, .gallery-card video { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.gallery-card:hover { border-color: var(--accent); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
.video-badge { position: absolute; right: 8px; bottom: 6px; background: rgba(0,0,0,0.6); color: #fff; border: 1px solid rgba(255,255,255,0.25); padding: 2px 6px; border-radius: 999px; font-size: 0.8rem; }

/* Center EpilStar galleries on its standalone page */
.epilstar-page .gallery-grid { justify-items: center; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.epilstar-page .gallery-grid .gallery-card { width: 100%; }
/* Reset & base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #0d0d0d;
  line-height: 1.7;
  font-size: 18px;
  background: #000;
}

/* Background overlay to reduce image visibility */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 20% 10%, rgba(0,0,0,0.45), rgba(0,0,0,0.7)), rgba(0,0,0,0.45);
  pointer-events: none;
  z-index: -1;
}

/* Dedicated background wrapper to improve mobile rendering */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.bg-video, .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg-video { object-position: center; filter: brightness(0.9) saturate(1.05); pointer-events: none; }
.bg-img { object-position: center top; transform: translateZ(0); opacity: 1; transition: opacity .4s ease; }

/* Helpers */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  transition: background .2s ease, transform .2s ease;
  text-align: center;
}
.btn:hover { background: rgba(255,255,255,0.22); transform: translateY(-1px); }
.btn-primary { background: #e91e63; border-color: #e91e63; }
.btn-primary:hover { background: #d81b60; }
/* New accent */
:root { --accent: #e91e63; --accent-2: #26c6da; --link: #64e1ee; --link-hover: #ffd54f; }
.site-nav a.active { border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.card { border-color: rgba(255,255,255,0.14); }
.card h3 { color: #fff; }
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.35); transform: translateY(-2px); transition: .2s ease; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.45);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; }
.logo { color: #fff; text-decoration: none; font-weight: 800; letter-spacing: 0.5px; display: inline-grid; grid-auto-flow: column; align-items: center; gap: 0.5rem; }
.logo-image { width: 48px; height: 48px; object-fit: contain; display: block; }
.logo-text-image { height: 22px; width: auto; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }
@media (max-width: 560px) {
  .logo-image { width: 42px; height: 42px; }
  .logo-text-image { height: 20px; }
}
.site-nav a { color: #fff; text-decoration: none; margin-left: 1rem; opacity: 0.9; font-size: 0.975rem; }
.site-nav a:hover, .site-nav a.active { opacity: 1; }
.site-nav a.active { border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
@media (max-width: 720px) {
  .site-nav { display: flex; gap: 0.25rem; flex-wrap: wrap; justify-content: flex-end; }
}

/* Hero */
.hero { min-height: 78vh; display: grid; align-items: center; }
.hero .container { padding: 14vh 0 4.5vh; }
.hero .btn.btn-primary { box-shadow: 0 0 0 0 rgba(233,30,99,0.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(233,30,99,0.45);} 70% { box-shadow: 0 0 0 16px rgba(233,30,99,0);} 100% { box-shadow: 0 0 0 0 rgba(233,30,99,0);} }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw + 1rem, 3.6rem); line-height: 1.12; margin: 0 0 0.75rem; }
.hero p { color: #f1f1f1; max-width: 60ch; margin: 0 0 1.25rem; font-size: 1.05rem; }

/* Hero glow effect */
.hero h1 {
  background-image: linear-gradient(90deg, #ffffff, var(--accent-2), #ffffff);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 10px rgba(38,198,218,0.25), 0 0 18px rgba(233,30,99,0.12);
  animation: textGradient 6s ease-in-out infinite, glowPulse 3.5s ease-in-out infinite;
}
.hero h1::after {
  content: "";
  display: block;
  height: 3px;
  width: 64px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  background-size: 200% 100%;
  animation: underlineShift 3s linear infinite;
}
@keyframes textGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes glowPulse { 0%,100% { text-shadow: 0 0 8px rgba(38,198,218,0.25), 0 0 20px rgba(233,30,99,0.12);} 50% { text-shadow: 0 0 14px rgba(38,198,218,0.45), 0 0 28px rgba(233,30,99,0.22);} }
@keyframes underlineShift { 0% { background-position: 0 0; } 100% { background-position: 200% 0; } }

/* Sections */
.section { padding: 72px 0; background: rgba(255,255,255,0.06); scroll-margin-top: 72px; }
.section.alt { background: rgba(255,255,255,0.12); }
.section h2 { color: #fff; margin: 0 0 0.5rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.section p, .section li { color: #eaeaea; font-size: 1.02rem; }
.features { display: grid; gap: 0.35rem; padding-left: 1.25rem; }
.features-with-icons { list-style: none; padding-left: 0; }
.features-with-icons li { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 0.6rem; }
.feature-icon { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
.pointer-sections { display: grid; gap: 0.75rem; margin-top: 1rem; }
.pointer-section h3 { color: #fff; margin: 0.25rem 0; font-size: 1.15rem; }
.pointer-section p { margin: 0; }
/* old gallery removed */

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1rem; }
.card { background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 1rem; color: #eaeaea; transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease; }
.card:hover { border-color: var(--accent); box-shadow: 0 10px 24px rgba(0,0,0,0.35); transform: translateY(-2px); }
.card h3 { margin-top: 0; color: #fff; }
.disclaimer { font-size: 0.9rem; opacity: 0.9; margin-top: 0.75rem; }
.section a:not(.btn):not(.site-nav a) { color: var(--link); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.section a:not(.btn):not(.site-nav a):hover { color: var(--link-hover); text-decoration-color: currentColor; }
.card-horizontal { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0.6rem; }
.card-media img { width: 88px; height: 88px; object-fit: contain; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
.card-body p { margin: 0; }

/* EpilStar cards: slightly larger media on desktop */
.epilstar-cards .card-media img { width: clamp(120px, 9vw, 168px); height: clamp(120px, 9vw, 168px); }
@media (max-width: 700px) { .epilstar-cards .card-media img { width: 112px; height: 112px; } }

/* Services grid (AIDA-inspired) */
.services .container { padding-top: 0; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
@media (max-width: 1000px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 0.55rem; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 1rem; color: #fff; text-align: center; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.service-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.35); border-color: var(--accent); }
.service-card:focus { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.service-card img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
.service-content h3 { margin: 0; font-size: 1.06rem; }
.service-content p { margin: 0; color: #eaeaea; font-size: 0.96rem; opacity: 0.95; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: min(640px, 100%); justify-content: center; gap: 1rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: min(640px, 100%); } }
.contact-form { display: grid; gap: 0.75rem; }
.contact-form label { display: grid; gap: 0.35rem; color: #fff; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color: #fff;
}

.contact-card { background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 1rem; color: #eaeaea; }

/* Footer */
.site-footer { text-align: center; padding: 28px 0; background: rgba(0,0,0,0.6); color: #cfcfcf; border-top: 1px solid rgba(255,255,255,0.08); }

/* Kontakt heading with logo */
#kontakt h2 { text-align: center; display: inline-grid; grid-auto-flow: column; align-items: center; gap: 0.5rem; justify-content: center; width: 100%; }
.heading-with-logo { display: inline-grid; grid-auto-flow: column; align-items: center; gap: 0.5rem; justify-content: center; width: 100%; }
.contact-grid { justify-items: center; }
.contact-card { max-width: 640px; width: 100%; }
.heading-with-logo .heading-logo { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: grid; place-items: center; z-index: 2000; padding: 2rem; align-items: start; overflow-y: auto; }
.lightbox[hidden] { display: none; }
.lightbox-image { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); }
.lightbox-video { max-width: 92vw; max-height: 88vh; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); background: #000; }

/* EpilStar modal container in lightbox */
.lightbox .epilstar-modal { width: min(1000px, 94vw); margin: 6vh auto; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 1rem; max-height: 90vh; overflow: auto; }
.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: rgba(0,0,0,0.35); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; }
.price-table th, .price-table td { padding: 0.6rem 0.75rem; color: #eaeaea; }
.price-table thead th { text-align: left; color: #fff; font-weight: 600; background: rgba(255,255,255,0.08); }
.price-table tbody tr + tr { border-top: 1px solid rgba(255,255,255,0.08); }
.price-table-wrap h4 { color: #fff; margin: 0.6rem 0 0.3rem; }

/* Checklist */
.checklist { list-style: none; padding-left: 0; display: grid; gap: 0.35rem; margin-top: 0.5rem; }
.checklist li { position: relative; padding-left: 1.6rem; color: #eaeaea; }
.checklist li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--accent-2); font-weight: 700; }

/* EpilStar pointers two columns */
.epilstar-pointers.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
@media (max-width: 700px) { .epilstar-pointers.two-col { grid-template-columns: 1fr; } }

/* Accordion */
.accordion { display: grid; gap: 0.5rem; }
.accordion-item { border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; overflow: hidden; background: rgba(0,0,0,0.35); }
.accordion-trigger { width: 100%; text-align: left; padding: 0.9rem 1rem; background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); color: #fff; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; font-weight: 600; }
.accordion-trigger::after { content: "▾"; transition: transform .2s ease; color: var(--accent-2); }
.accordion-trigger[aria-expanded="true"]::after { transform: rotate(-180deg); }
.accordion-trigger:hover { background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)); }
.accordion-panel { padding: 0.75rem 1rem 1rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* Map */
.map { margin: 1rem auto 0; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); width: min(900px, 92%); }
.map iframe { width: 100%; height: 360px; display: block; }

/* Responsive refinements */
@media (max-width: 600px) {
  .nav-container { padding: 0.5rem 0; }
  .site-nav a { margin-left: 0.75rem; }
  .hero .container { padding: 12vh 0 8vh; }
  .section { padding: 56px 0; scroll-margin-top: 64px; }
  body { font-size: 17px; }
}

/* Mobile polish */
@media (max-width: 480px) {
  .site-nav a { padding: 0.35rem 0; font-size: 0.95rem; }
  .hero h1 { font-size: clamp(1.9rem, 6.5vw + 0.8rem, 2.4rem); }
  .hero p { font-size: 1rem; }
  .services-grid { gap: 0.75rem; }
  .service-card img { width: 64px; height: 64px; }
  .cards { grid-template-columns: 1fr; }
  .card-media img { width: 72px; height: 72px; }
  .accordion-trigger { padding: 0.8rem 0.9rem; }
  .accordion-panel { padding: 0.6rem 0.9rem 0.9rem; }
  .price-table th, .price-table td { padding: 0.5rem 0.6rem; font-size: 0.98rem; }
  .map iframe { height: 300px; }
  .contact-card { padding: 0.9rem; }
}

/* Fix background rendering on mobile (iOS/Android) */
@media (max-width: 768px) {
  .bg-img { object-position: center; }
}
@supports (-webkit-touch-callout: none) {
  .bg-img { transform: translateZ(0); }
}

/* Respect reduced motion: pause background video */
@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
}

