/* Prismline Haze Hochzeiten - VINTAGE_RETRO FLEXBOX CSS STYLE */

/* ========================================================= */
/* 1. RESET & NORMALIZE */
/* ========================================================= */

html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  background: #F3EEE7;
  color: #3C3D66;
  line-height: 1.65;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  letter-spacing: 0.015em;
}
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: #695D91;
  transition: color 0.18s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #3C3D66;
  text-decoration: underline;
}

ul, ol {
  margin: 0 0 24px 24px;
  padding: 0;
}
li {
  margin-bottom: 8px;
  font-size: 1.05em;
}
strong {
  font-weight: 700;
}
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  color: #3C3D66;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px #E6E1F0;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; letter-spacing: 0.018em; margin-bottom: 20px; }
h2 { font-size: 1.8rem; margin-bottom: 14px; }
h3 { font-size: 1.3rem; margin-bottom: 9px; }
h4, h5 { font-size: 1rem; }
p {
  margin-bottom: 14px;
  font-size: 1.1rem;
  color: #3C3D66;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp .7s cubic-bezier(.36,.49,.17,1) forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: none; }
}

/* ========================================================= */
/* 2. VINTAGE RETRO COLOR PALETTE + PATTERNS */
/* ========================================================= */
:root {
  --color-primary: #3C3D66;
  --color-primary-dark: #24253d;
  --color-secondary: #E6E1F0;
  --color-accent: #695D91;
  --color-accent-light: #968DAB;
  --color-bg: #F3EEE7;
  --color-bg-section: #FDF7F0;
  --color-vintage1: #F7E2B8; /* Muted gold */
  --color-vintage2: #A67860; /* Rustic brown */
  --color-vintage3: #E0BAB6; /* Soft pink/peach */
  --color-vintage4: #C9C397; /* Olive/gold */
}

body {
  background: var(--color-bg);
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-bg-section);
  border-radius: 18px;
  box-shadow: 0 6px 30px 0 rgba(60,61,102,0.07);
  position: relative;
}

.container {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (max-width: 1120px) {
  .container {
    max-width: 97vw;
    padding: 0 5vw;
  }
}

/* Classic RETRO pattern for sections (optional, subtle) */
.section:before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  opacity: .14;
  background: repeating-linear-gradient(135deg, var(--color-vintage1) 0 2px, transparent 2px 20px);
  border-radius: 18px;
  z-index: 1;
}
.section > * { position: relative; z-index: 2; }

/* ========================================================= */
/* 3. HEADER - MAIN NAVIGATION */
/* ========================================================= */
header {
  background: var(--color-primary);
  color: var(--color-secondary);
  border-bottom: 6px solid var(--color-vintage1);
  position: relative;
  z-index: 40;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 8px 0;
}
.main-nav > a img {
  height: 44px;
  margin-right: 38px;
  mix-blend-mode: multiply;
  filter: brightness(0.91) sepia(0.19) hue-rotate(-9deg) contrast(1.08);
}
.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
}
.main-nav ul li a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  padding: 8px 19px;
  border-radius: 6px;
  color: #FDF7F0;
  transition: background 0.15s;
  font-weight: 500;
  border: none;
}
.main-nav ul li a:hover,
.main-nav ul li a:focus {
  background: var(--color-vintage1);
  color: var(--color-primary);
}
.button-primary {
  background: var(--color-vintage2);
  color: #fff!important;
  font-weight: 700;
  border-radius: 24px;
  border: none;
  padding: 10px 28px;
  font-family: 'Playfair Display', serif;
  font-size: 1.13em;
  box-shadow: 0 3px 10px 0 rgba(60,61,102,.13);
  cursor: pointer;
  transition: background 0.22s, transform 0.17s, color 0.19s;
  text-shadow: 0 1px 0 #533c2e22;
}
.button-primary:hover,
.button-primary:focus {
  background: var(--color-vintage3);
  color: var(--color-primary)!important;
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 6px 24px 0 rgba(60,61,102,0.17);
}
.button-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-vintage1);
  padding: 8px 24px;
  border-radius: 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02em;
  font-weight: 600;
  margin-top: 12px;
  transition: background .18s, color .16s, border .21s;
  cursor: pointer;
}
.button-secondary:hover,
.button-secondary:focus {
  background: var(--color-vintage1);
  color: var(--color-primary);
  border-color: var(--color-accent-light);
}

