/* ================================================== */
/*     Stormy Lock Astrologie - Vibrant Energetic CSS  */
/* ================================================== */
/* RESET & NORMALIZE */
html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  background: #fff;
  color: #23314D;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  color: #23314D;
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 20px; letter-spacing: 0.01em; }
h2 { font-size: 2rem; margin-bottom: 18px; letter-spacing: 0.01em; }
h3 { font-size: 1.25rem; margin-bottom: 12px; letter-spacing: 0.02em; }
.subheadline { color: #355fd0; font-size: 1.15rem; margin-bottom: 24px; font-weight: 600; }
p, ul, ol, table, .content-wrapper {
  margin-bottom: 20px;
}
a { color: #23314D; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #0991f4; text-decoration: underline; }
ul, ol { padding-left: 24px; }
img { max-width: 100%; border-radius: 10px; display: block; }
hr { border: none; border-top: 1.5px solid #e2eaf6; margin: 32px 0; }

/* ================== LAYOUT ==================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}

/* ================== HEADER & NAVIGATION ==================== */
header {
  width: 100%;
  background: #e8f0fb;
  box-shadow: 0 2px 16px 0 rgba(61,125,255,0.08);
  position: relative;
  z-index: 30;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
  min-height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  height: 48px;
}
.logo img { height: 46px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #23314D;
  position: relative;
  padding: 0 4px;
  transition: color 0.18s;
  letter-spacing: 0.01em;
}
.main-nav a:after {
  content: '';
  display: block;
  height: 2.5px;
  width: 0%;
  background: #355fd0;
  transition: width 0.18s;
  border-radius: 2px;
  margin-top: 2px;
}
.main-nav a:focus,
.main-nav a:hover {
  color: #0991f4;
}
.main-nav a:hover:after,
.main-nav a:focus:after {
  width: 80%;
}
@media (max-width: 992px) {
  .main-nav { gap: 16px; }
}
@media (max-width: 940px) {
  .main-nav { display: none !important; }
  header .btn-primary { display: none; }
  .mobile-menu-toggle { display: block; }
}

/* ============ MOBILE MENU ================== */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  font-size: 2rem;
  color: #355fd0;
  cursor: pointer;
  padding: 6px 11px;
  border-radius: 7px;
  margin-left: auto;
  transition: background 0.1s, color 0.2s;
  z-index: 103;
}
.mobile-menu-toggle:focus {
  outline: 3px solid #0991f4;
  background: #e8f0fb;
}

.mobile-menu {
  position: fixed;
  z-index: 102;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #e8f0fb;
  box-shadow: 0 32px 40px 12px rgba(41,61,122,0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(-100vw);
  transition: transform 0.33s cubic-bezier(0.41,0.23,0.26,1);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 26px 12px 0;
  background: none;
  border: none;
  font-size: 2.15rem;
  color: #23314D;
  padding: 4px 18px 4px 0;
  cursor: pointer;
  transition: color 0.15s;
  z-index: 110;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #0991f4;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-left: 32px;
  margin-top: 14px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.33rem;
  color: #23314D;
  font-weight: 700;
  padding: 8px 0 8px 1px;
  border-radius: 5px;
  width: 100%;
  transition: background 0.14s, color 0.16s;
}
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: #c5e3fd;
  color: #0991f4;
  text-decoration: none;
}
@media (min-width: 941px) {
  .mobile-menu { display: none!important; }
  .mobile-menu-toggle { display: none!important; }
}

/* ================== HERO AREA ================ */
.hero {
  background-color: #e8f0fb;
  position: relative;
  padding: 62px 0 58px 0;
  margin-bottom: 46px;
  box-shadow: 0px 8px 32px 0px rgba(65,128,207,0.10);
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.hero h1 {
  font-size: 2.55rem;
  color: #23314D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
}
@media (max-width: 540px) {
  .hero h1 { font-size: 1.55rem; }
}

/* ================= FEATURES ================= */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 18px 0 0 0;
}
.feature-item {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 18px 0 rgba(34, 109, 255, 0.14);
  padding: 22px 16px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  max-width: 260px;
  flex: 1 1 200px;
  transition: box-shadow 0.21s, transform 0.16s;
  margin-bottom: 20px;
}
.feature-item img {
  height: 44px;
  width: 44px;
  margin-bottom: 8px;
}
.feature-item h3 {
  color: #23314D;
  font-size: 1.18rem;
}
.feature-item p {
  font-size: 1rem;
  color: #2856AD;
}
.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 8px 32px 0 rgba(9,145,244, 0.18);
  transform: translateY(-8px) scale(1.04);
}
@media (max-width: 900px) {
  .feature-grid { gap: 18px; }
  .feature-item { min-width: 160px; max-width: 100%; }
}
@media (max-width:680px) {
  .feature-grid { flex-direction: column; gap: 16px; }
  .feature-item { min-width: 0; max-width: 100%; width: 100%; }
}

/* ============== SERVICE CARDS ================= */
.service-list, .dienstleistungen-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(9,145,244, 0.10);
  padding: 22px 18px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 240px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.service-price {
  color: #0096f2;
  font-weight: bold;
  font-size: 1.12rem;
  margin-left: 9px;
}
.service-card:hover,
.service-card:focus-within {
  box-shadow: 0 12px 36px 0 rgba(32,95,255, 0.23);
  transform: translateY(-5px) scale(1.021);
}

@media (max-width: 600px) {
  .service-list, .dienstleistungen-list { gap: 16px; }
  .service-card { padding: 16px 10px; }
}

/* =============== TABLES =================== */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 2px 8px 0 rgba(61,125,255,0.12);
}
thead tr {
  background: #355fd0;
}
thead th {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 10px;
  text-align: left;
}
tbody tr:nth-child(even) {
  background: #e8f0fb;
}
tbody td {
  padding: 10px 8px;
  font-size: 1rem;
  color: #23314D;
}
tbody tr:hover {
  background: #c0defc;
  transition: background 0.21s;
}

