/* -----------------------------------------------------
Lichterglanz Hochzeiten Hamburg — Gradient Modern Theme
=======================================================
Mobile-first, flexbox layouts only. No grid/columns!
Brand: #22577A (primary), #F6F5F5 (secondary), #FFD972 (accent)
Fonts: 'Playfair Display', 'Lato'
----------------------------------------------------- */
/* CSS Reset & Normalize */
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;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  background: linear-gradient(120deg, #F6F5F5 0%, #e1ecf7 100%);
  color: #1a222c;
  font-family: 'Lato', Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.7;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #22577A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #FFD972;
  outline: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #22577A;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-top: 0; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.5rem; }
}
p, ul, ol, li { font-size: 1rem; color: #2d3748; }
strong, b { font-weight: 700; }
.subheadline { font-size: 1.15rem; color: #22577A; margin-bottom: 24px; }
.text-section {
  margin-bottom: 24px;
}

/* Container and Section Patterns */
.container {
  width: 100%;
  max-width: 1172px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  background: none;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

/* Navigation Header --------------------------------------------------- */
header {
  background: #fff;
  box-shadow: 0 4px 16px 0 rgba(34,87,122,0.04);
  padding: 0;
  position: relative;
  width: 100%;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
}
header a img {
  height: 48px;
  width: auto;
  margin-right: 16px;
  display: block;
}
/* Main navigation */
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  margin: 0 8px;
}
.main-nav a {
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 500;
  color: #22577A;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.24s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #FFD972;
  border-bottom: 2px solid #FFD972;
}

.cta.primary {
  background: linear-gradient(90deg, #22577A 60%, #4479a4 100%);
  color: #fff;
  font-family: 'Lato', Arial, sans-serif;
  padding: 12px 32px;
  font-size: 1.08rem;
  border-radius: 28px;
  margin-left: 18px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px 0 rgba(34,87,122,0.08);
  transition: background 0.3s, transform 0.1s, box-shadow 0.2s;
  display: inline-block;
  letter-spacing: 0.01em;
}
.cta.primary:hover, .cta.primary:focus {
  background: linear-gradient(90deg, #1a4b68 60%, #FFD972 110%);
  color: #22577A;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 8px 24px 0 rgba(34,87,122,0.10);
}

/* Hide mobile burger by default on desktop */
.mobile-menu-toggle {
  display: none;
}

/* Mobile Menu -------------------------------------------- */
.mobile-menu {
  position: fixed;
  right: 0;
  top: 0;
  width: 100vw;
  max-width: 340px;
  height: 100vh;
  background: #fff;
  box-shadow: -3px 0 24px 0 rgba(34,87,122,0.12);
  z-index: 1500;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.8,0,.2,1);
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  padding: 28px 24px 32px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
  box-shadow: -8px 0 40px 0 rgba(34,87,122,0.20);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #22577A;
  font-size: 2rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFD972;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: #22577A;
  padding: 10px 0;
  font-size: 1.09rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F6F5F5;
  color: #FFD972;
}

/* Responsive Burger Show/Hide */
@media (max-width: 1060px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
    background: #FFD972;
    color: #22577A;
    border: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    font-size: 1.7rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 4px 12px 0 rgba(34,87,122,0.08);
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #22577A;
    color: #fff;
  }
  .header .cta.primary {
    display: none;
  }
}
@media (max-width: 1060px) {
  .cta.primary {
    display: none;
  }
}

/* Main content ------------------------------------------- */
main {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 70vh;
}

/* Card, Grid, Features, Testimonials --------------------- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(34,87,122,0.09);
  padding: 28px 20px;
  margin-bottom: 20px;
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow 0.2s, transform 0.16s;
  gap: 18px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(34,87,122,0.18);
  transform: translateY(-2px) scale(1.02);
}

.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;
  margin-bottom: 20px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #F6F5F5;
  border-radius: 18px;
  box-shadow: 0 1px 8px 0 rgba(34,87,122,0.06);
  padding: 20px 24px;
  margin-bottom: 20px;
  max-width: 650px;
  width: 100%;
  color: #1a222c;
  transition: box-shadow 0.2s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(34,87,122,0.08);
}
.testimonial-meta {
  color: #22577A;
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.01em;
  align-self: flex-end;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  margin: 24px 0 0 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px 0 rgba(34,87,122,0.06);
  padding: 28px 16px;
  flex: 1 1 250px;
  max-width: 340px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.2s, transform 0.16s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 28px 0 rgba(34,87,122,0.13);
  transform: translateY(-2px) scale(1.03);
}
.feature-grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
}
.feature-grid h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: #22577A;
  margin-bottom: 4px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.map-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #F6F5F5 60%, #d5eaff 100%);
  border-radius: 14px;
  margin: 24px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22577AAA;
  font-size: 1.2rem;
}

/* FAQ Accordion and Search Box -------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 32px 0 0 0;
}
.faq-accordion h3 {
  color: #22577A;
  font-size: 1.1rem;
  margin-bottom: 8px;
  cursor: pointer;
}
.faq-accordion p {
  margin-left: 8px;
  color: #2d3748;
}
.search-box {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 420px;
}
.search-box input {
  flex: 2;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  font-size: 1rem;
  font-family: 'Lato', Arial, sans-serif;
  outline: none;
  background: #fff;
  transition: border 0.16s, box-shadow 0.19s;
}
.search-box input:focus {
  border: 1.5px solid #22577A;
  box-shadow: 0 1px 8px 0 rgba(34,87,122,0.08);
}
.search-box button {
  flex: 1;
  padding: 10px 18px;
  background: #FFD972;
  color: #22577A;
  font-size: 1.06rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s, color 0.13s;
}
.search-box button:hover, .search-box button:focus {
  background: #22577A;
  color: #FFD972;
}

/* Footer ------------------------ */
footer {
  background: #22577A;
  color: #F6F5F5;
  margin-top: 40px;
  padding: 44px 0 0 0;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 16px;
  padding-top: 8px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: #FFD972;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact p {
  font-size: 0.97rem;
  color: #f6f5f5;
  line-height: 1.64;
  margin-bottom: 0;
}
.footer-contact a {
  color: #FFD972;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: #fff;
}

/* Cookie Consent Banner ---------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #22577A;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 20px 20px 20px;
  z-index: 3000;
  box-shadow: 0 -4px 28px 0 rgba(34,87,122,0.17);
  font-size: 1rem;
  animation: banner-fade-in 0.7s cubic-bezier(.67,0,.23,1);
}
@keyframes banner-fade-in {
  0% {transform: translateY(24px); opacity: 0;}
  100% {transform: translateY(0); opacity:1;}
}
.cookie-banner p {
  margin-bottom: 0;
  color: #fff;
  text-align: center;
}
.cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-buttons button {
  min-width: 108px;
  font-family: 'Lato', Arial, sans-serif;
  padding: 9px 20px;
  font-size: 1rem;
  border-radius: 24px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.22s, color 0.14s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(34,87,122,0.10);
}
.cookie-buttons .accept {
  background: #FFD972;
  color: #22577A;
}
.cookie-buttons .accept:hover, .cookie-buttons .accept:focus {
  background: #ffe78b;
}
.cookie-buttons .reject {
  background: #fff;
  color: #22577A;
  border: 1px solid #22577A;
}
.cookie-buttons .reject:hover, .cookie-buttons .reject:focus {
  background: #ffefbe;
}
.cookie-buttons .settings {
  background: transparent;
  color: #FFD972;
  border: 1.3px solid #FFD972;
}
.cookie-buttons .settings:hover, .cookie-buttons .settings:focus {
  background: #FFD972;
  color: #22577A;
}

/* Cookie Modal Popup ------------------------------------- */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(17,31,58,0.38);
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in 0.25s cubic-bezier(.67,0,.23,1);
}
@keyframes modal-fade-in {
  from {opacity: 0;}
  to {opacity: 1;}
}
.cookie-modal {
  background: #fff;
  color: #22577A;
  border-radius: 20px;
  box-shadow: 0 8px 36px 0 rgba(34,87,122,0.27);
  min-width: 295px;
  max-width: 98vw;
  width: 395px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 40px 30px 28px 30px;
  animation: modal-content-down 0.4s cubic-bezier(0.87,0,0.13,1);
}
@keyframes modal-content-down {
  0% {transform: translateY(-32px) scale(0.93); opacity:0;}
  100% {transform: translateY(0) scale(1); opacity:1;}
}
.cookie-modal h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.28rem;
  color: #22577A;
  margin-bottom: 18px;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
  color: #22577A;
  font-size: 1rem;
}
.cookie-modal .category-desc {
  color: #2d3748;
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 17px;
  margin-top: 25px;
}
.cookie-modal .modal-actions button {
  min-width: 98px;
  padding: 9px 16px;
  border-radius: 22px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.17s;
}
.cookie-modal .accept {
  background: #FFD972;
  color: #22577A;
}
.cookie-modal .accept:hover {
  background: #ffe78b;
}
.cookie-modal .reject {
  background: #fff;
  color: #22577A;
  border: 1px solid #FFD972;
}
.cookie-modal .reject:hover {
  background: #FFD972;
  color: #22577A;
}
.cookie-modal .close {
  background: transparent;
  color: #22577A;
  border: 1px solid #22577A;
  margin-left: 8px;
}
.cookie-modal .close:hover {
  background: #22577A;
  color: #FFD972;
}
.cookie-modal input[type="checkbox"] {
  accent-color: #22577A;
  width: 22px;
  height: 22px;
  cursor: pointer;
}

