/* =======================================================================
   Luftmoment Hochzeiten — SOFT PASTEL UI FRAMEWORK (CSS only, no Grid)
   Author: Luftmoment Senior CSS/UI Team — 2024
   ======================================================================= */

/*=== RESET & NORMALIZE ===*/
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}
body {
  line-height: 1.6;
  background: #F8F6F2;
  color: #20405A;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.4em;
}
h1, h2, h3, h4, h5, h6 {
  color: #20405A;
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
h5, h6 { font-size: 1rem; }
p, ul, ol, address {
  margin-bottom: 1.1em;
  font-size: 1.05rem;
}
address {
  font-style: normal;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  margin-top: 1.1em;
  color: #3c536a;
}
a {
  color: #387db3;
  text-decoration: none;
  transition: color 0.22s;
}
a:focus {
  outline: 2px solid #A6C3BE;
  outline-offset: 2px;
}
a:hover {
  color: #20405A;
  text-decoration: underline;
}

/*=== ROOT PASTEL COLORS FOR BRAND ===*/
:root {
  --color-primary: #20405A;
  --color-secondary: #A6C3BE;
  --color-accent: #F8F6F2;
  --color-pastel-peach: #ffeae4;
  --color-pastel-blue: #bcdff1;
  --color-pastel-pink: #f7cedc;
  --color-pastel-mint: #d6f4ef;
  --color-pastel-yellow: #FFF2CC;
  --color-light-grey: #f3f5f7;
  --color-green: #6fc9a3;
  --color-error: #e99098;
  --color-shadow-soft: rgba(186, 195, 220, 0.13);
}

/* Pastel backgrounds for sections (used in alternation) */
.pastel-bg-peach { background: var(--color-pastel-peach); }
.pastel-bg-blue { background: var(--color-pastel-blue); }
.pastel-bg-pink { background: var(--color-pastel-pink); }
.pastel-bg-mint { background: var(--color-pastel-mint); }
.pastel-bg-yellow { background: var(--color-pastel-yellow); }

/*=== CONTAINER & FLEX LAYOUTS ===*/
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
}

/* Core Section Spacing (mobile-first) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* Flex layout containers as per requirements */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 2px 14px var(--color-shadow-soft);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.18s cubic-bezier(.64,0,.78,.41), box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(170,188,210,0.19);
}

.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; /* for mobile alignment */
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fffbea;
  box-shadow: 0 2px 12px var(--color-shadow-soft);
  border-radius: 18px;
  color: #20405A;
  font-size: 1.12rem;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-card span, .testimonial-card em {
  color: #397a64;
  font-size: 0.97rem;
  margin-top: 8px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

ul, ol {
  margin-bottom: 1.2em;
}
ul li, ol li {
  margin-bottom: 0.5em;
  font-size: 1rem;
  padding-left: 0.2em;
}

/*=== HEADER & MAIN NAVIGATION ===*/
header {
  background: white;
  box-shadow: 0 5px 35px -18px var(--color-shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background 0.17s, color 0.17s;
}
header nav a:hover, header nav a.active {
  background: var(--color-secondary);
  color: #20405A;
}

header img {
  height: 48px;
  width: auto;
}

.button.primary {
  background: var(--color-secondary);
  color: #20405A;
  border-radius: 30px;
  padding: 10px 28px;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  outline: none;
  cursor: pointer;
  border: none;
  transition: background 0.16s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 7px var(--color-shadow-soft);
}
.button.primary:hover, .button.primary:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 32px rgba(168,205,213,0.23);
}
.button {
  background: var(--color-pastel-pink);
  color: var(--color-primary);
  border-radius: 28px;
  padding: 10px 26px;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin: 8px 0;
  transition: background 0.19s, color 0.18s;
}
.button:hover, .button:focus {
  background: var(--color-secondary);
  color: #20405A;
}

/*=== MOBILE BURGER MENU ===*/
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  padding: 0;
  font-size: 2rem;
  color: #20405A;
  background: var(--color-secondary);
  border: none;
  border-radius: 50%;
  z-index: 304;
  position: absolute;
  top: 20px;
  right: 28px;
  transition: background 0.21s;
  box-shadow: 0 1px 7px var(--color-shadow-soft);
  cursor: pointer;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-primary);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 100vw; /* hidden by default */
  width: 100vw; height: 100vh;
  background: rgba(248,246,242, 0.96);
  z-index: 400;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 0;
  transition: transform 0.36s cubic-bezier(0.64,0,0.36,1), left 0s 0.36s;
  box-shadow: 0 7px 38px 0px rgba(150,180,220,0.16);
}
.mobile-menu.active {
  left: 0;
  transform: translateX(0);
  transition: transform 0.37s cubic-bezier(0.59,0.63,0.57,1.16);
}
.mobile-menu .mobile-menu-close {
  display: inline-block;
  background: var(--color-secondary);
  color: #20405A;
  border: none;
  font-size: 2rem;
  padding: 12px 18px;
  border-radius: 50%;
  margin: 24px 16px 0 0;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.18s;
}
.mobile-menu .mobile-menu-close:hover, .mobile-menu .mobile-menu-close:focus {
  background: var(--color-primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 23px;
  width: 100%;
  align-items: flex-start;
  margin-top: 28px;
  padding-left: 38px;
}
.mobile-nav a {
  color: #20405A;
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1.125rem;
  padding: 12px 0;
  border-radius: 7px;
  width: 100%;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-pastel-blue);
  color: #18436b;
}