/* ============ FAQ ACCORDION ============== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 14px 0 0 0;
}
.faq-item {
  background: #e8f0fb;
  border-left: 5px solid #0991f4;
  border-radius: 9px;
  padding: 17px 18px;
  transition: box-shadow 0.19s;
  box-shadow: 0 2px 12px 0 rgba(62,129,230, 0.14);
  cursor: pointer;
  margin-bottom: 20px;
}
.faq-item h3 {
  color: #23314D;
  font-size: 1.09rem;
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.faq-answer {
  color: #2856AD;
  font-size: 1rem;
  padding-left: 0.5em;
}

/* ============ TESTIMONIALS ================ */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 16px;
  background: #fff;
  padding: 20px 22px 20px 22px;
  box-shadow: 0 4px 24px 0 rgba(34, 52, 85, 0.12);
  flex: 1 1 340px;
  min-width: 285px;
  max-width: 400px;
  transition: box-shadow 0.21s, transform 0.18s;
  margin-bottom: 20px;
}
.testimonial-card p {
  color: #23314D;
  font-weight: 500;
  font-size: 1.03rem;
  font-style: italic;
}
.testimonial-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 1rem;
  margin-left: 14px;
}
.testimonial-name {
  color: #355fd0;
  font-weight: 800;
  font-size: 1.05rem;
}
.testimonial-stars {
  color: #F8C630;
  font-size: 1.18rem;
  letter-spacing: 1px;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 14px 32px 0 rgba(34,109,255, 0.13);
  transform: scale(1.025);
}
@media (max-width: 900px) {
  .testimonial-slider { gap: 14px; }
  .testimonial-card { min-width: 200px; max-width: 100%; }
}
@media (max-width: 700px) {
  .testimonial-slider { flex-direction: column; gap: 12px; }
  .testimonial-card { width: 100%; min-width: 0; max-width: none; }
}

