/* ===================================================================
   CSS RESET & SCANDINAVIAN CLEAN BASELINE
   =================================================================== */
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%; font: inherit; vertical-align: baseline;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
body {
  line-height: 1.5;
  background: #FAF7F3;
  color: #38405F;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ol, ul, dl { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
a { color: inherit; text-decoration: none; }
a:focus { outline: 2px solid #38405F; outline-offset: 2px; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
table { border-collapse: collapse; border-spacing: 0; }

/* ===================================================================
   BRAND COLORS & FONTS (SCANDINAVIAN CLEAN PALETTE)
   =================================================================== */
:root {
  --primary: #38405F;
  --secondary: #E2C6BE;
  --accent: #FFFFFF;
  --body-bg: #FAF7F3;
  --text-main: #38405F;
  --text-light: #7A7A7A;
  --shadow: 0 2px 12px rgba(56,64,95,0.06);
  --border: #E2E6ED;
  --radius: 16px;
  --section-spacing: 60px;
  --container-padding: 20px;
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 40px;
    --container-padding: 14px;
    --radius: 12px;
  }
}

/* ===================================================================
   TYPOGRAPHY (Hierarchy)
   =================================================================== */
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--text-main);
  background: var(--body-bg);
  letter-spacing: 0.01em;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.15;
}
h1 {
  font-size: 2.7rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, ul, ol, dl {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 18px;
}
p.lead {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 20px;
}
blockquote {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.3rem;
  color: var(--primary);
  font-style: italic;
  background: var(--secondary);
  border-left: 4px solid var(--primary);
  padding: 18px 32px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  blockquote { font-size: 1.05rem; padding: 12px 18px; }
}
strong, b { font-weight: 700; }
i, em { font-style: italic; }

/* ===================================================================
   CONTAINER & SECTION LAYOUTS (SCANDINAVIAN CLEAN)
   =================================================================== */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.section {
  margin-bottom: var(--section-spacing);
  padding: 40px var(--container-padding);
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.text-section {
  background: #F7F6F2;
  border-radius: var(--radius);
  padding: 32px 20px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

/* Cards, Grids and Flex Layouts */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--accent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 6px 28px rgba(56,64,95,0.15);
}
.feature-grid, .service-list, .review-highlights ul, .service-highlights ul, .process-overview ol {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.feature-grid > div,
.service-list > div {
  flex: 1 1 240px;
  min-width: 210px;
  background: #FEFEFD;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 1px solid #EEEEEC;
  transition: box-shadow 0.18s, border 0.2s;
}
.feature-grid > div:hover, .service-list > div:hover {
  box-shadow: 0 8px 32px rgba(56,64,95,0.14);
  border: 1.7px solid var(--secondary);
}
.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: 12px;
  padding: 20px 26px;
  background: #FFFFFF;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1.5px solid #E9E2DC;
  margin-bottom: 24px;
  font-size: 1.09rem;
  color: var(--text-main);
  transition: box-shadow 0.18s;
  max-width: 530px;
  position: relative;
}
.testimonial-card p {
  color: var(--text-main);
  margin-bottom: 8px;
}
.testimonial-card span {
  color: var(--text-light);
  font-size: 0.98rem;
  margin-left: 3px;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(56,64,95,0.11);
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.review-highlights ul, .service-highlights ul, .consultation-highlights ul, .additional-resources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.process-overview ol {
  flex-direction: column;
  gap: 10px;
  padding-left: 18px;
}
.process-overview li::marker{ font-size:1rem; color:var(--secondary); }

@media (max-width: 900px) {
  .feature-grid > div, .service-list > div { flex-basis: 44%; }
  .testimonial-slider { flex-direction: column; }
}
@media (max-width: 768px) {
  .section { padding: 30px 6px; }
  .feature-grid, .service-list { gap: 14px; }
  .feature-grid > div, .service-list > div { min-width: 155px; flex-basis: 90%; }
  .testimonial-card { padding: 14px 15px; margin-bottom: 16px; }
  .review-highlights ul, .service-highlights ul, .consultation-highlights ul { gap:12px 0; flex-direction: column; }
  .text-image-section { flex-direction: column; gap: 18px; }
  .container { padding: 0 5px; }
}

/* ===================================================================
   HEADER & NAVIGATION
   =================================================================== */
header {
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--container-padding);
  border-bottom: 1.2px solid var(--secondary);
  position: relative;
  z-index: 40;
}
header img[alt="Herzklang Hochzeiten"] {
  width: 172px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-left: 32px;
}
.main-nav a {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--text-main);
  padding: 8px 0px;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--primary);
  text-decoration: underline 2px var(--secondary);
}
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--accent)!important;
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.07rem;
  padding: 11px 30px;
  border: none;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(56,64,95,0.13);
  transition: background 0.20s, box-shadow 0.23s, color 0.20s;
  cursor: pointer;
  margin-left: 32px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--secondary);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(56,64,95,0.13);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.0rem;
  color: var(--primary);
  margin-left: 36px;
  z-index: 99;
  line-height: 1;
  transition: color 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: var(--secondary);
}

