/* ====================================================
   CSS 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F4F9FB;
  color: #234568;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
  border: none;
}
button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

/* ================
   Variables (fallbacks)
================== */
:root {
  --brand-primary: #234568;
  --brand-secondary: #F4F9FB;
  --brand-accent: #E57E25;
  --pastel-blue:   #D9E8FC;
  --pastel-orange: #FCEDD9;
  --pastel-mint:   #D9F6F0;
  --pastel-pink:   #FDE1E6;
  --pastel-lilac:  #F4E8FD;
  --pastel-yellow: #FFFAD9;
  --gray-100:      #fff;
  --gray-200:      #f6f8fa;
  --gray-500:      #92A0B8;
  --text-dark: #234568;
  --text-light: #fff;
  --shadow-soft: 0 2px 24px 0 rgba(35,69,104,0.05), 0 1px 3px 0 rgba(35,69,104,0.04);
}

/* ================
   Typography
================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-size: 1rem;
  margin-bottom: 8px;
}
p, li, dd {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brand-primary);
}
.hero-subheadline {
  font-size: 1.15rem;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: var(--brand-primary);
  margin-bottom: 20px;
  margin-top: -6px;
  max-width: 540px;
  opacity: 0.8;
}
strong {
  font-weight: 700;
}

/* ================
   Layout Containers
================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-mint);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  position: relative;
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 8px 28px rgba(35,69,104,0.11), 0 4px 8px rgba(35,69,104,0.08);
  transform: translateY(-4px) scale(1.02);
}
.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;
  background: var(--pastel-pink);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 540px;
  flex: 1 1 260px;
  color: var(--brand-primary);
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.feature {
  background: var(--pastel-lilac);
  border-radius: 18px;
  padding: 30px 20px 24px;
  min-width: 220px;
  flex: 1 1 260px;
  box-shadow: 0 2px 12px 0 rgba(35,69,104,0.07);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.18s;
}
.feature:hover {
  box-shadow: 0 8px 30px rgba(229,126,37,0.10), 0 4px 10px rgba(35,69,104,0.15);
  transform: translateY(-3px) scale(1.015);
}
.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  background: var(--gray-100);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 4px rgba(229,126,37,0.08);
}

.services-list, .tips-list {
  margin-top: 10px;
  margin-bottom: 24px;
}
.services-list li, .tips-list li {
  background: var(--pastel-yellow);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
  color: var(--brand-primary);
  box-shadow: 0 1px 6px rgba(229,126,37,0.07);
  font-size: 1.04rem;
  transition: background 0.2s;
}
.services-list li:hover {
  background: var(--pastel-orange);
}
dt {
  font-weight: 600;
  margin-bottom: 8px;
}
dd {
  margin-bottom: 16px;
  margin-left: 0;
}
ol {
  margin-bottom: 20px;
  margin-left: 20px;
}
ol > li {
  list-style: decimal outside;
  margin-bottom: 10px;
}
ul > li {
  list-style: disc inside;
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
  margin-bottom: 20px;
}
.hero {
  padding: 54px 0 42px;
  background: linear-gradient(130deg, var(--pastel-blue) 75%, var(--pastel-mint) 100%);
  border-radius: 0 0 48px 48px;
  box-shadow: 0 4px 32px rgba(35,69,104,0.08);
  margin-bottom: 64px;
}
@media (max-width: 768px) {
  .hero {
    border-radius: 0 0 26px 26px;
    padding: 38px 0 28px;
    margin-bottom: 36px;
  }
  .features-grid {
    flex-direction: column;
  }
  .testimonial-card, .feature {
    min-width: 0;
    width: 100%;
  }
  .testimonials {
    flex-direction: column;
    gap: 18px;
  }
}

/* ================
   CTAs and Buttons
================== */
.cta {
  background: var(--pastel-mint);
  border-radius: 28px;
  padding: 48px 0 38px;
  margin-bottom: 56px;
  box-shadow: 0 2px 24px 0 rgba(229,126,37,0.058);
}
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  text-align: center;
  background: var(--brand-accent);
  color: var(--text-light);
  padding: 12px 32px;
  border-radius: 32px;
  font-size: 1.13rem;
  box-shadow: 0 1px 6px rgba(229,126,37,0.14);
  margin: 12px 0 0 0;
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.18s, transform 0.16s;
  border: none;
  outline: none;
}
.cta-btn.primary {
  background: var(--brand-primary);
  color: #fff;
}
.cta-btn:hover, 
.cta-btn:focus {
  background: #fff;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  box-shadow: 0 3px 16px 0 rgba(35,69,104,0.12);
  transform: translateY(-1.5px) scale(1.03);
}
.cta-btn:active {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}

