/* ----------------- CSS RESET ----------------- */
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; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F0EFE4;
  color: #415165;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #415165;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #BFADC6;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li + li {
  margin-top: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #415165;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 12px; }
h4 { font-size: 1.15rem; }

p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
strong, b { font-weight: 700; }
em, i { font-style: italic; }

/* ---------- CONTAINER AND LAYOUT ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  margin-bottom: 0px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 8px;
}

/* ---------- CREATIVE ARTISTIC COLORS & FONTS ---------- */
:root {
  --primary: #415165;
  --secondary: #BFADC6;
  --accent: #F0EFE4;
  --white: #fff;
  --black: #151B26;
  --brand-gradient-top: #e8c3cc;
  --brand-gradient-bottom: #bfe0e6;
  --shadow: 0 6px 32px 0 rgba(64,64,100,0.08), 0 1.5px 6px 0 rgba(0,0,0,0.02);
  --radius-lg: 20px;
  --radius: 12px;
  --focus: #fed558;
  --danger: #d75c6e;
  --success: #6bb586;
}

body, input, textarea, select, button {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, .cta-btn {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ---------- HEADER & NAVIGATION ---------- */
header {
  background: var(--white);
  box-shadow: 0 4px 24px 0 rgba(64,81,101,0.11);
  padding: 0;
  position: relative;
  z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}
header img[alt="Serendip Journey Hochzeitsagentur"] {
  height: 48px;
  width: auto;
  margin-right: 16px;
  transition: transform 0.2s;
}
header img:hover {
  transform: scale(1.05) rotate(-2deg);
}
header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  color: var(--primary);
  border-radius: 8px;
  padding: 5px 10px;
  transition: background 0.18s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
header .cta-btn {
  margin-left: 14px;
}

.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--accent);
  font-weight: bold;
  padding: 13px 32px;
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 20px 0 rgba(191,173,198,0.10);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  border: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.2s, box-shadow 0.2s;
  text-shadow: 0 2px 10px #fff1, 0 1px 0 #fff6;
  text-align: center;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px 0 #bfaad766, 0 1.5px 6px 0 rgba(0,0,0,0.10);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 2rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 1002;
  margin-left: 18px;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  color: var(--secondary);
  outline: 2px solid var(--secondary);
}

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--primary) 65%, var(--secondary) 100%);
  color: var(--white);
  z-index: 1006;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(100vw);
  transition: transform 0.4s cubic-bezier(.9,.1,.1,1);
  box-shadow: 0 6px 80px 0 rgba(65,81,101,0.14);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2.3rem;
  background: transparent;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  padding: 30px 30px 10px 18px;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  color: var(--focus);
  outline: none;
}
.mobile-nav {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 20px 30px 20px 38px;
}
.mobile-nav a {
  color: var(--accent);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  padding: 10px 0;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.16);
  color: var(--focus);
}

@media (max-width: 1020px) {
  header .container {
    flex-wrap: wrap;
    min-height: 74px;
    gap: 0 8px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .cta-btn {
    margin-left: 0;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
}
@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ---------- SECTIONS & FLEX LAYOUTS ---------- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius-lg);
}
@media (max-width: 600px) {
  .section { padding: 24px 10px; margin-bottom: 44px; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  flex: 1 1 280px;
  min-width: 250px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 10px 40px 0 rgba(191,173,198,0.20);
  transform: translateY(-6px) scale(1.02);
  z-index: 3;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: stretch;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

.feature-grid, .step-grid, .faq-list, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
}
.feature-grid > div, .step-grid > div {
  flex: 1 1 210px;
  min-width: 200px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  position: relative;
  transition: box-shadow 0.15s, transform 0.15s;
  margin-bottom: 20px;
}
.feature-grid > div:hover, .step-grid > div:hover {
  box-shadow: 0 16px 40px 0 #bfaad747;
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-6px) scale(1.025) rotate(-1.5deg);
}
.feature-grid img, .step-grid span {
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 16px #bfaad733;
  background: var(--white);
}
.step-grid span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--secondary);
  align-items: center;
  justify-content: center;
  background: var(--accent);
  margin-bottom: 10px;
  font-weight: bold;
}

