/* ====================================================
   Brillora Quest | style.css | Elegant Classic Theme
   ==================================================== 
   All layouts with Flexbox ONLY (NO grid/columns)
-------------------------------------------------------
   FONT IMPORTS
------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lora:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

/* -----------------------------------------------------
  1. RESET & NORMALIZE
------------------------------------------------------ */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F5F6FA;
  color: #232628;
  font-family: "Lora", "Times New Roman", Times, serif;
  line-height: 1.66;
  font-size: 1rem;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #29579A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E09121;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
}
th, td {
  padding: 10px 16px;
}

/* -----------------------------------------------------
  2. TYPOGRAPHY
------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", "Lora", "Times New Roman", serif;
  color: #24324A;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
p {
  margin-bottom: 18px;
  font-family: "Lora", serif;
  font-size: 1.04rem;
  color: #232628;
}
strong, b {
  font-weight: 700;
}

/* -----------------------------------------------------
  3. GLOBAL CLASSES & LAYOUT
------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 28px rgba(44,67,104,0.08), 0 1.5px 3px rgba(0,0,0,0.03);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(44,67,104,0.09);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(41,87,154,0.12);
}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #fbfbfd;
  border: 1px solid #e2e4ea;
  border-radius: 16px;
  box-shadow: 0 2px 18px rgba(44,67,104,0.06);
  margin-bottom: 20px;
  font-family: "Lora", serif;
  color: #24324A;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  color: #232628;
  font-size: 1.04rem;
  font-style: italic;
}
.testimonial-card span {
  font-family: "Montserrat", serif;
  font-size: 0.97rem;
  color: #29579A;
  font-weight: 600;
  margin-top: -8px;
}
.testimonial-card:hover {
  box-shadow: 0 6px 30px rgba(41,87,154,0.15);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* Feature grid example (index/leistungen) */
.feature-grid, .service-categories, .team-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 18px;
  align-items: stretch;
}
.feature-grid > div, .service-categories > div, .team-profiles > div {
  flex: 1 1 240px;
  min-width: 220px;
  background: #f8f9fb;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 2px 12px rgba(44,67,104,0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-grid img, .service-categories img, .team-profiles img {
  width: 44px;
  height: 44px;
}

