/* ===============================================================
   RESET & BASE
================================================================ */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  background: #F4F0E6;
  color: #2C3A4A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #2C3A4A;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #B99848;
  text-decoration: underline;
  outline: none;
}

/* FORM ELEMENTS */
input, button, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
  background: none;
  border: none;
}

/* ================================
   TYPOGRAPHY
================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  color: #2C3A4A;
}
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.18;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 18px;
  line-height: 1.22;
}
h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.25;
}
h4 {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
}

p, ul, ol {
  font-size: 1rem;
  margin-bottom: 1.3em;
}
ul, ol {
  margin-left: 1.2em;
}
ul li, ol li {
  margin-bottom: 0.6em;
}
strong {
  font-weight: 700;
}
.subheadline {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1.125rem;
  color: #324257;
  margin-bottom: 28px;
  font-style: italic;
  letter-spacing: .5px;
}

/* ================================
   CONTAINERS & LAYOUT
================================ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.text-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 28px 0 rgba(44,58,74,0.05);
  padding: 40px 28px;
  margin-bottom: 32px;
}

/* ================================
   HEADER & NAVIGATION
================================ */
header {
  background: #fff;
  border-bottom: 1px solid #E0DABE;
  box-shadow: 0 1px 12px 0 rgba(44,58,74,0.03);
  position: sticky;
  top: 0;
  z-index: 99;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}
.logo-link img {
  height: 48px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: .3px;
  font-weight: 500;
  color: #2C3A4A;
  padding: 4px 8px;
  border-radius: 10px;
  transition: background .15s, color .2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F4F0E6;
  color: #B99848;
}
.cta.primary {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7em 2em;
  border-radius: 25px;
  background: #2C3A4A;
  color: #fff;
  border: 2px solid #2C3A4A;
  text-align: center;
  transition: background .18s, color .18s, border .2s, box-shadow .16s;
  box-shadow: 0 2px 18px 0 rgba(44,58,74,0.06);
  letter-spacing: .3px;
}
.cta.primary:hover, .cta.primary:focus {
  background: #D5B46B;
  color: #2C3A4A;
  border-color: #B99848;
  box-shadow: 0 5px 20px 0 rgba(213,180,107,0.16);
}
.header-bar .cta.primary {
  margin-left: 10px;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #2C3A4A;
  display: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background .17s, color .16s;
  z-index: 102;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #F4F0E6;
  color: #D5B46B;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,58,74,0.93);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 30px 30px 30px;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2em;
  color: #fff;
  background: none;
  border: none;
  margin-bottom: 32px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background .16s, color .16s;
  z-index: 1111;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #D5B46B;
  color: #2C3A4A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: .2px;
  padding: 10px 8px;
  border-radius: 8px;
  transition: background .13s, color .12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fff;
  color: #2C3A4A;
}

/* ================================
   HERO SECTION
================================ */
.hero {
  background: #F4F0E6;
  padding: 40px 0 30px 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  margin-bottom: 46px;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 185px;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 12px;
}

/* ================================
   FEATURES & CARDS
================================ */
.features, .services, .about-team, .about-experience, .cookie-policy, .terms-of-use, .gdpr, .datenschutz, .thank-you, .contact-short, .about, .contact-info {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.card-container, .feature-grid, .service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.card, .feature-box, .service-card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 22px 0 rgba(44,58,74,0.08);
  padding: 32px 22px 27px 22px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 370px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .18s, transform .15s;
  border: 1px solid #E0DABE;
}
.feature-box:hover,
.service-card:hover,
.card:hover {
  box-shadow: 0 10px 34px 0 rgba(213,180,107,0.11);
  transform: translateY(-3px) scale(1.018);
}
.feature-box img {
  width: 46px; height: 46px; margin-bottom: 18px;
}
.price {
  font-family: 'Playfair Display', serif;
  font-size: 1.09rem;
  color: #D5B46B;
  font-weight: 600;
  margin-top: 13px;
}

