/* ============================ */
/* CSS RESET & NORMALIZATION    */
/* ============================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F7F7F2;
  color: #16202a;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #294262;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

h1 { font-size: 2.6rem; line-height: 1.15; }
h2 { font-size: 2.0rem; line-height: 1.2; }
h3 { font-size: 1.3rem; }

p, ul, ol, li, span, a, dl, dt, dd {
  font-family: 'Roboto', Arial, sans-serif;
  color: #16202a;
  font-size: 1.15rem;
}

ul, ol { padding-left: 2em; margin-bottom: 1.5em; }
ul { list-style: disc inside; }
ol { list-style: decimal inside; }
li { margin-bottom: 0.55em; }
strong { font-weight: bold; }

img { max-width: 100%; display: block; height: auto; }
a { color: #294262; text-decoration: underline; transition: color 0.2s; }
a:hover, a:focus { color: #FF3C38; text-decoration: none; }


/* ============================ */
/* BRAND COLORS & VIBRANT STYLE */
/* ============================ */
:root {
  --color-primary: #294262;
  --color-secondary: #889CA3;
  --color-accent: #F7F7F2;
  --color-electric1: #FF3C38;
  --color-electric2: #19C4CB;
  --color-electric3: #FDC800;
  --color-bg-hero: #19C4CB;
}

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

/* =============================== */
/* STRUCTURE & CONTAINER LAYOUTS   */
/* =============================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section { margin-bottom: 40px; padding: 24px 8px; }
}

/* ======================== */
/* HEADER & NAV LAYOUT      */
/* ======================== */
header {
  background: #fff;
  box-shadow: 0 6px 16px 0 rgba(41,66,98,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  min-height: 66px;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
}
header img {
  max-width: 160px;
  height: auto;
  margin-right: 64px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--color-electric1);
  border-bottom: 2px solid var(--color-electric1);
}

.btn-primary {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.14rem;
  background: linear-gradient(90deg, var(--color-electric1) 0%, var(--color-electric2) 100%);
  color: #fff;
  padding: 0.8em 2em;
  border: none;
  border-radius: 40px;
  box-shadow: 0 4px 20px 0 rgba(25,196,203,0.22);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-left: 16px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  position: relative;
  z-index: 2;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--color-electric2) 0%, var(--color-electric1) 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 36px 0 rgba(255,60,56,0.15);
}

/* Burger button */
.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: var(--color-electric1);
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  position: fixed;
  right: 22px;
  top: 18px;
  height: 48px;
  width: 48px;
  align-items: center;
  justify-content: center;
  z-index: 105;
  box-shadow: 0 2px 10px 0 rgba(41,66,98,0.09);
  border-radius: 50%;
  transition: background 0.15s, color 0.2s;
}
.mobile-menu-toggle:active {
  background: var(--color-electric2);
  color: #fff;
}
/* MOBILE MENU */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 120;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 8px 42px 0 rgba(25,196,203,0.14);
  transform: translateX(100vw);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.77,0,.18,1), opacity 0.25s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: var(--color-primary);
  border: none;
  align-self: flex-end;
  margin: 32px 24px 16px 0;
  font-size: 2.4rem;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
  z-index: 121;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-electric1);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  margin-top: 36px;
  padding: 0 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: var(--color-primary);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  background: none;
  border: none;
  transition: color 0.2s;
  padding: 12px 0;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--color-electric2);
  background: none;
}
/* Hide main nav and show burger on mobile */
@media (max-width: 980px) {
  .main-nav, .btn-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 981px) {
  .mobile-menu, .mobile-menu-toggle {
    display: none !important;
  }
}


