/* ===================================================
   Crimson Mist Hochzeitsplanung: Tech Futuristic Style
   Comprehensive CSS for ALL Pages (Mobile-first, Flexbox-only)
   ==================================================== */

/* ------------------------
   1. 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;
  box-sizing: border-box;
  font: inherit;
  vertical-align: baseline;
}
html {
  line-height: 1.15; /* safer for German tall glyphs */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: #16171b; /* deep dark bg for tech look */
  color: #F5F5F5;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img, picture {
  max-width: 100%;
  display: block;
}
strong, b {
  font-weight: bold;
}
a {
  color: #ff457f;
  text-decoration: none;
  transition: color 0.15s;
}
a:hover, a:focus {
  color: #fd275d;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 8px;
}

/* -------------
   2. Typography
---------------*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: #FFFFFF;
  font-weight: 700;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 18px;
  line-height: 1.12;
  letter-spacing: 0.01em;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  line-height: 1.18;
  letter-spacing: 0.02em;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
h4, h5, h6 {
  font-size: 1.05rem;
}
p, .footer-info p {
  color: #eceeec;
  margin-bottom: 16px;
  font-size: 1.07rem;
  line-height: 1.6;
}
.text-section ul li, .text-section ol li {
  color: #f5b3c8;
  font-weight: 500;
  font-size: 1rem;
}
/* Decorative underline for h2 */
h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  margin-top: 8px;
  background: linear-gradient(90deg, #ff457f 10%, #720026 80%);
  border-radius: 2px;
}

/* --------------
   3. Containers
----------------*/
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #191928;
  border-radius: 28px;
  box-shadow: 0 4px 28px 1px rgba(114,0,38,0.10);
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  .section {
    padding: 32px 10px;
    margin-bottom: 44px;
  }
}

/* ---------------
   4. Header/Nav
----------------*/
header {
  background: #18161c;
  border-bottom: 1.5px solid #301020;
  position: sticky;
  top: 0; left: 0; width: 100%;
  z-index: 25;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
header nav {
  display: flex;
  gap: 18px;
}
header nav a {
  color: #ede4f1;
  font-weight: 500;
  letter-spacing: 0.015em;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #720026;
  color: #fff;
}

/* Logo size */
header img {
  height: 44px;
  width: auto;
  margin-right: 12px;
}

.cta-button {
  background: linear-gradient(90deg, #ff0051 65%, #720026 120%);
  color: #fff;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(255,0,81,0.18);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.17s, transform 0.1s;
  font-family: 'Roboto', Arial, sans-serif;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #720026 30%, #ff0051 120%);
  box-shadow: 0 4px 28px 0 rgba(255,0,81,0.23);
  transform: translateY(-1px) scale(1.03);
}

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

@media (max-width: 900px) {
  header .container {
    padding-left: 14px;
    padding-right: 6px;
  }
  header nav {
    display: none; /* hide desktop nav */
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
    position: fixed;
    top: 16px; right: 20px;
    z-index: 110;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: #720026;
    color: #fff;
    font-size: 2.1rem;
    border: none;
    box-shadow: 0 2px 16px 0 rgba(255,0,81,0.16);
    cursor: pointer;
    transition: background 0.18s, transform 0.1s;
    outline: none;
  }
  .mobile-menu-toggle:active {
    background: #ff457f;
    transform: scale(0.97);
  }
}

/* ------------------------------------
   5. Mobile Burger Menu (slide overlay)
-------------------------------------*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #1a0c1d;
  box-shadow: 0 10px 48px rgba(255,0,81,0.13);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.77,0,.18,1);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  display: flex;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  border: none;
  color: #fff;
  padding: 18px 22px 10px 22px;
  cursor: pointer;
  align-self: flex-end;
  margin-right: 4px;
  transition: color 0.16s, transform 0.1s;
}
.mobile-menu-close:hover {
  color: #ff457f;
  transform: scale(1.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 26px;
  margin-top: 8vh;
  padding-right: 32px;
  width: 90vw;
  max-width: 480px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.21rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.21s, color 0.15s;
  width: 100%;
  text-align: right;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #ff457f;
  color: #fff;
}

@media (min-width: 901px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}

/* -----------
   6. Footer
-------------*/
footer {
  background: #17141f;
  border-top: 2px solid #301020;
  padding: 40px 0 20px 0;
  font-size: 0.98rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-bottom: 12px;
}
footer nav a {
  color: #ff457f;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-family: 'Roboto', Arial, sans-serif;
  transition: color 0.15s;
}
footer nav a:hover, footer nav a:focus { color: #fff; }
.footer-info {
  color: #dcdcdc;
  font-size: 1rem;
  line-height: 1.55;
}

@media (min-width: 700px) {
  footer .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .footer-info {
    text-align: right;
    margin-left: 42px;
  }
}

/* --------------------------
   7. Section and Content Patterns
---------------------------*/
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #222035;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(114,0,38,0.09);
  padding: 30px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(255,0,81,0.16);
  transform: translateY(-2px) scale(1.025);
}

/* --------------
   8. Feature Grid
----------------*/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 8px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #272033;
  border-radius: 16px;
  padding: 22px 20px 18px 20px;
  min-width: 210px;
  max-width: 330px;
  flex: 1 1 220px;
  box-shadow: 0 3px 16px 0 rgba(114,0,38,0.10);
  margin-bottom: 20px;
  transition: box-shadow 0.16s;
  border: 1.5px solid transparent;
}
.feature-item img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 6px #ff457f60);
}
.feature-item h3 {
  color: #ff457f;
  margin-bottom: 7px;
  font-size: 1.15rem;
}
.feature-item:hover {
  box-shadow: 0 7px 28px 0 #ff457f33;
  border-color: #ff457f;
}

