/* =======================================================================
   Scandinavian Clean – Herzklang Hochzeiten Styleguide | style.css
   ======================================================================= */
/* ==== CSS Reset & Base ============ */
html {
  box-sizing: border-box;
  font-size: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #3E3565;
  background: #FFFDF8; /* Very light natural tone */
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  background-attachment: fixed;
  transition: background .3s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #3E3565;
  text-decoration: none;
  transition: color .2s;
}
a:focus, a:hover {
  color: #C0846A;
  outline: none;
  text-decoration: underline;
}
ul, ol {
  margin: 16px 0 16px 20px;
  padding-left: 16px;
}
li {
  margin-bottom: 10px;
}
button, .cta-primary {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  background: none;
  transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #3E3565;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .01em;
}
h1 { font-size: 2.3rem; line-height: 1.15; }
h2 { font-size: 1.7rem; line-height: 1.18; }
h3 { font-size: 1.24rem; line-height: 1.24; }
h4, h5, h6 { font-size: 1.05rem; }
p {
  margin-bottom: 16px;
}
strong { font-weight: 600; }

/* ==== Layout Containers ============= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ==== Section Spacing ==== */
section {
  background: transparent;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== Flexbox: Cards & Features ==== */
.card-container,
.card-grid,
.feature-grid,
.service-list,
.service-grid,
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
/* Custom for 3-column grids */
.feature-grid > div,
.service-list > div,
.service-grid > div {
  flex: 1 1 240px;
  background: #FFFFFF;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(62, 53, 101, .06);
  padding: 28px 22px 22px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 220px;
  margin-bottom: 0;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(62, 53, 101, .07);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ==== Testimonials ==== */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #F8F5F0;
  color: #3E3565;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(62, 53, 101, .07);
  margin-bottom: 24px;
  font-size: 1.06rem;
  line-height: 1.7;
  min-width: 220px;
}
.testimonial-card strong {
  font-size: .94rem;
  color: #945337;
  font-weight: 500;
}

/* ==== Feature List Items ==== */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== Blog/Post List (on blog.html) ==== */
.blog-post-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post-list article {
  flex: 1 1 280px;
  background: #FFFFFF;
  padding: 22px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(200, 132, 106, 0.06);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.category-tags {
  color: #C0846A;
  font-size: 0.96rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ==== Buttons & CTAs ==== */
.cta-primary,
.cta-secondary {
  display: inline-block;
  background-color: #3E3565;
  color: #FFFDF8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1.08rem;
  border-radius: 28px;
  padding: 12px 30px;
  margin-top: 18px;
  margin-bottom: 12px;
  letter-spacing: .04em;
  box-shadow: 0 2px 10px rgba(62, 53, 101, .08);
  border: 2px solid transparent;
  transition: background .18s, color .18s, box-shadow .22s, border .12s;
}
.cta-primary:hover, .cta-primary:focus {
  background-color: #C0846A;
  color: #FFFDF8;
  border-color: #C0846A;
  box-shadow: 0 6px 20px rgba(200, 132, 106, 0.16);
}
.cta-secondary {
  background-color: #E2D4C2;
  color: #3E3565;
  border: 2px solid #945337;
}
.cta-secondary:hover, .cta-secondary:focus {
  background-color: #945337;
  color: #FFFDF8;
  border: 2px solid #945337;
}

button {
  font-size: 1.08rem;
  border-radius: 100px;
  padding: 10px 23px;
  background: #E2D4C2;
  color: #3E3565;
  font-weight: 500;
}
button:focus {
  outline: 2px solid #C0846A;
  outline-offset: 2px;
}

/* =============== HEADER & NAV =============== */
header {
  background: #FFFDF8;
  box-shadow: 0 1px 10px rgba(62, 53, 101, .06);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
  padding: 0 20px;
}
header img[alt="Herzklang Hochzeiten"] {
  height: 50px;
  width: auto;
  margin-right: 32px;
  margin-top: 7px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  color: #3E3565;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background .18s, color .18s;
  margin-right: 0;
}
header nav a.cta-primary {
  background: #C0846A;
  color: #FFFDF8;
  padding: 8px 23px;
  font-weight: 600;
  margin-left: 18px;
  margin-right: 0;
}
header nav a:hover,
header nav a:focus {
  background: #F0ECDF;
  color: #945337;
}
header nav a.cta-primary:hover, header nav a.cta-primary:focus {
  background: #945337;
  color: #FFFDF8;
}
.header-shadow {
  box-shadow: 0 2px 16px rgba(62,53,101,.17);
}

/* =========== MOBILE NAVIGATION ============== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #3E3565;
  margin-left: 16px;
  cursor: pointer;
  z-index: 120;
  transition: color .2s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #945337;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(62,53,101, 0.17);
  z-index: 110;
  transition: background .25s;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu > nav {
  background: #FFFDF8;
  width: 90vw;
  max-width: 340px;
  min-width: 220px;
  height: 100vh;
  padding: 36px 32px 32px 32px;
  box-shadow: 6px 0 32px rgba(62,53,101,0.14);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(-120%);
  transition: transform .35s cubic-bezier(.79,.13,.15,.85);
}
.mobile-menu.open > nav {
  transform: translateX(0%);
  transition: transform .38s cubic-bezier(.9,.3,.18,.8);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  color: #3E3565;
  font-size: 2.2rem;
  z-index: 120;
  border: none;
  cursor: pointer;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: #945337;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a {
  font-size: 1.14rem;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3E3565;
  padding: 14px 6px 14px 0;
  border-radius: 10px;
  font-weight: 500;
  margin-right: 0;
  transition: background .15s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ECE8E0;
  color: #C0846A;
}
@media (max-width: 1060px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  header .container nav {
    gap: 13px;
  }
  .feature-grid > div,
  .service-list > div,
  .service-grid > div {
    min-width: 180px;
    padding: 20px 10px;
  }
}
@media (max-width: 840px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==== Responsive Section, Cards, Testimonial==== */
@media (max-width: 768px) {
  .section {
    margin-bottom: 40px;
    padding: 30px 7px;
  }
  .container {
    padding: 0 7px;
  }
  .content-wrapper {
    padding: 0 4px;
  }
  .feature-grid,
  .service-list,
  .service-grid,
  .card-container,
  .card-grid,
  .blog-post-list {
    flex-direction: column;
    gap: 20px;
  }
  .feature-grid > div,
  .service-list > div,
  .service-grid > div {
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
  }
  .card {
    padding: 18px 7px;
  }
  .testimonial-card {
    flex-direction: column;
    padding: 16px 6px;
    font-size: 1rem;
    gap: 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 1.3rem; }
  h2 { font-size: 1.09rem; }
  .container {
    padding: 0 3px;
  }
  .cta-primary, .cta-secondary, button {
    font-size: 1rem;
    padding: 10px 13px;
  }
}

/* ============== Forms (if present in future) ============= */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 7px;
  border: 1px solid #E2D4C2;
  padding: 10px 12px;
  background: #FFFDF8;
  color: #3E3565;
  margin-bottom: 17px;
  outline: none;
  transition: border .18s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: #C0846A;
}
label {
  display: block;
  margin-bottom: 7px;
  font-family: inherit;
  font-size: .99rem;
}

/* ========== Footer ============== */
footer {
  background: #FAF7F2;
  border-top: 1px solid #ECE8E0;
  font-size: .97rem;
  color: #3E3565;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 36px 20px 23px 20px;
  max-width: 1100px;
}
footer img[alt="Herzklang Hochzeiten"] {
  height: 34px;
  width: auto;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
footer nav a {
  color: #945337;
  text-decoration: none;
  margin-bottom: 2px;
  transition: color .16s;
}
footer nav a:hover, footer nav a:focus {
  color: #C0846A;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #3E3565;
  margin-top: 5px;
}
.footer-contact img {
  height: 1.1em;
  width: 1.1em;
  vertical-align: middle;
  margin-right: 6px;
}
@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    gap: 14px;
    padding: 22px 7px 18px 7px;
  }
  .footer-contact {
    margin-top: 2px;
  }
}

/* ==== Utility: Natural Accent Highlights ==== */
.accent {
  color: #C0846A;
  background: none;
  font-weight: 600;
}
.bg-accent {
  background: #E2D4C2;
  color: #3E3565;
  border-radius: 10px;
  padding: 0 5px;
}

/* ==== Animations ==== */
.cta-primary, .cta-secondary, button {
  transition: background .18s, color .18s, box-shadow .18s, border-color .18s;
}
.card, .testimonial-card, .feature-grid > div, .blog-post-list article {
  transition: box-shadow .32s, background .18s, border .18s;
}
.card:hover, .testimonial-card:hover, .feature-grid > div:hover, .blog-post-list article:hover {
  box-shadow: 0 8px 26px rgba(62, 53, 101, 0.12);
}

/* =========== COOKIE CONSENT BANNER ============= */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: #F8F5F0;
  color: #3E3565;
  border-top: 1px solid #E2D4C2;
  box-shadow: 0 -2px 12px rgba(62,53,101,0.07);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 10px;
  gap: 19px;
  font-size: 1.01rem;
  animation: fadeInCookie .8s cubic-bezier(.89,.03,.29,.9);
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner p {
  margin-bottom: 0;
  margin-right: 12px;
}
.cookie-button {
  background: #C0846A;
  color: #FFFDF8;
  border-radius: 21px;
  padding: 8px 22px;
  font-size: 1rem;
  font-weight: 500;
  margin-left: 10px;
  border: 2px solid transparent;
  transition: background .17s, border-color .15s, color .13s;
  min-width: 115px;
}
.cookie-button.settings {
  background: #E2D4C2;
  color: #945337;
  border: 2px solid #C0846A;
}
.cookie-button:hover, .cookie-button:focus {
  background: #945337;
  color: #FFFDF8;
  border-color: #C0846A;
}
.cookie-button.settings:hover, .cookie-button.settings:focus {
  background: #C0846A;
  color: #FFFDF8;
  border-color: #945337;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 16px 7px;
    font-size: 0.97rem;
  }
}

