/* CSS RESET & BASE STYLES */
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-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F9F7FA;
  color: #3A466E;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
  position: relative;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #6A83AE;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #3A466E;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #3A466E;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 {font-size: 2.5rem;}
h2 {font-size: 2rem;}
h3 {font-size: 1.3rem;}
h4 {font-size: 1.1rem;}
p, li, span, strong, em {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  color: #3A466E;
  letter-spacing: 0.01em;
}
p {margin-bottom: 1.2em;}
strong {font-weight: 700;}
em {font-style: italic;}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* HEADER NAVIGATION */
header {
  background: #FCFAFD;
  box-shadow: 0 4px 16px 0 rgba(70, 77, 110, 0.06);
  position: relative;
  width: 100%;
  z-index: 100;
}
header > .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 600;
  color: #5D6D96;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
header nav a:hover, header nav a:focus {
  background: #ECE4FB;
  color: #3A466E;
}
header img {
  height: 50px;
  margin-right: 32px;
}
.btn.primary {
  background: #3A466E;
  color: #fff;
  padding: 12px 28px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  transition: background .2s, box-shadow .2s, color .2s;
  box-shadow: 0 6px 24px rgba(58,70,110,0.10), 0 1.5px 4px rgba(0,0,0,0.07);
  box-sizing: border-box;
  margin-left: 16px;
  cursor: pointer;
}
.btn.primary:hover, .btn.primary:focus {
  background: #D6B86A;
  color: #3A466E;
  outline: none;
}
.btn {
  background: #F9F4EC;
  color: #3A466E;
  border: none;
  border-radius: 26px;
  padding: 10px 24px;
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
  margin-right: 0;
  box-shadow: 0 1.5px 8px rgba(0,0,0,0.07);
  transition: background .18s, color .18s, box-shadow .18s;
  cursor: pointer;
  display: inline-block;
}
.btn:hover, .btn:focus {
  background: #E4E7EF;
  color: #3A466E;
  box-shadow: 0 2px 14px 0 rgba(70, 77, 110, 0.10);
}

/* HAMBURGER MENU MOBILE NAV */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 18px;
  top: 18px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #3A466E;
  cursor: pointer;
  z-index: 1101;
  transition: color .18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #D6B86A;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 32px 0 rgba(58,70,110,0.22);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.6,.03,.5,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 30px 30px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: #3A466E;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D6B86A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.2rem;
  color: #3A466E;
  padding: 8px 8px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s, color .18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ECE4FB;
  color: #D6B86A;
}