@media (max-width: 900px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item {
    max-width: 100%;
    width: 100%;
  }
}

/* ------------
   9. Services
-------------*/
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.service-card {
  background: #232029;
  border-radius: 17px;
  box-shadow: 0 2px 12px 0 #72002618;
  padding: 24px 19px;
  flex: 1 1 250px;
  min-width: 210px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.16s, border-color 0.2s, transform 0.12s;
  border: 1.5px solid transparent;
  color: #fff;
}
.service-card h3 {
  color: #ff457f;
  font-size: 1.08rem;
}
.service-card:hover {
  box-shadow: 0 8px 36px 0 #72002633;
  border-color: #ff0051;
  transform: translateY(-2px) scale(1.022);
}
.service-pricing {
  margin-top: 16px;
  font-size: 1.08rem;
  color: #ffd1e0;
  font-weight: 500;
  background: rgba(255,0,81,0.07);
  padding: 6px 11px;
  border-radius: 7px;
  display: inline-block;
}
@media (max-width:900px) {
  .service-list {
    flex-direction: column;
    gap: 17px;
  }
  .service-card {
    width: 100%;
    max-width: 500px;
    margin-left: 0;
    margin-right: 0;
  }
}

/* 09b. Testimonial Styles (Slider and List)
-----------------------------------------*/
.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #fff;
  color: #222035;
  border-radius: 13px;
  box-shadow: 0 2px 18px 0 rgba(255,0,81,0.10);
  min-width: 240px;
  max-width: 360px;
  flex: 1 1 230px;
  margin-bottom: 20px;
  position: relative;
  border: 1.5px solid #ff457f2b;
}
.testimonial-card p {
  color: #191928;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 10px;
}
.testimonial-card span {
  color: #90002b;
  font-weight: 600;
  font-size: 1rem;
}
.star-ratings {
  color: #ff457f;
  font-size: 1.11rem;
  letter-spacing: 0.05em;
  font-family: 'Roboto', Arial, sans-serif;
  margin-bottom: 2px;
}
@media (max-width:900px) {
  .testimonial-slider, .testimonial-list {
    flex-direction: column;
    gap: 13px;
  }
}

/* --------------
   10. Post List
----------------*/
.post-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 18px;
}
.featured-post {
  background: #2a1821;
  color: #fff;
  padding: 30px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 3px 14px 0 #ff457f15;
  border-left: 4px solid #ff457f;
}

/* ----------
   11. FAQ
------------*/
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* -------------
   12. Cookie Consent Banner