@media (max-width: 1024px) {
  .main-nav { gap: 17px; margin-left: 15px; }
  .btn-primary { margin-left: 12px; padding: 10px 22px; font-size: 1rem; }
}

@media (max-width: 850px) {
  .main-nav { display: none !important; }
  .btn-primary { display: none !important; }
  .mobile-menu-toggle { display: inline-block; }
  header {
    flex-wrap: wrap;
    padding: 12px 6px;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #FFF7F3;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55);
  box-shadow: 0 0 80px rgba(56,64,95,0.12);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.1rem;
  color: var(--primary);
  position: absolute;
  top: 19px; right: 23px;
  padding: 4px;
  z-index: 1001;
  cursor: pointer;
  transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--secondary);
}
.mobile-nav {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 76px 28px 16px 36px;
}
.mobile-nav a {
  font-size: 1.2rem;
  color: var(--primary);
  padding: 12px 0;
  width: 100%;
  border-radius: 10px;
  transition: background 0.19s, color 0.18s;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
.mobile-nav a:active, .mobile-nav a:hover {
  background: var(--secondary);
  color: var(--primary);
}
@media (min-width: 851px) {
  .mobile-menu { display: none!important; }
}

/* Slide-in/out animation for mobile menu */
@media (max-width: 850px) {
  body.mobile-menu-open { overflow: hidden; }
}

/* ===================================================================
   MAIN CONTENT
   =================================================================== */
main {
  margin-top: 0;
}
section {
  margin-bottom: var(--section-spacing);
  width: 100%;
}
br { line-height: 2.2em; }

/* Headings and lead paragraphs */
.content-wrapper h1, .content-wrapper h2 {
  margin-top: 0;
}
.content-wrapper h1 {
  margin-bottom: 12px;
}
.content-wrapper h2 {
  margin-bottom: 9px;
}
.content-wrapper p.lead {
  margin-bottom: 18px;
  color: var(--primary);
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
ul li, ol li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 0.6em;
}
ul li:before {
  content: '\2022';
  display: inline-block;
  color: var(--secondary);
  font-size: 1.1em;
  margin-right: 0.5em;
  vertical-align: -0.1em;
}
ul li b, ul li strong {
  color: var(--primary);
}
dt {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.1em;
  color: var(--primary);
  margin-top: 14px;
  margin-bottom: 2px;
  font-weight: 600;
}
dd {
  color: var(--text-light);
  margin-bottom: 10px;
  margin-left: 0px;
  font-size: 1em;
  padding-left: 16px;
}

/* FAQ Section List (dl) */
.faq-list {
  margin-top: 15px;
  margin-bottom: 19px;
}
.faq-list dt {
  cursor: pointer;
  transition: color 0.2s;
}
.faq-list dt:hover {
  color: var(--secondary);
}
.faq-list dd {
  border-left: 3px solid var(--secondary);
  padding: 8px 0 8px 18px;
  background: #FFFAF8;
  color: var(--text-main);
  border-radius: 0 7px 7px 0;
  margin-bottom: 8px;
}

/* Links in content */
.content-wrapper a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.15s;
}
.content-wrapper a:hover, .content-wrapper a:focus {
  color: var(--secondary);
  text-decoration: underline;
}

/* List bullets for checklists/completion (4af for review etc.) */
.review-highlights ul li:first-child {
  color: #F3C95A;
  font-weight: 600;
}

/* Contact snippet/icons */
.contact-snippet p, .contact-info p, .contact-instructions p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--text-main);
}
.contact-snippet img, .contact-info img, ul li img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  filter: grayscale(35%) saturate(70%);
}

/* ===================================================================
   FOOTER
   =================================================================== */
footer {
  background: #F5EFEB;
  padding-top: 36px; padding-bottom: 16px;
  border-top: 1.6px solid var(--secondary);
  font-size: 0.97rem;
  margin-top: 56px;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px;
  justify-content: space-between;
  padding: 0 6px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  flex-direction: column;
  min-width: 180px;
}
.footer-nav a {
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.19s;
}
.footer-nav a:hover {
  color: var(--secondary);
  text-decoration: underline;
}
.contact-info, .brand-credits {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand-credits {
  align-items: flex-end;
}
.brand-credits img {
  width: 70px; margin-bottom: 8px; filter: grayscale(18%) opacity(87%);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    text-align: left;
  }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 12px 22px; }
  .brand-credits { align-items: flex-start; margin-top: 8px; }
}

/* ===================================================================
   BUTTONS & MICRO-INTERACTIONS
   =================================================================== */