.faq-list {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}
.faq-list h3 {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .feature-grid, .step-grid, .content-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid > div, .step-grid > div { min-width: 0; }
}

/* ---------- TESTIMONIALS ---------- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px 20px 22px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: 0 2px 24px 0 #bfaad726;
  margin-bottom: 22px;
  min-width: 260px;
  transition: box-shadow 0.18s, background 0.18s;
}
.testimonial-card:hover {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 6px 30px #bfaad748;
  transform: scale(1.04) rotate(-0.5deg);
}
.testimonial-card p {
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.13rem;
  color: #333;
}
.testimonial-info {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--primary);
  font-weight: bold;
}
.testimonial-card span:last-child {
  color: #fed558;
  text-shadow: 0 1px 3px #fff8;
  font-size: 1.1rem;
}

/* Ensures readable testimonials on all backgrounds */
.testimonial-card, .testimonial-card * { color: #222 !important; }
.testimonial-card:hover, .testimonial-card:focus-within {
  color: var(--white) !important;
}

/* ---------- BLOG LIST ---------- */
.blog-list > div {
  margin-bottom: 18px;
  padding: 20px 14px 14px 18px;
  background: var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.13s, background 0.13s;
}
.blog-list > div:hover {
  box-shadow: 0 8px 24px #bfaad744;
  background: var(--secondary);
  color: var(--white);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--primary);
  color: var(--accent);
  padding: 0 0 24px 0;
}
footer .container {
  padding-top: 34px;
  padding-bottom: 0;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row;
  border-radius: 0;
}
@media (max-width: 950px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
footer nav a {
  color: var(--accent);
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  opacity: 0.98;
}
footer nav a:hover,footer nav a:focus {
  background: var(--secondary);
  color: var(--white);
}
footer img[alt="Serendip Journey Hochzeitsagentur"] {
  margin-top: 4px;
  height: 42px;
  width: auto;
  margin-bottom: 11px;
}
.footer-contact span, .footer-contact a {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--accent);
}
.footer-contact a { text-decoration: underline; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 15px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 3px 12px rgba(191,173,198,0.23);
  background: var(--white);
}
.footer-social a:hover img {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 7px 22px #bfaad775;
}

.copyright {
  font-size: 0.91rem;
  opacity: 0.88;
  margin-top: 18px;
}