-----------------*/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  width: 100vw;
  background: #251622;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  justify-content: center;
  padding: 26px 16px 18px 16px;
  border-top: 2.5px solid #ff0051;
  box-shadow: 0 -4px 30px 0 #72002699;
  z-index: 200;
  font-size: 1.05rem;
  transition: transform 0.38s cubic-bezier(.77,0,.18,1), opacity 0.18s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner-message {
  flex: 1 1 400px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 11px;
  align-items: center;
}
.cookie-btn {
  padding: 8px 20px;
  background: #ff457f;
  border: none;
  color: #fff;
  border-radius: 9px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.14s, color 0.13s, transform 0.09s;
  box-shadow: 0 2px 12px #ff457f33;
}
.cookie-btn.cookie-btn-reject {
  background: #222035;
  color: #fff;
  border: 1.5px solid #ff457f;
}
.cookie-btn.cookie-btn-settings {
  background: #fff;
  color: #ff457f;
  border: 1.5px solid #ff457f;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #720026;
  color: #fff;
  transform: scale(1.04);
}
.cookie-btn.cookie-btn-settings:hover, .cookie-btn.cookie-btn-settings:focus {
  background: #ff457f;
  color: #fff;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 15px;
    font-size: 0.97rem;
    padding: 20px 10px 13px 10px;
    align-items: stretch;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,17,24,0.87);
  z-index: 300;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  animation: fadeInModal 0.32s;
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeInModal { from { opacity:0;} to {opacity:1;} }
.cookie-modal {
  background: #191928;
  color: #fff;
  border-radius: 16px;
  padding: 38px 24px 26px 24px;
  min-width: 320px;
  max-width: 98vw;
  box-shadow: 0 4px 40px 0 #ff457f33;
  display: flex;
  flex-direction: column;
  gap: 19px;
  animation: cookiePop 0.32s;
}
@keyframes cookiePop { 0%{transform:scale(0.93);} 100%{transform:scale(1);} }
.cookie-modal h3 {
  color: #ff457f;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}
.cookie-modal .cookie-category label {
  font-weight: 500;
  font-size: 1.03rem;
  color: #f5b3c8;
}
.cookie-modal .cookie-switch {
  appearance: none;
  width: 38px; height: 19px;
  background: #251622;
  border: 1.5px solid #ff457f;
  border-radius: 20px;
  position: relative;
  outline: none;
  transition: background 0.16s;
  cursor: pointer;
}
.cookie-modal .cookie-switch:checked {
  background: #ff457f;
}
.cookie-modal .cookie-switch:after {
  content: '';
  position: absolute;
  top: 2px; left: 3px;
  width: 15px; height: 15px;
  background: #fff;
  border-radius: 16px;
  transition: left 0.16s;
}
.cookie-modal .cookie-switch:checked:after {
  left: 19px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.cookie-modal .cookie-description {
  font-size: 0.97rem;
  color: #eceeec;
  margin-bottom: 11px;
}
.cookie-modal .cookie-category.essential label {
  color: #ffd1e0;
}

/* -----------
   13. Misc
---------------*/
.category-filter {
  margin: 9px 0 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  font-size: 1.08rem;
  color: #ff457f;
}
.category-filter a { color: #ff457f; }
.category-filter a:hover { color: #fff; }

::-webkit-scrollbar { width:8px; background: #222035; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff457f 10%, #720026 90%);
  border-radius: 8px;
}

hr {
  border: none; height: 2px;
  background: linear-gradient(90deg,#720026 10%,#ff457f 80%);
  border-radius: 2px;
  margin: 32px 0;
}

/* Decorative details for futuristic/neon touch */
.section:before {
  content: '';
  position: absolute;
  right: -45px; top: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle at 35% 50%, #ff457fcc 23%, transparent 60%);
  filter: blur(7px);
  z-index: 0;
}
.section:after {
  content: '';
  position: absolute;
  left: -50px; bottom: -42px;
  width: 130px; height: 80px;
  background: linear-gradient(110deg, #fff0 23%, #90002bab 53%, #fff0 60%);
  filter: blur(20px);
  z-index: 0;
}
.section > .container, .section .container, .container > * {
  position: relative;
  z-index: 1;
}

/* Spacing helpers for text blocks, prevent overlap */
.text-section > h2, .text-section > h3, .text-section > p, .text-section > ul, .text-section > a, .content-wrapper > * {
  margin-bottom: 10px;
}
.text-section > a:last-child, .content-wrapper > a:last-child { margin-bottom:0; }

/* --------------
   14. Responsive
----------------*/
@media (max-width: 768px) {
  .container { padding-left: 7px; padding-right: 7px; }
  .content-wrapper { gap: 13px; }
  .text-section { gap: 11px; }
  .feature-grid,
  .card-container,
  .service-list,
  .testimonial-slider,
  .testimonial-list, .content-grid {
    flex-direction: column;
    gap: 13px;
  }
  .section {
    padding: 24px 4px;
    margin-bottom: 31px;
  }
}

/* -------------
   15. Animations
----------------*/
.cta-button, .feature-item, .service-card, .card, .testimonial-card {
  transition: box-shadow 0.17s, transform 0.11s, border-color 0.13s;
}
.section, .card, .feature-item, .testimonial-card {
  box-shadow: 0 2px 18px 0 rgba(255,0,81,0.06);
}

/* -------------
   16. Accessibility
----------------*/
:focus {
  outline: 2px solid #ff0051;
  outline-offset: 2px;
}

/* --------------
   17. Utility
----------------*/
.hidden, [aria-hidden="true"] { display: none !important; }

/* END: Crimson Mist Tech Futuristic Comprehensive CSS */