/* ========================================================
   AstroWeisheit Dortmund — Elegant Classic Style CSS
   Author: Senior CSS Developer & UI Designer
   Brand: Timeless, Elegant, Mystically Inspired
   ======================================================== */

/* === 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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 100%;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  background: #F8F7F4;
  color: #232A30;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
img, picture, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #6F5893;
  text-decoration: none;
  transition: color 0.22s cubic-bezier(.19,1,.22,1);
}
a:hover, a:focus {
  color: #232A30;
  text-decoration: underline;
}
ul, ol {
  margin-left: 1.5em;
}

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Source+Sans+Pro:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: #232A30;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1.14;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
  line-height: 1.18;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  line-height: 1.2;
}
h4, h5, h6 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
p, li, ul, ol {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #232A30;
  margin-bottom: 12px;
}
small {
  font-size: 0.92rem;
  color: #6F5893;
}

.subheadline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  color: #6F5893;
  margin-bottom: 20px;
  font-weight: 400;
}

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: 1180px;
  padding: 0 20px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
}

/* === HEADER/NAVIGATION === */
header {
  background: #FFF;
  border-bottom: 1px solid #E6E1D9;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 1px 8px rgba(111, 88, 147, 0.04);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 30px;
}
header a img {
  height: 46px;
  margin-right: 12px;
  vertical-align: middle;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  font-size: 1.04rem;
}
.main-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: #232A30;
  font-weight: 500;
  transition: background 0.19s, color 0.17s;
}
.main-nav a:not(.btn-primary):hover,
.main-nav a:not(.btn-primary):focus {
  background: #F5EFE4;
  color: #6F5893;
}

.btn-primary {
  font-family: 'Cormorant Garamond', serif;
  background: #6F5893;
  color: #fff !important;
  padding: 10px 30px;
  border-radius: 24px;
  font-size: 1.15rem;
  font-weight: 600;
  box-shadow: 0 2px 16px 0 rgba(111,88,147,0.08);
  border: none;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.23s, box-shadow 0.19s;
  outline: none;
  display: inline-block;
  margin-left: 8px;
}
.btn-primary:hover, .btn-primary:focus {
  background: #563D7C;
  box-shadow: 0 4px 24px 0 rgba(111, 88, 147, 0.19);
  color: #ffe9b7 !important;
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #6F5893;
  cursor: pointer;
  padding: 4px 10px 3px 10px;
  border-radius: 4px;
  transition: background 0.15s, color 0.17s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F2C777;
  color: #232A30;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(247,245,242, 0.98);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.77,0,.18,1);
  padding: 0;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #6F5893;
  font-size: 2.1rem;
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 104;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 5px;
  transition: background 0.13s, color 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #E6E1D9;
  color: #232A30;
}
.mobile-nav {
  margin-top: 76px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 32px;
  align-items: flex-start;
}
.mobile-nav a {
  padding: 14px 0;
  font-size: 1.16rem;
  color: #232A30;
  border-bottom: 1px solid #f0edea;
  width: 90%;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: #6F5893;
  background: #F8F7F4;
}

/* === HERO SECTIONS === */
.hero {
  width: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 20px 0 rgba(111,88,147, 0.03);
  margin-bottom: 0;
  min-height: 280px;
}
.hero .container {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding-top: 28px;
  padding-bottom: 32px;
}
.hero .content-wrapper {
  max-width: 710px;
  gap: 10px;
}

