/* GAS KOMPASS – MINIMALIST FLEXBOX STYLE CSS */
/* 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, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #164160;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
img, svg {
  max-width: 100%;
  vertical-align: middle;
  display: block;
}
a {
  color: #164160;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #49A078;
  outline: none;
}
ul, ol {
  padding-left: 24px;
}

/* BRAND TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #164160;
  font-weight: 700;
}
h1 {font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px;}
h2 {font-size: 1.75rem; line-height: 1.2; margin-bottom: 20px;}
h3 {font-size: 1.25rem; line-height: 1.3; margin-bottom: 14px;}
h4, h5, h6 {font-size: 1.1rem; margin-bottom: 8px;}

p, li, a, td, th, blockquote, pre {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #1a2a3a;
  font-weight: 400;
}
strong, b {
  font-weight: 700;
}

/* LAYOUT CONTAINER */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* SECTION SPACING – MANDATORY PATTERNS */
section {
  width: 100%;
  margin-bottom: 60px;
  padding: 40px 0 0 0;
  display: flex;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  width: 100%;
  display: flex;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 8px rgba(22,65,96,0.06);
  padding: 34px 32px;
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.22s;
  border: 1px solid #F1F7F6;
}
.card:hover {box-shadow: 0 4px 16px rgba(22,65,96,0.13);}
.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: #F1F7F6;
  color: #164160;
  border-radius: 16px;
  box-shadow: 0 1px 6px rgba(22,65,96,0.07);
  margin-bottom: 20px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER / NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #F1F7F6;
  width: 100%;
  z-index: 20;
  position: sticky;
  top: 0;
  box-shadow: 0 2px 14px rgba(22,65,96,0.07);
}
header .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 18px 20px;
}
header img {
  height: 38px;
  width: auto;
  display: block;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}
header nav a {
  font-size: 16px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #164160;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
header nav a:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #49A078;
  transition: width 0.25s;
  position: absolute;
  left: 0;
  bottom: 0;
}
header nav a:hover:after, header nav a:focus:after {
  width: 100%;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #49A078;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(22,65,96,0.09);
  cursor: pointer;
  letter-spacing: 0.01em;
  margin-left: 16px;
  transition: background 0.18s, box-shadow 0.18s;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #164160;
  color: #fff;
  box-shadow: 0 4px 18px rgba(22,65,96,0.13);
  outline: none;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2.3rem;
  color: #164160;
  cursor: pointer;
  display: none;
  margin-left: 8px;
  transition: color 0.2s;
  z-index: 101;
}
.mobile-menu-toggle:focus { color: #49A078; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255, 0.96);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 24px 24px 24px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.36s cubic-bezier(.77,0,.175,1), opacity 0.3s;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #164160;
  font-size: 2rem;
  align-self: flex-end;
  margin-bottom: 30px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #164160;
  font-size: 1.28rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  padding: 12px 0;
  width: 100%;
  border-radius: 4px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: #F1F7F6;
  color: #49A078;
}
@media (max-width: 992px) {
  header .container {
    gap: 10px;
  }
  header nav {
    gap: 13px;
  }
}
@media (max-width: 768px) {
  header .container nav,
  header .container .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .mobile-menu {
    display: flex;
  }
}

/* MAIN & SECTIONS */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
}
section {
  background: transparent;
  min-height: 1px;
  justify-content: center;
}

/* HERO */
section:first-of-type {
  padding-top: 46px;
}