@media (max-width: 1024px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }
  header nav {
    gap: 16px;
  }
}
@media (max-width: 898px) {
  header .container a.button.primary {
    display: none;
  }
}
@media (max-width: 768px) {
  header nav, .footer nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 769px) {
  .mobile-menu-toggle, .mobile-menu { display: none !important; }
  header nav, .footer nav { display: flex !important; }
}

/*=== HERO / CTA ===*/
.hero {
  background: linear-gradient(135deg, var(--color-pastel-pink) 0%, var(--color-pastel-blue) 95%);
  padding: 72px 0 38px 0;
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  min-height: 300px;
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.hero h1 {
  font-size: 2.2rem;
  color: #18436b;
  margin-bottom: 0.5em;
  font-family: 'Playfair Display', serif;
}
.hero p {
  max-width: 600px;
  color: #274968;
}

.cta {
  background: var(--color-pastel-mint);
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 1px 18px var(--color-shadow-soft);
  padding: 48px 20px 42px 20px;
  margin-bottom: 60px;
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #18436b;
}
.cta a.button, .cta a.button.primary {
  margin-top: 24px;
}

/*=== FEATURES & CARDS ===*/
.features .container ul,
.services-overview .container ul,
.services-details .container ul,
.about-team .container ul,
.brand-difference .container ul,
.blog-features .container ul,
.creative-signature .container ul {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  align-items: stretch;
  list-style: none;
}
.features .container ul li,
.services-overview .container ul li,
.services-details .container ul li,
.about-team .container ul li,
.brand-difference .container ul li,
.blog-features .container ul li,
.creative-signature .container ul li {
  background: var(--color-accent);
  border-radius: 15px;
  box-shadow: 0 1px 14px var(--color-shadow-soft);
  padding: 28px 20px;
  min-width: 250px;
  max-width: 370px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.15s, transform 0.15s;
  margin-bottom: 20px;
}
.features .container ul li:hover, .services-details .container ul li:hover, .about-team .container ul li:hover, .creative-signature .container ul li:hover {
  box-shadow: 0 7px 22px rgba(180,185,200,0.19);
  transform: translateY(-2px) scale(1.025);
}
.features img, .card img, .services-details img, .about-team img, .creative-signature img {
  height: 44px;
  margin-bottom: 8px;
  max-width: 48px;
}
.features h3, .services-details h3, .about-team h3, .brand-difference h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
  color: #287875;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

/*=== FOOTER ===*/
footer {
  background: #F8F6F2;
  border-top: 1px solid #e6eae7;
  padding: 40px 0 24px 0;
  font-size: 0.97rem;
  color: #20405A;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}
.footer-brand {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.footer-brand img {
  height: 48px;
}
footer nav {
  flex: 2 1 350px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
footer nav a {
  color: #20405A;
  font-size: 1rem;
  padding: 7px 10px;
  border-radius: 4px;
  transition: background 0.13s;
}
footer nav a:hover {
  background: var(--color-pastel-mint);
}
.footer-contact {
  flex: 2 1 240px;
  color: #397a64;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact img {
  height: 17px;
  width: 17px;
  margin-right: 9px;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-contact {
    margin-top: 12px;
    gap: 8px;
  }
}

/*=== LEGAL/INFO SECTIONS ===*/
.legal .container {
  padding: 40px 0;
}
.legal .content-wrapper {
  background: var(--color-accent);
  border-radius: 14px;
  box-shadow: 0 1px 14px var(--color-shadow-soft);
  padding: 36px 22px;
}

/*=== TEXT SECTION (Contact, GDPR, etc.) ===*/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.text-section img {
  height: 22px;
  width: 22px;
  margin-right: 7px;
  vertical-align: text-bottom;
}

/*=== RESPONSIVE FLEX DIRECTION ===*/
@media (max-width: 768px) {
  .content-grid,
  .card-container,
  .card-content,
  .footer .container,
  .text-image-section {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 17px !important;
  }
  .hero {
    padding: 54px 0 17px 0;
    min-height: 180px;
  }
  .cta {
    padding: 28px 14px 24px 14px;
  }
  section {
    margin-bottom: 44px;
    padding: 26px 12px;
  }
}

/*=== COOKIE CONSENT BANNER & MODAL ===*/
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #fff7ec 0%, #e7fbfa 100%);
  box-shadow: 0 9px 33px 0px rgba(162,190,197,0.22);
  border-radius: 18px;
  z-index: 4010;
  width: calc(100vw - 32px);
  max-width: 470px;
  padding: 30px 24px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: opacity 0.25s, bottom 0.24s;
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  bottom: 8px;
}
.cookie-banner p {
  font-size: 0.97rem;
  color: #284568;
  margin-bottom: 0.7em;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}
.cookie-banner .button, .cookie-banner .button.primary {
  border-radius: 20px;
  font-size: 1rem;
  padding: 8px 23px;
  box-shadow: 0 0.5px 3px var(--color-shadow-soft);
}
.cookie-banner .button.primary {
  background: var(--color-secondary);
  color: #20405A;
}
.cookie-banner .button {
  background: #f7ded9;
  color: #97525a;
}
.cookie-banner .button:hover, .cookie-banner .button:focus {
  background: var(--color-pastel-mint);
  color: #287a5e;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 4100;
  top: 0; left: 0;width: 100vw;height: 100vh;
  background: rgba(122,146,160,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: var(--color-accent);
  border-radius: 22px;
  min-width: 320px;
  max-width: 96vw;
  padding: 36px 28px 19px 28px;
  box-shadow: 0 12px 44px 0px rgba(172, 210, 227, 0.23);
  z-index: 4111;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: fadeInDown 0.41s cubic-bezier(.44, 1.02, .61, 1.24);
}
@keyframes fadeInDown {
  from { transform: translateY(-42px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal h2, .cookie-modal h3 {
  color: #20405A;
  font-size: 1.26rem;
  margin-bottom: 7px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.cookie-switch {
  position: relative;
  display: inline-flex;
  width: 34px;
  height: 20px;
  margin-left: 6px;
}
.cookie-switch input[type='checkbox'] {
  opacity: 0;
  width: 0; height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  background: var(--color-pastel-blue);
  border-radius: 30px;
  top: 0; left: 0; right: 0; bottom: 0;
  transition: background 0.2s;
}
.cookie-switch input:checked + .cookie-slider {
  background: var(--color-green);
}
.cookie-slider:before {
  position: absolute;
  content: '';
  left: 3px;
  bottom: 3px;
  height: 14px;
  width: 14px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.18s;
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(14px);
}
.cookie-modal .button {
  margin-top: 12px;
  width: 100%;
}

@media (max-width: 678px) {
  .cookie-banner {
    max-width: 99vw;
    padding: 17px 7vw 10px 7vw;
    font-size: 0.97rem;
  }
  .cookie-modal {
    min-width: 97vw;
    padding: 14vw 3vw 6vw 3vw;
  }
}

/*=== ANIMATIONS & MICRO-INTERACTIONS ===*/
.button, .mobile-menu-toggle, .mobile-menu-close {
  transition: background 0.19s, color 0.13s, box-shadow 0.19s, transform 0.17s;
}
.button:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.97);
}

section, .card, .testimonial-card {
  transition: box-shadow 0.21s, background 0.19s, border-color 0.13s;
}

/*=== PLACEHOLDER FOR JS-ACTIVE CLASSES ===*/
.mobile-menu {
  transform: translateX(100vw);
}
.mobile-menu.active {
  transform: translateX(0);
  left: 0;
  box-shadow: 0 6px 60px 0px rgba(170,200,220,0.24);
}

/*=== SPECIAL TYPOGRAPHY & PASTEL ATMOSPHERE ===*/
::selection {
  background: #f7e6e0;
}
/* Paste subtle pastel backgrounds on alternating sections */
section:nth-of-type(even) {
  background: var(--color-pastel-peach);
}
section.about, section.cta, section.testimonials {
  background: var(--color-accent);
}

/* SOFT SHADOWS ALL CARDS */
.card, .testimonial-card, .cta, .legal .content-wrapper {
  box-shadow: 0 2px 14px var(--color-shadow-soft);
}

/* ROUNDING IMAGES, ICONS FOR DREAMY/PASTEL VIBE */
.features img, .feature-item img, .about img, .footer-contact img,
.creative-signature img, .services-details img, .blog-features img {
  background: #fff;
  border-radius: 50%;
  border: 1.5px solid #eae9f5;
  box-shadow: 0 0.5px 2px #e9f3f3;
  padding: 6px;
}

/*=== MEDIA QUERIES — TABLET/LARGER ===*/
@media (min-width: 769px) {
  .hero {
    min-height: 370px;
    padding: 108px 0 60px 0;
  }
  .cta {
    padding: 68px 28px 52px 28px;
  }
  .card { min-width: 320px; }
}

/*=== FORMATTING CHECKLISTS, PROCESS, ETC. ===*/
.process-steps ol {
  margin-bottom: 1.5em;
  padding-left: 1.4em;
  color: #287875;
  font-weight: 700;
}
.process-steps ol li {
  margin-bottom: 0.8em;
  font-weight: 400;
  color: #20405A;
}
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li:before {
  content: '✓ ';
  color: var(--color-green);
  font-size: 1.11em;
  margin-right: 3px;
}

/*=== UTILITIES ===*/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hide { display: none !important; }

/*=== END OF LUFTMOMENT SOFT PASTEL CSS ===*/
