/* RESET & NORMALIZE */
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%; font: inherit; vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #223647;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  font-size: 16px;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; cursor: pointer; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }

/* BRAND COLOR VARIABLES */
:root {
  --primary: #255C7B;
  --secondary: #ffffff;
  --accent: #79C5E6;
  --accent-dark: #19709E;
  --background: #ECECEC;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --focus: #ffb43a;
}

/* TYPOGRAPHY */
h1, .h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
h2, .h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
h4, .h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
p, ul, ol, li, blockquote{
  font-family: var(--font-body);
  font-size: 1rem;
  color: #223647;
}
strong { font-weight: 700; }
blockquote {
  font-style: italic;
  font-family: var(--font-display);
  color: var(--accent-dark);
}

/* LINKS */
a {
  color: var(--primary);
  transition: color 0.2s, background 0.2s;
  font-family: var(--font-body);
}
a:hover, a:focus {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* BUTTONS & CTA */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.1;
  border: none;
  border-radius: 32px;
  padding: 13px 32px;
  margin-top: 16px;
  box-shadow: 0 4px 16px rgba(39,117,171,0.10), 0 1.5px 5px rgba(25,112,158,0.12);
  cursor: pointer;
  transition: background 0.25s, transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.04em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--accent-dark);
  transform: translateY(-2px) scale(1.03) rotate(-2deg);
  box-shadow: 0 8px 24px rgba(25,112,158,0.16);
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 18px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* HEADER */
header {
  background: var(--primary);
  color: #fff;
  width: 100%;
  z-index: 80;
  box-shadow: 0 8px 30px rgba(39,117,171,0.06);
}
header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  font-size: 1rem;
  font-family: var(--font-display);
  color: #fff;
  letter-spacing: 0.02em;
  border-radius: 21px;
  padding: 6px 18px;
  transition: background 0.19s,color 0.17s;
}
header nav a.active,
header nav a:hover {
  background: var(--accent);
  color: #fff;
}
header img[alt="KühlBastion"] {
  max-height: 46px;
  margin-right: 12px;
  transition: transform .23s cubic-bezier(0.63,1.33,0.43,-0.34);
}
header img[alt="KühlBastion"]:hover {
  transform: scale(1.09) rotate(-7deg);
}
.mobile-menu-toggle {
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  box-shadow: 0 4px 15px rgba(121,197,230,0.14);
  cursor: pointer;
  margin-left: 16px;
  z-index: 110;
}
.mobile-menu-toggle:focus { background: var(--focus); outline: none; }

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(121,197,230,0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 32px;
  transform: translateX(-100%);
  transition: transform .36s cubic-bezier(0.72,0.12,0.41,1.02);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(37,92,123,0.13);
  z-index: 210;
  transition: background .19s;
}
.mobile-menu-close:focus { background: var(--focus); outline: none; }
.mobile-nav {
  margin-top: 54px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 36px;
}
.mobile-nav a {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.25rem;
  padding: 10px 0;
  border-radius: 10px;
  transition: background .2s;
  min-width: 210px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent-dark);
  color: #fff;
}

/* BANNER & SECTIONS */
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  z-index: 1;
}
.hero-section {
  background: linear-gradient(90deg, var(--accent) 0%, var(--background) 55%);
  padding: 54px 0 52px 0;
  margin-bottom: 60px;
  border-radius: 0 0 48px 48px;
  box-shadow: 0 4px 36px rgba(121,197,230,0.12);
  position: relative;
  z-index: 1;
}
.hero-section .content-wrapper {
  align-items: flex-start;
  gap: 22px;
}
.hero-section h1 {
  color: var(--primary);
  word-break: break-word;
  text-shadow: 1px 4px 0 var(--accent),0 0 8px #e2f6ff;
  font-size: 2.8rem;
  animation: appearDown .9s cubic-bezier(0.19,1,0.22,1);
}
.hero-section p {
  font-size: 1.24rem;
  color: #255C7B;
  max-width: 520px;
}
@keyframes appearDown { from { opacity:0; transform: translateY(-48px);} to { opacity:1; transform: none; } }

