/* =====================================
   CSS RESET & BASE TYPOGRAPHY
========================================*/
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: inherit;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background-color: #fff;
  color: #232728;
  min-height: 100vh;
  font-weight: 400;
}
*, *:before, *:after {
  box-sizing: inherit;
}
img, picture {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #338CA8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #232728;
  text-decoration: underline;
}
ul, ol {
  list-style-position: outside;
  margin-left: 2em;
  margin-bottom: 16px;
}
li:not(:last-child) {
  margin-bottom: 8px;
}
h1, h2, h3, h4 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #232728;
  line-height: 1.15;
}
h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
p, blockquote {
  font-size: 1rem;
  margin-bottom: 14px;
}
p.subheadline {
  font-size: 1.1rem;
  color: #55585c;
  margin-bottom: 20px;
}
blockquote {
  border-left: 3px solid #338CA8;
  background: #F5F7F9;
  color: #232728;
  padding: 16px 20px;
  margin: 18px 0;
  font-style: italic;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(51,140,168,0.07);
}
blockquote span {
  display: block;
  margin-top: 8px;
  font-size: 0.9em;
  font-style: normal;
  color: #338ca8;
}
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
/* =====================================
   HEADER & NAVIGATION
========================================*/
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #F5F7F9;
  box-shadow: 0 2px 12px rgba(35, 39, 40, 0.018);
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 0 0;
}
header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 8px;
}
.logo {
  display: flex;
  align-items: center;
  height: 50px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #232728;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #338CA8;
}
.cta.primary {
  background: #338CA8;
  color: #fff;
  font-weight: 600;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border-radius: 24px;
  padding: 10px 28px;
  margin-left: 20px;
  letter-spacing: 0.01em;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  box-shadow: 0 2px 14px rgba(51,140,168,0.06);
  border: none;
  display: inline-block;
  cursor: pointer;
}
.cta.primary:hover, .cta.primary:focus {
  background: #232728;
  color: #fff;
  box-shadow: 0 4px 16px rgba(35,39,40,0.1);
}
.cta.secondary {
  background: #F5F7F9;
  color: #338CA8;
  font-weight: 600;
  border-radius: 24px;
  padding: 9px 24px;
  border: 1px solid #338CA8;
  margin-top: 10px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: background 0.16s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(51,140,168,0.06);
  cursor: pointer;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #338CA8;
  color: #fff;
  border-color: #338CA8;
}
/* =====================================
   MOBILE MENU
========================================*/
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #232728;
  cursor: pointer;
  margin-left: 14px;
  padding: 6px 12px;
  border-radius: 50%;
  transition: background 0.15s;
  z-index: 101;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #F5F7F9;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 150;
  padding: 32px 20px 40px 20px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 6px 32px rgba(35,39,40,0.18);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #338CA8;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background 0.15s;
  border-radius: 50%;
  padding: 4px 12px;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #F5F7F9;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.mobile-nav a {
  color: #232728;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 11px 3px;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #338ca810;
  color: #338CA8;
}
/* Hide main nav and show burger on mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .cta.primary {
    margin-left: 0;
  }
}
/* Hide cta.primary in header on very small mobile (to fit logo & button) */
@media (max-width: 500px) {
  .cta.primary {
    display: none;
  }
}
/* =====================================
   HERO + GENERAL SECTIONS
========================================*/
main {
  margin-top: 20px;
  width: 100%;
}
.hero {
  background: #F5F7F9;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(51,140,168,0.045);
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
  display: flex;
  align-items: center;
  min-height: 280px;
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 22px;
}
.hero .content-wrapper {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}
.cta-banner {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 20px rgba(51,140,168,0.09);
  margin-bottom: 60px;
  padding: 40px 0 38px 0;
  display: flex;
  align-items: center;
}
.cta-banner .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cta-banner .content-wrapper {
  align-items: flex-start;
  gap: 18px;
}
/* =====================================
   CARD / GRID / FLEX PATTERNS
========================================*/
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(35,39,40,0.07);
  padding: 22px 20px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  min-width: 220px;
  flex: 1 1 220px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 6px 24px rgba(35,39,40,0.10);
  transform: translateY(-2px) scale(1.01);
}
.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: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(51,140,168,0.10);
  color: #232728;
  margin-bottom: 28px;
}
.testimonial-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  box-shadow: 0 2px 10px rgba(35,39,40,0.08);
}
.testimonial-card .quote {
  font-size: 1rem;
  color: #232728;
  line-height: 1.45;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(51,140,168,0.05);
  padding: 24px 18px;
  flex: 1 1 225px;
  min-width: 215px;
  transition: box-shadow 0.17s, transform 0.17s;
}
.feature-item:hover, .feature-item:focus {
  box-shadow: 0 7px 24px rgba(51,140,168,0.17);
  transform: translateY(-3px) scale(1.02);
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 5px;
  opacity: 0.89;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 8px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.next-steps {
  margin-top: 24px;
  background: #F5F7F9;
  padding: 22px 18px;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(51,140,168,0.04);
}
/* =====================================
   FOOTER
========================================*/
footer {
  background: #fff;
  border-top: 1px solid #F5F7F9;
  padding: 28px 20px 18px 20px;
  margin-top: 50px;
  color: #232728;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.footer-nav a {
  color: #338CA8;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 2px 8px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #232728;
}
.footer-contact {
  text-align: center;
  color: #55585c;
  font-size: 0.98rem;
  margin-bottom: 10px;
}
.footer-copy {
  text-align: center;
  font-size: 0.95rem;
  color: #88898c;
  margin-top: 6px;
}
/* =====================================
   COOKIE CONSENT BANNER + MODAL
========================================*/
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  background: #fff;
  border-top: 1px solid #F5F7F9;
  box-shadow: 0 -2px 24px rgba(35,39,40,0.06);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 16px 18px 16px;
  z-index: 201;
  transition: transform 0.4s cubic-bezier(.82,0,.17,1.03);
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
  opacity: 0.2;
}
.cookie-banner-text {
  font-size: 1rem;
  color: #232728;
  flex: 1 1 215px;
  margin-right: 8px;
}
.cookie-btn {
  padding: 8px 22px;
  border-radius: 21px;
  border: none;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
  margin-right: 0;
  font-size: 1rem;
  transition: background 0.18s, color 0.15s, box-shadow 0.2s;
}
.cookie-btn.accept {
  background: #338CA8;
  color: #fff;
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
  background: #232728;
}
.cookie-btn.reject {
  background: #F5F7F9;
  color: #338CA8;
  border: 1px solid #338CA8;
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
  background: #fff;
  color: #232728;
  border-color: #232728;
}
.cookie-btn.settings {
  background: transparent;
  color: #338CA8;
  border: none;
  text-decoration: underline;
  padding: 7px 16px;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  color: #232728;
  background: #F5F7F9;
}
/* Cookie Settings Modal */
.cookie-modal-overlay {
  display: none; /* Show with .open */
  position: fixed;
  z-index: 202;
  top: 0; left: 0; bottom: 0; right: 0;
  background: rgba(35,39,40,0.20);
  align-items: center;
  justify-content: center;
  transition: opacity 0.27s cubic-bezier(.4,0,.2,1);
}
.cookie-modal-overlay.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 7px 32px rgba(35,39,40,0.12);
  padding: 38px 28px 28px 28px;
  max-width: 98vw;
  width: 420px;
  z-index: 204;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: cookieModalAppear 0.38s cubic-bezier(.34,1.27,.6,1.0);
}
@keyframes cookieModalAppear {
  from { opacity: 0; transform: translateY(42px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.cookie-modal .cookie-cat {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 8px;
}
.cookie-modal .cat-label {
  font-weight: 500;
  flex: 1 1 130px;
}
.cookie-modal .cat-desc {
  color: #888;
  font-size: 0.96rem;
  margin-left: 10px;
}
.cookie-modal .switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  height: 26px;
  margin-left: 10px;
}
.cookie-modal .switch input[type="checkbox"] {
  display: none;
}
.cookie-modal .slider {
  width: 40px;
  height: 20px;
  background: #F5F7F9;
  border-radius: 10px;
  position: relative;
  transition: background 0.18s;
}
.cookie-modal .slider:before {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px;
  height: 16px;
  background: #338CA8;
  border-radius: 50%;
  transition: left 0.18s, background 0.15s;
}
.cookie-modal .switch input:checked + .slider {
  background: #bce4f6;
}
.cookie-modal .switch input:checked + .slider:before {
  left: 22px;
  background: #338CA8;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}
.cookie-modal .cookie-btn {
  margin-left: 0;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: #338CA8;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 50%;
  transition: background 0.13s;
}
.cookie-modal .close-modal:hover,
.cookie-modal .close-modal:focus {
  background: #F5F7F9;
}

/* =====================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
========================================*/
@media (max-width: 900px) {
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  header {
    flex-direction: row;
    gap: 3px;
    padding: 10px 0;
  }
  .cta-banner,
  .hero,
  .section {
    padding: 24px 0 24px 0;
    border-radius: 10px;
  }
  .content-wrapper {
    gap: 14px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .cta.primary, .cta.secondary {
    padding: 8px 18px;
    font-size: 1rem;
  }
  .feature-item {
    padding: 16px 12px;
    min-width: 150px;
  }
  .next-steps {
    padding: 14px 9px;
    margin-top: 13px;
  }
  .hero .container, .cta-banner .container {
    gap: 8px;
    padding: 0 8px;
  }
  .feature-grid, .card-container {
    gap: 18px;
  }
}
@media (max-width: 600px) {
  .footer-nav {
    gap: 12px;
  }
  .content-wrapper, .text-section {
    gap: 10px;
  }
  .footer-contact, .footer-copy {
    font-size: 0.90rem;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 8px;
  }
  .hero, .cta-banner, .section {
    padding: 14px 0 15px 0;
  }
  .feature-item {
    font-size: 0.99rem;
    padding: 12px 7px;
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 1.35rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .logo {
    height: 34px;
  }
  .card, .feature-item {
    min-width: 110px;
    padding: 9px 5px;
  }
  .cookie-consent-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 13px 8px 11px 8px;
  }
  .cookie-modal {
    width: 99vw;
    padding: 16px 7px 14px 12px;
  }
}
/* =====================================
   UTILITY CLASSES & MICROINTERACTIONS
========================================*/
.rounded {
  border-radius: 14px;
}
.shadow {
  box-shadow: 0 2px 14px rgba(35,39,40,0.09);
}
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-8  { gap: 8px; }
.hide { display: none !important; }

/* =====================================
   FORM ELEMENTS & BUTTONS
========================================*/
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 8px 12px;
  border: 1px solid #F5F7F9;
  border-radius: 7px;
  background: #F5F7F9;
  color: #232728;
  margin-bottom: 18px;
  width: 100%;
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #338CA8;
  outline: none;
}
button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  cursor: pointer;
}
::-webkit-input-placeholder { color: #b2b2b2; opacity:1; }
::-moz-placeholder { color: #b2b2b2; opacity:1; }
:-ms-input-placeholder { color: #b2b2b2; opacity:1; }
::placeholder { color: #b2b2b2; opacity:1; }

/* =====================================
   ACCESSIBILITY & MISC
========================================*/
:focus {
  outline: 2px dashed #338CA8;
  outline-offset: 2px;
}
[tabindex="-1"]:focus {
  outline: none;
}

/* Hide visually */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
/* Special image list stylings in kontakt page */
.text-section ul li img {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 8px;
  opacity: 0.88;
}

/* =====================================
   SPECIAL CASE: THANK YOU PAGE
========================================*/
.thank-you {
  padding: 38px 0 24px 0;
  margin-bottom: 40px;
}
.thank-you h1 {
  color: #338CA8;
}

/* =====================================
   PRINT STYLE (MINIMAL)
========================================*/
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu, .cta.primary, .cta.secondary {
    display: none !important;
  }
  main, section, .container, .content-wrapper {
    background: none !important;
    color: #111 !important;
    box-shadow: none !important;
  }
}
/* =====================================
   END OF CSS
========================================*/
