/* === CSS RESET & BASE === */
html {
  box-sizing: border-box;
  font-size: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fcfaff; /* pastel off-white */
  color: #28436f;
  line-height: 1.7;
  font-size: 16px;
  letter-spacing: 0.03em;
  overflow-x: hidden;
}
:root {
  --primary: #234984;
  --primary-pale: #e1eaf7;
  --secondary: #50b89e;
  --secondary-light: #e3f5ed;
  --accent: #f5f7fa;
  --accent-pink: #ffeaf3;
  --pastel-lavender: #ede6fa;
  --pastel-blue: #c2e0f7;
  --pastel-mint: #e9f9ef;
  --pastel-yellow: #fff8df;
  --pastel-orange: #ffe5cd;
  --danger: #ea7479;
  --gray-text: #768197;
  --shadow: 0 2px 10px 0 rgba(65,110,162,0.08);
}
img, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--primary);
  transition: color 0.15s;
  text-decoration: none;
  cursor: pointer;
}
a:hover, a:focus {
  color: var(--secondary);
  outline: none;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.5em;
  list-style: disc inside;
}
strong {
  font-weight: 600;
}
hr {
  border: none;
  border-bottom: 1px solid #e7e7f7;
  margin: 32px 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  margin-bottom: 0.7em;
  font-weight: 700;
  color: #234984;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 0.6em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4em;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35em;
}
.subheadline {
  font-size: 1.18rem;
  color: #4d5673;
  margin-bottom: 1.2em;
  font-weight: 500;
}
p {
  margin-bottom: 1.1em;
  color: #3b4e6d;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--accent);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* == CARDS & FLEX == */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--pastel-lavender);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 20px;
  transition: box-shadow 0.18s, transform 0.2s;
}
.card:hover,
.card:focus {
  box-shadow: 0 8px 32px 0 rgba(80,184,158,0.18);
  transform: translateY(-4px) scale(1.015);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--pastel-blue);
  border-radius: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  transition: box-shadow 0.15s;
}
.testimonial-card blockquote {
  font-size: 1.09rem;
  font-style: italic;
  color: #18345d;
  margin: 0;
}
.testimonial-card p {
  margin: 0;
  color: #234984;
  font-size: 0.99rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-mint);
  border-radius: 17px;
  box-shadow: var(--shadow);
  padding: 16px 15px;
  margin-bottom: 20px;
}

/* === MAIN NAVIGATION === */
header {
  width: 100%;
  background: linear-gradient(90deg, #e0f1fa 0%, #fafffa 100%);
  box-shadow: 0 2px 12px rgba(80, 184, 158, 0.07);
  z-index: 1000;
  position: relative;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  color: #234984;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a.cta-primary {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 18px;
  box-shadow: 0 3px 14px 0 rgba(35,73,132,0.09);
  margin-left: 10px;
  transition: background 0.18s, transform 0.18s;
  font-size: 1.09rem;
}
.main-nav a.cta-primary:hover, .main-nav a.cta-primary:focus {
  background: var(--secondary);
  color: #fff !important;
  transform: translateY(-2px) scale(1.04);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}
.main-nav img {
  width: 50px;
  height: auto;
  margin-right: 15px;
  vertical-align: middle;
}
/* Hide nav on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
}

/* --- Mobile Menu --- */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pastel-orange);
  border: none;
  color: var(--primary);
  font-size: 2.1rem;
  padding: 7px 16px;
  border-radius: 10px;
  margin-left: auto;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 1201;
  transition: background 0.14s, color 0.14s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
}
@media (min-width: 1025px) {
  .mobile-menu-toggle {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(246, 247, 253, 0.97);
  z-index: 1300;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.56, 0.09, 0.56, 0.87);
  box-shadow: -6px 0 32px 0 rgba(80,184,158,0.06);
  padding-top: 40px;
}
.mobile-menu.open {
  transform: translateX(0%);
}
.mobile-menu-close {
  position: absolute;
  right: 20px;
  top: 25px;
  font-size: 2.1rem;
  color: var(--primary);
  background: var(--pastel-lavender);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s, color 0.14s;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(35,73,132,0.08);
  z-index: 1400;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: var(--pastel-yellow);
  color: var(--danger);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 40px;
  padding-left: 35px;
}
.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  padding: 11px 18px;
  border-radius: 16px;
  transition: background 0.18s, color 0.18s;
  width: 95vw;
  max-width: 350px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