.features-section, .services-section, .cta-section {
  background: var(--background);
  border-radius: 34px;
  margin-bottom: 60px;
}
.features-section .content-wrapper,
.services-section .content-wrapper,
.cta-section .content-wrapper {
  align-items: flex-start;
}

/**** FLEXBOX LAYOUTS ****/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 21px;
  box-shadow: 0 2px 12px rgba(37,92,123,0.08);
  padding: 28px 22px;
  z-index: 1;
  transition: box-shadow .22s, transform .19s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card:hover {
  box-shadow: 0 6px 32px rgba(121,197,230,0.15);
  transform: translateY(-6px) 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;
}
.text-image-section > * { flex: 1 1 200px; }

/**** FEATURE LISTS & GRIDS ****/
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 24px 0 0 0;
}
.feature-grid li {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1.5px 8px rgba(121,197,230,0.07);
  flex: 1 1 200px;
  min-width: 210px;
  max-width: 290px;
  padding: 21px 22px 19px 22px;
  margin-bottom: 20px;
  transition: box-shadow .19s, transform .17s, background .18s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  position: relative;
}
.feature-grid li:hover {
  background: #e7f7ff;
  box-shadow: 0 4px 22px rgba(25,112,158,0.14);
  transform: rotate(-2deg) scale(1.03);
}
.feature-grid img {
  width: 41px; height: 41px;
  margin-bottom: 6px;
  filter: drop-shadow(0 0 7px #ececec);
  animation: popIcon .6s ease-in-out;
}
@keyframes popIcon { 0% { transform: scale(0.8); opacity:0; } 100% { transform: scale(1);opacity:1; } }

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  margin-bottom: 0;
}
.feature-list li {
  background: linear-gradient(90deg, var(--accent) 80%, var(--accent-dark) 120%);
  color: #fff;
  font-family: var(--font-display);
  border-radius: 14px;
  font-size: 1rem;
  padding: 7px 19px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  box-shadow: 0 2.5px 7px rgba(37,92,123,0.07);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
  margin-bottom: 10px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 11px 19px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(121,197,230, 0.10);
  font-size: 1.08rem;
  margin-bottom: 8px;
}
.service-list a {
  color: var(--primary);
  background: #ebf7fb;
  border-radius: 11px;
  padding: 5px 14px;
  margin-left: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.97rem;
  transition: background 0.18s, color 0.18s;
}
.service-list a:hover {
  background: var(--accent-dark);
  color: #fff;
}
.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 1.5px 8px rgba(121,197,230,0.09);
  flex: 1 1 200px;
  min-width: 220px; max-width: 285px;
  padding: 22px 19px 18px 19px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  transition: box-shadow .15s, transform .15s;
}
.service-card:hover {
  box-shadow: 0 6px 26px rgba(25,112,158,0.12);
  background: #e7f7ff;
  transform: scale(1.04) rotate(-1deg);
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.benefit-list li {
  background: #d5f1fc;
  color: #19709E;
  border-radius: 12px;
  padding: 10px 17px;
  font-weight: 500;
  margin-bottom: 7px;
}

/**** TESTIMONIALS ****/
.testimonials-section {
  background: var(--secondary);
  margin-bottom: 60px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2.5px 12px rgba(121,197,230,0.19);
  padding: 20px;
  margin-bottom: 22px;
  margin-top: 16px;
  position: relative;
  transition: box-shadow .19s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 27px rgba(25,112,158,0.14);
  animation: testimonialPop .45s cubic-bezier(0.53,1.4,0.44,-0.21);
}
.testimonial-card blockquote {
  font-size: 1.11rem;
  line-height: 1.5;
  color: var(--accent-dark);
}
.testimonial-info {
  color: #223647;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-left: 14px;
}
@keyframes testimonialPop { from{ transform: scale(0.95);opacity:0.1;} to{transform:scale(1);opacity:1;} }

/**** CTA SECTION ****/
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 23px;
  margin-bottom: 60px;
  box-shadow: 0 2px 20px rgba(121,197,230,0.17);
  padding: 40px 20px;
}
.cta-section .content-wrapper h2,
.cta-section .content-wrapper p {
  color: #fff;
}
.cta-section .cta-btn {
  margin-top: 10px;
  background: #fff;
  color: var(--accent-dark);
  border-radius: 32px;
  font-weight: 700;
  font-size: 1.10rem;
  box-shadow: 0 3px 18px rgba(25,112,158,0.13);
}
.cta-section .cta-btn:hover { background: var(--primary); color: #fff; }

/**** FOOTER ****/
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 24px 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-navigation a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.98rem;
  padding: 3px 8px;
  background: var(--accent);
  border-radius: 9px;
  transition: background .18s;
}
.footer-navigation a:hover { background: var(--accent-dark); }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.99rem;
}
.footer-contact img {
  width: 19px; height: 19px;
  margin-right: 6px;
  vertical-align: middle;
}
footer span { opacity: 0.7; font-size: 0.96rem; }