/* ========================================================= */
/* 4. MOBILE BURGER MENU */
/* ========================================================= */
.mobile-menu-toggle {
  display: none;
  background: var(--color-vintage2);
  color: #fff;
  font-size: 2.1rem;
  border: none;
  border-radius: 14px;
  padding: 5px 14px;
  margin-left: 12px;
  cursor: pointer;
  box-shadow: 0 3px 15px 0 rgba(166,120,96,0.15);
  z-index: 151;
  transition: background .17s, color .12s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--color-vintage4);
  color: var(--color-primary);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  left: 100vw;
  width: 100vw;
  height: 100vh;
  background: var(--color-bg-section);
  box-shadow: -3px 0 24px 0 rgba(60,61,102,0.13);
  z-index: 2000;
  opacity: 0;
  transition: left .37s cubic-bezier(.64,-0.09,.63,1.17), opacity .22s;
}
.mobile-menu.active {
  left: 0;
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-primary-dark);
  font-size: 2.7rem;
  font-weight: 700;
  align-self: flex-end;
  margin: 24px 24px 2px 0;
  cursor: pointer;
  z-index: 2101;
  transition: color .18s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 28px;
  gap: 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary-dark);
  padding: 20px 34px;
  font-size: 1.18em;
  width: 100%;
  transition: background .12s, color .16s;
  border-bottom: 1px solid #e4d5bf44;
  letter-spacing: 0.025em;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--color-vintage2);
  color: #fff;
}

@media (max-width: 1000px) {
  .main-nav ul {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ========================================================= */
/* 5. HERO & GENERIC CONTENT WRAPPER FLEX PATTERNS */
/* ========================================================= */
.content-wrapper,
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.content-wrapper {
  /* For inside .section, acts like a card */
  background: rgba(255,255,255,0.94);
  border-radius: 14px;
  padding: 32px 24px;
  box-shadow: 0 2px 22px 0 rgba(60,61,102,0.07);
  margin-top: 14px;
  margin-bottom: 20px;
  z-index: 2;
}
.text-section {
  background: none;
  box-shadow: none;
  padding: 0;
}

/* List icon styling for index/kontakt */
ul li img {
  display: inline-block;
  width: 24px;
  margin-right: 8px;
  vertical-align: middle;
  filter: sepia(.34) hue-rotate(-12deg) saturate(0.7);
}

/* ========================================================= */
/* 6. FLEX LAYOUTS: section spacing and reusable flex containers */
/* ========================================================= */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 12px rgba(60,61,102,0.12);
  border-radius: 10px;
  min-width: 260px;
  flex: 1 1 260px;
}
.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: 20px;
  padding: 20px;
  min-width: 250px;
  max-width: 540px;
  background: #fffbea;
  border: 2px solid var(--color-vintage1);
  border-radius: 17px;
  box-shadow: 0 2px 11px 0 rgba(166,120,96,0.085);
  margin-bottom: 20px;
  margin-right: 20px;
  margin-top: 0;
  transition: box-shadow .2s, border-color .2s;
}
.testimonial-card span {
  color: var(--color-vintage2);
  font-size: 1.03em;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
}
.testimonial-card p {
  color: #241D18;
  font-size: 1.09em;
  letter-spacing: 0.011em;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  border-color: var(--color-vintage2);
  box-shadow: 0 6px 20px 0 rgba(166,120,96,0.15);
  z-index: 3;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
}

