/* =======================================================================
   Encondisor Astroberatung — Vintage Retro Responsive CSS
   ======================================================================= */

/* ========== CSS RESET & NORMALIZE ========== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, menu, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background-color: #E7D5B7;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #28314A;
  background-color: #E7D5B7;
  line-height: 1.67;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.03em;
  -webkit-tap-highlight-color: transparent;
}
input, button, textarea, select {
  font: inherit;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
:focus {
  outline: 2px dashed #B78647;
  outline-offset: 2px;
}

/* ========== THEME, COLORS, FONTS ========== */
:root {
  --primary: #28314A;
  --secondary: #E7D5B7;
  --accent: #639CB3;
  --brand-blue-dark: #28314A;
  --brand-gold: #B78647;
  --brand-sand: #E7D5B7;
  --brand-mint: #C9DBD4;
  --brand-red-retro: #C16C5A;
  --brand-blue-retro: #447996;
  --retro-bg-light: #F8F4EF;
  --retro-brown: #7B6438;
  --card-bg: #FCF8F3;
  --card-border: #EBDFCB;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Black', serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #28314A;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; line-height: 1.1; }
h2 { font-size: 2rem; margin-bottom: 20px; line-height: 1.13; }
h3 { font-size: 1.375rem; margin-bottom: 14px; line-height: 1.2; }
h4 { font-size: 1.125rem; margin-bottom: 12px; line-height: 1.2; }

p, li, ul, ol {
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, sans-serif;
}
strong, b {
  font-weight: 700;
}
.subheadline {
  font-size: 1.25rem;
  color: var(--brand-blue-retro);
  margin-bottom: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* VINTAGE RETRO DECORATIVE APPEARANCE */
body {
  background-color: var(--retro-bg-light);
  background-image: repeating-linear-gradient(135deg, #E7D5B7 0 2px, transparent 2px 40px);
}

/* ========== CONTAINER & LAYOUT SYSTEMS ========== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--card-bg);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(120, 98, 66, 0.09);
  border: 1px solid var(--card-border);
}

/* ========== FLEXBOX PATTERNS ========== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 2px 10px rgba(40,49,74,0.06);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 250px;
  flex: 1 1 320px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe6;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(40,49,74,0.07);
  border: 2px solid var(--brand-gold);
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 420px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #FDF6E3;
  border: 1.5px solid #EBDFCB;
  border-radius: 14px;
  padding: 28px 22px 24px 22px;
  box-shadow: 0 3px 14px rgba(120,98,66,0.07);
  flex: 1 1 257px;
  min-width: 210px;
  margin-bottom: 20px;
}

/* CARD/GRID VARIATIONS */
.feature-grid, .service-list, .business-forecast-services {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.session-types-grid, .success-cases-list {
  margin-top: 30px;
  padding: 18px 10px 15px 22px;
  background: #F8F4EF;
  border-left: 7px solid var(--brand-gold);
  border-radius: 0 16px 16px 0;
}

/* TESTIMONIALS SLIDER FLEX CONTAINER */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: flex-start;
  align-items: stretch;
  margin-top: 26px;
  margin-bottom: 12px;
}

/* ZODIAC COMPATIBILITY TABLE VARIATION */
.zodiac-compatibility-table ul,
.favorable-days-highlight ul,
.results-summary-box ul,
.values ul {
  margin-left: 20px;
  margin-block: 15px 16px;
  padding-left: 0;
}
.zodiac-compatibility-table li, .favorable-days-highlight li, .results-summary-box li, .values li {
  margin-bottom: 10px;
  list-style-type: square;
  font-size: 1.03rem;
}

/* FLEX LAYOUT FOR FOOTER */
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding: 38px 0 18px 0;
  border-top: 2px dashed #C1B08B;
}
.footer-logo {
  display: block;
  margin-bottom: 12px;
}
.footer-contact {
  font-size: 0.98rem;
  color: #6A5A38;
  margin-top: 12px;
}
.footer-contact img { width: 20px; height: 20px; vertical-align: middle; margin-right: 4px; }
.footer-social {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-bottom {
  margin-top: 12px;
  padding: 9px 0 3px 0;
  border-top: 1.5px dotted #CEBC8A;
  text-align: center;
  font-size: 0.95rem;
  color: #786242;
}

/* ========== HEADER & NAVIGATION ========== */
header {
  background: var(--primary);
  color: #fff;
  padding: 0;
  box-shadow: 0 7px 30px rgba(40,49,74,0.10);
}
.logo img {
  height: 50px;
  width: auto;
  display: block;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--secondary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06rem;
  padding: 8px 14px;
  border-radius: 7px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  border: none;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: var(--accent);
  color: #fff;
}
.main-nav .cta-primary {
  background: var(--brand-gold);
  color: #fff;
  padding: 8px 22px;
  font-size: 1.04rem;
  border-radius: 20px;
  margin-left: 13px;
  transition: background 0.18s, color 0.18s, box-shadow 0.14s;
  box-shadow: 0 2px 10px 0 rgba(183,134,71,0.09);
  font-weight: bold;
}
.main-nav .cta-primary:hover,
.main-nav .cta-primary:focus {
  background: #AA783D;
  color: #fffbe6;
  box-shadow: 0 6px 16px 0 rgba(183,134,71,0.12);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 77px;
  gap: 18px;
}

/* MOBILE NAVIGATION (BURGER MENU) */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 2.15rem;
  cursor: pointer;
  display: none;
  margin-left: 18px;
  z-index: 22;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--brand-blue-dark);
  color: #fffbe6;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(.55,.08,.39,.89);
  box-shadow: 0 0 99px rgba(40,49,74,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #E7D5B7;
  align-self: flex-end;
  margin: 24px 26px 10px 0;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.13s;
}
.mobile-menu-close:hover { color: #C16C5A; }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 32px auto auto auto;
  width: 85%;
  align-items: center;
  padding-bottom: 40px;
}
.mobile-nav a {
  text-decoration: none;
  color: #fffbe6;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.22rem;
  padding: 14px 0;
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 8px;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--brand-gold);
  color: #28314A;
}
.mobile-nav .cta-primary {
  background: var(--brand-sand);
  color: #AA783D;
  font-size: 1.18rem;
  border-radius: 20px;
  font-weight: bold;
  margin: 12px 0;
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(94deg, #E7D5B7 40%, #F8F4EF 95%);
  box-shadow: 0 3px 22px rgba(183,134,71,0.08);
  border-bottom: 2.5px dotted #CCC2A8;
  padding-top: 38px;
  padding-bottom: 40px;
  margin-bottom: 60px;
}
.hero h1 {
  color: var(--brand-blue-dark);
  text-shadow: 0px 2px 0px #dbcca9;
}
.cta-primary {
  display: inline-block;
  background: var(--brand-gold);
  color: #fff;
  padding: 11px 38px;
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.16rem;
  font-weight: 800;
  text-decoration: none;
  margin-top: 10px;
  box-shadow: 0 4px 18px 0 rgba(183,134,71,0.12);
  border: none;
  transition: background 0.18s, color 0.20s, box-shadow 0.16s, transform 0.18s;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.cta-primary:hover, .cta-primary:focus {
  background: #AA783D;
  color: #fffbe6;
  box-shadow: 0 8px 29px 0 rgba(183,134,71,0.16);
  transform: translateY(-2px) scale(1.05);
}

/* ========== BUTTONS ========== */
button, .button, .cta-section .cta-primary {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  padding: 10px 28px;
  font-weight: 700;
  font-size: 1.06rem;
  transition: background 0.17s, color 0.17s, box-shadow 0.15s;
  margin: 8px 0 0 0;
  box-shadow: 0 3px 13px rgba(68,121,150,0.09);
}
button:hover, .button:hover, .cta-section .cta-primary:hover {
  background: var(--brand-red-retro);
  color: #fffbe6;
  box-shadow: 0 5px 22px rgba(68,121,150,0.11);
}


/* ========== GENERIC SECTIONS ========== */
.features, .calendar, .services, .testimonials, .values, .compatibility, .cookie-policy, .about, .info, .call-to-action, .contact, .thank-you, .privacy-policy, .terms-of-use, .gdpr-info {
  margin-bottom: 60px;
  padding: 40px 0 35px 0;
}
.features > .container, .services > .container, .about > .container {
  padding-top: 0;
}

section h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 2px dotted #CEBC8A;
  margin-bottom: 20px;
  padding-bottom: 8px;
  color: var(--brand-brown, #7B6438);
  text-shadow: 0 1px 0 #f5efe2;
}
section h3 {
  color: var(--brand-blue-retro);
}

.call-to-action {
  background: repeating-linear-gradient(135deg,#E7D5B7 0 2px,#FCF8F3 2px 40px);
  border: 2px solid var(--card-border);
  border-radius: 17px;
  box-shadow: 0 6px 28px 0 rgba(183,134,71,0.13);
  margin: 62px auto 62px auto;
  padding: 50px 0 35px 0;
  text-align: center;
}

/* ========== CARDS ========== */
.service-item {
  background: #FCF8F3;
  border: 1.5px solid #E7D5B7;
  border-radius: 16px;
  box-shadow: 0 2px 11px 0 rgba(68,121,150,0.09);
  padding: 24px 17px 18px 17px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 210px; max-width: 380px;
  align-items: flex-start;
  transition: box-shadow 0.23s, transform 0.18s;
}
.service-item:hover, .feature-item:hover {
  box-shadow: 0 10px 32px 0 rgba(68,121,150,0.16);
  transform: translateY(-3px) scale(1.03);
}

/* TESTIMONIAL CARD CONTRAST */
.testimonial-card p {
  color: #442808;
  font-size: 1.12rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #B78647;
  font-family: 'Montserrat', Arial, sans-serif;
}


/* ========== FAQ/PROCESS LIST ========== */
.faq-list {
  margin-top: 22px;
  margin-bottom: 18px;
  margin-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-list li {
  background: #F8F4EF;
  border-radius: 11px;
  padding: 12px 14px;
  border: 1.5px solid #E7D5B7;
  margin-bottom: 4px;
  box-shadow: 0 1px 12px 0 rgba(183,134,71,0.04);
  font-size: 1rem;
}
ol {
  margin-left: 20px;
  margin-bottom: 13px;
  padding-left: 0;
}
ol li {
  margin-bottom: 13px;
  line-height: 1.5;
}


/* ========== CONTACT PAGE STYLES ========== */
.contact-info-block {
  margin-bottom: 22px;
}
.contact-info-block p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.hours-list {
  margin-bottom: 22px;
}
.map-embed { margin-bottom: 18px; }
.cta-section {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

/* ========== RETRO VINTAGE DETAILS ========== */
hr {
  border: none;
  border-top: 1.5px dashed #D8BC8C;
  margin: 34px 0;
}
.text-section, .explanation-section {
  margin-bottom: 24px;
  padding-left: 9px;
  border-left: 3px solid #C16C5A;
  background: #FEF8F3;
  border-radius: 6px;
}

/* SUCCESS MESSAGE */
.thank-you {
  text-align: center;
  background: linear-gradient(109deg, #FDF6E3 70%, #E7D5B7 100%);
  padding: 55px 0 65px 0;
  border-radius: 18px;
  box-shadow: 0 2px 19px 0 rgba(183,134,71,0.09);
}


/* ========== RESPONSIVENESS ========== */
@media (max-width: 1024px) {
  .main-nav { gap: 9px; }
  .container { max-width: 98vw; }
  .content-wrapper { max-width: 98vw; }
}
@media (max-width: 900px) {
  .footer-main { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-nav { flex-direction: row; gap: 14px; }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  header .container { gap: 8px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .container { padding: 0 8px; }
  .card, .testimonial-card, .feature-item, .service-item { min-width: 95vw; max-width: 95vw; padding-left: 12px; padding-right: 12px; }
  .feature-grid, .service-list, .testimonial-slider, .business-forecast-services, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .section { padding: 24px 6px; }
  .hero { padding: 22px 0 26px 0; }
  .footer-main { flex-direction: column; gap: 16px; }
  .text-image-section { flex-direction: column; gap: 16px; align-items: stretch; }
  .footer-nav { flex-direction: column; gap: 10px; margin-top: 10px; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: 1.4rem; margin-bottom: 14px; }
  .cta-primary, button, .button { font-size: 1.02rem; padding: 9px 16px; }
}
/* Ensure no elements overlap */
.card, .feature-item, .service-item, .testimonial-card {
  margin-bottom: 20px;
}

/* ========== INTERACTIONS & MICRO-ANIMATIONS ========== */
.cta-primary, button, .button {
  transition: background 0.15s, color 0.17s, box-shadow 0.17s, transform 0.13s;
}
.section, .feature-item, .service-item, .testimonial-card, .card {
  transition: box-shadow 0.19s, border 0.19s, background 0.23s;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #FCF8F3;
  color: #442808;
  border-top: 2px solid var(--brand-gold);
  z-index: 99999;
  box-shadow: 0 -3px 25px rgba(183,134,71,0.13);
  padding: 19px 14px 19px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  align-items: center;
  justify-content: center;
  font-size: 1.04rem;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieBannerAppear 0.6s cubic-bezier(.82,-0.01,.44,1.09);
}
@keyframes cookieBannerAppear {
  0% { opacity: 0; transform: translateY(100%); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-btn {
  margin-left: 8px;
  background: var(--brand-gold);
  color: #fff;
  padding: 7px 19px;
  border-radius: 18px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 1px 8px rgba(183,134,71,0.08);
  transition: background 0.17s, color 0.17s;
}
.cookie-banner .cookie-btn.settings {
  background: var(--accent);
}
.cookie-banner .cookie-btn.reject {
  background: #C16C5A; color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  filter: brightness(1.08) contrast(1.08);
  background: #AA783D;
}
.cookie-banner .cookie-btn.settings:hover { background: #447996; }
.cookie-banner .cookie-btn.reject:hover { background: #7B6438; }

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  z-index: 100001;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(40,49,74,0.44);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal .cookie-modal-content {
  background: #fffbe6;
  padding: 38px 20px 24px 20px;
  border-radius: 17px;
  box-shadow: 0 12px 60px rgba(183,134,71,0.16);
  max-width: 98vw;
  min-width: 336px;
  font-family: 'Roboto', Arial, sans-serif;
  color: #28314A;
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
}
.cookie-modal .cookie-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 11px;
  right: 15px;
  color: var(--brand-red-retro);
  cursor: pointer;
}
.cookie-modal .category-list {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.06rem;
  padding: 7px 0;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal .category label {
  font-weight: 500;
  color: #B78647;
}
.cookie-modal .cookie-btn-row {
  margin-top: 19px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0; height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 24px;
}
.switch input:checked + .slider {
  background-color: var(--brand-blue-retro);
}
.switch .slider:before {
  content: '';
  position: absolute;
  left: 3px; bottom: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
}
.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* Essential cookies switch disabled */
.category.essential .switch {
  pointer-events: none;
  opacity: 0.65;
}

/* ========== UTILITY CLASSES ========== */
.mb-40 { margin-bottom: 40px; }
.text-center { text-align: center !important; }

/* ========== PRINT (retro pattern off) ========== */
@media print {
  body { background: #fff !important; }
}

/* ========== Hide/show details based on screen ========== */
@media (max-width: 639px) {
  .cookie-modal .cookie-modal-content { min-width: 90vw; }
}