button, .btn-primary {
  transition: background 0.18s, color 0.18s, box-shadow 0.20s, border 0.18s;
}
button:focus-visible, .btn-primary:focus-visible {
  outline: 2px solid var(--primary)!important;
  outline-offset: 2px;
}

/* Alternative Buttons for modals/cookie banner etc. */
.btn-secondary {
  background: var(--secondary);
  color: var(--primary);
  padding: 9px 24px;
  border: none;
  border-radius: 21px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-right: 12px;
  transition: background 0.16s, color 0.13s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--accent);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.2px solid var(--secondary);
  padding: 8px 20px;
  border-radius: 21px;
  font-size: 1rem;
  transition: background 0.14s, color 0.13s, border 0.15s;
}
.btn-outline:hover, .btn-outline:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
}

/* ===================================================================
   COOKIE CONSENT BANNER
   =================================================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #FFFFFF;
  box-shadow: 0 -4px 24px rgba(56,64,95,0.07);
  border-top: 1.5px solid var(--secondary);
  padding: 28px 16px 24px 18px;
  display: flex;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
  z-index: 2001;
  font-size: 1rem;
  transition: transform 0.28s cubic-bezier(.7,0,.22,1.08), opacity 0.19s;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner.hidden {
  opacity: 0; pointer-events: none;
  transform: translateY(100%);
}
.cookie-banner__text {
  color: var(--primary);
  flex-shrink: 1;
}
.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary, .cookie-banner .btn-outline {
  min-width: 110px;
  padding: 9px 16px;
  font-size: 1rem;
  border-radius: 20px;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 8px 10px 8px;
    gap: 8px;
    font-size: 0.98rem;
  }
  .cookie-banner__actions {
    gap: 7px;
    width: 100%;
  }
}

/* Cookie settings modal */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(56,64,95,0.07);
  z-index: 3002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.22s cubic-bezier(.74,-0.07,.37,1.04);
}
.cookie-modal.hidden {
  opacity: 0; pointer-events: none;
}
.cookie-modal__inner {
  background: #FFFFFF;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(56,64,95,0.22);
  max-width: 430px;
  width: 100%;
  padding: 28px 24px 18px 24px;
  position: relative;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3004;
}
.cookie-modal__close {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 1.55rem;
  color: var(--primary);
  background: none; border: none;
  cursor: pointer;
}
.cookie-modal__close:hover, .cookie-modal__close:focus { color: var(--secondary); }
.cookie-modal__categories {
  display: flex; flex-direction: column; gap: 16px; margin: 18px 0 5px 0;
}
.cookie-modal__category {
  display: flex; align-items: center; gap: 10px;
}
.cookie-modal__category label, .cookie-modal__category span {
  font-size: 1.06rem;
  color: var(--text-main);
}
.cookie-modal__category input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 19px; height: 19px;
  border-radius: 9px;
}

.cookie-modal__save {
  margin-top: 16px;
  gap: 8px;
}

/* Always indicate Essential cookies as disabled */
.cookie-modal__category input[disabled] {
  filter: grayscale(70%);
  cursor: not-allowed;
}
.cookie-modal__category input[disabled] + label {
  opacity: 0.65;
}

/* ===================================================================
   ANIMATIONS
   =================================================================== */
.section, .card, .content-wrapper, .feature-grid > div, .testimonial-card, .service-list > div, .footer-content, .cookie-banner, .btn-primary, .btn-secondary, .cookie-modal__inner {
  transition: box-shadow 0.25s, background 0.18s, border 0.16s, color 0.17s;
}

/* Subtle button scale animation on press */
.btn-primary:active, .btn-secondary:active, .btn-outline:active {
  transform: scale(0.97);
}

/* Fade-in on load */
body {
  animation: bodyfadein 0.85s cubic-bezier(.4,0,.18,1.09);
}
@keyframes bodyfadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ===================================================================
   ACCESSIBILITY & MISC
   =================================================================== */
[tabindex="0"]:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
::-webkit-input-placeholder { color: #AAA; }
::-moz-placeholder { color: #AAA; }
:-ms-input-placeholder { color: #AAA; }
::placeholder { color: #AAA; }

/* Hide scrollbars in overlays on mobile */
@media (max-width: 600px) {
  .cookie-modal__inner { max-width: 98vw; padding: 16px 7vw 10px 7vw; }
}

/* ===================================================================
   UTILITY CLASSES
   =================================================================== */
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mb-20 { margin-bottom: 20px; }
.mt-12 { margin-top: 12px; }

/* ===================================================================
   PRINT STYLES (Optional)
   =================================================================== */
@media print {
  header, nav, .mobile-menu, .cookie-banner, .footer-content, .btn-primary, .btn-secondary, .btn-outline { display: none !important; }
  main, section, .container, .content-wrapper { box-shadow: none !important; background: #FFFFFF !important; color: #000 !important; }
}