/* ==== COOKIE PREFERENCES MODAL ==== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2100;
  background: rgba(62,53,101,0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal .3s cubic-bezier(.53,.09,.24,.94);
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #FFFDF8;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(62,53,101,0.08);
  padding: 34px 32px 28px 32px;
  width: 90vw;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  animation: slideUpCookiePref .35s cubic-bezier(.71,.32,.33,.98);
}
@keyframes slideUpCookiePref {
  from { transform: translateY(50px); opacity:0; }
  to   { transform: translateY(0); opacity:1; }
}
.cookie-modal-content h2 {
  margin-bottom: 9px;
  font-size: 1.21rem;
}
.cookie-modal-content label {
  font-size: 1.02rem;
  margin: 8px 0 4px 0;
}
.cookie-modal-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.cookie-modal-category input[type="checkbox"] {
  accent-color: #C0846A;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #3E3565;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 8px;
  z-index: 2200;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #945337;
  background: #ECE8E0;
}
.cookie-modal-actions {
  margin-top: 19px;
  display: flex;
  gap: 13px;
  width: 100%;
  justify-content: flex-end;
}

/* ========== Contact Info Box (kontakt) ========== */
.contact-info {
  background: #FFFFFF;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(62,53,101,.03);
  padding: 22px 13px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact-info img {
  height: 1.15em;
  width: 1.15em;
  vertical-align: middle;
  margin-right: 6px;
}
@media (max-width: 700px) {
  .contact-info {
    padding: 13px 3px;
    gap: 8px;
  }
}

/* ============= Accessibility Tweaks ============ */
:focus-visible {
  outline: 2px solid #C0846A;
  outline-offset: 2px;
}
[tabindex="0"]:focus {
  outline: 2px solid #C0846A;
  outline-offset: 2px;
}

/* ============= Miscellaneous ============ */
hr {
  border: 0;
  border-top: 1px solid #ECE8E0;
  margin: 28px 0;
}
.align-center { text-align: center; }
.align-right { text-align: right; }

/* === Reveal fade animation for micro-interactions === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s, transform .65s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============== Remove Number Arrows (for future forms) =============== */
input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance:textfield; }

/* ============ Print Styles ============= */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  .container, .content-wrapper { padding: 0 !important; max-width: 100% !important; }
  body { background: #fff !important; color: #3E3565 !important; }
}
