/* ======================================================
  ASTROPROSP BERLIN – LUXURY PREMIUM CSS STYLESHEET
  =======================================================
  - Modern, sophisticated, and unmistakably luxury-inspired
  - No CSS Grid, columns, or absolute positioning for content
  - Mobile-first responsive, accessible, and elegant
========================================================*/
/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #253148;
  background: #fff;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
a:focus {
  outline: 2px solid #efd77c;
  outline-offset: 2px;
}
ul, ol {
  margin-left: 1.4em;
  margin-bottom: 0.8em;
}
li {
  margin-bottom: 0.5em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', 'Open Sans', serif;
  color: #253148;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
h1 { font-size: 2.25rem; margin-bottom: 18px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; font-weight: 700; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4, h5, h6 { font-size: 1rem; font-weight: 600; }
p {margin-bottom: 1.2em;}
strong { font-weight: bold; color: #253148; }

/* ------------------------------------
  GENERAL LAYOUT
------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

@media (min-width: 900px) {
  .content-wrapper {
    gap: 24px;
  }
}

/* ------------------------------------
  HEADER & NAVIGATION
------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 4px 18px 0 rgba(37,49,72,0.05);
  border-bottom: 1.5px solid #f1f1f1;
  padding: 0;
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 76px;
  width: 100%;
}
header img[alt="AstroProsp Berlin"] {
  height: 38px;
  min-height: 38px;
  width: auto;
  margin-right: 18px;
}
.main-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.main-nav a,
.footer-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #253148;
  padding: 6px 2px;
  border-radius: 4px;
  transition: color 0.18s, background 0.13s;
  position: relative;
}
.main-nav a:hover,
.footer-nav a:hover {
  color: #efd77c;
}
.main-nav a.primary-cta {
  background: #253148;
  color: #efd77c;
  border-radius: 32px;
  padding: 10px 24px;
  font-family: 'Merriweather', serif;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid #efd77c;
  box-shadow: 0 2px 18px 0 rgba(239,215,124, 0.09);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.main-nav a.primary-cta:hover, .main-nav a.primary-cta:focus {
  background: #efd77c;
  color: #253148;
  box-shadow: 0 8px 30px -8px #efd77c;
}

.mobile-menu-toggle {
  display: flex;
  padding: 8px 16px;
  background: #253148;
  color: #efd77c;
  border-radius: 6px;
  font-size: 1.6rem;
  align-items: center;
  justify-content: center;
  border: none;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 130;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #efd77c;
  color: #253148;
}

/* Hide mobile nav on desktop */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(37, 49, 72, 0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 32px 22px;
  z-index: 3000;
  transform: translateX(-110%);
  transition: transform 0.42s cubic-bezier(0.45,0.04,0.28,1.05);
  opacity: 0.985;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: 0 2px 24px -8px #efd77c44, 0 0 0 100vw rgba(37,49,72,0.1) inset;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #efd77c;
  margin-bottom: 32px;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #eab600;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.mobile-nav a {
  color: #efd77c;
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  padding: 10px 2px 10px 0;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  color: #253148;
  background: #efd77c;
}

@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu-toggle { display: none !important; }
  .main-nav { display: flex !important; }
}
@media (max-width: 1023px) {
  .main-nav { display: none !important; }
}

/* ------------------------------------
  TYPOGRAPHY
------------------------------------- */
body, p, li, a, ul, ol {
  font-family: 'Open Sans', Arial, Verdana, sans-serif;
}
h1, h2, h3 {
  font-family: 'Merriweather', 'Open Sans', serif;
}
.brand-slogan {
  font-family: 'Merriweather', serif;
  font-size: 1.17rem;
  font-weight: 400;
  color: #253148;
  text-align: center;
  margin: 28px 0 0 0;
  letter-spacing: 0.01em;
}

/* Luxury Accents */
.accent {
  color: #efd77c !important;
}

/* ------------------------------------
  BUTTONS & CTA
------------------------------------- */
.primary-cta, .cookie-btn, .cta-btn {
  background: #253148;
  color: #efd77c;
  border: 2px solid #efd77c;
  border-radius: 32px;
  padding: 12px 32px;
  font-family: 'Merriweather', serif;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-block;
  margin-top: 12px;
  box-shadow: 0 4px 18px 0 rgba(37,49,72,0.09);
  text-align: center;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.16s;
}
.primary-cta:hover, .primary-cta:focus,
.cookie-btn:hover, .cookie-btn:focus,
.cta-btn:hover, .cta-btn:focus {
  background: #efd77c;
  color: #253148;
  box-shadow: 0 6px 32px -6px #efd77c;
  text-decoration: none;
}

/* ------------------------------------
  FLEXBOX LAYOUTS & GRIDS (NO GRID!)
------------------------------------- */
.feature-grid,
.card-container,
.card-grid,
.content-grid,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 18px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-slider {
  display: flex;
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.partnership-consulting,
.career-consulting {
  margin-bottom: 24px;
}
.event-planning-tips {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .feature-grid,
  .card-container,
  .card-grid,
  .content-grid,
  .testimonial-slider,
  .trust-badges {
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
  }
  .testimonial-card { flex-direction: column !important; }
}
@media (max-width: 768px) {
  .container { padding: 0 10px; }
  .content-wrapper { gap: 12px; }
  .section { padding: 28px 8px; margin-bottom: 32px; }
  .text-image-section { flex-direction: column !important; gap: 18px; }
  .testimonial-slider { gap: 12px; }
  .feature-grid { gap: 14px; }
}

/* ------------------------------------
  CARDS & FEATURE ITEMS
------------------------------------- */
.card,
.feature-item,
.certification,
.usp-icon {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(37,49,72,0.07), 0 0.5px 0 #efd77c;
  border: 1px solid #ece4d0;
  min-width: 190px;
  max-width: 340px;
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.feature-item img, .certification img, .usp-icon img {
  height: 48px;
  width: 48px;
  margin-bottom: 5px;
  filter: drop-shadow(0 1px 0.5px #efd77c33);
}
.card:hover,
.feature-item:hover,
.certification:hover,
.usp-icon:hover {
  box-shadow: 0 8px 32px -8px #efd77c77;
  border-color: #efd77c;
}
.benefits-highlight {
  background: #f6f3e9;
  border-radius: 12px;
  padding: 18px 18px 13px 18px;
  margin-top: 18px;
  margin-bottom: 18px;
  border-left: 4px solid #efd77c;
  box-shadow: 0 1px 6px 0 #efd77c22;
}
.info-box {
  background: #f2f5fa;
  border-radius: 10px;
  padding: 16px 18px;
  border-left: 4px solid #82a2c2;
  box-shadow: 0 1.5px 8px 0 #b6cadc21;
  margin-bottom: 12px;
}

/* ------------------------------------
  TESTIMONIALS
------------------------------------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px 20px 22px;
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #ece4d0;
  box-shadow: 0 4px 24px -8px #efd77c71;
  color: #253148;
  width: 100%;
  max-width: 360px;
  font-size: 1.08rem;
  min-height: 180px;
  margin-bottom: 18px;
}
.testimonial-card p {
  color: #29292c;
  font-size: 1.08rem;
  margin-bottom: 0.7em;
}
.testimonial-card strong {
  font-weight: 700;
  color: #253148;
  font-size: 1rem;
  opacity: 0.92;
}
.testimonial-card .star-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
}
@media (max-width:1023px){
  .testimonial-slider { justify-content: flex-start; }
}

/* ------------------------------------
  FOOTER
------------------------------------- */
footer {
  background: #f8f7f0;
  color: #253148;
  padding: 48px 0 30px 0;
  border-top: 3px solid #efd77c;
  box-shadow: 0 -2px 18px -6px #efd77c38 inset;
}
footer .container {
  flex-direction: column;
  gap: 28px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.footer-legal a {
  color: #7d7e89;
  font-size: 0.97rem;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  margin-bottom: 0.28em;
}
.footer-contact img {
  height: 20px;
  width: 20px;
  filter: grayscale(0.8);
  opacity: 0.76;
}
.brand-slogan {
  color: #253148;
  font-size: 1.13rem;
  margin-top: 20px;
  opacity: 0.98;
}

/* ------------------------------------
  FAQ ACCORDION (KONTAKT)
------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item h3 {
  cursor: pointer;
  background: #f6f3e9;
  padding: 14px 18px;
  margin: 0;
  border-radius: 10px;
  transition: box-shadow 0.16s, background 0.18s;
  font-size: 1.09rem;
  position: relative;
}
.faq-item h3::after {
  content: '\25BC';
  position: absolute;
  right: 18px;
  font-size: 0.98em;
  transition: transform 0.22s;
  color: #efd77c;
}
.faq-item.open h3 {
  background: #efd77c;
  box-shadow: 0 4px 16px -8px #efd77c75;
  color: #253148;
}
.faq-item.open h3::after {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  margin-top: 0;
  padding: 6px 18px 10px 28px;
  color: #446580;
  background: #f8f7f0;
  border-left: 2.5px solid #efd77c;
  font-size: 0.99rem;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 1px 8px 0 #efd77c14 inset;
}
.faq-item.open .faq-answer {
  display: block;
  animation: faqFadeIn .24s;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ------------------------------------
  MISC LAYOUTS & SECTIONS
------------------------------------- */
.compatibility-checker-snippet, .relationship-advice-cards,
.career-prognosis-tips, .lunar-benefits-list, .event-planning-tips {
  margin-bottom: 20px;
}
.use-examples, .next-steps-info, .thank-you-message {
  background: #fffcef;
  border: 1.5px solid #efd77c;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px -4px #efd77c38;
}
.contact-details {
  font-size: 1.04rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* ------------------------------------
  COOKIE BANNER & MODAL
------------------------------------- */
.cookie-consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100vw;
  background: #253148;
  color: #efd77c;
  padding: 22px 10px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  z-index: 4200;
  box-shadow: 0 -2px 32px -8px #efd77c93, 0 2px 16px -9px #0004 inset;
  font-size: 1rem;
  animation: bannerSlideUp 0.42s;
}
@keyframes bannerSlideUp {
  from { transform: translateY(100%); opacity: 0.7; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-btn, .cookie-settings-btn {
  font-size: 1rem;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #efd77c;
  color: #253148;
  padding: 8px 18px;
  border-radius: 22px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid #efd77c;
  margin-right: 0;
  margin-bottom: 0;
  transition: background 0.17s, color 0.17s, border-color 0.17s;
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover {
  background: #f7e488;
  color: #253148;
  border-color: #253148;
}
.cookie-btn.reject-btn {
  background: #fff;
  color: #253148;
  border: 2px solid #efd77c;
}
.cookie-btn.reject-btn:hover {
  background: #efd77c;
  color: #253148;
}
.cookie-settings-btn {
  background: none;
  color: #efd77c;
  border: 2px solid #efd77c;
  margin-left: 0;
}
.cookie-settings-btn:hover {
  background: #efd77c;
  color: #253148;
}

.cookie-modal {
  position: fixed;
  bottom: 50%; left: 50%;
  transform: translate(-50%, 50%) scale(0.92);
  background: #fff;
  color: #253148;
  border-radius: 18px;
  box-shadow: 0 6px 48px -8px #efd77cA5, 0 4px 24px -8px #25314890;
  z-index: 5555;
  min-width: 320px;
  max-width: 95vw;
  width: 410px;
  padding: 32px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: cookieModalIn 0.33s;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: translate(-50%, 100%) scale(1.08); }
  to { opacity: 1; transform: translate(-50%, 50%) scale(1); }
}
.cookie-modal h3 {
  margin-bottom: 8px;
  font-size: 1.23rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: #efd77c;
  margin-right: 8px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px; top: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #253148;
  cursor: pointer;
  z-index: 9999;
}
.cookie-modal-close:hover {
  color: #efd77c;
}
@media (max-width:520px){
  .cookie-modal { width: 96vw; min-width: 0; padding: 19px 6vw 19px 6vw; }
}

/* ------------------------------------
  LUXURY & PREMIUM EFFECTS
------------------------------------- */
.card, .feature-item, .testimonial-card, .certification, .usp-icon {
  border: 1.5px solid #efd77c33;
  transition: box-shadow 0.18s, border-color 0.14s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .certification:hover, .usp-icon:hover {
  box-shadow: 0 6px 32px -8px #efd77c71;
  border-color: #efd77cAA;
}
.section {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px -16px #efd77c38 inset;
}

/* Subtle gold lines for emphasis */
h2, h3 {
  position: relative;
  padding-bottom: 6px;
}
h2::after, h3::after {
  content: '';
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 40px;
  height: 2.5px;
  background: #efd77c;
  border-radius: 2.5px;
}
h3::after { width: 26px; height: 2px; }

/* ------------------------------------
  MEDIA QUERIES FOR RESPONSIVENESS
------------------------------------- */
@media (max-width: 600px) {
  h1 { font-size: 1.43rem; }
  h2 { font-size: 1.13rem; }
  .section { padding: 18px 4px; margin-bottom: 20px; border-radius: 10px; }
  .testimonial-card, .card, .feature-item { padding: 13px 8px 14px 8px; border-radius: 9px; }
  .brand-slogan { font-size: 1.01rem; }
}
/* =============================================
  INTERACTION MICRO-EFFECTS & ANIMATIONS
============================================= */
.card, .feature-item, .button, .primary-cta, .testimonial-card {
  transition: box-shadow 0.19s, border 0.16s, transform 0.16s;
}
.card:hover, .feature-item:hover, .testimonial-card:hover, .primary-cta:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 8px 32px -8px #efd77c;
}

/* ------------------------------------
  FORMS (general elements, if present)
------------------------------------- */
input, select, textarea {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #fff;
  border: 1.5px solid #efd77c;
  border-radius: 7px;
  padding: 9px 12px;
  margin-bottom: 13px;
  font-size: 1rem;
  color: #253148;
  transition: border 0.16s;
}
input:focus, select:focus, textarea:focus {
  border: 2px solid #82a2c2;
  outline: 2px solid #82a2c2;
}

/* ------------------------------------
  MISC UTILITIES
------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mb-2 { margin-bottom: 16px !important; }

.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }

/* For visually hidden elements */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; border: 0;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; margin: -1px;
}

/* ------ END LUXURY PREMIUM CSS ------ */