/* ----------------------------------------
  4. NAVIGATION (DESKTOP & MOBILE)
---------------------------------------- */
header {
  background: #ffffff;
  box-shadow: 0 4px 34px rgba(41,87,154,0.09);
  margin-bottom: 30px;
  position: relative;
  z-index: 200;
  padding-top: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 12px 20px 8px 20px;
}
.main-nav > a img {
  height: 52px;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
}
.main-nav li {
  margin-bottom: 0;
}
.main-nav ul a {
  display: block;
  padding: 9px 15px;
  font-family: "Montserrat", serif;
  font-size: 1rem;
  color: #29579A;
  border-radius: 9px;
  transition: background .18s, color .18s;
}
.main-nav ul a:hover, .main-nav ul a:focus {
  background: #f3f4f8;
  color: #E09121;
}
.main-nav .button.primary {
  margin-left: 24px;
  font-size: 1.02rem;
  min-width: 150px;
  padding: 11px 22px;
}
/* Hamburger for mobile nav */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #29579A;
  cursor: pointer;
  margin: 0 10px 0 0;
  z-index: 320;
}
@media (max-width: 991px) {
  .main-nav ul, .main-nav .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 24px;
    right: 22px;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(41,87,154,0.98);
  z-index: 500;
  padding: 0;
  display: flex;
  flex-direction: column;
  transform: translateX(103vw);
  transition: transform .45s cubic-bezier(0.77,0,0.175,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  color: #fff;
  background: none;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  align-self: flex-end;
  margin: 22px 28px 0 0;
  cursor: pointer;
  z-index: 520;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E09121;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 27px 32px 0 38px;
  gap: 18px;
}
.mobile-nav a {
  font-family: "Montserrat", serif;
  font-size: 1.19rem;
  color: #fff;
  padding: 10px 0 10px 0;
  border-radius: 6px;
  width: 100%;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E09121;
  color: #24324A;
}
/* Animate menu in/out */
.mobile-menu {
  will-change: transform;
}

@media (min-width: 992px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* -----------------------------------------------------
  5. BUTTONS
------------------------------------------------------ */
.button {
  display: inline-block;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: "Montserrat", serif;
  font-weight: 700;
  font-size: 1.05rem;
  background: transparent;
  border: 2px solid #29579A;
  color: #29579A;
  letter-spacing: 0.03em;
  transition: background .18s, color .18s, border-color .18s, box-shadow .16s;
  box-shadow: 0 2px 8px rgba(44,67,104,0.03);
  cursor: pointer;
  margin-top: 8px;
  text-align: center;
  min-width: 120px;
}
.button.primary {
  background: #29579A;
  color: #fff;
  border-color: #29579A;
  box-shadow: 0 2px 16px rgba(41,87,154,0.09);
}
.button.primary:hover, .button.primary:focus {
  background: #24324A;
  color: #E09121;
  border-color: #24324A;
}
.button.secondary {
  background: #fff;
  color: #29579A;
  border: 2px solid #29579A;
}
.button.secondary:hover, .button.secondary:focus {
  background: #E09121;
  color: #fff;
  border-color: #E09121;
}
.button:active {
  transform: scale(0.99);
}

/* Button interactive microinteraction */
.button {
  transition: all .18s cubic-bezier(0.4,0,0.2,1);
}

/* -----------------------------------------------------
  6. HERO & CTA SECTIONS
------------------------------------------------------ */
.hero {
  width: 100%;
  background: linear-gradient(90deg, #f7f8fa 65%, #E1EAF4 100%);
  padding: 70px 0 44px 0;
  margin-bottom: 56px;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 600px;
}
.hero h1 {
  color: #29579A;
  margin-bottom: 16px;
}
.hero p {
  font-family: "Lora", serif;
  color: #232628;
  margin-bottom: 34px;
}
.cta {
  margin-bottom: 0;
  background: #29579A;
  border-radius: 0 0 16px 16px;
  padding: 44px 0 44px 0;
  color: #fff;
  box-shadow: 0 0 30px rgba(41,87,154,0.10);
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #E3EDEE;
  font-size: 1.08rem;
}
.cta .button {
  margin-top: 18px;
}

/* -----------------------------------------------------
  7. FEATURES, TEAM, BENEFITS & FLEX LAYOUTS
------------------------------------------------------ */
.features, .about-preview, .services-preview, .testimonials, .benefits, .about, .team, .why-us, .salon-overview, .equipment, .pet-experience, .contact-details, .contact-form, .location-map, .privacy-policy, .gdpr-info, .terms, .thank-you, .care-stories, .testimonial-highlights, .discounts, .info, .pricing-table, .process, .cookie-policy {
  margin-bottom: 60px;
  padding: 40px 0;
}
.features {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 20px rgba(44,67,104,0.08);
}
.features h2 {
  margin-bottom: 10px;
}
.features .feature-grid {
  gap: 28px;
}
.features .feature-grid > div {
  background: #f7f8fa;
}

.team-profiles{
  gap: 32px;
  justify-content: flex-start;
}

.benefits ul, .why-us ul, .services-preview ul, .info ul, .about-preview ul, .care-stories ul, .salon-overview ul, .equipment ul, .pet-experience ul, .contact-form ul, .service-categories ul {
  margin-top: 10px;
  margin-bottom: 16px;
  font-size: 1.04rem;
  line-height: 1.62;
  color: #29579A;
}
li {
  margin-bottom: 10px;
}

.service-categories {
  flex-direction: column;
  gap: 18px;
}

.process ol {
  padding-left: 1.4em;
  margin-bottom: 18px;
  color: #24324A;
}

/* -----------------------------------------------------
  8. PRICING TABLES
------------------------------------------------------ */
.pricing-table table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.pricing-table th, .pricing-table td {
  border-bottom: 1px solid #E0E2E6;
  padding: 12px 22px;
  text-align: left;
  font-size: 1rem;
  background: #fff;
}
.pricing-table th {
  color: #29579A;
  background: #F6FAFE;
  font-size: 1.04rem;
  font-family: "Montserrat", serif;
  letter-spacing: 0.04em;
}

/* -----------------------------------------------------
  9. RATINGS, TESTIMONIALS, SLIDERS
------------------------------------------------------ */
.testimonials .testimonial-slider, .testimonial-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 8px;
}
.ratings {
  margin-top: 24px;
  color: #E09121;
  font-family: "Montserrat", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

/* -----------------------------------------------------
  10. FOOTER
------------------------------------------------------ */
footer {
  background: #f7f8fa;
  border-top: 1.5px solid #d3d5db;
  padding-top: 34px;
}
footer section {
  padding: 28px 0 12px 0;
}
footer .container {
  max-width: 1160px;
  margin: 0 auto;
}
footer .content-wrapper {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
footer a img {
  height: 38px;
  margin-bottom: 8px;
}
footer ul {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  justify-content: center;
}
footer ul a {
  font-family: "Montserrat", serif;
  color: #29579A;
  font-size: 0.97rem;
  padding: 7px 10px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
footer ul a:hover, footer ul a:focus {
  background: #29579A;
  color: #fff;
}
footer .mini-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
  align-items: center;
  font-size: 0.99rem;
}
footer .mini-contact p {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #27314a;
}
footer .mini-contact img {
  width: 17px; height: 17px;
}

/* -----------------------------------------------------
  11. COOKIE CONSENT BANNER
------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: #24324A;
  color: #fff;
  font-family: "Lora", serif;
  box-shadow: 0 -2px 30px rgba(41,87,154,0.13);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 20px 18px;
  font-size: 1.07rem;
  border-radius: 16px 16px 0 0;
  animation: cookieBannerSlideIn 0.6s cubic-bezier(0.68,-0.55,0.27,1.55);
}
@keyframes cookieBannerSlideIn {
  0% { transform: translateY(100%); opacity: 0; }
  60% { transform: translateY(-11px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .button {
  min-width: 108px;
  margin: 0 5px;
  padding: 10px 19px;
  font-size: 1rem;
}
.cookie-banner .button.accept {
  background: #E09121;
  border-color: #E09121;
  color: #24324A;
}
.cookie-banner .button.accept:hover, .cookie-banner .button.accept:focus {
  background: #29579A;
  border-color: #29579A;
  color: #fff;
}
.cookie-banner .button.reject {
  background: #fff;
  border-color: #fff;
  color: #24324A;
}
.cookie-banner .button.reject:hover, .cookie-banner .button.reject:focus {
  background: #E09121;
  border-color: #E09121;
  color: #fff;
}
.cookie-banner .button.settings {
  background: #29579A;
  border-color: #29579A;
  color: #fff;
}
.cookie-banner .button.settings:hover, .cookie-banner .button.settings:focus {
  background: #E09121;
  border-color: #E09121;
  color: #24324A;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,50,74,0.82);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-dialog {
  background: #fff;
  padding: 40px 24px 28px 24px;
  border-radius: 18px;
  min-width: 330px;
  max-width: 95vw;
  box-shadow: 0 9px 34px rgba(41,87,154,0.17);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  font-family: "Lora", serif;
  color: #24324A;
  animation: modalPop 0.33s cubic-bezier(0.73,0.01,0.21,1.07);
}
@keyframes modalPop {
  0% { transform: scale(0.87); opacity: 0; }
  90% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 17px; right: 17px;
  color: #E09121;
  background: none;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  z-index: 1002;
  transition: color 0.12s;
}
.cookie-modal-close:hover {
  color: #29579A;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0 5px 0;
}
.cookie-category label {
  font-size: 1.07rem;
  font-weight: 600;
  color: #29579A;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #E09121;
}
.cookie-category input[type="checkbox"][disabled] {
  filter: grayscale(0.7) opacity(0.7);
  cursor: not-allowed;
}
.cookie-category.essential label {
  color: #24324A;
}
.cookie-modal .button {
  margin-top: 6px;
  margin-right: 10px;
}

/* -----------------------------------------------------
  12. RESPONSIVE & FLEXBOX: MOBILE-FIRST
------------------------------------------------------ */
@media (max-width: 1200px) {
  .container {
    padding: 0 16px;
  }
}
@media (max-width: 991px) {
  .main-nav {
    padding-right: 10px;
    gap: 14px;
  }
  .footer .content-wrapper {
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid, .team-profiles, .testimonial-slider {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  .main-nav > a img {
    height: 35px;
  }
  .features, .about-preview, .services-preview, .testimonials, .benefits, .about, .team, .why-us, .salon-overview, .equipment, .pet-experience, .privacy-policy, .gdpr-info, .terms, .thank-you, .care-stories, .testimonial-highlights, .discounts, .info, .pricing-table, .process, .cookie-policy {
    padding: 22px 0 22px 0;
    margin-bottom: 34px;
  }
  .hero {
    padding: 44px 0 33px 0;
    margin-bottom: 38px;
  }
  .cta {
    padding: 32px 0 32px 0;
    border-radius: 0 0 12px 12px;
  }
  .card, .testimonial-card, .feature-grid > div, .service-categories > div, .team-profiles > div {
    min-width: unset;
    width: 100%;
    padding: 20px 14px;
  }
  .feature-grid, .team-profiles, .testimonial-slider {
    flex-direction: column;
    gap: 14px;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 16px;
    align-items: flex-start;
  }
  .footer .mini-contact {
    font-size: 0.92rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.32rem;
    margin-bottom: 12px;
  }
  h3 {
    font-size: 1.12rem;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 13px;
  }
  .section, .features, .testimonials {
    padding: 16px 0 16px 0;
  }
  .cta {
    padding: 15px 0 20px 0;
  }
  .testimonial-card {
    padding: 12px 7px;
    font-size: 1rem;
  }
  .cookie-modal-dialog {
    min-width: unset;
    width: 94vw;
    padding: 18px 6px 12px 16px;
  }
}

/* -----------------------------------------------------
  13. MISC FIXES, MICROINTERACTIONS
------------------------------------------------------ */
::-webkit-scrollbar {
  width: 8px;
  background: #f2f4f8;
}
::-webkit-scrollbar-thumb {
  background: #e0e5ef;
  border-radius: 4px;
}

hr {
  border: 0;
  height: 1px;
  background: #e0e5ef;
  margin: 32px 0;
}

::selection {
  background: #FFDEA7;
  color: #29579A;
}

/* Visually hidden for accessibility */
.visually-hidden {
  position: absolute;
  overflow: hidden !important;
  clip: rect(1px,1px,1px,1px);
  height: 1px; width: 1px;
  white-space: nowrap;
}

/* Table style for accessibility/contrast */
table {
  background: #fff;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(44,67,104,0.05);
}

/* -----------------------------------------------------
  14. ELEGANT CLASSIC STYLE: EXTRAS
------------------------------------------------------ */
.section, .card, .testimonial-card, .feature-item, .cta, .container, .content-wrapper, .about, .team, .why-us, .services, .process, .benefits {
  box-sizing: border-box;
}

/* Borders, spacing and proportions */
.section, .about, .team, .why-us, .process, .benefits, .care-stories, .privacy-policy, .gdpr-info, .terms, .cookie-policy, .thank-you, .testimonial-highlights {
  border-radius: 16px;
}

/* Subtle insets and hover effect for classical feeling */
.card, .feature-grid > div, .service-categories > div, .team-profiles > div, .testimonial-card {
  border: 1px solid #E4E8EF;
  transition: box-shadow .18s, border-color .18s;
}
.card:hover, .feature-grid > div:hover, .service-categories > div:hover, .team-profiles > div:hover {
  border-color: #29579A33;
  box-shadow: 0 8px 36px rgba(41,87,154,0.1);
}

/* ---------------------------------------------
  15. PRINT & ACCESSIBILITY (OPTIONAL)
---------------------------------------------- */
@media print {
  header, footer, .cookie-banner, .mobile-menu { display: none !important; }
  body { background: #fff; }
}