/* ---------- COOKIE CONSENT BANNER & MODAL ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 1100;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  padding: 22px 6vw 22px 4vw;
  box-shadow: 0 -6px 42px 0 rgba(65,81,101,0.18);
  gap: 32px;
  font-size: 1rem;
  animation: slideUpCookie 0.9s cubic-bezier(.75,0,.3,1);
}
@keyframes slideUpCookie {
  0% { transform: translateY(160%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  flex: 2 1 280px;
  margin: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 0 0 auto;
}
.cookie-banner button {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.04rem;
  border: none;
  border-radius: 10px;
  padding: 9px 22px;
  margin: 0;
  cursor: pointer;
  background: var(--primary);
  color: var(--accent);
  box-shadow: 0 2px 18px #bfaad722;
  transition: background 0.16s, color 0.16s, transform 0.13s;
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-1px) scale(1.02);
}
.cookie-banner button[aria-label*="Einstellungen"],
.cookie-banner .cookie-settings-btn {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.cookie-banner .cookie-settings-btn:hover {
  background: var(--focus);
  color: var(--primary);
}
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 18px 6vw;
    gap: 18px;
  }
}

.cookie-modal {
  position: fixed;
  left: 0; right: 0;
  top: 0; bottom: 0;
  z-index: 1200;
  background: rgba(65,81,101, 0.27);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.25s;
}
@keyframes fadeInCookieModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal .modal-content {
  background: var(--accent);
  color: var(--primary);
  padding: 30px 28px 24px 28px;
  border-radius: 24px;
  max-width: 420px;
  width: 98vw;
  box-shadow: 0 8px 52px #bfaad748;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: scaleInModal 0.23s;
}
@keyframes scaleInModal {
  0% { transform: scale(0.93); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal .modal-content h2 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
}
.cookie-modal .category input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--primary);
  outline: 1px solid var(--secondary);
  border-radius: 4px;
  margin: 0 5px;
}
.cookie-modal .category input[disabled] {
  filter: grayscale(90%);
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px;
  right: 18px;
  background: transparent;
  border: 0;
  font-size: 1.75rem;
  color: var(--primary);
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: var(--secondary);
}

/* ---------- RESPONSIVE TYPOGRAPHY & SPACING ---------- */
@media (max-width: 575px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.07rem; }
  .cta-btn, .cookie-banner button { font-size: 1rem; padding: 10px 16px; }
  .content-wrapper, .text-section, .section { padding: 14px 3px 8px 3px; }
  .step-grid > div, .feature-grid > div { padding: 16px 9px; }
}

/* ---------- FORMS & INPUTS (Contact etc.) ---------- */
input, textarea, select {
  padding: 11px 12px;
  background: var(--accent);
  color: var(--primary);
  font-size: 1.04rem;
  border: 1.5px solid #CFD7E6;
  border-radius: var(--radius);
  margin-bottom: 14px;
  width: 100%;
  transition: border-color 0.19s;
  outline: none;
  box-shadow: var(--shadow);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--secondary);
}
label {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}
button[type=submit] {
  background: var(--secondary);
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  border: 0;
  padding: 12px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: background 0.17s, color 0.17s;
  cursor: pointer;
}
button[type=submit]:hover, button[type=submit]:focus {
  background: var(--primary);
  color: var(--accent);
}

/* ---------- MISC & BEAUTY SHADOWS ---------- */
.section, .card, .testimonial-card, .feature-grid > div, .step-grid > div, .blog-list > div {
  box-shadow: var(--shadow);
}

/* Artistic decorative separators */
hr, .hr {
  border: 0;
  border-top: 1.5px solid var(--secondary);
  margin: 32px 0 24px 0;
  opacity: 0.23;
}

/* List Styling */
ul {
  list-style: disc inside;
  margin-top: 6px;
  margin-bottom: 16px;
}
ol {
  list-style: decimal inside;
  margin-top: 6px;
  margin-bottom: 16px;
}
.text-section ul, .text-section ol {
  margin-left: 17px;
}

.text-section li {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.07rem;
  margin-bottom: 6px;
}

/* Artistic Font Styling */
h1, h2, h3, .feature-grid > div h3, .step-grid > div h3, .cta-btn {
  letter-spacing: 0.01em;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.feature-grid > div h3, .step-grid > div h3 {
  font-size: 1.17rem;
  color: var(--primary);
}

/* --------------- INTERACTION & TRANSITIONS -------------- */
a, button, .cta-btn, .feature-grid > div, .card, .testimonial-card {
  transition: background 0.13s, color 0.13s, box-shadow 0.12s, transform 0.11s;
}

/* ------- UTILITY: FLEX & ALIGNMENTS -------- */
.align-center { align-items: center !important; }
.align-start { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.flex-col { display: flex; flex-direction: column; }
.flex-row { display: flex; flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* --------------- ACCESSIBILITY FOCUS -------------- */
a:focus, button:focus, .cta-btn:focus, input:focus, textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* --------- PRINT FRIENDLY --------- */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display:none !important; }
  body, main, .container { background: #fff !important; color: #222 !important; }
}

/* --------- END CSS ---------- */