/* ========================================================= */
/* 7. CARD STYLES, HIERARCHY & CTAS */
/* ========================================================= */
.card {
  background: #fff;
  border: 1px solid #f5ede2;
  border-radius: 14px;
  box-shadow: 0 1.5px 12px 0 #3c3d6610;
  transition: box-shadow .18s, border-color .18s;
  padding: 20px 18px 18px 18px;
}
.card:hover,
.card:focus-within {
  border-color: var(--color-vintage3);
  box-shadow: 0 6px 20px 0 #a6786024;
  z-index: 2;
}

/* Blog articles */
.content-wrapper article {
  background: #fffdf7;
  border-radius: 14px;
  box-shadow: 0 2px 13px #e6e1f03a;
  margin-bottom: 20px;
  padding: 26px 21px 15px 22px;
  color: #3C3D66;
  border-left: 7px solid var(--color-vintage3);
  transition: border-color .15s, box-shadow .15s;
  position: relative;
}
.content-wrapper article h3 {
  margin-bottom: 7px;
  color: var(--color-vintage2);
  font-size: 1.18rem;
  font-family: 'Playfair Display', serif;
}
.content-wrapper article a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: underline;
  font-size: 1.08em;
}
.content-wrapper article:hover,
.content-wrapper article:focus-within {
  border-left-color: var(--color-accent);
  box-shadow: 0 6px 21px 0 #abaab0a3;
}

/* ========================================================= */
/* 8. BUTTONS & INTERACTIONS */
/* ========================================================= */
.button-primary,
.button-secondary {
  display: inline-block;
  text-align: center;
  min-width: 129px;
  margin-right: 20px;
  margin-top: 10px;
}
.button-primary:active {
  transform: scale(0.98);
}
.button-secondary:active {
  background: var(--color-vintage2);
  color: #fff;
}

/* General link underline reveal for retro accent effect */
a:not(.button-primary):not(.button-secondary) {
  position: relative;
}
a:not(.button-primary):not(.button-secondary)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 3px;
  height: 3px;
  background: var(--color-vintage3);
  opacity: 0.6;
  border-radius: 1.5px;
  transition: transform .18s cubic-bezier(.46,.03,.52,1.24), opacity .15s;
  transform: scaleX(0);
  z-index: 1;
}
a:not(.button-primary):not(.button-secondary):hover::after,
a:not(.button-primary):not(.button-secondary):focus::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ========================================================= */
/* 9. FOOTER */
/* ========================================================= */
footer {
  background: var(--color-primary);
  padding: 44px 0 30px 0;
  color: #fff;
  border-top: 7px solid var(--color-vintage3);
  position: relative;
  z-index: 30;
}
footer p {
  color: white;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
  font-size: 1.05em;
}
.footer-nav a {
  color: #fff;
  opacity: 0.93;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: opacity .16s, color .15s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--color-vintage1);
  opacity: 1;
}
.footer-contact {
  margin-bottom: 13px;
  font-size: 0.99em;
  color: #f2eeea;
}
.footer-contact a {
  color: #F7E2B8;
  text-decoration: underline;
}
.footer-branding {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  font-size: 1em;
  font-family: 'Playfair Display', serif;
}
.footer-branding img {
  height: 36px;
}

/* ========================================================= */
/* 10. COOKIE CONSENT BANNER & MODAL */
/* ========================================================= */
.cookie-consent-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: #3C3D66;
  color: #fff;
  padding: 26px 18px 26px 18px;
  box-shadow: 0 -5px 40px 0 #968dab13;
  font-size: 1.05em;
  border-radius: 18px 18px 0 0;
  transition: transform .45s cubic-bezier(.6,0,0,1), opacity .28s;
  gap: 23px;
}
.cookie-consent-banner.hide {
  display: none;
}
.cookie-consent-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent-banner button {
  border: none;
  border-radius: 16px;
  font-size: 1em;
  padding: 8px 23px;
  margin: 0 4px;
  cursor: pointer;
  font-family: 'Montserrat', Arial, sans-serif;
  box-shadow: 0 1px 7px #00000020;
  transition: background .14s, color .12s;
}
.cookie-accept {
  background: var(--color-vintage4);
  color: var(--color-primary);
  font-weight: 700;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--color-vintage1);
  color: #3C3D66;
}
.cookie-reject {
  background: var(--color-vintage2);
  color: #fff;
  font-weight: 600;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-vintage3);
  color: var(--color-primary);
}
.cookie-settings {
  background: none;
  border: 2px solid var(--color-vintage1);
  color: var(--color-vintage1);
  font-weight: 600;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-vintage1);
  color: var(--color-primary);
}