/* ===================== */
/* HERO SECTION VIBRANT  */
/* ===================== */
.hero {
  background: var(--color-bg-hero);
  width: 100vw;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 44px 0 rgba(41,66,98,0.09);
  padding: 0;
  min-height: 380px;
  margin-bottom: 60px;
}
.hero .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 370px;
  gap: 40px;
}
.hero .content-wrapper {
  flex: 1;
  gap: 28px;
  align-items: flex-start;
}
.hero h1 {
  color: #fff;
  font-size: 2.7rem;
  text-shadow: 0 5px 30px var(--color-primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.hero p {
  color: #04213A;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 18px;
}
.hero .btn-primary {
  margin-top: 8px;
}
@media (max-width: 900px) {
  .hero { min-height: 200px; }
  .hero .container { min-height: 180px; gap: 16px; }
  .hero .content-wrapper { gap: 18px; }
  .hero h1 { font-size: 1.65rem; }
}

/* =========================== */
/* MAIN SECTIONS & TYPOGRAPHY  */
/* =========================== */
section {
  margin-bottom: 60px;
  padding: 40px 0;
  background: transparent;
}
@media (max-width: 768px) {
  section { margin-bottom: 34px; padding: 22px 0; }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(41,66,98,0.10);
  min-width: 280px;
  min-height: 120px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.25s, transform 0.23s;
}
.card:hover {
  box-shadow: 0 12px 44px 0 rgba(25,196,203,0.14);
  transform: translateY(-3px) scale(1.015);
  z-index: 8;
}

.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;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 16px; }
  .content-grid { flex-direction: column; gap: 16px; }
  .card-container { flex-direction: column; gap: 16px; }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ======================= */
/* TESTIMONIAL-CARD STYLE  */
/* ======================= */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: linear-gradient(105deg, #fff 70%, #FDC800 100%);
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(25,196,203,0.10);
  padding: 32px 28px 22px 28px;
  margin-bottom: 20px;
  transition: box-shadow 0.22s, transform 0.16s;
  border-left: 5px solid var(--color-electric1);
}
.testimonial-card p {
  font-size: 1.22rem;
  font-family: 'Roboto', Arial, sans-serif;
  color: #202627;
  font-weight: 500;
  margin-bottom: 8px;
}
.testimonial-card span {
  color: #294262;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.04rem;
  opacity: 0.90;
  letter-spacing: 0.01em;
}
.testimonial-card:hover {
  box-shadow: 0 12px 32px 0 rgba(255,60,56,0.12);
  transform: scale(1.03);
}

.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}

@media (max-width: 768px) {
  .testimonial-slider { flex-direction: column; gap: 16px; }
}

/* ======================== */
/* CTA & BUTTON SECTION     */
/* ======================== */
.btn-primary {
  margin-top: 10px;
  min-width: 228px;
}
.content-wrapper > .btn-primary {
  align-self: flex-start;
}


/* ======================= */
/* FOOTER STYLE            */
/* ======================= */
footer {
  background: #294262;
  color: #fff;
  padding: 0;
  box-shadow: 0 -5px 18px 0 rgba(41,66,98,0.07);
}
footer .container {
  flex-direction: column;
  gap: 0;
}
footer .content-wrapper {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  padding: 36px 0;
}
footer nav.footer-nav, footer nav.footer-main-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer nav.footer-nav a, footer nav.footer-main-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  opacity: 0.88;
  transition: color 0.2s, opacity 0.2s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-electric3);
  opacity: 1;
}
.footer-contact p, .footer-contact a {
  color: #fff;
  font-size: 1.05rem;
  opacity: 0.78;
}
.footer-contact a { text-decoration: underline; }
.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  margin-top: 0.7em;
}
.footer-branding img { max-width: 110px; margin-bottom: 0.2em; }
.footer-branding span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  color: #FDC800;
  font-weight: 600;
  opacity: 0.93;
}
@media (max-width: 900px) {
  footer .content-wrapper { flex-direction: column; gap: 18px; }
}

/* ===================== */
/* VIBRANT LISTS, ICONS  */
/* ===================== */
ul li img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 10px;
  filter: drop-shadow(1px 2px 1px rgba(25,196,203,0.17));
}
ul li {
  display: flex;
  align-items: center;
}

/* ===================== */
/* MAP EMBED PLACEHOLDER */
/* ===================== */
.map-embed {
  width: 100%;
  border-radius: 12px;
  background: #fffbe7;
  border: 2px solid var(--color-electric3);
  padding: 18px 14px;
  color: #294262;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 1px 4px 0 rgba(253,200,0,0.12);
  margin-top: 12px;
}