/* === FLEX LAYOUTS === */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(36,32,48, 0.07);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  transition: box-shadow 0.24s, transform 0.19s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 30px 0 rgba(111,88,147,0.18);
  transform: translateY(-2px) scale(1.012);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #F8F7F4;
  border-radius: 12px;
  box-shadow: 0 4px 22px 0 rgba(113, 106, 125, 0.08);
  margin-bottom: 20px;
  min-width: 245px;
  max-width: 428px;
  border: 1px solid #ede3ce;
  position: relative;
  flex-direction: column;
}
.testimonial-card p {
  color: #232A30;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.5;
}
.testimonial-user {
  font-size: 1.02rem;
  font-style: italic;
  color: #6F5893;
  font-family: 'Cormorant Garamond', serif;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 18px 20px 18px 16px;
  box-shadow: 0 1px 12px rgba(111,88,147, 0.06);
  min-width: 210px;
  flex: 1 1 210px;
}
.feature-item img {
  height: 36px;
  width: 36px;
}
.feature-item h3 {
  margin-bottom: 5px;
  color: #6F5893;
}
.feature-item p {
  font-size: 1rem;
  color: #232A30;
}
.service-item, .service-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px 16px 18px 16px;
  box-shadow: 0 1px 9px rgba(111,88,147,0.06);
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  border: 1px solid #eee5d4;
  transition: box-shadow 0.18s, border 0.18s;
}
.service-item:hover,
.service-card:hover {
  box-shadow: 0 10px 30px rgba(111,88,147,0.11);
  border-color: #F2C777;
  z-index: 1;
}
.service-item img, .service-card img {
  height: 36px;
  width: 36px;
}
.service-item h3, .service-card h3 {
  color: #232A30;
}
.service-price {
  display: inline-block;
  background: #F2C777;
  color: #232A30;
  border-radius: 6px;
  padding: 4px 14px;
  font-size: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  margin-top: 6px;
}
.cta-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 0;
}
.cta-center .btn-primary {
  margin: 0 auto;
}

.result-preview, .calendar-result-display {
  background: #F8F7F4;
  border-left: 4px solid #F2C777;
  border-radius: 8px;
  padding: 18px 22px;
  margin: 10px 0 0 0;
  font-size: 1rem;
}

/* === FOOTER === */
footer {
  background: #232A30;
  color: #FFF;
  padding: 44px 0 28px 0;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #C5B8DD;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  margin-bottom: 4px;
  transition: color 0.18s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #F2C777;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 1rem;
  color: #E1D6C3;
}
.footer-contact img {
  height: 18px;
  width: 18px;
  margin-right: 6px;
  vertical-align: bottom;
  margin-bottom: 2px;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.footer-social a {
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .14s, box-shadow .18s;
}
.footer-social a:hover, .footer-social a:focus {
  background: #F2C777;
  box-shadow: 0 2px 10px 0 rgba(242,199,119,0.29);
}
.footer-social img {
  width: 18px;
  height: 18px;
}

/* === LEGAL & CONFIRMATION SECTIONS === */
.legal, .confirmation {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 20px 0 rgba(122,118,139,0.07);
  margin: 36px 0;
  padding: 36px 26px;
}
.legal h1, .confirmation h1 {
  margin-bottom: 16px;
}

/* === INTERACTIVE TOOL SECTION === */
.interactive-tool {
  margin-top: 18px;
  background: #fffaf5;
  border-radius: 18px;
  box-shadow: 0 2px 13px 0 rgba(242,199,119,0.04);
  padding: 32px 26px;
  margin-bottom: 44px;
}

/* === UTILITY CLASSES === */
.mt-xs { margin-top: 8px; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mb-xs { margin-bottom: 8px; }
.mb-s { margin-bottom: 16px; }
.mb-m { margin-bottom: 32px; }

.hide { display: none !important; }

/* === COOKIE CONSENT === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  z-index: 20000;
  background: #292F34;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 18px 18px 18px;
  box-shadow: 0 -2px 30px rgba(44,34,67,.13);
  font-size: 1.01rem;
  gap: 30px;
  opacity: 1;
  transition: opacity .28s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #fff;
  margin-right: 28px;
  max-width: 420px;
}
.cookie-banner .cookie-btn {
  font-family: 'Cormorant Garamond', serif;
  border-radius: 22px;
  display: inline-block;
  border: none;
  margin: 0 3px;
  padding: 7px 22px;
  min-width: 110px;
  font-size: 1.07rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s, color .17s, box-shadow .13s;
  box-shadow: 0 1px 8px 0 rgba(36,32,48,0.09);
}
.cookie-banner .accept {
  background: #F2C777;
  color: #232A30;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #ffe9b7;
  color: #232A30;
}
.cookie-banner .reject {
  background: #eee5d4;
  color: #232A30;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #f8d149;
  color: #232A30;
}
.cookie-banner .settings {
  background: transparent;
  color: #F2C777;
  border: 1px solid #F2C777;
  padding: 7px 20px;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F2C777;
  color: #232A30;
}

/* --- COOKIE MODAL --- */
.cookie-modal-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(44,32,67, 0.53);
  z-index: 20001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .22s;
}
.cookie-modal-bg.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  padding: 38px 32px 28px 32px;
  border-radius: 18px;
  max-width: 420px;
  box-shadow: 0 8px 40px rgba(111,88,147,0.16);
  max-height: 94vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}