/* Cookie modal overlay */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 4010;
  background: rgba(51,46,42,0.37);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.active {
  display: flex;
}
.cookie-modal {
  background: #fffdf7;
  border-radius: 16px;
  padding: 38px 24px 30px 24px;
  max-width: 410px;
  width: 92%;
  box-shadow: 0 2px 38px 0 #a6786026;
  border: 2px solid var(--color-vintage2);
  font-size: 1.098em;
  color: #3C3D66;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 4012;
}
.cookie-modal h3 {
  font-size: 1.25em;
  margin-bottom: 11px;
  color: var(--color-primary-dark);
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 11px;
  font-size: 1.02em;
}
.cookie-category input[type="checkbox"] {
  width: 22px; height: 22px;
  accent-color: var(--color-vintage4);
}
.cookie-category label {
  font-weight: 600;
}
.cookie-close-modal {
  background: none;
  border: none;
  color: var(--color-vintage2);
  font-size: 2rem;
  position: absolute;
  top: 12px; right: 12px;
  cursor: pointer;
  z-index: 4014;
}
.cookie-close-modal:hover,
.cookie-close-modal:focus {
  color: var(--color-primary);
}

/* ========================================================= */
/* 11. RESPONSIVE DESIGN / FLEXBOX BREAKPOINTS */
/* ========================================================= */
@media (max-width: 900px) {
  .content-wrapper { padding: 20px 8px; }
  .section { padding: 26px 6px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.18rem; }
  .main-nav > a img {
    height: 34px;
    margin-right: 19px;
  }
}
@media (max-width: 768px) {
  .section { padding: 20px 2px; margin-bottom: 34px; }
  .content-wrapper { padding: 14px 2px; }
  .card { min-width: 93vw; max-width: 99vw; }
  .card-container, .content-grid, .text-image-section {
    flex-direction: column;
    gap: 12px;
  }
  .footer-branding,
  .footer-nav {
    flex-direction: column;
    gap: 9px;
    align-items: flex-start;
  }
  .testimonial-card {
    max-width: 100vw;
    font-size: .98em;
    margin-right: 0;
  }
  .mobile-menu {
    width: 100vw;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.27rem; }
  .footer-branding img { height: 22px; }
  .main-nav > a img { height: 27px; margin-right: 8px; }
}

/* ========================================================= */
/* 12. RETRO/VINTAGE ACCENTS & QUIRK */
/* ========================================================= */
.section, .content-wrapper, .card, .testimonial-card {
  box-shadow: 0 1.5px 10px 0 #a6786035;
  border-radius: 14px;
}

/* Stylized page highlights for retro look */
.section h2 {
  background: var(--color-vintage1);
  padding: 7px 28px 7px 9px;
  display: inline-block;
  border-radius: 10px;
  box-shadow: 3px 3px 0 #E0BAB6, 0 1px 8px #e0bab62c;
  color: var(--color-primary-dark);
  font-size: 1.33em;
  margin-bottom: 18px;
  text-shadow: none;
}

/* Stylized ordered lists for steps */
ol {
  list-style: decimal inside;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-vintage2);
  font-size: 1.09em;
  line-height: 1.7;
}
ol li {
  margin-bottom: 10px;
}

/* Stylized unordered lists for features */
ul {
  list-style: disc inside;
  color: #3C3D66;
  font-size: 1em;
  line-height: 1.8;
}

/* Misc accessibility & print tweaks */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ========================================================= */
/* 13. MISC UTILS & HIDE/SHOW CLASSES */
/* ========================================================= */
.hide { display: none!important; }

/* ========================================================= */
/* END - FLEXBOX ONLY / NO DISPLAY: GRID */
/* ========================================================= */