/* -------------------------------------------------------------------------
   CSS RESET & NORMALIZE - Professional Corporate Base
-------------------------------------------------------------------------- */
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;
  color: #213046;
  background: #F7F3F6;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
ul, ol {
  margin-left: 24px;
}
img {
  max-width: 100%;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

/* -------------------------------------------------------------------------
   BRAND FONTS (ensure Playfair Display and Montserrat are loaded via HTML)
-------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #5C2D4A;
  line-height: 1.2;
}
h1 {font-size: 2.75rem; margin-bottom: 24px;}
h2 {font-size: 2rem; margin-bottom: 18px;}
h3 {font-size: 1.35rem; margin-bottom: 12px;}
h4, h5, h6 {font-size: 1rem;}
.subheadline {
  font-size: 1.25rem;
  color: #213046;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.45;
  max-width: 600px;
}
p {
  margin-bottom: 16px;
  color: #213046;
  font-size: 1rem;
}
ul, ol {
  color: #51596B;
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {font-weight: 700;}

/* -------------------------------------------------------------------------
   CONTAINER & STRUCTURED LAYOUT
-------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.text-section {
  max-width: 720px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
address {
  font-style: normal;
}

/* -------------------------------------------------------------------------
   BUTTONS & CTA
-------------------------------------------------------------------------- */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: #5C2D4A;
  color: #fff;
  border-radius: 32px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 12px 0 rgba(92,45,74,0.08);
  transition: background .22s, color .15s, box-shadow .25s;
  margin-bottom: 14px;
  border: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #E2A3C7;
  color: #213046;
  box-shadow: 0 4px 30px 0 rgba(92,45,74,.17);
}

/* -------------------------------------------------------------------------
   HEADER, MAIN NAVIGATION, MOBILE NAVIGATION
-------------------------------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 3px 18px -8px #5C2D4A22;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}
header .container {
  min-height: 72px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  padding: 8px 0;
  margin-right: 32px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  gap: 28px;
  margin-right: auto;
  margin-left: 16px;
}
.main-nav a {
  color: #213046;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 5px 0;
  position: relative;
  transition: color .17s;
}
.main-nav a:hover, .main-nav a.active {
  color: #5C2D4A;
}
.cta-btn {
  margin-left: 30px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #5C2D4A;
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  z-index: 1201;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #F7F3F6;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 36px 32px 32px 32px;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.82, .04, .3, 1);
  z-index: 2000;
  box-shadow: 0 0 32px 0 #5C2D4A33;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #5C2D4A;
  font-size: 2rem;
  font-weight: 400;
  position: absolute;
  right: 22px;
  top: 20px;
  cursor: pointer;
  z-index: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 38px;
  width: 100%;
}
.mobile-nav a {
  color: #5C2D4A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  transition: background .15s, color .13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2A3C711;
  color: #213046;
}

/* -------------------------------------------------------------------------
   HERO SECTIONS / SECTION SPACING
-------------------------------------------------------------------------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
}

/* -------------------------------------------------------------------------
   FEATURE GRID (Index, Kontakt, Preise, Behandlungen)
-------------------------------------------------------------------------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 20px 0 12px 0;
}
.feature-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 14px -7px #B3A5BE11;
  padding: 28px 22px 22px 22px;
  min-width: 230px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  transition: box-shadow .18s, transform .20s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 40px 0 #5C2D4A22;
  transform: translateY(-2px) scale(1.01);
}
.feature-grid img {
  height: 44px;
  margin-bottom: 2px;
}
.feature-grid h3 {
  margin-bottom: 2px;
  font-size: 1.1rem;
}
.feature-grid p {
  font-size: .98rem;
  color: #51596B;
}

/* -------------------------------------------------------------------------
   SERVICE CARDS
-------------------------------------------------------------------------- */
.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 20px 0 12px 0;
  align-items: stretch;
}
.service-cards > div {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 14px -7px #B3A5BE19;
  padding: 28px 20px 22px 20px;
  min-width: 230px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  transition: box-shadow .17s, transform .18s;
  margin-bottom: 20px;
}
.service-cards > div:hover {
  box-shadow: 0 9px 40px #5C2D4A19;
  transform: scale(1.015);
}
.service-cards img {
  height: 44px;
}
.service-cards h3 {
  font-size: 1.1rem;
}
.service-cards .service-price {
  margin-top: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  background: #E2A3C7;
  color: #5C2D4A;
  padding: 6px 18px;
  border-radius: 30px;
  box-shadow: 0 0 8px #E2A3C733;
  font-size: 1.04rem;
  letter-spacing: .01em;
}
.service-cards ul {
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   TESTIMONIALS
-------------------------------------------------------------------------- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 20px -7px #E2A3C72c;
  margin-bottom: 20px;
  max-width: 700px;
  font-size: 1.06rem;
  color: #213046;
  position: relative;
  flex-direction: column;
  transition: box-shadow .17s, transform .17s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 44px -9px #5C2D4A22;
  transform: scale(1.015);
}
.testimonial-card p {
  color: #213046;
  font-weight: 500;
  font-size: 1.08rem;
  margin-bottom: 6px;
  text-align: left;
}
.testimonial-card span {
  color: #5C2D4A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  margin-left: 2px;
}

