/* =======================
  CSS Reset & Basic Normalize
=========================== */
html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  background-color: #fffaf7;
  color: #222e3a;
  line-height: 1.75;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: #c44a2f;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #13416d;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand', 'Nunito', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #13416d;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #c44a2f;
  margin-bottom: 12px;
}
ul, ol {
  margin-bottom: 20px;
  padding-left: 1.25em;
}
ul.features-grid, ul.service-list {
  padding-left: 0;
  list-style: none;
}
strong {
  color: #c44a2f;
  font-weight: 700;
}
p {
  margin-bottom: 18px;
}

/* Creative Artistic: fonts & effects */
body {
  /* fallback for fonts */
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
.hero-section h1, .hero-section h2, .thank-you {
  font-family: 'Quicksand', 'Nunito', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.hero-section .subheadline {
  font-size: 1.30rem;
  color: #c44a2f;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-weight: 600;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

/* ========================
  Layout Container Styles
========================= */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  padding: 24px 16px;
  background: #fffdfa;
  border-radius: 24px;
  box-shadow: 0 2px 16px 0 rgba(19,65,109,0.07), 0 1.5px 6px 0 rgba(196,74,47,0.09);
  margin-bottom: 32px;
  position: relative;
}

/* ========================
  Header + Main Navigation
========================= */
header {
  position: relative;
  background: #fff4d0;
  box-shadow: 0 2px 10px 0 rgba(19,65,109,0.07);
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
  min-height: 74px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 46px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-size: 1.10rem;
  background: transparent;
}
.main-nav a {
  color: #13416d;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 4px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
  background: #c44a2f21;
  color: #c44a2f;
}
.btn-primary {
  background: #c44a2f;
  color: #fff4d0;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.10rem;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 12px 28px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px 0 rgba(196,74,47,0.16);
  cursor: pointer;
  transition: background 0.2s, transform 0.17s, color 0.2s, box-shadow 0.27s;
  margin-left: 18px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #13416d;
  color: #fffbe1;
  transform: translateY(-2px) scale(1.05) rotate(-1deg);
  box-shadow: 0 6px 16px 0 rgba(19,65,109,0.12);
}
.btn-secondary {
  background: #13416d;
  color: #fffbe1;
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 20px;
  padding: 10px 24px;
  border: 2px solid #13416d;
  box-shadow: 0 2px 7px 0 rgba(19,65,109,0.08);
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.15s, color 0.15s, border 0.15s, transform 0.2s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #c44a2f;
  color: #fff4d0;
  border: 2px solid #c44a2f;
  transform: scale(1.045) rotate(1deg);
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  color: #13416d;
  display: none;
  cursor: pointer;
  z-index: 1202;
  padding: 6px 14px;
  margin-left: 10px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #c44a2f18;
  outline: none;
}

/*======================
  Mobile Menu Overlay
========================*/
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff4d0;
  z-index: 2020;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 22px 28px 22px;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(0.52,0.22,0.34,1.09);
  box-shadow: 8px 0 32px 10px rgba(19,65,109,0.12);
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  background: #c44a2f;
  color: #fff4d0;
  font-size: 2rem;
  border: none;
  padding: 7px 18px 6px 18px;
  border-radius: 50%;
  margin-bottom: 22px;
  cursor: pointer;
  transition: background 0.18s, transform 0.22s;
  z-index: 2222;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #13416d;
  transform: scale(1.07);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 14px 0 10px 3px;
  color: #13416d;
  border-radius: 7px;
  width: 100%;
  transition: color 0.13s, background 0.10s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #c44a2f12;
  color: #c44a2f;
}

/* Hide desktop main-nav on mobile, show hamburger */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (min-width: 981px) {
  .mobile-menu { display: none !important; }
}

/* ======================
  Section Spacing & Layout
========================= */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* For distinct separation between cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fffdfa;
  border-radius: 22px;
  box-shadow: 0 2px 11px 0 rgba(19,65,109,0.08);
  padding: 28px 22px;
  transition: box-shadow 0.15s, transform 0.12s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 30px 0 rgba(196,74,47,0.11);
  transform: translateY(-3px) scale(1.03);
}
.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;
  background: #fff4d0;
  box-shadow: 0 1.5px 7px 0 rgba(19,65,109,0.09);
  border-radius: 22px;
  margin-bottom: 20px;
  border-left: 7px solid #c44a2f;
  max-width: 620px;
  transition: transform 0.22s, box-shadow 0.22s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: 0 7px 24px 0 rgba(19,65,109,0.10);
}
.testimonial-card blockquote {
  color: #1d2335;
  font-size: 1.13rem;
  font-style: italic;
  font-family: 'Quicksand', Arial, sans-serif;
  margin-bottom: 12px;
  line-height: 1.7;
}
.testimonial-card p {
  color: #c44a2f;
  font-weight: 600;
  font-size: 1.04rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffdfa;
  padding: 18px 16px;
  border-radius: 14px;
  box-shadow: 0 1px 5px 0 rgba(19,65,109,0.05);
  margin-bottom: 20px;
}