/* FEATURE LISTS (ICONS) */
ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
ul li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #245175;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}
ul li img {
  width: 32px;
  height: 32px;
  margin-right: 6px;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  font-size: 1rem;
  box-shadow: 0 1px 6px rgba(22,65,96,0.07);
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #F1F7F6;
}
th {
  background: #F1F7F6;
  color: #164160;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* BLOCKQUOTE */
blockquote {
  font-style: italic;
  color: #315b7b;
  background: #F1F7F6;
  padding: 22px 28px;
  margin: 14px 0;
  border-left: 4px solid #49A078;
  border-radius: 8px;
}

/* FOOTER */
footer {
  background: #F1F7F6;
  border-top: 1.5px solid #e7eceb;
  width: 100%;
  margin-top: 64px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 20px 20px 20px;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
footer nav a {
  color: #245175;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
  transition: color 0.16s;
}
footer nav a:hover{
  color: #49A078;
  text-decoration: underline;
}
.footer-contact {
  font-size: 0.95rem;
  color: #164160;
  font-family: 'Roboto', Arial;
  line-height: 1.7;
}
@media (max-width: 768px) {
  footer .container {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
}

/* CTA */
.cta, .cta-section {
  background: #E7F0EE;
  border-radius: 18px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(22,65,96,0.055);
}
.cta h2, .cta-section h2 {
  margin-bottom: 10px;
}

/* CARD GRID (for future use) */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin-bottom: 16px;
}

/* TESTIMONIALS – ENHANCED CONTRAST */
.testimonial-card {
  background: #F1F7F6;
  color: #164160;
  border-radius: 16px;
  padding: 28px 32px 26px 32px;
  font-size: 1.08rem;
  box-shadow: 0 1px 7px rgba(22,65,96,0.09);
  font-style: normal;
  min-width: 0;
}
.testimonial-card strong {
  display: block;
  font-weight: 700;
  margin-top: 6px;
  color: #245175;
}

/* FORMS (future extensibility, not shown in HTML, but included) */
input, textarea, select {
  border: 1.5px solid #e1e9e7;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 1rem;
  background: #FAFBFB;
  color: #174159;
  font-family: inherit;
  transition: border 0.17s;
  outline: none;
  margin-bottom: 17px;
}
input:focus, textarea:focus, select:focus {
  border-color: #49A078;
}

/* RESPONSIVENESS */
@media (max-width: 1024px){
  .container {
    max-width: 98vw;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  .container {
    padding: 0 9px;
  }
  section, .section {
    padding: 30px 8px 0 8px;
  }
  .card {
    padding: 22px 11px;
  }
  .testimonial-card {
    padding: 18px 11px 16px 18px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid, .card-grid, .card-container {
    flex-direction: column;
    gap: 16px;
  }
}
@media (max-width: 540px) {
  html {
    font-size: 14px;
  }
  h1 { font-size: 1.3rem; }
  .card, .testimonial-card {
    padding: 12px 6px;
  }
  footer .container {
    padding: 20px 9px 17px 9px;
    gap: 12px;
  }
  .section,
  section {
    padding: 22px 3px 0 3px;
  }
}

/* TRANSITIONS, MICRO-INTERACTIONS */
.btn-primary, .mobile-menu-toggle, .mobile-menu-close, a, nav a {
  transition: background 0.2s, color 0.16s, box-shadow 0.19s, transform 0.28s;
}
.card,
.card:hover,
.header nav a:hover,
.footer nav a:hover {
  transition: box-shadow 0.18s, color 0.17s;
}
.card:active {transform: translateY(1.5px);}

/* VISUAL EFFECTS */
.card, .cta, .testimonial-card {
  box-shadow: 0 2px 12px rgba(22,65,96,0.06);
  border-radius: 14px;
}
.card:hover, .testimonial-card:hover {
  box-shadow: 0 6px 22px rgba(22,65,96,0.12);
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #164160;
  color: #fff;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 3333;
  box-shadow: 0 -2px 14px rgba(22,65,96,0.15);
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(80px);
  transition: opacity 0.29s, transform 0.38s cubic-bezier(.65,.05,.36,1);
}
.cookie-consent-banner.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 14px;
}
.cookie-consent-banner button {
  border: none;
  border-radius: 6px;
  padding: 7px 19px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  cursor: pointer;
  margin: 0;
  font-weight: 600;
  transition: background 0.18s, color 0.16s;
}
.cookie-accept {
  background: #49A078;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #398062;
}
.cookie-reject {
  background: #e4e8e7;
  color: #164160;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #F1F7F6;
  color: #164160;
}
.cookie-settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #49A078;
  padding: 7px 13px;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #49A078;
  color: #fff;
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  z-index: 3555;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(22,65,96,0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s;
}
.cookie-modal.visible {
  pointer-events: auto;
  opacity: 1;
}
.cookie-modal .cookie-modal-content {
  background: #fff;
  max-width: 440px;
  width: 96vw;
  border-radius: 15px;
  box-shadow: 0 8px 44px rgba(22,65,96,0.17);
  padding: 28px 24px 21px 24px;
  display: flex;
  flex-direction: column;
  gap: 23px;
  transform: translateY(52px) scale(.98);
  transition: transform 0.24s;
}
.cookie-modal.visible .cookie-modal-content {
  transform: translateY(0) scale(1);
}
.cookie-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.cookie-modal .modal-header h3 {
  font-size: 1.2rem;
  color: #164160;
}
.cookie-modal .cookie-close {
  background: none;
  border: none;
  color: #164160;
  font-size: 1.85rem;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #F1F7F6;
  padding: 9px 13px;
  border-radius: 6px;
}
.cookie-category-row label {
  font-weight: 500;
  color: #164160;
  font-size: 1rem;
}
.cookie-category-toggle {
  accent-color: #49A078;
  width: 22px;
  height: 22px;
  cursor: pointer;
}
.cookie-category-row.essential label:after {
  content: ' (immer aktiviert)';
  font-size: 0.93em;
  color: #49A078;
  font-weight: 400;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 15px;
}
.cookie-modal .cookie-accept, .cookie-modal .cookie-reject, .cookie-modal .cookie-close-modal {
  border: none;
  border-radius: 6px;
  padding: 7px 16px;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
  cursor: pointer;
  font-weight: 600;
}
.cookie-modal .cookie-accept {background: #49A078; color: #fff;}
.cookie-modal .cookie-reject {background: #e4e8e7; color: #164160;}
.cookie-modal .cookie-close-modal {background: transparent; color: #164160; text-decoration: underline;}
.cookie-modal .cookie-accept:hover {background: #398062;}
.cookie-modal .cookie-reject:hover {background: #F1F7F6; color: #164160;}
.cookie-modal .cookie-close-modal:hover {color: #49A078;}

/* COLOUR ACCESSIBILITY FOR TESTIMONIALS ETC */
.testimonial-card, .testimonial-card p, .testimonial-card strong {
  color: #164160;
  background: inherit;
}

/* MISC */
::-webkit-input-placeholder { color: #a8b7c2; }
::-moz-placeholder { color: #a8b7c2; }
:-ms-input-placeholder { color: #a8b7c2; }
::placeholder { color: #a8b7c2; }

/* REMOVE NUMBER SPINNERS (inputs) */
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none; margin: 0;
}
input[type=number] { -moz-appearance: textfield; }

/* ACCESSIBILITY FOCUS STATES */
a:focus, button:focus, .btn-primary:focus {
  outline: 2px dashed #49A078;
  outline-offset: 2px;
}

/* TABLET NAV ADAPTIVE */
@media (max-width: 1024px) {
  header .container {
    padding: 10px 10px;
  }
}

/* PRINT MINIMALISM */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal { display: none !important; }
}