/* Contact Details ---------------------------------------- */
.contact-details {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1rem;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 7px;
}
.contact-details img {
  width: 20px;
  height: 20px;
}
address {
  font-style: normal;
  margin: 18px 0 0 0;
  color: #2d3748;
  line-height: 1.6;
  font-size: 0.98rem;
}

/* Misc Utility ------------------------------------------- */
ul, ol {
  margin-left: 18px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
li {
  color: #2d3748;
  font-size: 1rem;
}

hr {
  border: none;
  border-top: 1.5px solid #e1ecf7;
  margin: 32px 0 32px 0;
}

/* Button and CTA styles ---------------------------------- */
.cta, .card a, .footer-contact a {
  display: inline-block;
  background: #FFD972;
  color: #22577A;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  font-size: 1.01rem;
  margin-top: 8px;
  border-radius: 26px;
  border: none;
  box-shadow: 0 2px 10px rgba(34,87,122,0.04);
  transition: background 0.25s, color 0.13s, transform 0.13s;
}
.cta:hover, .card a:hover, .footer-contact a:hover, .cta:focus {
  background: #22577A;
  color: #FFD972;
  transform: translateY(-1px) scale(1.024);
  text-decoration: none;
}

/* Responsive rules --------------------------------------- */
@media (max-width: 980px) {
  .header .container, footer .container {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding: 15px 12px;
  }
  .content-grid, .feature-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .section {
    padding: 28px 6px;
    margin-bottom: 40px;
  }
  .content-wrapper {
    gap: 18px;
  }
  footer {
    padding-top: 0;
  }
  .footer-nav {
    margin-bottom: 8px;
  }
  .footer-contact {
    margin-bottom: 16px;
  }
  .card, .feature-grid li {
    max-width: 100vw;
    min-width: 0;
    padding: 18px 9px;
  }
  .testimonial-card {
    padding: 16px 9px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .mobile-menu {
    padding: 26px 6vw 36px 6vw;
    width: 100vw;
    max-width: 100vw;
  }
  .map-placeholder {
    height: 120px;
  }
}
@media (max-width: 525px) {
  .cookie-modal {
    width: 100vw;
    padding: 28px 10px 18px 10px;
    min-width: 0;
  }
}

/* Animations and Transitions ----------------------------- */
section, .card, .testimonial-card, .feature-grid li, .faq-accordion div {
  transition: box-shadow 0.18s, transform 0.15s, background 0.25s;
}

::-webkit-scrollbar {
  width: 10px;
  background: #f1f3f6;
}
::-webkit-scrollbar-thumb {
  background: #bad5eb;
  border-radius: 6px;
}

/* Accessibility: Improve focus states */
a:focus, button:focus, input:focus, .cta:focus {
  outline: 2px solid #FFD972;
  outline-offset: 2px;
  z-index: 2;
}

/* Forms -------------------------------------------------- */
input, textarea {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #bad5eb;
  border-radius: 12px;
  padding: 10px 14px;
  transition: border 0.18s, box-shadow 0.18s;
  background: #fff;
}
input:focus, textarea:focus {
  border: 1.5px solid #22577A;
  box-shadow: 0 1px 6px 0 rgba(34,87,122,0.09);
}

/* Hide visually (for accessibility checks like cookie modal overlay close) */
.visually-hidden {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px);
  padding:0 !important; border:0 !important; height:1px !important; width:1px !important; overflow:hidden;
}