/* ================================
   TESTIMONIALS
================================ */
.testimonials {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.testimonial-carousel, .testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 18px 0 rgba(44,58,74,0.065);
  padding: 28px 22px 18px 22px;
  margin-bottom: 20px;
  min-width: 270px;
  flex: 1 1 300px;
  border-left: 5px solid #D5B46B;
  color: #2C3A4A;
}
.testimonial-card span {
  font-family: 'Lato', Arial, sans-serif;
  color: #324257;
  font-size: .98rem;
  font-style: italic;
  font-weight: 500;
}
.testimonial-card p {
  font-family: 'Playfair Display', serif;
  font-size: 1.13rem;
  margin-bottom: 0;
  color: #2C3A4A;
}
.testimonial-card div {
  color: #D5B46B;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* ================================
   FOOTER
================================ */
footer {
  background: #2C3A4A;
  color: #fff;
  padding: 32px 0 0 0;
  font-size: 1rem;
  border-top: 8px solid #D5B46B;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  letter-spacing: .3px;
  font-size: 1rem;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background .16s, color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #F4F0E6;
  color: #2C3A4A;
}
.footer-branding {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-bottom: 12px;
}
.footer-branding img {
  height: 36px;
  width: auto;
}
.footer-branding span {
  font-size: 1rem;
  color: #fff;
  font-family: 'Playfair Display', serif;
}

/* ================================
   CONTENT GRIDS & ALIGNMENTS
================================ */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================================
   FORMS & BUTTONS
================================ */
button, .button, .cta {
  transition: background .14s, color .15s, box-shadow .12s, border .13s;
}
.button, .cta {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  border-radius: 25px;
  padding: 0.7em 2em;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}
.cta.secondary {
  background: #fff;
  border: 2px solid #2C3A4A;
  color: #2C3A4A;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #D5B46B;
  color: #2C3A4A;
}

/* ================================
   COOKIE CONSENT BANNER + MODAL
================================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #2C3A4A;
  padding: 22px 18px;
  box-shadow: 0 -2px 26px 0 rgba(44,58,74,0.11);
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: transform .26s cubic-bezier(.7,-0.4,.51,1.58), opacity .16s;
  font-family: 'Lato', Arial, sans-serif;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .cookie-text {
  flex: 2 1 300px;
  font-size: .98rem;
}
.cookie-banner .cookie-action-group {
  display: flex;
  gap: 12px;
}
.cookie-btn {
  border-radius: 22px;
  padding: .5em 1.5em;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  background: #2C3A4A;
  color: #fff;
  border: 2px solid #2C3A4A;
  transition: background .15s, color .14s, border .15s, transform .14s;
  margin-right: 0;
}
.cookie-btn.accept {
  background: #2C3A4A;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #D5B46B;
  color: #2C3A4A;
  border-color: #B99848;
  transform: translateY(-2px) scale(1.045);
}
.cookie-btn.reject {
  background: #fff;
  color: #2C3A4A;
  border: 2px solid #2C3A4A;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #2C3A4A;
  color: #fff;
}
.cookie-btn.settings {
  background: #fff;
  color: #2C3A4A;
  border: 2px solid #D5B46B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #D5B46B;
  color: #2C3A4A;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 12000;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(44,58,74,0.60);
  display: none;
  align-items: center;
  justify-content: center;
  transition: opacity .16s;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 32px 0 rgba(44,58,74,0.18);
  padding: 38px 32px 24px 32px;
  max-width: 420px;
  min-width: 265px;
  width: 90vw;
  color: #2C3A4A;
  font-family: 'Lato', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadeInModal .22s cubic-bezier(.25,.8,.25,1.18);
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(48px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h3 {
  font-family: 'Playfair Display', serif;
  color: #2C3A4A;
  font-size: 1.34rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #E0DABE;
  font-size: 1rem;
}
.cookie-modal .category:last-child {
  border-bottom: none;
}
.cookie-modal .toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-modal .switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 22px;
}
.cookie-modal .switch input {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-modal .slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #E0DABE;
  border-radius: 22px;
  transition: background .18s;
}
.cookie-modal .switch input:checked + .slider {
  background: #D5B46B;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 16px;
  transition: transform .16s;
}
.cookie-modal .switch input:checked + .slider:before {
  transform: translateX(14px);
}
.cookie-modal .locked {
  color: #b3ad97;
  font-size: .95rem;
}
.cookie-close {
  position: absolute;
  top: 17px;
  right: 19px;
  font-size: 1.6rem;
  color: #2C3A4A;
  background: none;
  border: none;
  cursor: pointer;
  transition: color .15s;
}
.cookie-close:hover, .cookie-close:focus {
  color: #D5B46B;
}
.cookie-modal .cookie-modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ================================
   SUPPORTIVE UTILITY CLASSES
================================ */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 1100px) {
  .container {
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 700px;
  }
  .feature-grid, .service-list, .card-container, .testimonial-carousel {
    gap: 16px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  .main-nav {
    display: none;
  }
  .header-bar {
    gap: 16px;
    min-height: 64px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    padding: 34px 0 20px 0;
    min-height: 140px;
  }
  .hero .container {
    min-height: 90px;
  }
  .features, .services, .about-team, .about-experience, .cookie-policy,
  .terms-of-use, .gdpr, .datenschutz, .thank-you, .contact-short, .about, .contact-info, .testimonials {
    padding: 22px 5px;
  }
  .feature-grid,
  .service-list,
  .card-container,
  .testimonial-carousel {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .feature-box, .service-card, .card, .testimonial-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .footer-nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  .content-grid {
    flex-direction: column;
    gap: 15px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 490px) {
  .header-bar {
    flex-direction: row;
    gap: 9px;
    min-height: 56px;
  }
  .logo-link img {
    height: 36px;
  }
  .cta.primary, .button, .cta {
    padding: 0.5em 1.1em;
    font-size: .95rem;
  }
  .footer-branding {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .footer-branding img {
    height: 27px;
  }
}

/* ===== FONTS IMPORT ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@400;500;700&display=swap');
