/* ===============================================================
   Glanzwerk Schönheit – Warm Friendly CSS Framework
   Responsive, Flexbox-only, No Grid, No Columns
   Brand: Modern, edel, einladend, warm, approachable
   Fonts: 'Playfair Display', 'Roboto'
   Primary: #3E345A | Accent: #A65F82, #7B214B | BG: #F0E6F6, #FFF
   =============================================================== */

/* 1. CSS Reset & Normalize (simple, compatible) */
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;
}
html {
  scroll-behavior: smooth;
  height: 100%;
  background: #F0E6F6;
}
body {
  min-height: 100vh;
  min-width: 320px;
  color: #3E345A;
  background: #FFF;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video {
  max-width: 100%;
  display: block;
}
a {
  color: #A65F82;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, box-shadow 0.2s, background 0.2s;
}
a:focus, a:hover {
  outline: none;
  color: #7B214B;
  background: #F7EEF6;
  box-shadow: 0 1px 12px 0 rgba(166,95,130,0.06);
}

/* 2. Brand Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #3E345A;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; margin-bottom: 10px; }

@media (max-width: 900px){
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

strong, b {
  font-weight: 700;
  color: #7B214B;
}

table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
thead {
  background: #F0E6F6;
}
td, th { padding: 13px 10px; border-bottom: 1px solid #ead9ee; text-align: left; font-size: 1rem; }
th { font-family: 'Playfair Display', serif; color:#3E345A; font-size: 1.1rem; }
tr:last-child td { border-bottom: none; }

p { margin-bottom: 18px; color: #3E345A; }
ul, ol { margin-bottom: 18px; padding-left: 22px; }
ul li, ol li { margin-bottom: 8px; }

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

.container {
  max-width: 1180px;
  padding: 0 16px;
  margin: 0 auto;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-section, .map {
  padding: 20px;
  border-radius: 16px;
  background: #F9F5FC;
  margin-bottom: 20px;
  box-shadow: 0 2px 16px rgba(62,52,90,0.04);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {flex-direction: column; align-items: stretch;}
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(166,95,130,0.07), 0 1.5px 8px 0 rgba(62,52,90,0.05);
  padding: 32px 28px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  min-width: 250px;
}

/* ===== BUTTONS & CTA ===== */
.cta-primary, .cta-secondary {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 32px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.14rem;
  text-align: center;
  outline: none;
  border: none;
  transition: background 0.2s, color 0.19s, box-shadow 0.21s;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 1.5px 12px 0 rgba(62,52,90,0.04);
}
.cta-primary {
  background: linear-gradient(90deg, #A65F82 20%, #7B214B 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(166,95,130,0.13);
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #7B214B 15%, #A65F82 100%);
  color: #fff;
  box-shadow: 0 6px 24px rgba(166,95,130,0.15);
}
.cta-secondary {
  background: #FFF;
  color: #A65F82;
  border: 2px solid #A65F82;
  font-weight: 600;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #FAECF3;
  color: #7B214B;
  border-color: #7B214B;
}

button, .btn, input[type='button'], input[type='submit'] {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 32px;
  border: none;
  padding: 12px 28px;
  background: #A65F82;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 1px 10px rgba(166,95,130,0.10);
  transition: background 0.19s, box-shadow 0.18s;
  cursor: pointer;
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: #7B214B;
  color: #fff;
  outline: none;
  box-shadow: 0 4px 16px rgba(166,95,130,0.13);
}

/* =========== HEADER, NAVIGATION ============= */
.site-header {
  background: #FFF;
  box-shadow: 0 4px 18px rgba(166,95,130,0.07);
  position: relative;
  z-index: 70;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 0;
  justify-content: flex-start;
}
.main-nav a {
  font-size: 1rem;
  color: #3E345A;
  padding: 7px 14px;
  border-radius: 22px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.16s, color 0.17s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F0E6F6;
  color: #A65F82;
}
.main-nav a.cta-primary {
  margin-left: auto;
}
.main-nav img {
  all: unset;
  height: 44px;
  width: auto;
  margin-right: 16px;
  vertical-align: middle;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  color: #A65F82;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: 10px;
  padding: 8px 10px;
  border-radius: 30px;
  position: relative;
  z-index: 301;
  transition: background 0.14s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FAECF3;
  color: #7B214B;
}
.mobile-menu {
  display: none;
  position: fixed;
  background: #FFF;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: 380px;
  height: 100vh;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: -6px 0 32px rgba(166,95,130,0.18);
  border-top-left-radius: 22px;
  border-bottom-left-radius: 22px;
  padding: 30px 26px 26px 34px;
  z-index: 300;
  transform: translateX(110%);
  transition: transform 0.29s cubic-bezier(.9,0,.3,1);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  border: none;
  background: none;
  color: #7B214B;
  font-size: 2rem;
  padding: 10px 10px 4px 10px;
  border-radius: 50%;
  cursor: pointer;
  margin-bottom: 8px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus{
  background: #F0E6F6;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin-top: 12px;
}
.mobile-nav a {
  font-size: 1.17rem;
  color: #3E345A;
  font-weight: 500;
  background: #F0E6F6;
  border-radius: 16px;
  padding: 12px 22px;
  margin: 0;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #FAECF3;
  color: #7B214B;
}

@media (max-width: 1070px) {
  .main-nav {
    gap: 16px;
  }
}
@media (max-width: 990px) {
  .main-nav {
    gap: 9px;
  }
}
@media (max-width: 850px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* Always bring up hamburger button */
@media (max-width: 990px) {  .mobile-menu-toggle {display: block;} }

/* ===== HERO / BANNER ===== */
.hero {
  padding: 60px 0 40px 0;
  background: #F9F5FC;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  align-items: flex-start;
}
.hero h1 { color: #A65F82; font-size: 2.4rem; }
.hero p {
  font-size: 1.21rem;
  color: #3E345A;
  margin-bottom: 18px;
}

@media (max-width: 670px) {
  .hero { padding: 28px 0 18px 0; min-height: 0; }
  .hero h1 { font-size: 1.65rem; }
  .container { padding: 0 6px; }
}

/* ========== FEATURES & ICON LISTS ============= */
.features ul, .services ul, .text-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 0;
}
.features li, .services li, .text-section li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #FFF;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 1.5px 12px 0 rgba(166,95,130,0.07);
  color: #3E345A;
  font-size: 1.07rem;
}
.features li img, .services li img, .text-section li img {
  height: 32px; width: 32px; object-fit: contain;
}

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

/* ========== SERVICES LIST ============= */
.services ul {
  gap: 20px;
}
.services li {
  border: 1px solid #F0E6F6;
  background: #FAEDF5;
  box-shadow: 0 2px 17px 0 rgba(166,95,130,0.06);
  border-radius: 16px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 16px 16px 16px;
  min-width: 210px;
  gap: 7px;
}
.services li h2, .services li h3 {
  font-size: 1.18rem;
  margin-bottom: 1px;
  color: #A65F82;
  font-family: 'Playfair Display', serif;
}
.services li p {
  color: #3E345A; font-size: 1rem; margin-bottom: 0;
}
.services li a {
  font-weight: 500;
  color: #A65F82;
  border-radius: 12px;
  padding: 6px 13px;
  background: #FFF;
  margin-top: 7px;
  display: inline-block;
  transition: background 0.13s, color 0.13s;
}
.services li a:hover, .services li a:focus {
  background: #F0E6F6;
  color: #7B214B;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ========== TESTIMONIALS ============== */
.testimonials .content-wrapper {
  align-items: flex-start;
}
.testimonial-card {
  background: #FFF;
  color: #3E345A;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(62,52,90,0.09);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  font-size: 1.09rem;
  position: relative;
  min-width: 210px;
}
.testimonial-card p {
  margin: 0 0 0 0; color: #3E345A; flex:1 1 auto; font-size: 1.09rem;
}
.testimonial-card strong {
  color: #7B214B;
  font-size: 1rem;
  margin-right: 2px;
}
.testimonial-card img {
  height: 30px;
  width: 110px;
  object-fit: contain;
  margin-left: auto;
  filter: grayscale(30%) brightness(1.02);
}
@media (max-width: 700px) {
  .testimonial-card {flex-direction: column; align-items: flex-start; gap: 8px;}
}

/* ========== CTA BLOCK ================ */
.cta {
  background: #F0E6F6;
  border-radius: 25px;
  box-shadow: 0 2px 12px rgba(166,95,130,0.06);
  padding: 45px 0 45px 0;
  margin-bottom: 40px;
}
.cta h2 {
  color: #A65F82;
  margin-bottom: 12px;
}
.cta p { color: #3E345A; font-size: 1.08rem; margin-bottom: 16px;}

/* ========== FOOTER ================ */
footer {
  background: #3E345A;
  color: #FFF;
  padding-top: 36px;
  padding-bottom: 12px;
  margin-top: 32px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px;
}
.footer-content img {
  height: 52px;
  margin-right: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 22px 0 0;
  min-width: 170px;
}
.footer-nav a {
  color: #FFF;
  font-size: 1rem;
  padding: 7px 0;
  border-radius: 6px;
  transition: background 0.13s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #A65F82;
  color: #fff;
}
.footer-contact {
  font-size: 1rem;
  color: #FFF0F8;
  margin: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-contact a { color: #FFF; text-decoration: underline; }
.footer-bottom {
  text-align: center;
  color: #E1D3E7;
  font-size: 0.97rem;
  padding: 12px 0 0 0;
  margin-top: 14px;
}

@media (max-width: 700px) {
  .footer-content{
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-nav { margin: 0 0 8px 0; }
  .footer-content img { margin-bottom: 10px; }
}

/* ========== PRICING TABLE ============ */
.pricing table {
  margin-bottom: 30px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(62,52,90,0.04);
  overflow: hidden;
}
.pricing ul li{
  background: #F6F0FA;
  font-size: 1.02rem;
}
.pricing strong {
  color: #A65F82;
}

/* =========== LEGAL PAGES ============== */
.legal {
  background: #F9F5FC;
  border-radius: 20px;
  padding: 38px 0;
}
.legal .text-section{
  background: #FFF;
  box-shadow: 0 1px 8px rgba(166,95,130,0.05);
}

/* ========== THANK YOU PAGE ============= */
.thankyou .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 22px;
}
.thankyou .text-section{
  align-items: center;
  background: #F0E6F6;
  box-shadow: none;
}

/* ================= RESPONSIVENESS ==================== */
@media (max-width: 650px) {
  .container { padding: 0 2px; }
  .section {padding: 30px 3px;}
  .card { padding: 23px 7px 13px 7px; }
  .testimonial-card { padding: 13px 4px; }
}
@media (max-width: 480px) {
  h1 {font-size:1.25rem;}
  h2 {font-size:1.08rem;}
  .footer-content img {height:42px;}
}

/* ========== COOKIE CONSENT BANNER ============= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: 100vw;
  max-width: 430px;
  z-index: 9999;
  background: #FFF;
  color: #3E345A;
  box-shadow: 0 -6px 28px rgba(166,95,130,0.15);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 27px 23px 20px 23px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  font-size: 1rem;
  transition: transform 0.34s cubic-bezier(.8,0,.2,1);
}
.cookie-banner.visible {
  transform: translateX(-50%) translateY(0);
}
.cookie-banner p { margin-bottom: 7px; }
.cookie-banner .cookie-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cookie-banner button, .cookie-banner .btn {
  font-size: 1rem;
  padding: 10px 22px;
  border-radius: 22px;
  font-weight: 500;
  background: #A65F82;
  color: #fff;
  border: none;
  transition: background 0.18s;
}
.cookie-banner button.cookie-settings {
  background: #F0E6F6;
  color: #A65F82;
  border: 1.5px solid #A65F82;
}
.cookie-banner button.cookie-settings:hover{
  background: #F7EEF6;
  color: #7B214B;
}
.cookie-banner button:hover, .cookie-banner .btn:hover {
  background: #7B214B;
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(100, 70, 110, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.23s;
}
.cookie-modal-overlay.visible {
  opacity:1; pointer-events: auto;
}
.cookie-modal {
  background: #FFF;
  border-radius: 20px;
  width: 95vw;
  max-width: 410px;
  box-shadow: 0 6px 38px 0 rgba(62,52,90,0.11);
  padding: 35px 25px 26px 25px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #3E345A;
  font-size: 1.02rem;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #A65F82;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #F0E6F6;
  min-height: 32px;
}
.cookie-modal .cookie-category:last-child { border-bottom: none; }
.cookie-modal label {
  font-weight: 500;
  font-size: 1.02rem;
  color: #3E345A;
  cursor: pointer;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #A65F82;
  width: 21px;
  height: 21px;
  border-radius: 6px;
  border: 1.7px solid #A65F82;
  background: #F0E6F6;
  margin: 0 7px 0 0;
}
.cookie-modal input[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 13px;
  right: 17px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #A65F82;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 16px;
}
.cookie-modal .cookie-modal-close:hover {
  background: #F7EEF6;
}

@media (max-width: 520px){
  .cookie-modal {padding: 14px 6px 12px 6px;}
  .cookie-banner {padding: 21px 4px 14px 6px;max-width:95vw;}
}

/* ================= MICRO-INTERACTIONS & TRANSITIONS ============= */
.card, .testimonial-card, .section, .features li, .services li {
  transition: box-shadow 0.16s, transform 0.11s;
}
.card:hover, .testimonial-card:hover, .features li:hover, .services li:hover {
  box-shadow: 0 6px 32px 0 rgba(166,95,130,0.13); 
  transform: translateY(-2.5px) scale(1.03);
  z-index: 40;
}

/* ================= CUSTOM SCROLLBAR ================ */
::-webkit-scrollbar { width: 9px; background: #F0E6F6; }
::-webkit-scrollbar-thumb { background: #A65F82; border-radius: 12px; }

/* ========== ACCESSIBILITY / FOCUS STATES ========= */
a:focus-visible { outline: 2.5px dashed #A65F82; outline-offset: 1.5px; }
button:focus-visible, .btn:focus-visible { outline: 2.5px solid #A65F82; outline-offset: 1.5px; }

/* ========== ENSURE REQUIRED SPACING EVERYWHERE ====== */
section, .section {
  margin-bottom: 60px !important;
  padding-top: 40px;
  padding-bottom: 40px;
  gap: 20px;
}
.card, .testimonial-card, .features li, .services li {
  margin-bottom: 20px;
}

/* ========== MISC / PRINT ========== */
@media print {
  header, nav, .cookie-banner, .mobile-menu { display: none !important; }
  footer, .footer-content, .footer-bottom { color: #000 !important; background: none !important; }
  body { background: #FFF !important; }
}