/* ============
Features Grid
============== */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 -12px 0 0;
  width: 100%;
  align-items: stretch;
  justify-content: flex-start;
}
.features-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 250px;
  background: #fffdfa;
  border-radius: 16px;
  box-shadow: 0 1.5px 7px 0 rgba(19,65,109,0.08);
  padding: 28px 18px 24px 18px;
  flex: 1 1 270px;
  margin-bottom: 20px;
  transition: transform 0.17s, box-shadow 0.20s;
  border-left: 7px solid #13416d11;
}
.features-grid li img {
  height: 42px;
  width: 42px;
  margin-bottom: 6px;
}
.features-grid li strong {
  font-weight: 700;
  color: #c44a2f;
}
.features-grid li:hover, .features-grid li:focus-within {
  box-shadow: 0 8px 28px 0 rgba(196,74,47,0.12);
  border-left-color: #c44a2f;
  transform: translateY(-3px);
}

/* ============
Service List
============= */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  list-style: none;
  margin: 22px 0 32px 0;
}
.service-list li {
  background: #fffdfa;
  border-radius: 14px;
  box-shadow: 0 1.5px 7px 0 rgba(19,65,109,0.08);
  padding: 24px 14px 14px 20px;
  transition: box-shadow 0.16s, transform 0.18s;
  margin-bottom: 12px;
  border-left: 7px solid #c44a2f11;
  position: relative;
}
.service-list li h3 span {
  font-size: 1rem;
  color: #13416d;
  font-family: 'Nunito', Arial, Helvetica, sans-serif;
  font-weight: 500;
  margin-left: 7px;
}
.service-list li:hover, .service-list li:focus-within {
  box-shadow: 0 7px 23px 0 rgba(19,65,109,0.12);
  border-left: 7px solid #c44a2f;
  transform: translateY(-2px) scale(1.02);
}

/* ============
Thank You Section
============== */
.thank-you {
  color: #c44a2f;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  margin-bottom: 30px;
  letter-spacing: 0.03em;
}

/* ============
Footer Styles
============= */
footer {
  background: #13416d;
  color: #fff4d0;
  padding: 36px 0 16px 0;
  box-shadow: 0 -2px 14px 0 rgba(19,65,109,0.12);
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff4d0;
  font-family: 'Quicksand', Arial, sans-serif;
  font-weight: 400;
  transition: color 0.17s;
  padding: 4px 0;
}
.footer-nav a:hover {
  color: #c44a2f;
  text-decoration: underline wavy #c44a2f 1.5px;
}
.footer-info {
  text-align: center;
  font-family: 'Nunito', Arial, sans-serif;
  letter-spacing: 0.01em;
}
footer small {
  color: #fffbe1;
  font-size: 0.95rem;
}