.cookie-modal h2 {
  color: #6F5893;
  margin-bottom: 12px;
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 14px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #f2e2c3;
}
.cookie-category label {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #232A30;
  margin-right: 8px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #6F5893;
  width: 17px;
  height: 17px;
}
.cookie-modal .cookie-info {
  font-size: 0.99rem;
  color: #685985;
  margin-bottom: 12px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}
.cookie-modal .modal-actions .cookie-btn {
  min-width: 90px;
  margin: 0 3px;
}
.cookie-modal .cookie-close {
  position: absolute;
  right: 16px; top: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #6F5893;
  line-height: 1;
  cursor: pointer;
  padding: 4px 7px;
  border-radius: 3px;
  transition: background 0.13s;
}
.cookie-modal .cookie-close:hover,.cookie-modal .cookie-close:focus {
  background: #e5e3de;
}

/* === LISTS === */
ul, ol {
  margin-bottom: 12px;
  padding-left: 22px;
}
ul li, ol li {
  margin-bottom: 6px;
}
ul li::marker, ol li::marker {
  color: #6F5893;
}

/* === TABLES (if present) === */
table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
}
th, td {
  text-align: left;
  border-bottom: 1px solid #f2e2c3;
  padding: 8px 8px 6px 4px;
}
th {
  color: #6F5893;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

/* === FORMS === */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  border: 1px solid #E6E1D9;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 1rem;
  width: 100%;
  background: #fff;
  margin-bottom: 16px;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: #6F5893;
  outline: none;
}
label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  margin-bottom: 6px;
  color: #6F5893;
  display: block;
}
button, input[type="submit"], .btn-primary {
  cursor: pointer;
  font-size: 1.08rem;
}

/* === Animations & Transitions === */
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu,
  .mobile-menu.open,
  .mobile-menu-close,
  .cookie-banner,
  .cookie-modal-bg {
    transition-property: transform, opacity, color, background;
    transition-duration: 0.32s;
    transition-timing-function: cubic-bezier(.77, 0, .18, 1);
  }
}

/* === RESPONSIVE: MOBILE FIRST === */
@media (max-width: 1024px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  footer .container {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 988px) {
  .feature-grid { gap: 16px; }
  .card-container, .testimonial-slider { gap: 14px; }
}
@media (max-width: 900px) {
  .feature-grid { gap: 8px; }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 7px; padding-right: 7px;
  }
  header .container {
    flex-direction: row;
    gap: 8px;
    min-height: 62px;
    padding-left: 2px; padding-right: 4px;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
  .footer-social { gap: 9px; }
  .footer-contact p { font-size: 0.97rem; }
  .feature-grid, .content-grid, .testimonial-slider {
    flex-direction: column;
    gap: 18px;
  }
  .card-container { gap: 18px; }
  .card { padding: 20px 12px; }
  .hero .container { padding-top: 14px; padding-bottom: 18px; }
  .section { margin-bottom: 38px; padding: 24px 7px; }
  .legal, .confirmation { padding: 21px 6px; margin: 16px 2px; }
  .interactive-tool { padding: 16px 7px; }
}
@media (max-width: 540px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.20rem; }
  .subheadline { font-size: 1.01rem; }
  .service-item, .feature-item, .service-card {
    padding: 11px 6px 12px 6px;
    min-width: unset;
  }
  .testimonial-card { min-width: 180px; max-width: unset; }
  .cookie-modal { padding: 17px 6px 14px 9px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-banner .cookie-text { margin-right: 0; }
}
/* === END === */
