/* =======================================
   CSS RESET & BASE STYLES
======================================= */
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,
main, 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 { scroll-behavior: smooth; }
body {
  background: #f6f7eb;
  color: #254d69;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-color: #f6f7eb;
}
main { flex: 1 1 auto; }
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
a {
  color: #254d69;
  text-decoration: none;
  transition: color .18s;
}
a:hover, a:focus {
  color: #a77eb2;
  outline: none;
}

/* =======================
   COLOR PALETTE
======================= */
:root {
  --primary: #254d69;
  --secondary: #c0c379;
  --accent: #f6f7eb;
  --pastel-pink: #f6d2d7;
  --pastel-blue: #cbe5f6;
  --pastel-mint: #d8f7f1;
  --pastel-lavender: #ebd8f7;
  --pastel-yellow: #fff7d6;
  --text-darker: #254d69;
  --text-medium: #4b6077;
  --text-light: #70839e;
  --shadow1: 0 2px 16px rgba(124, 160, 198, 0.10);
  --shadow2: 0 4px 64px rgba(168, 168, 159, 0.08);
}

/* =======================
   TYPOGRAPHY
======================= */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500|Roboto:400,500,700&display=swap');
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: .01em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4, h5, h6 { font-size: 1.1rem; }
p, ul, ol, li {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: var(--text-medium);
}
strong { color: var(--primary); font-weight: 700; }

@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  h3 { font-size: 1.02rem; }
}

/* =======================
   SPACING UTILS & LAYOUT
======================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  border-radius: 22px;
  box-shadow: var(--shadow1);
  position: relative;
  padding: 24px 16px;
  flex: 1 1 260px;
  min-width: 230px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.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 {
  background: var(--pastel-blue);
  border-radius: 16px;
  box-shadow: var(--shadow1);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  color: var(--text-darker);
  font-size: 1.05rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 15px;
  background: #fff;
  padding: 24px 18px;
  box-shadow: var(--shadow1);
  min-width: 170px;
  flex: 1 1 180px;
  transition: box-shadow .19s, transform .18s;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 24px rgba(124,160,198,0.18);
  transform: translateY(-3px) scale(1.013);
}

/****
 * Hero and Section BGs
 ****/
.hero {
  background: linear-gradient(120deg, var(--pastel-mint) 0%, var(--pastel-blue) 100%);
  padding: 64px 0 48px 0;
  min-height: 220px;
  box-shadow: 0 4px 32px 0 rgba(197,213,234,0.10);
}
@media (max-width: 768px) {
  .hero {padding: 42px 0 24px;}
}

.features, .services, .about, .about-us, .usps, .topics, .contact-details, .location, .legal, .cta-section, .confirmation {
  background: #fff;
  margin-bottom: 32px;
  border-radius: 22px;
  box-shadow: var(--shadow2);
}

/****
 * FLEX-ONLY: Topic/Feature Grids
 ****/
.feature-grid, .topic-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 24px 0 0 0;
}

.topic-item, .feature-item {
  flex: 1 1 180px;
  min-width: 170px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow1);
  padding: 22px 14px;
  margin-bottom: 10px;
  transition: box-shadow .19s, transform .13s;
}
.topic-item ul, .feature-item ul { padding-left: 18px; }

/****
 * USP & Section Text/Lists
 ****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section ul {
  padding-left: 24px;
  margin-top: 0;
}
.text-section li {
  margin-bottom: 5px;
  font-size: 1rem;
  color: var(--text-medium);
  list-style: disc inside;
}
.text-section strong {
  color: var(--primary);
}

/****
 * Service/Offer lists (UL > LI)
 ****/
.services ul, .usps ul, .about ul, .topics ul,
.contact-details ul, .location ul {
  margin: 16px 0;
  padding-left: 24px;
}
.services li, .usps li, .about ul li,
.location li, .topics li {
  margin-bottom: 7px;
  font-size: 1rem;
  color: var(--text-medium);
  line-height: 1.55;
}
.services li h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.12rem;
  font-weight: 600;
}
.services li h3 span {
  background: var(--pastel-yellow);
  color: var(--primary);
  font-size: .97em;
  padding: 2px 12px;
  border-radius: 9px;
  margin-left: 10px;
}

/****
 * CTA BUTTONS
 ****/
.cta-btn {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--pastel-pink) 95%);
  color: var(--primary);
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 28px;
  padding: 14px 36px;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 4px 22px rgba(255, 213, 210, .17);
  cursor: pointer;
  margin: 16px 0 0 0;
  display: inline-block;
  transition: background .22s, color .22s, transform .16s, box-shadow .21s;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(100deg, #f6d2d7 0%, #cbe5f6 99%);
  color: #254d69;
  transform: translateY(-1px) scale(1.025);
  box-shadow: 0 8px 42px rgba(200,183,236,0.11);
  outline: none;
}

/****
 * Lists: Custom icons (for contact details, values)
 ****/
.contact-details ul li, .about .feature-list li, .about ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 11px;
  line-height: 1.5;
}
.contact-details ul img, .about .feature-list img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

