/* =====================================================
   Familienzauber München - style.css - Creative Artistic
   ===================================================== */
  
/* ==== 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,
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
body {
  line-height: 1.5;
  background: #FFFDFA;
  font-family: 'Roboto', Arial, sans-serif;
  color: #184663;
  min-height: 100vh;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture {
  max-width: 100%;
  display: block;
  height: auto;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
:focus {
  outline: 2px solid #23689A;
  outline-offset: 1px;
}
a {
  color: #23689A;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #F9C846;
}

/* ==== Color Variables */
:root {
  --color-primary: #23689A;
  --color-secondary: #F9C846;
  --color-accent: #FFFFFF;
  --color-brand-blue: #23689A;
  --color-brand-gold: #F9C846;
  --color-bg-light: #FFFDFA;
  --color-bg-section: #F9F7F2;
  --color-bg-card: #FFFBEA;
  --color-card-stroke: #e5ded0;
  --color-text: #184663;
  --color-light: #FFFFFF;
  --color-dark: #124360;
  --color-review-bg: #FAF3DC;
  --color-accent-2: #AD5CFF;
  --shadow-base: 0 2px 8px rgba(35,104,154,0.10);
}

/* ==== Fonts ==== */
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #23689A;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 18px;
  line-height: 1.1;
  background: linear-gradient(92deg, #23689A 70%, #AD5CFF 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  background: linear-gradient(91deg, #F9C846 50%, #23689A 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h3 {
  font-size: 1.3rem;
  margin: 22px 0 12px;
  color: #AD5CFF;
  letter-spacing: 0.5px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

p, ul, ol, li, label, span {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
  color: #184663;
}
ul, ol {
  margin-bottom: 20px;
  margin-left: 22px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 8px;
  line-height: 1.5;
  position: relative;
}
ul li:before {
  content: '\2022';
  color: #F9C846;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  font-size: 1.2em;
  vertical-align: top;
}
ol li:before {
  display: none;
}
strong, b {
  font-weight: 700;
}

/* ==== Sections & Layout ==== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 24px;
  box-shadow: var(--shadow-base);
  position: relative;
}
.content-wrapper {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 14px;
}
.feature-icons img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 2px 8px #e0d6ba88);
  border-radius: 12px;
  background: #fffdf6;
  padding: 6px;
  transition: transform 0.17s;
}
.feature-icons img:hover {
  transform: scale(1.12) rotate(-7deg);
  background: #F9C846;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  background: var(--color-bg-card);
  border: 2.5px solid var(--color-card-stroke);
  border-radius: 18px;
  box-shadow: 0 1px 8px #e6e2e0bb;
  padding: 28px 20px;
  transition: box-shadow 0.22s, border-color 0.18s;
  min-width: 220px;
}
.card:hover {
  border-color: #F9C846;
  box-shadow: 0 4px 18px #23689a27;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

.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;
}
.text-image-section img {
  border-radius: 12px;
  box-shadow: var(--shadow-base);
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  min-height: 110px;
  background: var(--color-review-bg);
  border-radius: 16px;
  box-shadow: 0 2px 10px #23689a15;
  margin-bottom: 20px;
  border-left: 6px solid #23689A;
  position: relative;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #124360;
  font-weight: 500;
  flex: 1;
}
.testimonial-card span {
  color: #23689A;
  font-size: 0.98rem;
  font-style: italic;
  margin-left: 6px;
  white-space: nowrap;
}
.star-rating {
  font-size: 1.2em;
  color: #F9C846;
  margin-left: 12px;
  letter-spacing: -1px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.faq-accordion h3 {
  cursor: pointer;
  background: #23689A10;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.18s;
  margin-bottom: 4px;
  position: relative;
}
.faq-accordion h3:hover {
  background: #F9C84633;
  color: #23689A;
}
.faq-accordion .text-section {
  background: #F9F7F2;
  border-radius: 8px;
  padding: 7px 12px 9px 20px;
  margin-bottom: 12px;
  border-left: 4px solid #23689A20;
}

/* ==== CTA Button ==== */
.cta-btn {
  display: inline-block;
  background: linear-gradient(94deg, #23689A 65%, #F9C846 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  border: none;
  border-radius: 36px;
  padding: 15px 36px;
  margin-top: 15px;
  cursor: pointer;
  box-shadow: 0 2px 10px #23689a24;
  transition: background 0.19s, transform 0.17s, box-shadow 0.13s;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(94deg, #F9C846 35%, #23689A 100%);
  color: #184663;
  transform: translateY(-2px) scale(1.05) rotate(-2deg);
  box-shadow: 0 5px 18px #f9c84633;
}

/* ==== Header & Navigation ==== */
header {
  width: 100%;
  padding: 18px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: relative;
  z-index: 50;
  border-bottom: 2.5px solid #F9C84611;
}
header img {
  height: 58px;
  min-width: 120px;
  margin-left: 16px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
header nav a {
  color: #23689A;
  padding: 9px 14px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
  font-size: 1.01em;
  position: relative;
  transition: background 0.17s, color 0.11s;
}
header nav a:hover, header nav a.active {
  background: #F9C846;
  color: #23689A;
}
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: #F9C846;
  color: #23689A;
  border: none;
  border-radius: 50%;
  padding: 10px 18px;
  font-size: 1.9em;
  cursor: pointer;
  box-shadow: 0 2px 10px #23689a10;
  margin-right: 14px;
  z-index: 101;
  transition: background 0.17s, color 0.13s, transform 0.12s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #23689A;
  color: #F9C846;
}

/* ==== Mobile Menu ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: #23689Aee;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.55,.2,.22,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
}
.mobile-menu-close {
  background: #F9C846;
  color: #23689A;
  border: none;
  border-radius: 50%;
  padding: 7px 16px;
  font-size: 2em;
  margin: 24px 24px 0 0;
  cursor: pointer;
  box-shadow: 0 2px 10px #ffffff17;
  transition: background 0.13s, color 0.11s, transform 0.09s;
  z-index: 1002;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #23689A;
  color: #F9C846;
  transform: rotate(41deg) scale(1.03);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  padding: 22px 32px 0 24px;
  gap: 0;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 1.3em;
  width: 100%;
  display: block;
  padding: 18px 0 10px 10px;
  border-radius: 16px 0 0 16px;
  margin-bottom: 0;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F9C846cc;
  color: #23689A;
}

/* ==== Footer ==== */
footer {
  width: 100%;
  background: #23689A;
  color: #fff;
  padding: 34px 0 18px 0;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  border-radius: 30px 30px 0 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
footer nav a {
  color: #F9C846;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 14px;
  font-size: 1em;
  background: transparent;
  transition: background 0.14s, color 0.12s;
}
footer nav a:hover {
  background: #F9C846;
  color: #23689A;
}
.footer-contact {
  font-size: 1rem;
  color: #fff;
}

/* ==== Cookie Consent Banner ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: #23689Ad8;
  color: #fff;
  padding: 30px 16px 24px 16px;
  box-shadow: 0 -2px 18px #23689a44;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 1.03em;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieBannerFadeIn 0.7s cubic-bezier(.46,.43,.51,.99);
}
@keyframes cookieBannerFadeIn {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: none; }
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.cookie-btn, .cookie-settings-btn {
  border: none;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 0.09em;
  padding: 11px 28px;
  background: #F9C846;
  color: #23689A;
  cursor: pointer;
  margin-right: 5px;
  transition: background 0.18s, color 0.14s, transform 0.12s;
  box-shadow: 0 2px 8px #f9c84655;
}
.cookie-btn.accept {
  background: linear-gradient(92deg, #F9C846 75%, #23689A 132%);
  color: #184663;
}
.cookie-btn.reject {
  background: #fff;
  color: #23689A;
  border: 2px solid #F9C846;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #23689A;
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #F9C846;
  color: #23689A;
}
.cookie-settings-btn {
  background: #AD5CFF;
  color: #fff;
  border: none;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #23689A;
  color: #F9C846;
}

/* ==== Cookie Modal ==== */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 10001;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: #00000055;
  transition: opacity 0.25s;
}
.cookie-modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 44px #23689a36;
  padding: 36px 32px 22px 32px;
  max-width: 430px;
  min-width: 290px;
  color: #184663;
  position: relative;
  animation: modalFadeIn 0.45s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(60px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
.cookie-modal h2 {
  font-size: 1.44em;
  margin-bottom: 13px; 
  color: #23689A;
}
.cookie-modal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F9F7F2;
  padding: 9px 18px;
  border-radius: 8px;
  margin-bottom: 6px;
}
.cookie-toggle-row.disabled {
  opacity: 0.65;
}
.cookie-modal .cookie-modal__close {
  position: absolute; right: 17px; top: 13px;
  background: #AD5CFF;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 35px; height: 35px;
  font-size: 1.25em;
  cursor: pointer;
  display: flex;
  align-items: center; justify-content: center;
  transition: background 0.15s, color 0.12s;
}
.cookie-modal .cookie-modal__close:hover {
  background: #23689A;
  color: #fff;
}
.cookie-toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: #e6e6e6;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.14s;
  display: flex; align-items: center;
}
.cookie-toggle input {
  opacity: 0;
  width: 52px;
  height: 28px;
  position: absolute; left: 0; top: 0;
  z-index: 2;
}
.cookie-toggle .slider {
  position: absolute; left: 3px; top: 3px;
  width: 22px; height: 22px;
  background: #F9C846;
  border-radius: 50%;
  transition: transform 0.2s, background 0.13s;
}
.cookie-toggle input:checked + .slider {
  transform: translateX(22px);
  background: #23689A;
}
.cookie-toggle-row label {
  font-weight: 500;
  color: #184663;
}
.cookie-toggle-row .cookie-category-info {
  font-size: 0.92em;
  color: #555;
  margin-left: 10px;
}

/* ==== Main Content & Spacing ==== */
main {
  padding-top: 28px;
  width: 100%;
}
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: none;
}

/* ==== Responsive Design ==== */
@media (max-width: 1000px) {
  .container {
    max-width: 95vw;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}
@media (max-width: 768px) {
  header, footer {
    flex-direction: column;
    align-items: stretch;
    padding-left: 0; padding-right: 0;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding-left: 9px; padding-right: 9px;
  }
  .section,
  section {
    padding: 28px 8px;
    margin-bottom: 38px;
    border-radius: 14px;
  }
  .content-wrapper {
    gap: 11px;
  }
  .content-grid { flex-direction: column; }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px;
    border-left: 4px solid #23689A;
  }
  .feature-icons {
    gap: 14px;
  }
  .faq-accordion h3 {
    font-size: 1.04em;
  }
}
@media (max-width: 540px) {
  h1 {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }
  h2 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .mobile-menu {
    padding-right: 0;
  }
  .cookie-modal {
    padding: 18px 9px 13px 15px;
    min-width: 90vw;
    border-radius: 9px;
  }
  .cookie-modal .cookie-modal__close { right: 5px; top: 4px; width: 32px; height: 32px; }
}

/* ==== Icon & Inline icon tweaks ==== */
.text-section img {
  display: inline-block;
  width: 23px;
  height: 23px;
  vertical-align: middle;
  margin-right: 6px;
  position: relative;
  top: -1px;
  filter: drop-shadow(0 1px 3px #f9c84648);
  border-radius: 4px;
  background: #fffdf6;
  padding: 2px;
}

/* ==== Animations - Section FadeIn ==== */
section, .section, .testimonial-card, .card, .card-content {
  animation: fadeupSection 690ms cubic-bezier(.5,.5,.23,1) both;
}
@keyframes fadeupSection {
  from { opacity: 0; transform: translateY(30px) scale(.98); }
  to { opacity: 1; transform: none; }
}

/* ==== Micro-interactions ==== */
.card:hover {
  transform: translateY(-3px) scale(1.015) rotate(-0.5deg);
}
a.cta-btn:active {
  transform: scale(0.97);
}

/* ==== Colorful Artistic Touches ==== */
.section {
  border-left: 10px solid #AD5CFF40;
  background: linear-gradient(110deg, #F9C84610 0%, #fff9e6 100%);
}
.card {
  background: linear-gradient(106deg, #FFFBEA 78%, #AD5CFF19 100%);
}

/* ==== Utility classes ==== */
.mt-2 { margin-top: 18px; }
.mb-2 { margin-bottom: 18px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* ==== Hide when not needed ==== */
.mobile-menu, .cookie-modal-backdrop, .cookie-modal { display: none; }
.mobile-menu.open { display: flex; }
.cookie-modal-backdrop.open, .cookie-modal.open { display: flex; }

/* === End of CSS === */
