/* 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2F7FA;
  color: #184469;
  font-family: 'Open Sans', Arial, sans-serif;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

/* BRAND COLORS AS CSS VARIABLES */
:root {
  --color-primary: #184469;
  --color-secondary: #60BFD1;
  --color-accent: #F2F7FA;
  --color-contrast: #ffffff;
  --color-dark: #15293a;
  --color-success: #18b679;
  --color-danger: #e74c3c;
  --color-grey: #718096;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; font-weight: 800; }
h3 { font-size: 1.35rem; margin-bottom: 12px; font-weight: 700; }
h4, h5, h6 { font-size: 1.05rem; margin-bottom: 8px; font-weight: 700; }
p, ul, ol, li, table, th, td {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--color-dark);
  font-size: 1rem;
  margin-bottom: 12px;
}
strong, b {
  font-weight: 700;
  color: var(--color-primary);
}

/* LAYOUT BASICS */
.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--color-accent);
  border-radius: 18px;
  box-shadow: 0 4px 20px 0 rgba(24,68,105,0.06), 0 1.5px 5px 0 rgba(96,191,209,0.06);
}

/* FLEX LAYOUTS per spec */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(24,68,105,0.10);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 24px;
  min-width: 240px;
  flex: 1 1 320px;
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1), transform 0.18s cubic-bezier(.4,0,.2,1);
}
.card:hover {
  box-shadow: 0 8px 30px 0 rgba(24,68,105,0.18);
  transform: translateY(-4px) scale(1.018);
  z-index: 1;
}
.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;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap; 
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px 0 rgba(96,191,209,0.10);
  flex: 1 1 320px;
  max-width: 590px;
  border-left: 6px solid var(--color-secondary);
  color: #15293a;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.service-list li {
  background: #fff;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 1.5px 6px 0 rgba(24,68,105,0.07);
  font-size: 1.06rem;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: flex-start;
}
.case-highlights > div {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px 0 rgba(24,68,105,0.07);
  padding: 24px 20px;
  max-width: 430px;
  margin-bottom: 20px;
}
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.article-preview {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px 0 rgba(96,191,209,.09);
  padding: 22px 18px;
  flex: 1 1 290px;
  transition: box-shadow 0.2s;
}
.article-preview:hover {
  box-shadow: 0 8px 28px 0 rgba(24,68,105,0.13);
  transform: translateY(-4px) scale(1.012);
}
.categories-filter {
  font-size: 1.01rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.categories-filter span {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-contrast);
  border-radius: 6px;
  padding: 2px 12px;
  margin-right: 6px;
  font-size: 0.97rem;
  font-weight: 700;
}
.contact-short {
  margin-top: 24px;
}
.contact-short p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--color-dark);
  font-size: 1.1rem;
}
.next-steps ul {
  padding-left: 20px;
}
.next-steps li {
  margin-bottom: 6px;
  font-size: 1.01rem;
}

/* FAQ LISTS */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}
.faq-list > div {
  background: #fff;
  padding: 22px 18px;
  border-radius: 10px;
  box-shadow: 0 1.5px 7px 0 rgba(24,68,105,0.07);
  flex: 1 1 300px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 1.5px 8px 0 rgba(24,68,105,0.06);
  padding: 0;
  position: relative;
  z-index: 20;
  width: 100%;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-start;
  max-width: 1150px;
  padding: 18px 20px;
  margin: 0 auto;
  position: relative;
}
.main-nav > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  padding: 8px 10px;
  color: var(--color-primary);
  border-radius: 6px;
  transition: background 0.22s, color 0.18s;
  position: relative;
}
.main-nav > a:not(:first-child):hover,
.main-nav > a.cta-button:hover {
  background: var(--color-secondary);
  color: #fff;
}
.main-nav > .cta-button {
  margin-left: auto;
  background: var(--color-secondary);
  color: #fff;
  padding: 10px 32px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
  box-shadow: 0 3px 17px 0 rgba(96,191,209,0.10);
  transition: background 0.18s, box-shadow 0.14s, color 0.18s;
}
.main-nav img {
  height: 38px;
  margin-right: 16px;
}

/* MOBILE NAVIGATION (BURGER MENU) */
.mobile-menu-toggle {
  display: none;
  background: var(--color-secondary);
  color: #fff;
  font-size: 2.1rem;
  border-radius: 50%;
  padding: 6px 12px;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 101;
  box-shadow: 0 4px 14px 0 rgba(96,191,209,0.13);
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-primary);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(24,68,105,0.99);
  transform: translateX(100vw);
  transition: transform 0.32s cubic-bezier(.57, .49, .19, .97);
  z-index: 200;
  visibility: hidden;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}
.mobile-menu-close {
  color: #fff;
  background: none;
  border: none;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 20px 24px 8px 0;
  cursor: pointer;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 24px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.36rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 0;
  transition: color 0.15s;
}
.mobile-nav a:hover {
  color: var(--color-secondary);
}

/* FOOTER */
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 40px 0 20px 0;
  margin-top: 48px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 1.04rem;
}
.footer-nav a {
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  transition: background 0.18s;
}
.footer-nav a:hover {
  background: var(--color-secondary);
}
.footer-address {
  text-align: center;
  color: #daebf2;
  font-size: 0.97rem;
}