@media (min-width: 1025px) {
  .mobile-menu {
    display: none !important;
  }
}

/* === BADGES, BUTTONS === */
.badge {
  display: inline-block;
  background: var(--danger);
  color: #fff;
  padding: 3.5px 12px;
  border-radius: 12px;
  font-size: 0.95em;
  font-weight: bold;
  margin-left: 7px;
  margin-right: 8px;
  vertical-align: 1.5px;
  letter-spacing: 0.01em;
}
.cta-primary {
  background: linear-gradient(90deg,#234984 0%, #50b89e 100%);
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.14rem;
  padding: 13px 28px;
  border-radius: 24px;
  box-shadow: 0 4px 20px 0 rgba(35,73,132,0.10);
  border: none;
  outline: none;
  cursor: pointer;
  margin-top: 15px;
  margin-bottom: 10px;
  transition: background 0.22s, color 0.16s, transform 0.18s;
  text-align: center;
  display: inline-block;
}
.cta-primary:hover, .cta-primary:focus {
  background: linear-gradient(90deg, #50b89e 0%, #234984 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.035);
}
.cta-secondary {
  background: var(--accent-pink);
  color: #234984;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.03rem;
  padding: 11px 21px;
  border-radius: 19px;
  border: none;
  outline: none;
  margin-top: 13px;
  margin-bottom: 7px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 8px 0 rgba(255, 185, 210, 0.11);
  text-align: center;
  display: inline-block;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
  box-shadow: 0 3px 10px 0 rgba(255,220,130,0.12);
}
button, .cta-primary, .cta-secondary {
  font-family: inherit;
  border: none;
  cursor: pointer;
}
button:focus-visible {
  outline: 2px solid var(--secondary);
}

/* === CATEGORIES GRID (KATEGORIE PAGE) === */
.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.category-item {
  flex: 1 1 210px;
  min-width: 170px;
  max-width: 260px;
  background: var(--pastel-mint);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px 17px 18px 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.19s;
}
.category-item img {
  height: 46px;
  margin-bottom: 10px;
}
.category-item h3 {
  font-size: 1.19rem;
  color: #234984;
  margin-bottom: 8px;
}
.category-item p {
  color: #577090;
  font-size: 0.98em;
}
.category-item:hover, .category-item:focus {
  box-shadow: 0 8px 32px 0 rgba(80,184,158,0.14);
  transform: translateY(-2px) scale(1.03);
}

/* === FAQ === */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--pastel-blue);
  padding: 30px 20px;
  border-radius: 20px;
  margin-bottom: 15px;
  margin-top: 8px;
  box-shadow: var(--shadow);
}
.faq-list h3 {
  color: var(--secondary);
  font-size: 1.14rem;
  margin: 0;
}
.faq-list p {
  color: #234984;
  margin-bottom: 0.3em;
}

/* === FORMS (NEWSLETTER) === */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 12px;
}
.newsletter-form input[type="email"] {
  padding: 12px 14px;
  border-radius: 13px;
  border: 1.5px solid var(--secondary);
  font-size: 1rem;
  background: #fffdfa;
  transition: border-color 0.17s;
  width: 230px;
  font-family: inherit;
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--primary);
  outline: none;
}

/* === STATISTICS (ABOUT) === */
.statistics-counter {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  background: var(--pastel-yellow);
  border-radius: 13px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  margin-bottom: 10px;
  font-size: 1.06rem;
}
.statistics-counter strong {
  color: var(--secondary);
  font-size: 1.34em;
}