/* ================
   Header & Navigation
================== */
header {
  background: linear-gradient(120deg, var(--gray-100) 70%, var(--pastel-blue) 100%);
  box-shadow: 0 4px 24px rgba(35,69,104,0.06);
  position: relative;
  z-index: 20;
  width: 100%;
}
.header-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 12px 0 8px 0;
  gap: 16px;
}
.desktop-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.desktop-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--brand-primary);
  padding: 8px 14px;
  border-radius: 18px;
  transition: background 0.17s, color 0.17s;
  position: relative;
}
.desktop-nav a:hover, .desktop-nav a:focus {
  background: var(--pastel-lilac);
  color: var(--brand-accent);
}
.header-flex img {
  width: 126px;
  height: auto;
  margin-right: 10px;
}

/* ================
   Mobile Navigation
================== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: var(--brand-accent);
  color: #fff;
  border-radius: 14px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: 18px;
  z-index: 103;
  transition: background 0.16s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--brand-primary);
  color: #fff;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 130;
  background: linear-gradient(140deg, var(--pastel-blue) 80%, var(--pastel-lilac) 100%);
  flex-direction: column;
  align-items: flex-start;
  transition: opacity 0.32s, transform 0.36s cubic-bezier(.54,-0.36,0,1.56);
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
}
.mobile-menu.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  animation: mobileMenuIn 0.35s cubic-bezier(.7,-0.35,0,1.5);
}
@keyframes mobileMenuIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 26px 0 0;
  background: var(--brand-accent);
  color: #fff;
  font-size: 2.1rem;
  border-radius: 14px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 131;
  transition: background 0.14s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--brand-primary);
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  padding: 28px 30px 0 36px;
}
.mobile-nav a {
  display: block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.17rem;
  color: var(--brand-primary);
  background: none;
  border-radius: 18px;
  padding: 16px 0 12px 4px;
  margin-bottom: 6px;
  width: 100%;
  transition: background 0.2s, color 0.15s;
}
.mobile-nav a:active,
.mobile-nav a:focus,
.mobile-nav a:hover {
  background: var(--pastel-lilac);
  color: var(--brand-accent);
}

@media (max-width: 1020px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 1021px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ================
   Footer
================== */
footer {
  background: linear-gradient(128deg, var(--pastel-blue) 80%, var(--gray-100) 100%);
  padding: 40px 0 0 0;
  border-radius: 38px 38px 0 0;
  box-shadow: 0 -4px 36px 0 rgba(35,69,104,0.06);
  margin-top: 80px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-info {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer-info img {
  width: 68px;
  margin-bottom: 6px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  padding-left: 0;
}
.footer-nav li {
  margin-bottom: 0;
}
.footer-nav a {
  font-size: 0.96rem;
  color: var(--brand-primary);
  background: var(--pastel-mint);
  border-radius: 10px;
  padding: 5px 13px;
  transition: background 0.18s, color 0.14s;
}
.footer-nav a:hover {
  background: var(--pastel-yellow);
  color: var(--brand-accent);
}
.footer-contact {
  flex: 1 1 250px;
  margin-top: 10px;
  color: var(--brand-primary);
  font-size: 1.01rem;
  background: var(--pastel-mint);
  padding: 22px 18px 14px 18px;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
}
.footer-contact h3 {
  font-size: 1rem;
  color: var(--brand-accent);
  margin-bottom: 10px;
}
.footer-contact a {
  color: var(--brand-accent);
  text-decoration: underline;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 14px;
}
.footer-social a {
  background: var(--pastel-pink);
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 1px 7px rgba(229,126,37,0.10);
  transition: background 0.15s;
}
.footer-social a:hover {
  background: var(--pastel-lilac);
}

@media (max-width: 860px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .footer-info, .footer-contact {
    width: 100%;
    margin-bottom: 16px;
  }
}


/* ================
   Misc Utility
================== */
.mt-24   { margin-top: 24px!important;   }
.mb-24   { margin-bottom: 24px!important; }
.mt-40   { margin-top: 40px!important;   }
.mb-40   { margin-bottom: 40px!important; }
.mt-60   { margin-top: 60px!important;   }
.mb-60   { margin-bottom: 60px!important; }
.gap-16  { gap: 16px!important; }
gap-20  { gap: 20px!important; }

/* ================
   Micro Interactions
================== */
a, button, .cta-btn, .card, .feature, .footer-nav a, .mobile-nav a, .mobile-menu-close {
  transition: background 0.18s, color 0.14s, box-shadow 0.16s, transform 0.12s;
}

/* ================
   Responsive Layouts
================== */
@media (max-width: 900px) {
  .container {
    max-width: 100%;
    padding-left: 10px; padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    padding-left: 7px; padding-right: 7px;
  }
  .content-wrapper {
    padding-left: 0; padding-right: 0;
  }
  .section {
    margin-bottom: 34px;
    padding: 22px 7px;
  }
  .cta {
    padding: 28px 0 20px;
    margin-bottom: 28px;
    border-radius: 18px;
  }
  .footer-social {
    margin-bottom: 12px;
  }
  .hero {
    padding: 30px 0 14px;
    margin-bottom: 22px;
    border-radius: 0 0 18px 18px;
  }
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}
.content-grid {
  flex-direction: row;
}
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
}

/* ================
   Cookie Consent Banner & Modal
================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--pastel-yellow);
  color: var(--brand-primary);
  box-shadow: 0 -2px 24px rgba(35,69,104,0.13);
  padding: 22px 20px 18px 20px;
  z-index: 999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 38px;
  font-size: 1.05rem;
  animation: cookieBannerIn 0.45s cubic-bezier(.58,-0.39,.33,1.32);
}
@keyframes cookieBannerIn {
  from { opacity: 0; transform: translateY(80px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner .cookie-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-left: 28px;
}
.cookie-btn {
  background: var(--brand-primary);
  color: #fff;
  font-size: 1rem;
  border-radius: 16px;
  padding: 9px 18px;
  border: none;
  font-family: inherit;
  font-weight: 600;
  margin: 2px;
  transition: background 0.16s, color 0.17s, box-shadow 0.16s;
  box-shadow: 0 1px 6px rgba(35,69,104, 0.08);
}
.cookie-btn.secondary {
  background: var(--brand-accent);
}
.cookie-btn.settings {
  background: var(--pastel-mint);
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--pastel-lilac);
  color: var(--brand-accent);
  outline: none;
}
@media (max-width: 680px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 16px 10px 13px 10px;
  }
  .cookie-banner .cookie-banner-buttons {
    margin-left: 0;
    gap: 12px;
  }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 1100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(46,56,72,0.19);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.17s;
}
.cookie-modal {
  background: var(--gray-100);
  border-radius: 26px;
  box-shadow: 0 7px 48px rgba(35,69,104,0.19);
  padding: 34px 26px 26px 26px;
  min-width: 308px; max-width: 98vw;
  max-width: 410px;
  color: var(--brand-primary);
  animation: cookieModalIn 0.28s cubic-bezier(.62,-0.42,.18,1.45);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@keyframes cookieModalIn {
  from { transform: translateY(40px) scale(0.93); opacity: 0; }
  to   { transform: translateY(0) scale(1);   opacity: 1; }
}
.cookie-modal-close {
  position: absolute;
  top: 8px; right: 10px;
  font-size: 1.5rem;
  background: var(--pastel-lilac);
  color: var(--brand-accent);
  border-radius: 11px;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.cookie-modal-close:hover {
  background: var(--brand-accent);
  color: #fff;
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: var(--brand-primary);
  margin-bottom: 6px;
}
.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0 10px 0;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: var(--pastel-mint);
  border-radius: 11px;
  position: relative;
  transition: background 0.15s;
  cursor: pointer;
}
.cookie-toggle input {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  z-index: 2;
}
.cookie-toggle-slider {
  position: absolute;
  height: 18px;
  width: 18px;
  left: 2px;
  top: 2px;
  background: var(--brand-primary);
  border-radius: 50%;
  transition: all 0.23s cubic-bezier(.36,1.32,.08,.76);
  box-shadow: 0 0.5px 2px rgba(35,69,104,.07);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 20px;
  background: var(--brand-accent);
}
.cookie-category span {
  font-weight: 500;
}

.cookie-category.essential {
  opacity: 0.6;
}
.cookie-category.essential .cookie-toggle {
  pointer-events: none;
}
.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 12px;
}
.cookie-modal-actions .cookie-btn {
  font-size: 1.03rem;
}

/* ================
   Custom Scrollbar
================== */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--pastel-lilac) var(--gray-100);
}
::-webkit-scrollbar {
  width: 10px;
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--pastel-lilac);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary);
}

/* ================
   Accessibility/high contrast in testimonials
================== */
.testimonial-card {
  background: var(--pastel-pink);
  color: var(--brand-primary);
  box-shadow: 0 1px 8px 0 rgba(35,69,104,0.06);
}
.testimonial-card strong,
.testimonial-card span {
  color: var(--brand-primary);
}
.testimonial-card p {
  color: var(--brand-primary);
  font-size: 1.08rem;
}

/* ================
   Forms (if needed in future, e.g. kontakt)
================== */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: var(--pastel-lilac);
  border: 1.5px solid var(--brand-primary);
  border-radius: 9px;
  padding: 13px 12px;
  margin-bottom: 16px;
  width: 100%;
  color: var(--brand-primary);
  box-shadow: 0 1px 6px rgba(35,69,104,0.04);
  transition: border 0.15s, box-shadow 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid var(--brand-accent);
  outline: none;
  background: var(--gray-200);
}

/* ================
   Miscellaneous
================== */
hr {
  border: none;
  border-bottom: 1px solid #e3e4f7;
  margin: 24px 0;
}

/* ================
   Print styles
================== */
@media print {
  header, .mobile-menu, footer, .cookie-banner, .cookie-modal-overlay { display: none !important; }
}

/* End of style.css */