/* -------------------------------------------------------------------------
   TABLES (Preislisten)
-------------------------------------------------------------------------- */
.service-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 16px -8px #5C2D4A17;
}
.service-table th,
.service-table td {
  padding: 18px 14px;
  text-align: left;
  font-size: 1rem;
  color: #213046;
}
.service-table th {
  background: #F7F3F6;
  color: #5C2D4A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.service-table tbody tr {
  border-bottom: 1px solid #E2A3C729;
}
.service-table tbody tr:last-child {
  border: none;
}

/* -------------------------------------------------------------------------
   FOOTER
-------------------------------------------------------------------------- */
footer {
  background: #5C2D4A;
  color: #fff;
  padding: 0 0 0 0;
  box-shadow: 0 -2px 18px -8px #5C2D4A22;
  font-size: 0.98rem;
}
footer .container {
  padding: 40px 20px 16px 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand img {
  height: 52px;
  margin-bottom: 6px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-links a {
  color: #E2A3C7;
  text-decoration: underline;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 3px;
  transition: color .16s;
}
.footer-links a:hover, .footer-links a:focus {
  color: #fff;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1em;
}
.social-media-links {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}
.social-media-links img {
  width: 33px;
  filter: brightness(0) invert(1) opacity(.85);
  transition: filter .2s, transform .15s;
  cursor: pointer;
}
.social-media-links img:hover {
  filter: brightness(1.5) invert(0) opacity(1);
  transform: scale(1.11);
}
.footer-bottom {
  background: #4d2240;
  color: #fff;
  padding: 18px 20px 14px 20px;
  text-align: center;
  font-size: .95rem;
  letter-spacing: .01em;
}

/* -------------------------------------------------------------------------
   ADDRESS BLOCKS
-------------------------------------------------------------------------- */
.address-block {
  padding: 18px 24px;
  border-radius: 12px;
  background: #F7F3F6;
  color: #5C2D4A;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
  box-shadow: 0 0 8px #B3A5BE11;
  font-size: 1rem;
}

/* -------------------------------------------------------------------------
   FLEXBOX MANDATORY LAYOUTS
-------------------------------------------------------------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 13px -7px #5C2D4A15;
  padding: 24px 20px;
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* -------------------------------------------------------------------------
   TABLET & DESKTOP BREAKPOINTS
-------------------------------------------------------------------------- */
@media (max-width: 1150px) {
  .container {
    max-width: 92vw;
  }
}

@media (max-width: 900px) {
  .feature-grid, .service-cards, .content-grid, .card-container {
    gap: 16px;
  }
  .footer-brand img {
    height: 40px;
  }
  .card, .service-cards > div, .feature-grid > div, .testimonial-card {
    min-width: 170px;
    padding-left: 13px;
    padding-right: 13px;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.45rem; }
  .subheadline { font-size: 1.05rem; }
  .feature-grid,
  .service-cards {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div, .service-cards > div {
    min-width: 0;
    width: 100%;
    padding: 18px 11px 18px 13px;
    align-items: flex-start;
  }
  .content-wrapper {
    padding: 0;
    align-items: flex-start;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .cta-btn {
    font-size: 1rem;
    margin-left: 0;
  }
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.12rem; }
  section, .section {
    padding: 28px 7px;
    margin-bottom: 32px;
  }
  .container {
    padding-left: 7px; padding-right: 7px;
  }
  .testimonial-card { padding: 14px 6px; font-size: .99rem; }
  .feature-grid > div, .service-cards > div { padding: 11px 7px; }
}
@media (max-width: 428px) {
  .mobile-menu {
    padding: 16px 6px 13px 8px;
  }
}

/* -------------------------------------------------------------------------
   FORM FIELDS (Kontakt)
-------------------------------------------------------------------------- */
input[type="text"], input[type="email"], textarea {
  border: 1px solid #B3A5BE56;
  border-radius: 8px;
  padding: 13px 12px;
  width: 100%;
  margin-bottom: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: #fff;
  transition: border .18s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border: 1.5px solid #5C2D4A;
}

/* -------------------------------------------------------------------------
   COOKIE CONSENT BANNER & MODAL
-------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #213046;
  color: #fff;
  width: calc(100vw - 24px);
  max-width: 460px;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -4px 22px -10px #5C2D4A33;
  padding: 30px 22px 16px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  z-index: 3200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, bottom .15s;
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: all;
  bottom: 0;
}
.cookie-banner p {
  margin-bottom: 4px;
  font-size: 1.05rem;
}
.cookie-banner .banner-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 28px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .99rem;
  font-weight: 600;
  background: #E2A3C7;
  color: #5C2D4A;
  border: none;
  cursor: pointer;
  transition: background .17s, color .15s;
}
.cookie-btn.accept {
  background: #5C2D4A;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #5C2D4A;
  border: 1px solid #E2A3C7;
}
.cookie-btn.settings {
  background: #F7F3F6;
  color: #5C2D4A;
  border: 1px solid #E2A3C7;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #E2A3C7;
  color: #213046;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed; top:0; left:0; width:100vw; height:100vh;
  background: #213046aa;
  z-index: 3300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s;
}
.cookie-modal-backdrop.active {
  opacity:1;
  pointer-events: all;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 54%;
  transform: translate(-50%,-50%);
  background: #fff;
  color: #213046;
  border-radius: 14px;
  box-shadow: 0 5px 44px -10px #5C2D4A33;
  min-width: 320px;
  max-width: 99vw;
  width: 400px;
  z-index: 4000;
  padding: 30px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, top .22s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
  top: 50%;
}
.cookie-modal h2 {
  font-size: 1.23rem;
  color: #5C2D4A;
}
.cookie-modal .cookie-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-option {
  display: flex;
  flex-direction: row;
  gap: 9px;
  align-items: center;
}
.cookie-option label {
  font-size: 1.05rem;
  color: #213046;
}
.cookie-option input[type="checkbox"] {
  accent-color: #5C2D4A;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  margin-right: 7px;
}
.cookie-option.essential label {
  color: #51596B;
  font-weight: 600;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-modal .close-modal {
  margin-left: auto;
  background: none;
  color: #5C2D4A;
  font-size: 1.25rem;
  cursor: pointer;
  border: none;
  margin-bottom: 12px;
  padding: 0 6px;
}

@media (max-width: 600px) {
  .cookie-modal {
    width: 97vw;
    min-width: 0;
    padding: 16px 6px 17px 6px;
  }
  .cookie-banner {
    max-width: 99vw;
    padding: 17px 4px 10px 7px;
  }
}

/* -------------------------------------------------------------------------
   MISC SPACING & UTILITIES
-------------------------------------------------------------------------- */
.mb-24 { margin-bottom: 24px!important; }
.mt-24 { margin-top: 24px!important; }
.text-center { text-align: center!important; }
.text-right { text-align: right!important; }
.flex { display: flex !important; }
.align-center { align-items: center !important; }
.justify-center { justify-content: center !important; }
.gap-20 { gap: 20px!important; }

/* Hide mobile menu overlay on desktop */
@media (min-width:769px) {
  .mobile-menu, .mobile-menu.open {
    display: none!important;
  }
  .main-nav {
    display: flex!important;
  }
  .mobile-menu-toggle {
    display: none!important;
  }
}

/* Focus ring for accessibility */
:focus {
  outline: 2px solid #E2A3C7;
  outline-offset: 3px;
}

/* -------------------------------------------------------------------------
   ANIMATIONS & MICRO-INTERACTIONS
-------------------------------------------------------------------------- */
.cta-btn, .cookie-btn, .footer-links a, .main-nav a, .mobile-nav a, .service-cards > div, .feature-grid > div, .testimonial-card, .social-media-links img {
  transition: background .17s, color .17s, box-shadow .2s, transform .13s;
}

/* -------------------------------------------------------------------------
   PRINT STYLES (hide cookie banner & mobile menu)
-------------------------------------------------------------------------- */
@media print {
  .cookie-banner, .mobile-menu { display: none !important; }
}