/* === TRUST BADGES === */
.trust-badges {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 7px;
  flex-wrap: wrap;
}
.trust-badges img {
  height: 48px;
  width: auto;
}

/* === CONTACT DETAILS (KONTAKT) === */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.contact-details img {
  width: 21px;
  vertical-align: middle;
  margin-right: 6px;
}

/* === FOOTER === */
footer {
  background: linear-gradient(90deg, #fafffa 0%, #e0f1fa 100%);
  margin-top: 40px;
  padding: 0;
  border-top: 1.5px solid #eaf2fa;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  padding: 26px 6px 19px 6px;
}
footer nav {
  margin-bottom: 12px;
  font-size: 0.99rem;
  color: #7381a7;
  font-family: 'Montserrat', sans-serif;
}
footer nav a {
  color: #234984;
  margin: 0 4px;
  padding: 5px 6px;
  border-radius: 7px;
}
footer nav a:hover, footer nav a:focus {
  background: var(--pastel-lavender);
  color: var(--secondary);
}
footer img[alt="Frosty Gleam"] {
  width: 40px;
  margin-bottom: 5px;
}
.contact-summary {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.98rem;
  color: #28436f;
  margin-bottom: 3px;
}
.contact-summary img {
  width: 17px;
  margin-right: 5px;
  vertical-align: -2px;
}
.social-links {
  display: flex;
  gap: 17px;
  align-items: center;
  margin-bottom: 4px;
}
.social-links img {
  height: 27px;
  width: auto;
  transition: filter 0.19s, transform 0.18s;
}
.social-links img:hover, .social-links img:focus {
  filter: brightness(1.35) drop-shadow(0 0 5px #d1e2f6);
  transform: scale(1.14);
}

/* === GENERAL UTILS, MICRO-ACTIONS === */
::-webkit-scrollbar {
  width: 10px;
  background: #e7eef7;
}
::-webkit-scrollbar-thumb {
  background: #cedbef;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #bac8df;
}
.section:last-child {
  margin-bottom: 0;
}
@media (max-width: 576px) {
  html {
    font-size: 95%;
  }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.29rem; }
  p, li { font-size: 0.97rem; }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .container {
    max-width: 97vw;
    padding: 0 8px;
  }
  .content-wrapper {
    gap: 17px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.39rem; }
  h2 { font-size: 1.11rem; }
  .section {
    margin-bottom: 40px;
    padding: 21px 5px;
  }
  .category-item {
    min-width: 80vw;
    max-width: 100vw;
    align-items: flex-start;
    text-align: left;
  }
  .card-container, .content-grid, .category-grid {
    flex-direction: column;
    gap: 13px;
  }
  .testimonials {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .testimonial-card { padding: 12px; }
  .feature-item { padding: 9px 7px; }
}

/* == SPACING pattern enforcement == */
section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* === COOKIE CONSENT BANNER === */
.cookie-consent-banner {
  position: fixed;
  width: 100vw;
  left: 0;
  bottom: 0;
  z-index: 1500;
  background: #fffdfa;
  box-shadow: 0 -3px 30px 0 rgba(120,140,170,0.13);
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  font-size: 0.98rem;
  animation: fadeInBottom 0.55s;
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 7px;
}
.cookie-consent-banner button,
.cookie-consent-banner .cta-secondary {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
}
.cookie-consent-banner .cookie-accept {
  background: var(--secondary);
  color: #fff;
  border-radius: 17px;
  padding: 11px 23px;
  border: none;
  box-shadow: 0 2px 8px 0 rgba(50,184,158,0.14);
  transition: background 0.15s, transform 0.14s;
}
.cookie-consent-banner .cookie-accept:hover,
.cookie-consent-banner .cookie-accept:focus {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.06);
}
.cookie-consent-banner .cookie-reject {
  background: var(--accent-pink);
  color: var(--danger);
  border-radius: 17px;
  border: none;
  padding: 11px 20px;
  box-shadow: 0 2px 8px 0 rgba(255,166,167,0.10);
  transition: background 0.14s, color 0.16s;
}
.cookie-consent-banner .cookie-reject:hover,
.cookie-consent-banner .cookie-reject:focus {
  background: var(--danger);
  color: #fff;
}
.cookie-consent-banner .cookie-settings {
  background: var(--pastel-mint);
  color: var(--primary);
  border-radius: 17px;
  border: none;
  padding: 11px 19px;
  transition: background 0.15s, color 0.16s;
}
.cookie-consent-banner .cookie-settings:hover,
.cookie-consent-banner .cookie-settings:focus {
  background: var(--primary-pale);
  color: var(--secondary);
}

@media (max-width: 768px) {
  .cookie-consent-banner { padding: 17px 2px; font-size: 0.97rem; }
  .cookie-consent-banner .cookie-buttons { gap: 8px; }
}
@keyframes fadeInBottom {
  from { transform: translateY(50px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* === COOKIE MODAL === */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2000;
  background: #fff;
  box-shadow: 0 8px 40px 0 rgba(52, 74, 120, 0.15);
  border-radius: 22px;
  transform: translate(-50%, -52%) scale(0.98);
  padding: 35px 28px 25px 28px;
  min-width: 320px;
  max-width: 94vw;
  transition: box-shadow 0.19s;
  animation: fadeInModal 0.4s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translate(-50%, -55%) scale(0.95); }
  to   { opacity: 1; transform: translate(-50%, -52%) scale(0.98); }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.25em;
}
.cookie-modal .cookie-option {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.cookie-modal label {
  font-family: 'Roboto', Arial, sans-serif;
  color: #28436f;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  width: 21px;
  height: 21px;
  accent-color: var(--secondary);
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 17px;
  justify-content: flex-end;
  margin-top: 7px;
}
.cookie-modal .cookie-modal-close {
  background: none;
  color: var(--danger);
  border: none;
  font-size: 1.34rem;
  position: absolute;
  top: 13px; right: 17px;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  color: var(--primary);
}

/* === DIALOG BACKDROP === */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 1999;
  top:0; left:0; right:0; bottom:0;
  background: rgba(226, 228, 240, 0.7);
  animation: fadeBackdrop 0.3s;
}
@keyframes fadeBackdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* === SMALL OVERRIDES FOR ACCESSIBILITY === */
:focus-visible {
  outline: 2.5px solid var(--secondary) !important;
  outline-offset: 2.5px !important;
  background: #fafcff;
}

/* === ANIMATIONS AND MICRO-INTERACTIONS === */
.card, .category-item, .testimonial-card, .feature-item {
  transition: box-shadow 0.16s, transform 0.18s;
}
.card:hover, .category-item:hover, .testimonial-card:hover, .feature-item:hover {
  box-shadow: 0 7px 30px 0 rgba(50,184,158,0.11);
  transform: translateY(-2px) scale(1.012);
}

/* === ACCESSIBILITY: ENSURE CONTRAST IN TESTIMONIALS === */
.testimonial-card, .faq-list {
  color: #234984;
  background: #e8f3fc !important;
  box-shadow: var(--shadow);
}
.testimonial-card p strong {
  color: #18345d;
  font-weight: 700;
}

/* === FORM ELEMENTS === */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.8;
  border-radius: 12px;
  border: 1.5px solid #d2e3ec;
  padding: 9px 14px;
  background: #fff;
  margin-bottom: 14px;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--secondary);
  background: #f7fbfa;
}

/* === HIDE DECORATIVE FOR CONTENT === */
[aria-hidden="true"] {
  display: none !important;
  visibility: hidden !important;
}

/* ==== END ==== */
