/* =====================================================
   Scandinavian Clean – Herzensflüstern Hochzeiten
   Comprehensive CSS for all pages
   Font family: 'Playfair Display', 'Open Sans', fallback fonts
   Color palette: #20202A (primary), #D2B8A0 (secondary), #FFFFFF (accent)
   ==================================================== */

/* -------- CSS RESET & BOX SIZING -------- */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, a, button, input, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
}
img, picture, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  cursor: pointer;
  border: none;
}
:focus {
  outline: 2px solid #D2B8A0;
  outline-offset: 3px;
}

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

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #20202A;
  background: #FAFAF8;
  line-height: 1.63;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #20202A;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }

p, li, dd {
  font-size: 1rem;
  color: #3C3C3C;
}

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.35rem; }
  body { font-size: 17px; }
}
/* --------------------------------------------------- */

/* --------- HEADER & NAVIGATION --------- */
header {
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 2px 16px rgba(220,200,175,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 72px;
}
header .logo {
  margin-right: 28px;
  display: flex;
  align-items: center;
  padding: 10px 0 10px 10px;
}
header .logo img {
  height: 52px;
  width: auto;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 1 0%;
}
.main-nav a {
  font-size: 1.02rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #20202A;
  padding: 12px 0;
  position: relative;
  transition: color 0.18s;
  letter-spacing: 0.2px;
}
.main-nav a:hover,
.main-nav a:focus {
  color: #D2B8A0;
}

.btn-primary {
  font-size: 1.02rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 600;
  color: #FFFFFF;
  background: #D2B8A0;
  border-radius: 40px;
  padding: 10px 28px 10px 28px;
  margin-left: 20px;
  box-shadow: 0 2px 10px rgba(80,68,45,0.06);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  border: none;
  display: inline-block;
  text-align: center;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #C7A576;
  color: #FFF;
  box-shadow: 0 6px 24px rgba(80,68,45,0.12);
  transform: translateY(-2px) scale(1.03);
}

/* --------- MOBILE NAV --------- */
.mobile-menu-toggle {
  
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 16px;
  font-size: 2rem;
  background: #FAFAF8;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: #20202A;
  border: 1px solid rgba(220,200,175,0.15);
  transition: background 0.22s, color 0.22s, box-shadow 0.18s;
  z-index: 103;
  box-shadow: 0 2px 6px rgba(80,68,45,0.07);
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F5F1ED;
  color: #D2B8A0;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,241,237,0.98);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.43s cubic-bezier(.57,.15,.41,1), opacity 0.4s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.mobile-menu button.mobile-menu-close {
  align-self: flex-end;
  margin: 18px 22px 10px 0;
  font-size: 2.5rem;
  color: #20202A;
  background: none;
  border-radius: 100%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(220,200,175,0.12);
  transition: background 0.2s;
}
.mobile-menu button.mobile-menu-close:hover,
.mobile-menu button.mobile-menu-close:focus {
  background: #EDE9E3;
  color: #D2B8A0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  width: 100%;
  padding-left: 32px;
  gap: 18px;
}
.mobile-nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #20202A;
  padding: 16px 0 16px 0;
  border-bottom: 1px solid #EFE9E3;
  width: 85%;
  transition: color 0.19s;
  border-radius: 6px;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  color: #D2B8A0;
  background: #FFF;
}


/* ------- Hide/show nav depending on viewport ------- */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 992px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  header {
    justify-content: flex-start;
    padding: 0 40px;
  }
}

/* -------- CONTAINER UTILITIES -------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ---------- SECTION & SPACING UTILITIES ---------- */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 1px 9px rgba(120,120,105,0.06);
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 370px;
}
.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;
  background: #FFF;
  box-shadow: 0 2px 18px rgba(150,110,60,0.08);
  border-radius: 14px;
  min-height: 120px;
  margin-bottom: 24px;
  flex-direction: column;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ----------- FLEX RESPONSIVE HELPERS ------------ */
@media (max-width: 768px) {
  .content-grid, .feature-grid, .card-container, .text-image-section {
    flex-direction: column !important;
    gap: 16px;
  }
  section{
    padding: 36px 7px;
    margin-bottom: 36px;
  }
}