@media (max-width: 992px) {
  header > .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 8px;
  }
  header nav {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  header > .container nav, header > .container .btn.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MAIN LAYOUT & SECTION SPACING */
.section, .features, .about, .services, .contact, .testimonials, .cta, .hero, .about-preview, .contact-cta, .faq, .legal, .thank-you, .card-container {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

@media (max-width: 768px) {
  .section, .features, .about, .services, .contact, .testimonials, .cta, .hero, .about-preview, .contact-cta, .faq, .legal, .thank-you, .card-container {
    padding: 28px 8px;
    margin-bottom: 34px;
  }
}

/* FLEXBOX CONTAINERS */
.feature-grid, .themen-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.feature-grid {
  gap: 24px 24px;
  margin-top: 24px;
}
.card-container {
  gap: 24px;
  margin-bottom: 36px;
}
.content-grid {
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.card, .testimonial-card, .feature-item, .card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F9F4EC;
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(58,70,110,0.08);
  border: 1px solid #EFEAF0;
  min-width: 0;
  max-width: 600px;
  width: 100%;
}
.testimonial-card p {
  font-size: 1.15rem;
  color: #3A466E;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}
.testimonial-card strong {
  font-size: 1rem;
  color: #6A4A4A;
  margin-left: auto;
  text-align: right;
}
.testimonials h2 {
  margin-bottom: 18px;
}

.feature-item {
  background: #fffaf5;
  border-radius: 20px;
  box-shadow: 0 3px 16px rgba(214,184,106, 0.13);
  border: 1px solid #ECE4FB;
  min-width: 220px;
  max-width: 270px;
  padding: 24px 18px;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 32px 0 rgba(58,70,110,0.13);
  border-color: #D6B86A;
  transform: translateY(-3px) scale(1.02);
}
.feature-item img {
  height: 48px;
  margin-bottom: 10px;
}
.feature-item h3 {
  color: #865fc5;
  font-size: 1.15rem;
  margin-bottom: 4px;
}
.feature-item span {
  font-size: 1rem;
  color: #9F7E5F;
  margin-top: 6px;
}

/* THEMEN GRID for "mozart-erleben.html" */
.themen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.themen-grid > div {
  background: #FCFAFD;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(58,70,110,0.05);
  padding: 18px 14px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 340px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #F5E8EF 10%, #E6F0FB 100%);
  border-radius: 0 0 56px 56px;
  box-shadow: 0 6px 22px 0 rgba(171,158,238,0.09);
  margin-bottom: 48px;
  padding: 62px 0 34px 0;
}
.hero .container {
  align-items: flex-start;
}
.hero .content-wrapper {
  align-items: flex-start;
}
.hero h1 {
  color: #3A466E;
  font-size: 2.38rem;
  margin-bottom: 14px;
}
.hero p {
  color: #4C5394;
  font-size: 1.12rem;
}

@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 26px 26px;
    padding: 30px 0 16px 0;
    margin-bottom: 26px;
  }
  .themen-grid, .feature-grid {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

/* CARD ELEMENTS (re-usable) */
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffefa;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(58,70,110,0.07);
  border: 1px solid #EFEAF0;
  transition: box-shadow .2s, transform .18s;
  padding: 24px 20px;
  min-width: 220px;
  max-width: 340px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 7px 24px 0 rgba(58,70,110,0.15);
  transform: translateY(-4px) scale(1.015);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* TYPOGRAPHY SPACING */
h1, h2, h3, h4, h5 {
  margin-top: 0;
  margin-bottom: 0.7em;
}
h1 + p, h2 + p, h3 + p {margin-top: -.3em;}
.section > *, .features > *, .about > *, .services > *, .contact > *, .testimonials > *, .cta > *, .faq > *, .legal > *, .thank-you > * {
  margin-bottom: 20px;
}

ul, ol {
  margin-left: 1.5em;
  margin-bottom: 14px;
  color: #55556A;
}
ul > li, ol > li {
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 1rem;
  color: #606186;
}

/* INNER LISTS (for checklists) */
ul ul, li ul {
  margin-top: 8px;
  margin-bottom: 0px;
  margin-left: 1.5em;
  list-style-type: circle;
}

/* FAQ ACCORDION */
.faq-accordion > div {
  background: #F9F4EC;
  border-radius: 14px;
  box-shadow: 0 1px 8px rgba(214,184,106,0.09);
  margin-bottom: 20px;
  padding: 17px 14px;
  transition: box-shadow .14s;
}
.faq-accordion > div:hover {
  box-shadow: 0 3.5px 14px rgba(58,70,110,0.08);
}
.faq-accordion strong {
  display: block;
  font-family: 'Playfair Display', serif;
  color: #3A466E;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.faq-accordion p {
  margin-bottom: 0;
  color: #545772;
}

/* ADDRESS SNIPPET (CTAs) */
.address-snippet {
  background: #F9F4EC;
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 18px;
  color: #4C5394;
  font-size: 1rem;
  font-family: 'Source Sans Pro', Arial, sans-serif;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, #E6F0FB 0%, #FAE8EC 100%);
  color: #3A466E;
  padding: 30px 0 22px 0;
  border-radius: 35px 35px 0 0;
  box-shadow: 0 -2px 14px rgba(125,120,153,0.06);
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #5D6D96;
  font-size: 1rem;
  font-weight: 600;
  transition: color .14s;
  border-radius: 6px;
  padding: 2px 8px;
}
footer nav a:hover, footer nav a:focus {
  color: #D6B86A;
  background: #ECE4FB;
}
.footer-address {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .99rem;
  color: #756E66;
}

@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 0 4px;
  }
  .footer-address {
    font-size: .98rem;
  }
}

/* RESPONSIVE FLEX LAYOUTS */
@media (max-width: 992px) {
  .feature-grid, .content-grid, .themen-grid, .card-container {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .themen-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 18px;
  }
}

/* COOKIES CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FCFAFD;
  box-shadow: 0 -3px 22px rgba(58,70,110,0.11);
  border-top: 2px solid #E7E2F8;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 22px 28px;
  max-width: 100vw;
  gap: 18px;
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform .37s cubic-bezier(.7,.03,.29,1.1), opacity .2s;
  font-size: 1rem;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.cookie-banner p {
  color: #3A466E;
  font-size: 1rem;
  max-width: 500px;
  flex: 1;
}
.cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btns .btn {
  background: #ECE4FB;
  color: #6A83AE;
  border-radius: 22px;
  font-size: 1rem;
  padding: 7px 24px;
  min-width: 120px;
}
.cookie-btns .btn:hover, .cookie-btns .btn:focus {
  background: #D6B86A;
  color: #3A466E;
}
.cookie-btns .btn.accept {
  background: #3A466E;
  color: #fff;
}
.cookie-btns .btn.accept:hover, .cookie-btns .btn.accept:focus {
  background: #D6B86A;
  color: #3A466E;
}

/* MODAL BACKDROP + MODAL */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(120,110,130,0.3);
  z-index: 21000;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal-backdrop.visible {
  display: block;
  opacity: 1;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%,-58%) scale(.97);
  background: #FCFAFD;
  border-radius: 16px;
  box-shadow: 0 5px 40px rgba(58,70,110,.21);
  padding: 38px 28px 32px 28px;
  min-width: 300px;
  max-width: 95vw;
  width: 390px;
  z-index: 22000;
  display: none;
  opacity: 0;
  transition: opacity .3s, box-shadow .2s;
}
.cookie-modal.visible {
  display: block;
  opacity: 1;
}
.cookie-modal h3 {
  color: #3A466E;
  margin-bottom: 18px;
  font-size: 1.25rem;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.cookie-modal label {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  color: #3A466E;
  margin-bottom: 0;
}
.cookie-modal input[type=checkbox] {
  accent-color: #3A466E;
  width: 18px; height: 18px;
}
.cookie-modal .cookie-btns {
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal .cookie-category.disabled label {
  opacity: .5;
}
.cookie-modal .cookie-category input[disabled], .cookie-modal .cookie-category.disabled input {
  pointer-events: none;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 1.28rem;
  background: none;
  border: none;
  color: #3A466E;
  cursor: pointer;
  transition: color .16s;
}
.cookie-modal .cookie-modal-close:hover {
  color: #D6B86A;
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 6px 24px 6px;
    font-size: .97rem;
    gap: 14px;
  }
  .cookie-modal {
    min-width: 0;
    padding: 20px 8px 14px 10px;
    font-size: .96rem;
    width: 93vw;
  }
}

/* ANIMATIONS */
.btn,
.btn.primary,
.feature-item,
.card,
.testimonial-card,
.cookie-banner,
.cookie-btns .btn,
.mobile-menu,
.mobile-nav a {
  transition:background .19s,color .17s,box-shadow .19s,transform .17s,border-color .18s;
}

/* OTHER COMMON CLASSES */
.thank-you {
  background: #F7EEF1;
  border-radius: 24px;
}
.legal {
  background: #F4F1EB;
  border-radius: 16px;
}
.contact-cta {
  background: #EAF6FF;
  border-radius: 22px;
  box-shadow: 0 2px 5px rgba(130,130,160,0.04);
}
.about-preview {
  background: #F9F4EC;
  border-radius: 22px;
  box-shadow: 0 2px 10px rgba(214,184,106,0.07);
}
.faq {
  background: #fffdfa;
  border-radius: 22px;
}

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

/* SCROLLBAR SOFTEN */
body {
  scrollbar-color: #E6D6FA #F9F4EC;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 9px;
  background: #F9F4EC;
}
::-webkit-scrollbar-thumb {
  background: #E6D6FA;
  border-radius: 7px;
}

/* PASTEL COLOR ACCESSORIES (subtle) */
.section, .features, .about, .services, .contact, .testimonials, .cta, .hero, .about-preview, .contact-cta, .faq, .legal, .thank-you, .card-container {
  box-shadow: 0 2px 10px rgba(175,190,247,0.03);
}

/* Focus outlines */
:focus {
  outline: 2px solid #D6B86A;
  outline-offset: 2px;
}
::-moz-focus-inner { border: 0; }

/* Touch target for links & btns */
a, .btn, button {
  touch-action: manipulation;
}