/* ============ CONTACT & MAP ================= */
.contact-details {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 30px;
}
.text-section { flex: 1; min-width: 220px; }
.map-section {
  flex: 1;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.map-section img { border-radius: 12px; width: 100%; max-width: 240px; }
.map-info { color: #355fd0; font-size: 0.95rem; margin-top: 2px; }
@media (max-width: 700px) {
  .contact-details {
    flex-direction: column;
    gap: 18px;
  }
  .map-section img { max-width: 100%; }
}

/* ============ FOOTER ======================= */
footer {
  background: #e8f0fb;
  margin-top: 44px;
  padding: 27px 0 20px 0;
  border-top: 2.5px solid #355fd0;
  font-size: 0.98rem;
  letter-spacing: 0.015em;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
footer .content-wrapper {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-menu {
  display: flex;
  gap: 18px;
  margin-bottom: 7px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #23314D;
  font-weight: 600;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.015em;
  font-size: 1rem;
  transition: color 0.17s;
  padding: 4px 2px;
}
.footer-menu a:focus, .footer-menu a:hover { color: #0991f4; }
.legal-info { color: #6987b0; margin-bottom: 7px; }
.social-links { display: flex; gap: 14px; align-items: center; }
.social-links img {
  width: 28px; height: 28px; border-radius: 5px; background: #fff; box-shadow: 0 0 8px 0 rgba(105,135,176,0.11);
  transition: transform 0.13s, filter 0.09s;
}
.social-links img:hover, .social-links img:focus { filter: brightness(1.2); transform: scale(1.11) rotate(-6deg); }
@media (max-width: 670px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ================= BUTTONS ================ */
.btn,
button.btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  margin: 8px 0;
  cursor: pointer;
  transition: background 0.15s, color 0.16s, box-shadow 0.18s, transform 0.09s;
  box-shadow: 0 2px 12px 0 rgba(34, 109, 255, 0.15);
  letter-spacing: 0.04em;
  outline: none;
  display: inline-block;
  text-decoration: none;
  min-width: 160px;
}
.btn-primary {
  background: #355fd0;
  color: #fff;
  box-shadow: 0 3px 18px 0 rgba(44,114,255, 0.12);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #0991f4;
  color: #fff;
  transform: translateY(-2.5px) scale(1.04);
}
.btn-secondary {
  background: #e8f0fb;
  color: #23314D;
  border: 2px solid #355fd0;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #355fd0;
  color: #fff;
  border-color: #0991f4;
  transform: translateY(-2.5px) scale(1.04);
}
.btn:active { transform: scale(0.96); }

/* =========== CARDS CONTAINERS & PATTERNS ========= */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: #fff; border-radius: 18px; margin-bottom: 20px; position: relative; box-shadow: 0 2px 16px 0 rgba(51,111,233,0.11); }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* =============== SPECIALTY SECTIONS ================ */
.case-study-snippets ul, .nutzen-vorteile ul {
  list-style: disc inside;
  color: #284eab;
  margin-bottom: 7px;
}
.case-study-snippets h3 { color: #23314D; font-size: 1.18rem; margin-bottom: 8px; }
.nutzen-vorteile ul {
  margin-top: 4px;
}
.text-note { background: #e8f0fb; color: #355fd0; font-size: 1rem; border-radius: 8px; padding: 9px 15px; margin: 10px 0; }

/* ============== COOKIE CONSENT BANNER =============== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  min-height: 62px;
  background: #23314D;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px 18px 24px;
  z-index: 201;
  box-shadow: 0 -2px 28px 0 rgba(34,49,77,0.22);
  font-size: 1rem;
  animation: cookieBannerIn 0.85s cubic-bezier(.15,1.29,.74,.98);
}
@keyframes cookieBannerIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-btns {
  display: flex;
  gap: 15px;
}
.cookie-consent-banner .btn {
  padding: 8px 20px;
  font-size: 1rem;
  border-radius: 18px;
  min-width: 105px;
}
.cookie-consent-banner .btn-accept {
  background: #f8c630;
  color: #23314D;
  font-weight: 900;
}
.cookie-consent-banner .btn-accept:hover,
.cookie-consent-banner .btn-accept:focus {
  background: #FFDE55;
}
.cookie-consent-banner .btn-reject {
  background: #fff;
  color: #23314D;
  border: 2px solid #6987b0;
  font-weight: 800;
  transition: background 0.12s, color 0.12s;
}
.cookie-consent-banner .btn-reject:hover,
.cookie-consent-banner .btn-reject:focus {
  background: #e8f0fb;
  border-color: #355fd0;
}
.cookie-consent-banner .btn-settings {
  background: #355fd0;
  color: #fff;
  border: none;
}
.cookie-consent-banner .btn-settings:hover,
.cookie-consent-banner .btn-settings:focus {
  background: #0991f4;
}
@media (max-width: 630px) {
  .cookie-consent-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 6px 18px 6px; font-size: 0.98rem; }
  .cookie-consent-banner .cookie-btns { gap: 8px; }
}

/* ========== COOKIE MODAL ================== */
.cookie-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(34,49,77,0.82);
  z-index: 350;
  display: flex; align-items: center; justify-content: center;
  animation: modalIn 0.33s cubic-bezier(.41,.67,.35,1);
}
@keyframes modalIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #23314D;
  max-width: 410px;
  width: 94%;
  border-radius: 24px;
  padding: 32px 22px 20px 22px;
  box-shadow: 0 4px 38px 0 rgba(34,49,77,0.19);
  font-size: 1rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  animation: modalContentIn 0.44s cubic-bezier(.41,.67,.35,1);
}
@keyframes modalContentIn {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 5px;
  color: #23314D;
}
.cookie-modal .cookie-category {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px; font-weight: 600;
}
.cookie-modal label {
  font-size: 1rem;
  cursor: pointer;
}
.cookie-modal .toggle-switch {
  width: 38px; height: 20px; background: #e8f0fb;
  border-radius: 18px; position: relative; display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}
.cookie-modal .toggle-switch input { opacity: 0; width: 0; height: 0; }
.cookie-modal .toggle-slider {
  position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; background: #355fd0;
  border-radius: 50%; transition: 0.18s;
}
.cookie-modal .toggle-switch input:checked + .toggle-slider {
  transform: translateX(18px); background: #0991f4;
}
.cookie-modal .cookie-modal-actions {
  display: flex; gap: 13px; margin-top: 16px; }
.cookie-modal .btn { font-size: 1rem; }
.cookie-modal-close {
  position: absolute; top: 10px; right: 14px; color: #355fd0; background: none; border: none;
  font-size: 1.8rem; cursor: pointer; }
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #0991f4; }

/* ============ RESPONSIVE BREAKPOINTS ============= */
@media (max-width: 1100px) {
  .container { max-width: 98vw; }
}
@media (max-width: 820px) {
  .container { max-width: 100vw; padding: 0 7px; }
  .section { padding: 28px 3vw; margin-bottom: 34px; }
  .hero { padding: 38px 0 28px 0; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.23rem; }
  .btn,
  button.btn { font-size: 1rem; min-width: 111px; padding: 9px 13px; }
  .legal-info { font-size: 0.95rem; }
  .testimonials-section, .service-card, .feature-item, .faq-item { font-size: 0.98rem; }
}

/* ========== ACCESSIBILITY & UX ENHANCEMENTS ========== */
:focus { outline: 2.5px solid #0991f4; outline-offset: 2px; }
[tabindex]:focus { outline: 2.5px solid #F8C630; }

/* ========== TYPOGRAPHY SCALE ================ */
@media (max-width: 460px) {
  h1 { font-size: 1.15rem; }
  h2 { font-size: 1.01rem; }
}

/* =========== MICRO-ANIMATIONS ============ */
.btn, button, .card, .feature-item, .service-card, .testimonial-card {
  transition: box-shadow 0.18s, background 0.14s, color 0.15s, transform 0.18s;
}

/* ========== VIBRANT ENERGETIC EFFECTS ========== */
.feature-item:hover img,
.service-card:focus-within h3, .feature-item:focus-within h3 {
  filter: drop-shadow(0 0 7px #0991f4);
  color: #0991f4;
  transform: scale(1.05);
}

/* =========== Z-INDEX LAYERING =========== */
header { z-index: 30; }
.mobile-menu { z-index: 102; }
.cookie-consent-banner { z-index: 201; }
.cookie-modal-overlay { z-index: 350; }

/* =========== MISC =========== */
::-webkit-input-placeholder { color: #6987B0; opacity: 1; }
::-moz-placeholder { color: #6987B0; opacity:1; }
:-ms-input-placeholder { color: #6987B0; opacity:1; }
::placeholder { color: #6987B0; opacity:1; }