/**** TEXT SECTIONS ****/
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.text-section p,
.text-section ul,
.text-section ol {
  margin-bottom: 7px;
}
.text-section ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 9px;
}
.text-section li {
  padding-left: 2px;
  font-size: 1rem;
  color: #19709E;
}
.text-section strong {
  color: var(--accent-dark);
}
.text-section img {
  width: 24px; height: 24px;
  margin-right: 4px;
  vertical-align: middle;
}

/**** MODALS, BANNERS, & COOKIES ****/
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  color: #222;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -4px 32px rgba(121,197,230,0.30);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 20px 26px 20px;
  z-index: 2222;
  align-items: flex-start;
  animation: cookieSlideUp .6s cubic-bezier(0.65,0, 0.35,1.35);
  max-width: 540px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform:translateX(-50%) translateY(56px); }
  to   { opacity: 1; transform:translateX(-50%) translateY(0); }
}
.cookie-banner p {
  font-size: 1.01rem;
  color: #223647;
}
.cookie-btn-group {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  background: var(--accent);
  border: none;
  border-radius: 16px;
  color: #fff;
  padding: 8px 22px;
  font-size: 1rem;
  font-family: var(--font-display);
  cursor: pointer;
  font-weight: 600;
  margin-top: 8px;
  transition: background .15s, color .15s, transform .14s;
}
.cookie-btn[aria-pressed="true"], .cookie-btn:hover { background: var(--accent-dark); }
.cookie-btn.secondary {
  background: var(--primary);
}
.cookie-btn.secondary:hover {
  background: var(--focus);
  color: var(--primary);
}
.cookie-btn.settings {
  background: none;
  color: var(--accent-dark);
  border: 2px solid var(--accent-dark);
}
.cookie-btn.settings:hover { background: var(--accent-dark); color: #fff; }

.cookie-modal-overlay {
  position: fixed;
  left:0; top:0; right:0; bottom:0;
  background: rgba(37,92,123,0.32);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .22s;
}
.cookie-modal-overlay.active {
  opacity: 1; pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 42px rgba(37,92,123,0.18);
  min-width: 310px; max-width: 94vw;
  padding: 30px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  animation: modalPop .47s cubic-bezier(0.44,1.29,0.45,-0.11);
}
@keyframes modalPop { from { opacity:0; transform: scale(0.95);} to { opacity:1; transform: scale(1);} }
.cookie-modal .modal-close {
  position: absolute;
  top: 11px; right: 11px;
  background: var(--primary);
  color: #fff;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 11;
  transition: background .16s;
}
.cookie-modal .modal-close:hover { background: var(--accent-dark); }
.cookie-modal label {
  font-family: var(--font-display);
  font-size: 1.03rem;
  margin-left: 6px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-switch {
  width:40px; height:22px;
  border-radius:11px;
  background: #dbefff;
  position: relative;
  cursor: pointer;
  display: inline-block;
  transition: background .16s;
}
.cookie-switch input {
  opacity:0; width:0; height:0;
}
.cookie-slider {
  position: absolute;
  left:2px; top:2px;
  width:18px; height:18px;
  background: var(--accent-dark);
  border-radius:50%;
  transition: left .18s;
}
.cookie-switch input:checked + .cookie-slider {
  left:20px;
  background: var(--accent);
}
.cookie-category.essential .cookie-switch {
  background: #bfeeea;
  opacity:0.7;
  cursor: default;
}
.cookie-category.essential label {
  font-weight: 700;
  color: #19709E;
}

/***** RESPONSIVE DESIGN *****/
@media (max-width: 1020px) {
  .container { max-width: 920px; }
}
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .feature-grid li, .service-card {
    min-width:170px; max-width:100%;
  }
  .footer-contact, .footer-navigation { flex:1 1 230px; }
}
@media (max-width: 768px) {
  h1, .h1 { font-size: 2rem; }
  h2, .h2 { font-size: 1.4rem; }
  .container { padding: 0 8px; }
  .hero-section { padding: 36px 0 29px 0; border-radius: 0 0 32px 32px; }
  .section, section, .features-section, .cta-section, .services-section { padding: 23px 6px; border-radius:16px; margin-bottom: 35px; }
  .content-wrapper { gap:16px; }
  .feature-grid, .service-grid, .card-container, .content-grid {
    gap: 13px;
  }
  .feature-grid li, .service-card {
    min-width:120px;
    max-width: 100%;
    font-size: 0.98rem;
    padding: 12px 8px 13px 13px;
  }
  .text-image-section, .content-grid{
    flex-direction: column;
    gap: 18px;
  }
  header .container {
    flex-flow: row wrap;
    padding: 0 6px;
    min-height:54px;
  }
  header nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  footer .container { flex-direction: column; gap:18px;}
  .footer-navigation {gap:11px;}
}
@media (max-width: 540px) {
  h1, .h1 { font-size: 1.38rem; }
  h2, .h2 { font-size: 1.12rem; }
  .section, section, .features-section, .cta-section, .services-section { padding: 15px 3px; }
  .feature-grid li, .service-card {font-size:0.97rem;}
  .cookie-banner { min-width: 96vw; border-radius: 0; left:0; transform: none; }
}

/***** PLAYFUL & DYNAMIC ANIMATIONS *****/
.card, .feature-grid li, .service-card, .testimonial-card {
  transition: box-shadow .18s, transform .13s;
}
.card:hover, .feature-grid li:hover, .service-card:hover, .testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(121,197,230,0.18);
  transform: rotate(-1deg) scale(1.03);
}
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: background .16s, transform .15s;
}
.cta-btn:active, .cookie-btn:active, .mobile-menu-toggle:active, .mobile-menu-close:active {
  transform: scale(0.97);
}
@media (hover: none) {
  .cta-btn:hover, .cookie-btn:hover, .mobile-menu-toggle:hover, .mobile-menu-close:hover {
    filter: brightness(1.07);
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar { width:7px; background: #d0ebfb; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 6px; }

/***** FUN FONTS FOR PLAYFUL TOUCH *****/
.hero-section h1, .hero-section .cta-btn, .cta-section .cta-btn {
  font-family: 'Montserrat', var(--font-display), sans-serif;
  font-style: normal;
}

/***** ADD ENERGETIC SHADOWS & COLORS TO PLAYFUL BUBBLES *****/
.feature-grid li, .service-card, .card {
  border: 2.5px solid var(--accent);
  box-shadow: 0 2px 12px rgba(37,92,123,0.09);
}
.feature-grid li:hover, .service-card:hover {
  border-color: var(--primary);
  background: #ebf7fb;
}

/***** ACCESSIBILITY: FOCUS STATES *****/
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus, .mobile-menu-toggle:focus,.mobile-menu-close:focus {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

/* END OF STYLE */