/* =========================
COOKIE CONSENT & PREFERENCES
============================ */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  background: #fff4d0;
  border-top: 3px solid #c44a2f;
  box-shadow: 0 -2px 10px rgba(19,65,109,0.10);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 6vw 18px 6vw;
  animation: cookie-slide-up 0.38s cubic-bezier(0.32,0.77,0.34,1.13);
}
@keyframes cookie-slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  font-size: 1.07rem;
  color: #13416d;
  margin-bottom: 0;
  max-width: 520px;
  flex: 1 1 auto;
}
.cookie-btn-group {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-btn-accept, .cookie-btn-reject, .cookie-btn-settings {
  font-family: 'Quicksand', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 16px;
  padding: 10px 20px;
  margin: 0;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.17s, color 0.17s, transform 0.1s;
}
.cookie-btn-accept {
  background: #c44a2f;
  color: #fff4d0;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #13416d;
  color: #fffbe1;
  transform: scale(1.04);
}
.cookie-btn-reject {
  background: #13416d;
  color: #fff4d0;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #c44a2f;
  color: #fffbe1;
  transform: scale(1.04);
}
.cookie-btn-settings {
  background: transparent;
  color: #13416d;
  border: 1.5px solid #13416d;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #fffbe1;
  color: #c44a2f;
  border: 1.5px solid #c44a2f;
  transform: scale(1.04);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  min-width: 340px;
  max-width: 95vw;
  width: 420px;
  background: #fffdfa;
  border-radius: 18px;
  box-shadow: 0 14px 42px 0 rgba(19,65,109,0.22);
  z-index: 10001;
  transform: translate(-50%,135%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.27s cubic-bezier(0.48,1.22,0.38,1.05), opacity 0.17s;
  padding: 38px 30px 28px 30px;
}
.cookie-modal.active {
  transform: translate(-50%,-50%);
  opacity: 1;
  pointer-events: all;
}
.cookie-modal h2 {
  color: #c44a2f;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
  background: #fff4d0;
  border-radius: 7px;
  padding: 10px 12px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #c44a2f;
  width: 19px;
  height: 19px;
}
.cookie-category.is-required label::after {
  content: ' (immer aktiviert)';
  font-size: 0.98em;
  color: #13416d;
  font-style: italic;
}
.cookie-modal .cookie-btn-group {
  justify-content: flex-end;
}
.cookie-modal .cookie-btn-accept {
  padding-left: 38px;
  padding-right: 38px;
}
.cookie-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #c44a2f;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.17s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #c44a2f12;
}

/* =========================
  Responsive Design
==========================*/
@media (max-width: 900px) {
  .container {
    max-width: 96vw;
  }
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.55rem;
  }
  .hero-section .subheadline {
    font-size: 1.10rem;
  }
  section, .section {
    padding: 30px 8px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 6px;
  }
  .footer-nav {
    gap: 7px;
    font-size: 0.95rem;
  }
  .service-list li, .features-grid li, .testimonial-card, .card {
    padding: 18px 8px 16px 10px;
    font-size: 0.97rem;
  }
  .features-grid {
    flex-direction: column;
    gap: 13px;
  }
  .card-container {
    flex-direction: column;
    gap: 13px;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .testimonial-card {
    padding: 13px 8px 11px 12px;
    font-size: 0.99rem;
  }
  header .container {
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 7px;
  }
  .logo img {
    height: 36px;
  }
  h1 {
    font-size: 1.55rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .hero-section .subheadline {
    font-size: 0.99rem;
    text-align: left;
    margin-bottom: 22px;
  }
  section, .section {
    padding: 15px 2px 23px 2px;
    margin-bottom: 36px;
  }
  .cookie-consent-banner {
    flex-direction: column;
    gap: 11px;
    padding: 13px 6vw 11px 6vw;
  }
}
@media (max-width: 420px) {
  h1 { font-size: 1.2rem; }
  .footer-info small { font-size: 0.83rem; }
  .service-list li, .features-grid li { font-size: 0.91rem; }
  .container { padding: 0 2px; }
  .cookie-modal { width: 99vw; min-width: unset; max-width: 99vw; padding: 21px 3vw 18px 3vw; }
}

/* Utility / Helper classes */
.d-none { display: none !important; }
.text-center { text-align: center !important; }
.mt-8 { margin-top: 8px; }
.mt-24 { margin-top: 24px; }
.mb-32 { margin-bottom: 32px; }
.flex-wrap { flex-wrap: wrap !important; }

/* Artistic Visual Elements */
.hero-section {
  background: #fffaf7;
  /* Subtle stars */
  position: relative;
  overflow: hidden;
}
.hero-section h1:after {
  content: '★';
  color: #c44a2f88;
  font-size: 1.6em;
  margin-left: 14px;
  vertical-align: middle;
  animation: twinkle 1.7s infinite alternate;
  letter-spacing: 0;
}
@keyframes twinkle {
  0%   { opacity: 0.6; transform:scale(1) rotate(-3deg); }
  100% { opacity: 1;   transform:scale(1.20) rotate(10deg); }
}
.features-section {
  background: #fffdfa;
  border-top: 2.5px dashed #c44a2f18;
}
.testimonials-section {
  background: #fff4d0;
  border-top: 2.5px dashed #c44a2f21;
  border-bottom: 2.5px dashed #c44a2f18;
}

/* Animated Shine on Buttons */
.btn-primary, .btn-secondary {
  position: relative;
  overflow: hidden;
}
.btn-primary:after, .btn-secondary:after {
  content: '';
  display: block;
  position: absolute;
  left: -60%;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(108deg, rgba(255,255,255,0.0) 70%, rgba(255,255,255,0.27) 95%, rgba(255,255,255,0.0) 100%); 
  pointer-events: none;
  transition: left 0.3s;
  z-index: 1;
}
.btn-primary:hover:after, .btn-secondary:hover:after {
  left: 110%;
  transition: left 0.8s;
}

/* Subtle star decorations */
.features-grid li:before {
  content: '✶';
  color: #c44a2f;
  font-size: 1.45em;
  position: absolute;
  top: 18px; right: 18px;
  opacity: 0.12;
  pointer-events: none;
}
.features-grid li {
  position: relative;
  overflow: hidden;
}

/* Misc */
::-webkit-scrollbar {
  width: 10px;
  background: #fffdfa;
}
::-webkit-scrollbar-thumb {
  background: #c44a2f22;
  border-radius: 10px;
}

::selection {
  background: #fff4d0;
  color: #13416d;
}

/* Form Elements (for potential future use) */
input, textarea {
  font-family: 'Nunito', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1.7px solid #c44a2f44;
  outline: none;
  margin-bottom: 13px;
  transition: border 0.18s;
}
input:focus, textarea:focus {
  border: 1.7px solid #c44a2f;
}

/* ========================
  Accessibility & Contrast
========================== */
.testimonial-card, .testimonial-card blockquote, .testimonial-card p, .testimonial-card strong {
  color: #222e3a !important;
  background: none;
}

/* =========================
Flexbox Only Verification
========================== */
/* No "display: grid" or CSS grid properties present anywhere in this stylesheet */