/* 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, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  background: #f8f8fb;
  color: #273469;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #34a6b6;
  text-decoration: none;
  transition: color 0.18s;
}
a:hover, a:focus {
  color: #1f7e90;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 24px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* TYPOGRAPHY ------------------------------------------------------------- */
h1, .h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  color: #273469;
}
h2, .h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 14px;
  letter-spacing: 0.25px;
  color: #273469;
}
h3, .h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 10px;
  color: #273469;
}
h4, .h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 8px;
  color: #273469;
}
p, blockquote, cite {
  font-size: 16px;
  color: #273469;
}
blockquote {
  font-style: italic;
  background: rgba(231,243,252,0.5);
  border-left: 4px solid #34a6b6;
  padding: 16px 24px;
  margin-bottom: 8px;
  border-radius: 16px 32px 16px 8px;
}
cite {
  font-weight: 500;
  color: #273469;
  display: block;
  margin-top: 10px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* PASTEL COLOR PALETTE -------------------------------------------------- */
:root {
  --primary: #273469;
  --secondary: #34a6b6;
  --accent: #f8f8fb;
  --pastel-blue: #e7f3fc;
  --pastel-yellow: #fffbe8;
  --pastel-pink: #fde3e9;
  --pastel-green: #e6f8f3;
  --pastel-lavender: #ece7fe;
  --card-bg: #fff;
  --shadow: 0 2px 12px 0 rgba(110,168,197,0.10), 0 1.5px 6px 0 rgba(240,210,255,0.14);
  --radius: 18px;
}

/* HEADER & NAV ---------------------------------------------------------- */
header {
  background: linear-gradient(90deg, #e7f3fc 0%, #fbe9ff 100%);
  box-shadow: 0 2px 20px 0 rgba(110,168,197,0.08);
  position: relative;
  z-index: 100;
  padding: 0 0 0 0;
}
header .container {
  min-height: 70px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
}
header img[alt='Slick Sparkle Wissen'] {
    height: 45px;
    margin-right: 24px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #273469;
  padding: 6px 14px;
  border-radius: 16px;
  transition: background 0.15s, color 0.15s;
}
header nav a:hover,
header nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.button.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(90deg, #ffe9fe 0%, #e7f3fc 100%);
  color: var(--primary);
  border: none;
  border-radius: 24px;
  padding: 12px 32px;
  margin-left: 18px;
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: center;
  transition: all 0.18s cubic-bezier(.4,0,.2,1);
  outline: none;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 5px #fff5f5b3;
}
.button.primary:hover, .button.primary:focus {
  background: linear-gradient(90deg, #e7f3fc 0%, #ffe9fe 100%);
  color: var(--secondary);
  box-shadow: 0 4px 18px 0 rgba(110,168,197,0.13);
  transform: translateY(-2px) scale(1.025);
}
.button {
  display: inline-block;
  text-decoration: none;
  transition: all 0.16s;
}

/* MOBILE MENU ----------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  background: var(--pastel-pink);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 10px 0 rgba(230,180,250,0.11);
  cursor: pointer;
  transition: background 0.16s;
  z-index: 120;
}
.mobile-menu-toggle:hover,.mobile-menu-toggle:focus {
  background: var(--pastel-blue);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(248,248,251,0.97);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.18s;
  opacity: 0;
  display: flex;
  flex-direction: column;
  padding: 32px 30px 30px 30px;
  gap: 36px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  box-shadow: 0 0 80px 0 rgba(60,120,170,0.12);
}
.mobile-menu-close {
  background: var(--pastel-pink);
  border: none;
  align-self: flex-end;
  color: var(--primary);
  font-size: 2.1rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.14s;
  font-family: inherit;
}
.mobile-menu-close:hover,.mobile-menu-close:focus {
  background: var(--pastel-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  padding: 12px 0;
  border-radius: 16px;
  background: none;
  transition: background 0.15s, color 0.12s;
  outline: none;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--pastel-yellow);
  color: var(--secondary);
  text-decoration: underline;
}

@media (max-width: 980px) {
  header .container { padding: 12px 12px; }
}
@media (max-width: 900px) {
  header .container { gap: 8px; }
  nav { gap: 6px; }
}
@media (max-width: 830px) {
  header nav,
  .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* HERO ------------------------------------------------------------------ */
.hero {
  background: linear-gradient(100deg, #fbe9ff 0%, #e7f3fc 100%);
  border-radius: 0 0 40px 40px;
  box-shadow: 0 4px 38px 0 rgba(231,243,252,0.20);
  margin-bottom: 60px;
  padding: 70px 0 40px 0;
}
.hero h1 {
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.2rem;
  color: #276890;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .hero { padding: 40px 0 16px 0; }
  .hero h1 { font-size: 1.45rem; }
  .hero p { font-size: 1rem; }
}

/* GENERAL SECTIONS ------------------------------------------------------ */
.section, .features, .about-preview, .cta, .about, .legal, .confirmation, .topics, .team, .approach, .contact {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(110,168,197,0.08);
  position: relative;
}
.features {
  background: linear-gradient(90deg, #e6f8f3 0%, #ece7fe 100%);
  box-shadow: 0 2px 16px 0 rgba(110,168,197,0.09);
}
.cta {
  background: linear-gradient(90deg, #ffe9fe 0%, #e6f8f3 100%);
  text-align: center;
}
.about-preview {
  background: linear-gradient(90deg, #ece7fe 0%, #fbe9ff 100%);
}
.confirmation {
  background: linear-gradient(90deg, #e6f8f3 0%, #fde3e9 100%);
  text-align: center;
}

/* CARDS & LAYOUT FLEX --------------------------------------------------- */
.feature-grid, .team-member-grid, .icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--card-bg);
  border-radius: 22px;
  padding: 22px 24px 26px 24px;
  min-width: 200px;
  flex: 1 1 220px;
  max-width: 320px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.16s, transform 0.16s;
  margin-bottom: 20px;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 4px 28px 0 rgba(110,168,197,0.14);
  transform: translateY(-4px) scale(1.018);
  background: var(--pastel-blue);
}
.feature-item img {
  width: 56px;
  height: 56px;
  padding: 7px;
  border-radius: 15px;
  background: var(--pastel-pink);
  margin-bottom: 7px;
  box-shadow: 0 2px 8px rgba(250,200,255,.13);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--card-bg);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 20px 28px;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 280px;
  min-width: 250px;
  max-width: 325px;
  transition: box-shadow 0.16s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 24px 2px rgba(110,168,197,0.14);
  transform: translateY(-2px) scale(1.01);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--pastel-blue);
  border-radius: 28px 18px 28px 18px;
  box-shadow: 0 2px 18px 0 rgba(110,168,197,0.12);
  padding: 20px;
  margin-top: 32px;
  margin-bottom: 24px;
  color: #273469;
  font-size: 1.06rem;
  max-width: 620px;
}
.testimonial-card blockquote {
  color: #273469;
  background: transparent;
  border-left: 4px solid #34a6b6;
  margin-bottom: 0;
  font-size: 1.07rem;
}
.testimonial-card cite {
  color: #196680;
  font-size: 0.97em;
  font-style: normal;
  font-weight: 600;
  margin-left: 18px;
}
.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  justify-content: flex-start;
}
.icon-grid img {
  width: 64px;
  height: 64px;
  background: var(--pastel-green);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: var(--pastel-yellow);
  border-radius: 22px;
  padding: 22px 24px 23px 24px;
  min-width: 210px;
  flex: 1 1 200px;
  max-width: 300px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  transition: box-shadow 0.16s, transform 0.14s;
}
.team-member:hover, .team-member:focus-within {
  box-shadow: 0 4px 24px 2px rgba(255,187,250,0.17);
  transform: translateY(-3px) scale(1.01);
  background: #fbe9ff;
}
.team-member img {
  width: 45px;
  height: 45px;
  background: var(--pastel-blue);
  border-radius: 14px;
  margin-bottom: 6px;
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: #273469;
  font-weight: 500;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 18px;
}

/* FOOTER ---------------------------------------------------------------- */
footer {
  background: linear-gradient(92deg, #ecdffb 0%, #e7f3fc 100%);
  padding: 40px 0 10px 0;
  box-shadow: 0 -2px 28px 0 rgba(110,168,197,0.10);
  margin-top: 42px;
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
footer img[alt='Slick Sparkle Wissen Logo'] {
  height: 40px;
  margin-bottom: 16px;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
footer nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  color: #273469;
  opacity: 0.85;
  transition: color 0.14s, opacity 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: #34a6b6;
  opacity: 1;
}
.footer-info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.footer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 6px;
}
.footer-contact img {
  width: 20px;
  height: 20px;
  background: none;
  box-shadow: none;
}
.copyright {
  margin-top: 18px;
  font-size: 13px;
  color: #7a7e92;
  opacity: 0.8;
}

/* TABLES, LISTS --------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(110,168,197,0.07);
  margin-bottom: 26px;
}
th, td {
  padding: 14px;
  text-align: left;
  font-size: 1em;
  color: #273469;
}
th {
  background: var(--pastel-lavender);
}
tr:nth-child(even) td {
  background: var(--pastel-blue);
}
ul.icon-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
ul.icon-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.08rem;
  color: #273469;
}
ul.icon-list img {
  width: 28px;
  height: 28px;
  background: var(--pastel-pink);
  border-radius: 8px;
}

/* FACT LISTS ETC -------------------------------------------------------- */
.fact-list {
  margin-top: 0;
  margin-bottom: 20px;
  padding-left: 1.1em;
  color: #273469;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 1.05rem;
}

/* LEGAL PAGES ----------------------------------------------------------- */
.legal h1 {
  font-size: 2.1rem;
  margin-bottom: 14px;
}
.legal h2 {
  font-size: 1.25rem;
  margin-top: 26px;
  margin-bottom: 7px;
}
.legal p, .legal ul, .legal ol {
  font-size: 1rem;
  color: #273469;
}

/* GENERIC UTILITY CLASSES ----------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.text-center { text-align: center !important; }

/* RESPONSIVE DESIGN (MOBILE FIRST) -------------------------------------- */
@media (max-width: 1150px) {
  .container {
    max-width: 96vw;
  }
  .feature-grid,.team-member-grid,.icon-grid,.content-grid {
    gap: 16px;
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-left: 10px; padding-right: 10px;
  }
  .features, .about-preview, .cta, .about, .legal, .confirmation, .topics, .team, .approach, .contact {
    padding: 30px 10px;
    margin-bottom: 36px;
  }
}
@media (max-width: 700px) {
  .feature-grid, .team-member-grid, .icon-grid {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .feature-item, .team-member, .card {
    min-width: 180px;
    max-width: 100%;
    padding: 18px 10px 18px 10px;
  }
  .testimonial-card {
    max-width: 95vw;
    padding: 16px 8px;
    font-size: 1rem;
    gap: 10px;
  }
  .text-image-section, .footer-info {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .footer-info {
    align-items: flex-start !important;
  }
}
@media (max-width: 500px) {
  .section, .features, .about-preview, .cta, .about, .legal, .confirmation, .topics, .team, .approach, .contact {
    padding: 18px 4px;
    margin-bottom: 28px;
  }
  .container {
    padding-left: 4px; padding-right: 4px;
  }
  .hero { padding: 20px 0 10px 0; }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column !important;
    gap: 16px;
    align-items: flex-start !important;
  }
}

/* ANIMATIONS & MICRO-INTERACTIONS --------------------------------------- */
.button, .card, .feature-item, .team-member, .testimonial-card, .mobile-menu, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.18s, background 0.19s, color 0.16s, transform 0.16s;
}
.button:active, .card:active, .feature-item:active, .team-member:active {
  transform: scale(0.98);
}

/* FOCUS STATES (for accessibility) -------------------------------------- */
a:focus, .button:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #d08fd3 !important;
  outline-offset: 2px;
  z-index: 1500;
}

/* COOKIE CONSENT BANNER ------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #e6f8f3 0%, #fde3e9 100%);
  color: #273469;
  box-shadow: 0 -2px 30px 0 rgba(54, 52, 111, 0.10);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 18px 20px 35px;
  min-height: 80px;
  z-index: 3000;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  font-size: 1rem;
  animation: slideUpBanner 0.36s cubic-bezier(.69,-0.01,.44,1.05);
}
@keyframes slideUpBanner {
  0% { transform: translateY(100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin-bottom: 0;
  flex: 1 1 250px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  border: none;
  border-radius: 18px;
  padding: 10px 28px;
  background: #34a6b6;
  box-shadow: 0 2px 8px 0 rgba(51,170,182,0.10);
  margin-right: 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.13s;
}
.cookie-banner .cookie-btn.settings {
  background: #f2b8e6;
  color: #273469;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: #196680;
  color: #fff;
  transform: translateY(-2px) scale(1.035);
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #ecdffb;
  color: #273469;
}
@media (max-width: 690px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 3vw 18px 3vw;
    gap: 12px;
    font-size: 0.93rem;
  }
  .cookie-banner .cookie-actions {
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* COOKIE MODAL ---------------------------------------------------------- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(36,48,89,0.43);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal .28s cubic-bezier(.7,0,.35,1.1);
}
@keyframes fadeInModal {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal-box {
  background: linear-gradient(92deg,#e7f3fc 0%,#fde3e9 100%);
  border-radius: 26px;
  box-shadow: 0 6px 48px 0 rgba(54, 52, 111, 0.14);
  padding: 36px 36px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 394px;
  width: 94vw;
  font-size: 1.05rem;
  animation: slideInModal .32s cubic-bezier(.75,-0.1,.13,1.11);
  position: relative;
}
@keyframes slideInModal {
  from { transform: translateY(80px); opacity:0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-modal-box h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-box label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-modal-box input[type='checkbox'] {
  accent-color: #34a6b6;
  width: 20px;
  height: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e7f3fc;
  color: #273469;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1.25em;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: #ffe9fe;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 14px;
}
.cookie-modal-actions .cookie-btn {
  padding: 8px 24px;
  font-size: 0.96rem;
}

@media (max-width: 500px) {
  .cookie-modal-box {
    padding: 15px 9px 10px 9px;
    max-width: 96vw;
  }
}

/* -- END OF CSS -- */