/****
 * Testimonial Sliders & Cards
 ****/
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 18px 0 0 0;
}
.testimonial-card {
  background: var(--pastel-blue);
  color: #254d69;
  font-size: 1.05rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  border-radius: 16px;
  box-shadow: var(--shadow1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 28px;
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 300px;
  transition: box-shadow .17s;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 4px 22px rgba(114,145,194,.19);
}
.testimonial-card span {
  color: var(--primary);
  font-size: 0.98em;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/****
 * FOOTER STYLES
 ****/
footer {
  background: linear-gradient(120deg, var(--pastel-mint) 30%, var(--pastel-blue) 70%);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -2px 26px #d8f7f1;
  padding: 28px 0 16px;
  margin-top: 60px;
  font-size: 0.94rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: var(--primary);
  opacity: 0.83;
  padding: 3px 8px;
  border-radius: 8px;
  transition: background .18s, color .17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--pastel-lavender);
  color: #704382;
  outline: none;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}
.footer-brand img {
  width: 40px;
  opacity: 0.90;
  margin-bottom: 2px;
}

/* =======================
   HEADER, NAVIGATION
======================= */
header {
  background: linear-gradient(120deg, var(--pastel-blue) 0%, var(--pastel-pink) 100%);
  box-shadow: 0 5px 24px rgba(197,213,234,0.11);
  border-radius: 0 0 18px 18px;
  position: sticky;
  top: 0;
  z-index: 1020;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 22px 0 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.06rem;
}
.main-nav > a {
  color: var(--primary);
  border-radius: 12px;
  transition: background .17s, color .18s;
  padding: 7px 13px;
}
.main-nav img {
  width: 46px;
  height: auto;
  margin-right: 12px;
  opacity: .98;
  vertical-align: middle;
}
.main-nav .cta-btn {
  margin: 0 0 0 14px;
  padding: 9px 24px;
  font-size: 1rem;
  font-weight: 700;
}
.main-nav > a:hover, .main-nav > a:focus {
  background: var(--pastel-mint);
  color: #704382;
  outline: none;
}

/* =======================
   MOBILE BURGER NAV MENU
======================= */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1042;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 11px 14px;
  font-size: 1.6rem;
  box-shadow: 0 2px 9px rgba(115,154,216,0.16);
  cursor: pointer;
  transition: background .18s, color .16s;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #fff;
  color: var(--primary);
  outline: 2px solid var(--secondary);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right:0 ;
  height: 100vh;
  width: 100vw;
  background: linear-gradient(108deg, var(--pastel-blue) 50%, var(--pastel-mint) 100%);
  box-shadow: 0 10px 60px #c0c37922;
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform .26s cubic-bezier(.94,.16,.53,1.07);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
  animation: slideInMobileMenu .28s cubic-bezier(.94,.16,.53,1.07);
}
@keyframes slideInMobileMenu {
  0% {transform: translateX(-100%);}
  100% {transform: translateX(0);}
}
.mobile-menu-close {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 1.25rem;
  margin: 20px 0 18px 20px;
  align-self: flex-start;
  box-shadow: 0 3px 8px #d8f7f1;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 17px;
  padding: 18px 30px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: var(--primary);
  font-weight: 600;
  background: var(--pastel-pink);
  border-radius: 14px;
  padding: 14px 0 14px 22px;
  margin: 0 0 2px 0;
  font-size: 1.19rem;
  box-shadow: 0 2px 7px #d8f7f1;
  transition: background .16s, color .15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
  outline: none;
}

@media (max-width: 1000px) {
  .main-nav { flex-wrap: wrap; gap: 10px; }
}
@media (max-width: 820px) {
  .main-nav { font-size: 0.98rem; gap: 7px; }
  .main-nav img { width: 38px; }
}
@media (max-width: 720px) {
  .main-nav, .footer-nav {
    gap: 7px;
    font-size: 0.96rem;
    padding: 10px 0 4px 0;
  }
}
@media (max-width: 800px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 800px) {
  footer .footer-brand span { font-size: 0.94rem; }
}

/* =========================
     RESPONSIVE FLEX UTILS
========================= */
@media (max-width: 1050px) {
  .feature-grid, .topic-grid, .testimonial-slider, .card-container {
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .container { padding: 0 10px; }
  .feature-item, .topic-item, .testimonial-card { min-width: auto; flex: 1 1 220px; }
}
@media (max-width: 768px) {
  .hero { padding: 38px 0 18px; }
  .container { padding: 0 8px; }
  .content-wrapper {
    gap: 13px;
    padding: 4px 2px;
  }
  .feature-item, .topic-item {
    min-width: 115px;
    font-size: 0.98rem;
    padding: 14px 6px;
  }
  .testimonial-slider { gap: 8px; }
  .testimonial-card { padding: 14px 12px; font-size: .97rem; min-width: 150px; }
  .section { padding: 18px 6px; margin-bottom: 23px; }
  .about, .about-us, .features, .usps, .services, .topics, .testimonials,
  .contact-details, .location, .cta-section, .legal, .confirmation {
    padding: 12px 6px;
    margin-bottom: 13px;
    border-radius: 12px;
  }
  .text-image-section { flex-direction: column; gap: 12px; }
  .feature-grid, .topic-grid, .testimonial-slider, .card-container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 8px;
  }
}