/* ----------- HERO SECTIONS ----------- */
.hero, .hero-about, .hero-services, .hero-gallery, .hero-ablauf, .hero-faq, .hero-kontakt, .thank-you {
  background: #F9F7F3;
  border-radius: 16px;
  box-shadow: 0 6px 36px rgba(150,120,64,0.03);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  min-height: 280px;
  justify-content: center;
}
.hero h1,
.hero-about h1,
.hero-services h1,
.hero-gallery h1,
.hero-ablauf h1,
.hero-faq h1,
.hero-kontakt h1,
.thank-you h1 {
  color: #20202A;
  font-size: 2.2rem;
}
.hero p,
.hero-about p,
.hero-services p,
.hero-gallery p,
.hero-ablauf p,
.hero-faq p,
.hero-kontakt p,
.thank-you p {
  max-width: 700px;
  margin-bottom: 16px;
}
.hero .btn-primary,
.hero-about .btn-primary,
.hero-services .btn-primary,
.hero-gallery .btn-primary,
.hero-ablauf .btn-primary,
.hero-faq .btn-primary {
  margin-top: 16px;
}
@media (min-width: 768px) {
  .hero h1,
  .hero-about h1,
  .hero-services h1,
  .hero-gallery h1,
  .hero-ablauf h1,
  .hero-faq h1,
  .hero-kontakt h1,
  .thank-you h1 {
    font-size: 2.8rem;
  }
}
@media (max-width: 500px) {
  .hero, .hero-about, .hero-services, .hero-gallery, .hero-ablauf, .hero-faq, .hero-kontakt, .thank-you {
    padding: 22px 7px;
    border-radius: 10px;
    min-height: 160px;
  }
  .hero h1,
  .hero-about h1,
  .hero-services h1,
  .hero-gallery h1,
  .hero-ablauf h1,
  .hero-faq h1,
  .hero-kontakt h1,
  .thank-you h1 {
    font-size: 1.55rem;
  }
}

/* ---------- FEATURES & CARDS ---------- */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.feature-card {
  background: #FFF;
  border-radius: 13px;
  box-shadow: 0 2px 14px rgba(144,119,80,0.04);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 180px;
  flex: 1 1 220px;
  max-width: 312px;
  transition: box-shadow 0.18s, transform 0.18s;
  margin-bottom: 20px;
  border: 1px solid #EEE8E1;
}
.feature-card img {
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
}
.feature-card h3{
  margin-bottom: 6px;
  color: #20202A;
}
.feature-card p {
  color: #3C3C3C;
}
.feature-card:hover,
.feature-card:focus-within {
  box-shadow: 0 6px 22px rgba(120,100,44,0.09);
  transform: translateY(-3px) scale(1.03);
  border-color: #D2B8A0;
}

/* ---------- SECTION: SERVICES TABLE & LIST ---------- */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.service-list li {
  background: #FFF;
  border-radius: 11px;
  box-shadow: 0 1px 8px rgba(200,170,122,0.03);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.service-list h3 {
  color: #20202A;
  font-size: 1.125rem;
  margin-bottom: 7px;
}
.service-table {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 32px;
}
.service-table table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 1rem;
  background: #FFF;
  border-radius: 11px;
  box-shadow: 0 2px 15px rgba(200,170,122,0.08);
  overflow: hidden;
}
.service-table th, .service-table td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid #EEE8E1;
  color: #20202A;
  font-family: 'Open Sans', Arial, sans-serif;
}
.service-table th {
  background: #F9F7F3;
  font-weight: 600;
}
.service-table tr:last-child td {
  border-bottom: none;
}

/* --------- TIMELINE/STEPS --------- */
.step-timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 22px 0;
}
.step-timeline li {
  background: #FFF;
  border-radius: 11px;
  box-shadow: 0 2px 12px rgba(180,147,100,0.07);
  padding: 22px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 320px;
  margin-bottom: 18px;
  border-left: 4px solid #D2B8A0;
}
.step-timeline li img {
  width: 35px;
  height: 35px;
}

@media (max-width: 900px) {
  .step-timeline {
    flex-direction: column;
    gap: 16px;
  }
}

