/* ===== CSS RESET & NORMALIZATION ===== */
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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
  box-sizing: border-box; margin: 0; padding: 0; border: 0; font: inherit; vertical-align: baseline;
}
article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section {
  display: block;
}
ul,ol {
  list-style: none;
}
a {
  text-decoration: none; color: inherit; transition: color 0.2s;
}
img {
  display: block; max-width: 100%; height: auto; border: none;
}
button, input, select, textarea {
  font: inherit; background: none; border: none; outline: none;
}
html {
  scroll-behavior: smooth; background: #F8F8F6;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #174559;
  background: #F8F8F6;
  line-height: 1.6;
}

/* ===== BRAND TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #174559;
}
h1 { font-size: 2.8rem; margin-bottom: 24px; line-height: 1.15; }
h2 { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.2; }
h3 { font-size: 1.4rem; margin-bottom: 12px; line-height: 1.25; }
h4, h5, h6 { font-size: 1.15rem; margin-bottom: 8px; }
p, ul, ol, li, a, blockquote, label {
  color: #174559; font-size: 1rem; line-height: 1.7; font-family: 'Roboto', Arial, sans-serif;
}
strong, b {
  font-weight: 700;
}

/* Headings with geometric/structured style */
h1, h2 {
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

/* ===== CONTAINER, GRID & SPACING ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F8F8F6;
  border-radius: 28px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Flexible geometric grid patterns */
.features-grid, .services-list, .case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.features-grid {
  margin-bottom: 16px;
}
.case-study-list {
  gap: 30px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(23,69,89,0.09);
  padding: 32px 24px;
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.2s;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(23,69,89,0.16);
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section, .text-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.text-section {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: #fff;
  border-bottom: 3px solid #174559;
}
header .container {
  min-height: 66px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  height: 54px;
}
.logo img { height: 38px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.18s, color 0.15s;
  color: #174559;
}
.main-nav a:hover:not(.cta-btn), .main-nav a:focus:not(.cta-btn) {
  background: #E2E6E8;
  color: #58AA5B;
}
.main-nav .cta-btn {
  background: #58AA5B;
  color: #fff;
  font-weight: 700;
  border-radius: 18px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(88,170,91,0.09);
  padding: 10px 28px;
  margin-left: 10px;
  font-size: 1.12rem;
  border: 2.5px solid transparent;
  transition: background 0.18s, color 0.18s, border 0.18s;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #174559;
  color: #fff;
  border-color: #58AA5B;
}

/* Hamburger button for mobile */
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #F8F8F6;
  color: #174559;
  border-radius: 50%;
  font-size: 2rem;
  border: 2px solid #174559;
  cursor: pointer;
  margin-left: 8px;
  transition: background 0.17s, color 0.15s, border 0.14s;
  z-index: 1012;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  background: #174559;
  color: #fff;
  border-color: #58AA5B;
}
@media (min-width: 990px) {
  .mobile-menu-toggle {
    display: none;
  }
}
.main-nav {
  display: none;
}
@media (min-width: 990px) {
  .main-nav {
    display: flex;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.35s cubic-bezier(.82,.01,.98,.98), box-shadow 0.3s;
  box-shadow: 0 14px 40px rgba(23,69,89,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  color: #174559;
  font-size: 2.2rem;
  border-radius: 12px;
  margin: 20px 24px 8px 0;
  cursor: pointer;
  transition: color 0.2s, background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #E2E6E8;
  color: #58AA5B;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: flex-start;
  width: 100%;
  padding: 28px 32px 32px 32px;
}
.mobile-nav a {
  color: #174559;
  font-size: 1.25rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 12px 4px;
  border-radius: 6px;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #E2E6E8;
  color: #58AA5B;
}
@media (min-width: 990px) {
  .mobile-menu {
    display: none;
  }
}

/* ===== HERO ===== */
.hero {
  background: #174559;
  border-radius: 32px;
  padding: 56px 0 56px 0;
  margin-bottom: 60px;
}
.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  color: #fff;
  gap: 14px;
}
.hero h1 { color: #fff; }
.hero p { color: #EAF4EE; font-size: 1.25rem; margin-bottom: 24px; }
.hero .cta-btn {
  margin-top: 18px;
  background: #58AA5B;
  color: #fff;
  border-color: #fff;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #fff;
  color: #174559;
  border-color: #58AA5B;
}

/* ===== FEATURE / SERVICE ITEMS ===== */
.features-grid > .feature, .services-list > .service-highlight {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 32px 24px 28px 24px;
  border-radius: 17px;
  box-shadow: 0 1.5px 7px rgba(23,69,89,0.12);
  min-width: 230px;
  flex: 1 1 240px;
  max-width: calc(33.33% - 16px);
  transition: box-shadow 0.19s, transform 0.20s;
  border-left: 5px solid #58AA5B;
  position: relative;
}
.features-grid > .feature:hover, .services-list > .service-highlight:hover {
  box-shadow: 0 4px 16px rgba(23,69,89,0.18);
  transform: translateY(-4px) scale(1.034) skew(-0.3deg, -0.3deg);
}
.features-grid img, .services-list img {
  height: 44px;
  width: 44px;
  margin-bottom: 8px;
  filter: drop-shadow(0px 2px 6px rgba(23,69,89,0.04));
}

.services-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.services-list > .service-highlight {
  border-left: 0;
  border-top: 5px solid #174559;
  min-width: 230px;
  flex: 1 1 220px;
  max-width: calc(33.33% - 12px);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 32px 18px 32px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 15px rgba(23,69,89,0.11);
  border-left: 4.5px solid #58AA5B;
  transition: box-shadow 0.19s, transform 0.21s;
  color: #174559;
}
.testimonial-card p {
  font-size: 1.18rem;
  color: #2B3340;
  margin-bottom: 6px;
}
.testimonial-card .testimonial-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.96rem;
  color: #707275;
  font-weight: 500;
}
.stars {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #58AA5B;
  font-size: 1.2em;
  letter-spacing: 0.1em;
}

/* ===== CARDS, CASE STUDIES, ETC ===== */
.case-study {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2.5px 11px rgba(23,69,89,0.09);
  padding: 28px 22px 22px 22px;
  margin-bottom: 20px;
  flex: 1 1 340px;
  max-width: 100%;
  border-left: 4.5px solid #174559;
  transition: box-shadow 0.19s, transform 0.17s;
}
.case-study:hover {
  box-shadow: 0 5px 20px rgba(23,69,89,0.13);
  transform: translateY(-2.5px) scale(1.015);
}
.case-study h3 {
  margin-bottom: 14px;
}
.case-study ul li {
  margin-bottom: 9px;
  color: #2B3340;
}

/* ===== BUTTONS, CTA, LINKS ===== */
.cta-btn {
  background: #58AA5B;
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  padding: 12px 36px;
  margin-top: 10px;
  display: inline-block;
  border-radius: 22px;
  font-size: 1.09rem;
  box-shadow: 0 2px 10px rgba(88,170,91,0.09);
  border: 2px solid #58AA5B;
  cursor: pointer;
  transition: background 0.23s, color 0.21s, border 0.18s, transform 0.16s;
}
.cta-btn:hover, .cta-btn:focus {
  background: #174559;
  color: #fff;
  border-color: #58AA5B;
  transform: scale(1.052);
}
.cta-btn.secondary {
  background: #fff;
  color: #174559;
  border: 2px solid #174559;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: #174559;
  color: #fff;
  border-color: #58AA5B;
}
.cta-link {
  color: #174559;
  text-decoration: underline;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.14s, text-shadow 0.14s;
}
.cta-link:hover, .cta-link:focus {
  color: #58AA5B;
  text-shadow: 0 2px 10px rgba(88,170,91,0.08);
}

/* ===== LISTS ===== */
ul, ol {
  margin: 0 0 1em 1.5em;
  padding-left: 1.3em;
}
ul li, ol li {
  margin-bottom: 7px;
  position: relative;
  color: #174559;
}
ul li::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 14px; height: 14px;
  border-radius: 0 60% 0 60%;
  background: #58AA5B;
  margin-right: 10px;
  margin-left: -24px;
}
ol li::before { content: none!important; }

/* Icon in list (Kontakt, Kontaktinfo) */
.text-section ul img {
  height: 20px; width: 20px; margin-right: 10px;
  vertical-align: middle;
}
.text-section ul li {
  display: flex; align-items: center; gap: 12px; margin-bottom: .55em;
  font-size: 1.06em; color: #174559;
}

/* ===== FOOTER ===== */
footer {
  background: #174559;
  color: #fff;
  border-radius: 32px 32px 0 0;
  padding: 40px 0 25px 0;
  margin-top: 80px;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.018em;
  font-weight: 500;
  transition: color 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #58AA5B;
}
.footer-contact {
  font-size: 0.98em;
  letter-spacing: 0.01em;
  color: #EAF4EE;
  background-color: #fff;
}
.footer-contact strong {
  font-weight: 700;
  color: #fff;
  background-color: #174559;
}
footer .logo img {
  height: 28px;
  filter: brightness(110%) contrast(105%);
}

/* ===== RESPONSIVENESS ===== */
@media (max-width: 1200px) {
  .container { max-width: 1002px; }
}
@media (max-width: 990px) {
  .container { max-width: 760px; }
  .main-nav { display: none; }
  .card, .case-study, .service-highlight, .feature {
    min-width: unset; max-width: unset;
  }
}
@media (max-width: 860px) {
  .container { max-width: 99vw; }
  .footer-wrapper { flex-direction: column; gap: 18px; align-items: flex-start; }
  .hero { padding: 36px 0; }
}
@media (max-width: 768px) {
  .section { margin-bottom: 38px; padding: 24px 8px; }
  .hero { border-radius: 18px; padding: 22px 0 34px 0; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.27rem; }
  .features-grid, .services-list, .case-study-list {
    flex-direction: column;
    gap: 16px;
  }
  .features-grid > .feature, .services-list > .service-highlight, .case-study {
    padding: 18px 12px 16px 12px;
    min-width: unset;
    max-width: unset;
  }
  .testimonial-card {
    padding: 16px 12px 15px 12px;
    gap: 14px;
  }
  .text-image-section, .content-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .card-container { gap: 14px; }
  .footer-contact p { margin-bottom: 2px; }
}

/* ===== COOKIE CONSENT BANNER & MODAL ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #174559;
  padding: 26px 12px 18px 12px;
  border-top: 3px solid #174559;
  box-shadow: 0 -8px 32px rgba(23,69,89,0.13);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1.08em;
  animation: cookieFadeIn 0.48s cubic-bezier(.63,0,.71,1.09);
}
@keyframes cookieFadeIn {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__text {
  flex: 1 1 250px;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 2px solid #58AA5B;
  padding: 9px 24px;
  font-size: .97rem;
  cursor: pointer;
  transition: background 0.17s, color 0.14s, border 0.16s, box-shadow 0.14s;
  background: #fff;
  color: #174559;
  box-shadow: 0 1.5px 7px rgba(23,69,89,0.08);
}
.cookie-btn.accept {
  background: #58AA5B;
  color: #fff;
  border: 2px solid #58AA5B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #174559;
  color: #fff;
}
.cookie-btn.reject {
  background: #fff;
  color: #174559;
  border: 2px solid #174559;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #E2E6E8;
  color: #58AA5B;
}
.cookie-btn.settings {
  background: #fff;
  color: #174559;
  border: 2px dashed #58AA5B;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  color: #58AA5B;
  background: #F8F8F6;
}
@media (max-width: 660px) {
  .cookie-banner {
    flex-direction: column;
    padding: 18px 6px 10px 6px;
    gap: 10px;
    font-size: 1rem;
  }
}
/* Cookie preferences modal */
.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 340px;
  max-width: 92vw;
  max-height: 96vh;
  background: #fff;
  color: #174559;
  border-radius: 17px;
  box-shadow: 0 16px 39px rgba(23,69,89,0.20);
  z-index: 2100;
  padding: 36px 34px 32px 34px;
  transform: translate(-50%, -46%) scale(1);
  opacity: 1;
  transition: opacity 0.28s, transform 0.28s cubic-bezier(.61,.37,.74,1.12);
  display: none;
}
.cookie-modal.open {
  display: block;
  opacity: 1;
}
.cookie-modal__header {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.cookie-modal__category {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 17px;
}
.cookie-modal__category label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.cookie-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  background: #E2E6E8;
  outline: none;
  border-radius: 13px;
  position: relative;
  transition: background 0.16s;
}
.cookie-toggle:checked {
  background: #58AA5B;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3.5px;
  top: 3.5px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(23,69,89,0.13);
  transition: left 0.18s;
}
.cookie-toggle:checked::before {
  left: 23px;
}
.cookie-modal__actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  justify-content: flex-end;
}

/* ===== ANIMATIONS ===== */
a, button, .cta-btn, .feature, .service-highlight, .card, .case-study, .testimonial-card,.cookie-btn, .main-nav a, .cookie-modal {
  transition: all 0.19s cubic-bezier(.47,0,.45,1.17);
}

/* ===== MICRO-INTERACTIONS ===== */
.feature:active, .service-highlight:active, .card:active, .case-study:active, .testimonial-card:active {
  transform: scale(0.98);
}

/* ===== ACCESSIBILITY/UTILITY ===== */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== GENERAL UTILITY CLASSES ===== */
.mt-32 { margin-top: 32px !important; }
.mb-16 { margin-bottom: 16px !important; }
.text-center { text-align: center !important; }
.hide { display: none !important; }

/* ===== END OF STYLE.CSS ===== */