/* BUTTONS & INTERACTIONS */
.cta-button {
  background: var(--color-secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  border-radius: 12px;
  padding: 16px 38px;
  font-size: 1.22rem;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 18px 0 rgba(96,191,209,0.13);
  transition: background 0.18s, box-shadow 0.14s, color 0.15s, transform 0.13s;
  border: none;
  display: inline-block;
  margin: 12px 0;
  cursor: pointer;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 8px 30px 0 rgba(24,68,105,0.18);
  transform: translateY(-2px) scale(1.018);
}

/* TABLES (z.B. PREISLISTE) */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 8px 0 rgba(96,191,209,0.08);
  overflow: hidden;
  margin-bottom: 18px;
}
th, td {
  padding: 16px 14px;
  text-align: left;
}
th {
  background: var(--color-secondary);
  color: #fff;
  font-size: 1.13rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
}
td {
  background: none;
  color: var(--color-dark);
  font-size: 1rem;
}
tr:nth-child(even) td {
  background: #F7FAFC;
}

/* LISTS */
ul, ol {
  padding-left: 28px;
}
ul li {
  margin-bottom: 8px;
  font-size: 1.03rem;
}

/* MODAL OVERLAY (COOKIE SETTINGS) */
.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(24,68,105,0.82);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  transition: opacity 0.32s;
  opacity: 0;
  pointer-events: none;
}
.cookie-modal-overlay.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  color: var(--color-dark);
  border-radius: 18px;
  max-width: 430px;
  box-shadow: 0 8px 30px 0 rgba(24,68,105,0.23);
  padding: 32px 28px 26px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  animation: modalIn 0.32s cubic-bezier(.57, .49, .19, .97);
  position: relative;
}
@keyframes modalIn {
  0% { transform: translateY(60px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.22rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F2F7FA;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 1.06rem;
  margin-bottom: 10px;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #dbeafe;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle[aria-checked="true"] {
  background: var(--color-secondary);
}
.cookie-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s;
  box-shadow: 0 1.5px 6px 0 rgba(24,68,105,0.10);
}
.cookie-toggle[aria-checked="true"] .cookie-toggle-thumb {
  left: 22px;
}
.cookie-modal-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 20px;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.7rem;
  color: var(--color-grey);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.cookie-modal-close:hover {
  color: var(--color-primary);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: var(--color-dark);
  box-shadow: 0 -4px 18px 0 rgba(24,68,105,0.13);
  padding: 20px 12px 18px;
  z-index: 100;
  gap: 14px;
  animation: slideBannerUp 0.35s cubic-bezier(.57, .49, .19, .97);
}
@keyframes slideBannerUp {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner strong {
  color: var(--color-primary);
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
}
.cookie-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 900;
  border: none;
  border-radius: 8px;
  box-shadow: 0 1.5px 7px 0 rgba(24,68,105,0.07);
  padding: 9px 24px;
  cursor: pointer;
  transition: background 0.16s, color 0.13s;
}
.cookie-banner .cookie-btn.accept {
  background: var(--color-success);
}
.cookie-banner .cookie-btn.reject {
  background: var(--color-danger);
}
.cookie-banner .cookie-btn.settings {
  background: var(--color-secondary);
}
.cookie-banner .cookie-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* MEDIA QUERIES FOR RESPONSIVE DESIGN */
@media (max-width: 1075px) {
  .main-nav {
    max-width: 100vw;
    padding: 18px 10px;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
}
@media (max-width: 920px) {
  .main-nav {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.28rem; }
  .content-wrapper { gap: 14px; }
  .section {
    margin-bottom: 36px;
    padding: 28px 6px;
  }
  .card-container, .feature-grid, .service-list, .case-highlights, .blog-list, .faq-list, .content-grid {
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .testimonial-card {
    flex-direction: column;
    max-width: 100%;
    gap: 12px;
  }
  .card, .article-preview, .faq-list > div, .case-highlights > div {
    min-width: 0;
    max-width: 100%;
    padding: 18px 11px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
  }
  .footer-address {
    font-size: 0.85rem;
  }
  .contact-short p { font-size: 1rem; }
  table, th, td { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .cta-button {
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
    min-width: unset;
  }
  .cookie-modal {
    max-width: 94vw;
    padding: 18px 7px;
  }
}

/* ANIMATIONS, TRANSITIONS, MICRO-INTERACTIONS */
.section, .card, .testimonial-card, .case-highlights > div, .article-preview, .faq-list > div {
  transition: box-shadow 0.18s cubic-bezier(.4,0,.2,1), transform 0.15s cubic-bezier(.4,0,.2,1);
}
section:target, .card:active, .cta-button:active, .article-preview:active, .case-highlights > div:active, .faq-list > div:active {
  transform: scale(0.986);
}

/* CUSTOM SCROLLBAR for MODERN FEEL */
::-webkit-scrollbar { width: 10px; background: #EAF4F7; }
::-webkit-scrollbar-thumb { background: var(--color-secondary); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* UTILITY CLASSES */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }

/* ACCESSIBILITY & FOCUS */
:focus {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Z-INDEX FOR LAYERS */
header, .mobile-menu, .cookie-modal-overlay, .cookie-banner {
  z-index: 1000;
}

/* END */

/* плавное скрытие плашки */
.cookie-hiding {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}

/* окончательно скрыто */
.cookie-hidden {
  display: none !important;
}