/* --------- ABOUT BRAND VALUES --------- */
.brand-values .text-section ul {
  margin-left: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.brand-values .text-section li {
  padding-left: 0;
  background: none;
  color: #20202A;
}

/********* TEXT SECTIONS & UL / DL *********/
.text-section {
  margin-bottom: 12px;
}
.text-section ul {
  padding-left: 0;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.text-section li {
  padding-left: 0;
  background: none;
  color: #20202A;
}
.text-section a {
  color: #D2B8A0;
  text-decoration: underline;
  transition: color 0.18s;
}
.text-section a:hover,
.text-section a:focus {
  color: #A68240;
}

/* FAQ STYLES */
.faq-list dl {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-list dt {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 5px;
  color: #20202A;
  font-weight: 600;
  background: #EFE9E3;
  padding: 14px 16px 7px 16px;
  border-radius: 7px 7px 0 0;
}
.faq-list dd {
  background: #FFF;
  padding: 12px 16px 18px 32px;
  border-radius: 0 0 8px 8px;
  margin-bottom: 12px;
  color: #444;
}

/* ----------- TESTIMONIALS ---------- */
.testimonials {
  background: #FAFAF8;
}
.testimonial-card {
  box-shadow: 0 2px 18px rgba(210,184,160,0.08);
  border-left: 5px solid #D2B8A0;
  margin-bottom: 28px;
  background: #FFF;
  color: #20202A;
  max-width: 700px;
  transition: box-shadow 0.18s;
}
.testimonial-card p {
  font-size: 1.08rem;
  font-style: italic;
  color: #3C3C3C;
}
.testimonial-card .testimonial-meta {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
  margin-top: 10px;
  font-size: 1rem;
  color: #72583C;
  flex-wrap: wrap;
}
.testimonial-card span:last-child {
  color: #D2B8A0;
  font-size: 1.06rem;
  letter-spacing: 1.5px;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 7px 28px rgba(120,60,24,0.13);
  border-left-color: #C7A576;
}

/* ---------- CONTACT & MAP PLACEHOLDER ---------- */
.map-placeholder {
  padding: 16px 20px;
  background: #F9F7F3;
  border-radius: 10px;
  margin-bottom: 16px;
  color: #20202A;
  font-size: 1em;
  box-shadow: 0 1px 7px rgba(180,150,100,0.03);
  border: 1px solid #EEE8E1;
}

/* --------- FOOTER --------- */
footer {
  background: #FAFAF8;
  padding: 34px 0 18px 0;
  border-top: 1px solid #EFE9E3;
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.footer-nav a{
  color: #7B6855;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.98rem;
  padding: 4px 9px;
  border-radius: 7px;
  transition: background 0.1s, color 0.1s;
}
.footer-nav a:hover,
.footer-nav a:focus{
  background: #EFE9E3;
  color: #20202A;
}
.footer-copy {
  text-align: center;
  font-size: 0.95rem;
  color: #928570;
  margin: 16px 0 0 0;
}

/* ---------- COOKIE CONSENT BANNER --------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #EEE8E1;
  color: #20202A;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 32px rgba(120, 90, 40, 0.09);
  padding: 16px 10px;
  gap: 17px;
  font-size: 1rem;
  animation: slideUpCookie 0.5s;
}
@keyframes slideUpCookie {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  padding: 8px 22px;
  font-size: 0.97rem;
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  margin-right: 4px;
  margin-bottom: 0px;
  box-shadow: 0 1px 4px rgba(180, 140, 80, 0.01);
  transition: background 0.15s, color 0.12s, transform 0.10s;
}
button.cookie-accept {
  background: #D2B8A0;
  color: #FFF;
}
button.cookie-accept:hover {
  background: #A68240;
}
button.cookie-decline {
  background: #FFFAF3;
  color: #20202A;
  border: 1px solid #D2B8A0;
}
button.cookie-decline:hover {
  background: #EDE9E3;
  color: #A68240;
}
button.cookie-settings {
  background: #ECE8E3;
  color: #20202A;
  border: 1px solid #D2B8A0;
}
button.cookie-settings:hover {
  background: #FEFEFC;
  color: #A68240;
}

/* ------- COOKIE CONSENT MODAL --------- */
.cookie-modal {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(30,25,20,0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1051;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.29s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 430px;
  width: 93vw;
  padding: 34px 28px 26px 28px;
  box-shadow: 0 6px 56px rgba(150,120,80,0.11);
  display: flex;
  flex-direction: column;
  gap: 19px;
  position: relative;
  animation: slideDownModal 0.5s;
}
@keyframes slideDownModal {
  from { transform: translateY(-36px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-header {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #20202A;
}
.cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  color: #D2B8A0;
  background: none;
  font-size: 1.4rem;
  border-radius: 50%;
  border: none;
  width: 36px; height: 36px;
  transition: background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #F5F1ED;
  color: #A68240;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  justify-content: flex-start;
  margin-bottom: 5px;
}
.cookie-category input[type=checkbox] {
  accent-color: #D2B8A0;
}
.cookie-category label {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #20202A;
  font-size: 1rem;
}
.cookie-category.essential label {
  opacity: 0.66;
}
.cookie-modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 13px;
}

@media(max-width: 470px){
  .cookie-modal-content{padding: 19px 7px 13px 7px;}
  .cookie-modal-header{font-size:1.04rem;}
}

/* ========== RESPONSIVE LAYOUT UTILITIES ========= */
@media (max-width: 700px){
  .footer-nav { gap: 6px; }
  .feature-grid, .step-timeline, .content-grid, .card-container {
    gap: 16px;
  }
}

/* --------- BUTTONS GENERIC -------- */
button, .btn-primary {
  outline: none;
  transition: box-shadow 0.15s, background 0.12s, color 0.13s;
}
button:active, .btn-primary:active {
  box-shadow: 0 1px 3px rgba(20,20,17,0.11);
}

/* --------- TABLE BASE STYLES --------- */
table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  text-align: left;
  vertical-align: top;
}

/* -------- SPECIAL CLASSES FROM HTML -------- */
.about-home h2,.about-section h2,.brand-values h2{margin-bottom:16px;}

/***** Miscellaneous Utility *****/
.mt-1{margin-top:8px;}
.mt-2{margin-top:16px;}
.mt-3{margin-top:24px;}
.mb-1{margin-bottom:8px;}
.mb-2{margin-bottom:16px;}
.mb-3{margin-bottom:24px;}

/* Hide visually only */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
}

/* ==============================================
   END OF MAIN CSS
   ============================================ */