/* Extra mobile for nav/btns */
@media (max-width: 500px) {
  .hero { padding: 18px 0 5px; }
  .cta-btn { padding: 11px 12px; font-size: .98rem; }
  .main-nav .cta-btn { padding: 6px 13px; }
  .mobile-nav a { font-size: 1.06rem; }
}

/* =========================
   MISC VISUAL EFFECTS
========================= */
.card, .testimonial-card, .feature-item, .topic-item {
  box-shadow: var(--shadow1);
  border-radius: 18px;
  transition: box-shadow .18s, transform .16s;
}
.card:hover, .testimonial-card:hover, .feature-item:hover, .topic-item:hover {
  box-shadow: 0 6px 22px rgba(195,181,246,0.10);
  transform: scale(1.018);
}

/****
 * Confirmation and CTA-section
 ****/
.confirmation, .cta-section { text-align: center; }
.confirmation h1, .cta-section h1 { color: var(--primary); }

/****
 * Miscellaneous
 ****/
.contact-info-hint {
  background: var(--pastel-pink);
  padding: 10px 15px;
  border-radius: 12px;
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--primary);
}
.map-embed-placeholder {
  background: var(--pastel-mint);
  border: 1px dashed var(--pastel-lavender);
  color: var(--primary);
  border-radius: 15px;
  padding: 18px 16px;
  text-align: center;
  margin-top: 18px;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  opacity: 0.7;
}

/****
 * Legal/Impressum page blocks
 ****/
.legal h2 {
  margin-top: 18px;
  font-size: 1.17rem;
  color: var(--primary);
}

/* ===============================
   COOKIE CONSENT BANNER & MODAL
=============================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  z-index: 2001;
  background: linear-gradient(90deg, var(--pastel-pink), var(--pastel-blue));
  box-shadow: 0 -2px 16px rgba(114,145,194,0.14);
  padding: 24px 14px 18px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 18px 18px 0 0;
  font-size: 1rem;
  animation: slideInCookie 0.41s cubic-bezier(.78,.19,.47,1.15);
}
@keyframes slideInCookie {
  0% { opacity: 0; transform: translateY(80%); }
  100% { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-text {
  color: var(--primary);
  flex: 2 1 280px;
  font-family: 'Roboto',Arial,Helvetica,sans-serif;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: var(--secondary);
  color: var(--primary);
  border: none;
  border-radius: 12px;
  padding: 9px 18px;
  font-size: 1rem;
  font-family: 'Montserrat',Arial,sans-serif;
  box-shadow: 0 1px 8px #dacfc9;
  margin-left: 0;
  cursor: pointer;
  transition: background .18s, color .16s, box-shadow .19s;
  font-weight: 600;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: var(--primary);
  color: #fff;
  outline: none;
  box-shadow: 0 4px 22px #ebd8f7;
}
.cookie-btn.settings {
  background: var(--pastel-lavender);
  color: var(--primary);
}
.cookie-btn.reject {
  background: var(--pastel-mint);
  color: var(--primary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e5657e;
  color: #fff;
}

/****
 * Cookie modal overlay and popup
 ****/
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(195, 181, 246, 0.15);
  z-index: 2002;
  align-items: center;
  justify-content: center;
  animation: fadeIn .21s cubic-bezier(.78,.19,.47,1.05);
}
.cookie-modal-overlay.open {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px 22px 24px;
  min-width: 90vw;
  max-width: 380px;
  box-shadow: 0 10px 60px #bcb6c9;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2010;
  animation: modalPop .23s cubic-bezier(.78,.19,.47,1.13);
}
@keyframes modalPop {
  0% { transform: scale(.85) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.18rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-family: 'Montserrat',Arial,sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 7px 0;
  font-family: 'Roboto',Arial,sans-serif;
}
.cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 18px;
  height: 18px;
}
.cookie-modal-btns {
  margin-top: 26px;
  display: flex;
  gap: 11px;
  justify-content: flex-end;
}
.cookie-modal .close {
  position: absolute;
  top: 22px;
  right: 22px;
  background: var(--pastel-lavender);
  color: var(--primary);
  border: none;
  border-radius: 16px;
  padding: 2px 11px;
  font-size: 1.18rem;
  cursor: pointer;
}
.cookie-modal .close:hover {
  background: #f6d2d7;
  color: #e5657e;
}
.cookie-modal label em { color: var(--text-light); font-size: 0.99em; font-style: normal; display: block; }
.cookie-category .always-on {
  font-weight: 600;
  color: var(--secondary);
  margin-left: 5px;
}

@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    font-size: .97rem;
    padding: 19px 6px 12px 6px;
    border-radius: 11px 11px 0 0;
  }
  .cookie-modal {
    min-width: 95vw;
    padding: 19px 6px 21px 10px;
    max-width: 98vw;
  }
}
/****
 * Focus and Accessibility
 ****/
.cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus, .mobile-nav a:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--pastel-pink);
}

/* ============ END OF MAIN CSS ============= */