/* ============================ */
/* COOKIE CONSENT BANNER/MODAL  */
/* ============================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #fff;
  color: #294262;
  box-shadow: 0 -8px 28px 0 rgba(41,66,98,0.10);
  z-index: 9999;
  padding: 22px 8vw 22px 8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  animation: fadeInBanner 0.9s;
}
.cookie-banner__desc {
  flex: 2;
  font-size: 1.08rem;
  color: #294262;
  margin-right: 18px;
}
.cookie-banner__btns {
  display: flex;
  gap: 18px;
  align-items: center;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.075rem;
  font-weight: 800;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  padding: 11px 26px;
  transition: background 0.18s, color 0.17s, transform 0.16s;
}
.cookie-banner .accept {
  background: var(--color-electric2);
  color: #fff;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: var(--color-electric1);
  transform: translateY(-2px) scale(1.03);
}
.cookie-banner .settings {
  background: var(--color-electric3);
  color: #294262;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #fff;
  color: var(--color-electric2);
  box-shadow: 0 2px 12px 0 rgba(25,196,203,0.09);
}
.cookie-banner .reject {
  background: #fff;
  color: var(--color-electric1);
  border: 2px solid var(--color-electric1);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: var(--color-electric1);
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px 4vw;
    gap: 12px;
  }
  .cookie-banner__desc { margin-right: 0; }
}
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(41,66,98,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.22s, transform 0.23s;
}
.cookie-modal.open {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.cookie-modal__content {
  background: #fff;
  border-radius: 18px;
  padding: 38px 23px 32px 23px;
  min-width: 300px;
  max-width: 92vw;
  box-shadow: 0 8px 38px 0 rgba(25,196,203,0.16);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  color: var(--color-electric2);
  font-size: 1.35rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 1.07rem;
}
.cookie-category input[type=checkbox], .cookie-category input[type=radio] {
  accent-color: var(--color-electric1);
  width: 1.25em;
  height: 1.25em;
  margin-right: 7px;
}
.cookie-modal__btns {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal__btns button {
  border-radius: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  padding: 9px 25px;
  font-size: 1.03rem;
  background: var(--color-electric2);
  color: #fff;
  border: none;
  transition: background 0.15s, transform 0.14s;
}
.cookie-modal__btns button.cancel {
  background: #fff;
  color: var(--color-electric1);
  border: 2px solid var(--color-electric1);
}
.cookie-modal__btns button.cancel:hover {
  background: var(--color-electric1);
  color: #fff;
}
.cookie-modal__btns button.save {
  background: var(--color-electric2);
  color: #fff;
}
.cookie-modal__btns button.save:hover {
  background: var(--color-electric1);
  color: #fff;
}


/* =========================== */
/* HEADINGS AND TYPOGRAPHY     */
/* =========================== */
h1, h2, h3 {
  text-transform: none;
  line-height: 1.14;
}
h1 { font-size: 2.6rem; font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; color: var(--color-primary); }
h2 { font-size: 2.0rem; font-weight: 800; color: var(--color-electric2); }
h3 { font-size: 1.19rem; color: var(--color-electric1); font-weight: 800; }


/* ===================== */
/* RESPONSIVE / MOBILE   */
/* ===================== */
@media (max-width: 580px) {
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.23rem; }
  header img { max-width: 74vw; }
}
@media (max-width: 470px) {
  .container { padding-left: 7px; padding-right: 7px; }
  .section, section { padding: 10px 0; }
  .card, .testimonial-card { padding: 18px 7px 13px 7px; }
}

/* ===================== */
/* ANIMATIONS & EFFECTS  */
/* ===================== */
.card, .btn-primary, .testimonial-card, .cookie-banner, .cookie-modal__content {
  transition: box-shadow 0.22s, transform 0.16s, background 0.21s, color 0.20s;
}

/* accent micro-interaction dots under h2/h3 */
h2::after, h3::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  height: 9px;
  width: 9px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--color-electric1) 0%, var(--color-electric2) 100%);
  vertical-align: middle;
}

/* ==================== */
/* DL - FAQ Ratgeber    */
/* ==================== */
dl { margin: 0 0 1.5em 0; }
dt {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: var(--color-electric2);
  margin-top: 1em;
  margin-bottom: 0.2em;
  font-size: 1.08rem;
}
dd { margin-bottom: 0.8em; color: #294262; font-size: 1.06rem; }

dd + dt { margin-top: 2em; }

/* ============================= */
/* ADDITIONAL SPACING RULES      */
/* ============================= */
section + section {
  margin-top: 14px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 18px;
}
.content-wrapper > h2 {
  margin-top: 2px;
  margin-bottom: 14px;
}

/* ======================== */
/* ACCESSIBILITY UTILITIES  */
/* ======================== */
:focus,
.btn-primary:focus,
button:focus,
a:focus {
  outline: 2px solid var(--color-electric3);
  outline-offset: 2px;
}

/* ================= */
/* CUSTOM SCROLLBAR  */
/* ================= */
::-webkit-scrollbar { width: 13px; background: #e6e6e6; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-electric2) 0%, var(--color-electric1) 100%);
  border-radius: 7px;
}

/* =============== */
/* MISC UTILITIES  */
/* =============== */
.hide { display: none !important; }

/* =============================== */
/* FLEXBOX LAYOUT PATTERNS REQUIRED */
/* =============================== */
/*.section { margin-bottom: 60px; padding: 40px 20px; }  -- above */
/*.card-container { display: flex; flex-wrap: wrap; gap: 24px; }  -- above */
/*.card { margin-bottom: 20px; position: relative; }  -- above */
/*.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }  -- above */
/*.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; } -- above */
/*.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; } -- above, re-specified */
/*.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; } -- above */

/* ============================== */
/* NO CSS GRID - FLEXBOX ONLY     */
/* ============================== */
/* (Enforced above!) */

/* ==================== */
/* PRINT FRIENDLY RESET */
/* ==================== */
@media print {
  header, footer, .mobile-menu, .mobile-menu-toggle, .cookie-banner, .cookie-modal { display: none !important; }
  section, main, .container, .content-wrapper { box-shadow: none !important; background: #fff !important; color: #222 !important; }
}
