/* -------------------------------------------------- */
/* AXIOM ROUTE BERATUNG   |   style.css – Main Styles */
/* Geometric Structured Aesthetic | Flexbox Only      */
/* -------------------------------------------------- */

/* ---------------
   CSS RESET
--------------- */
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 {
  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: #F3F6F9;
  color: #20405B;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  /* Prevent mobile nav shift */
  overflow-x: hidden;
}
ol, ul {
  list-style:none;
}
a {
  text-decoration:none;
  color: inherit;
  transition: color 0.2s;
}
img {
  border: 0;
  max-width: 100%;
  vertical-align:middle;
  display: block;
}
button {
  font-family: inherit;
  border:none;
  background: none;
  cursor: pointer;
}
strong, b {
  font-weight:700;
}

/* ---------------
   FONT-FACES
--------------- */
@import url('https://fonts.googleapis.com/css?family=Montserrat:600,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap');

/* ---------------
   ROOT VARIABLES
--------------- */
:root {
  --primary: #20405B;
  --secondary: #3A8F7D;
  --accent: #F3F6F9;
  --white: #fff;
  --text-dark: #20405B;
  --text-gray: #444f5a;
  --border: #D6DFE6;
  --shadow: 0 4px 24px rgba(17, 38, 52, 0.08);
  --radius: 12px;
}

/*************************
*
*   LAYOUT CONTAINERS
*
*************************/

.container {
  width:100%;
  max-width: 1150px;
  margin:0 auto;
  padding: 0 20px;
}

section {
  margin-bottom: 60px;
  padding: 40px 0 0 0; /* top space only, bottom via spacing to footer */
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.text-section {
  max-width: 700px;
}

/*************************
*
*   TYPOGRAPHY
*
*************************/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.16;
  margin-bottom: 20px;
  margin-top: 0;
}
h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 18px;
  margin-top: 0;
}
h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  margin-top: 0;
}
h4 {
  font-size:1.1rem;
  margin-top: 18px;
  margin-bottom: 0;
}
p, li {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size:16px;
  color: var(--text-gray);
  margin-bottom:16px;
  line-height:1.7;
}
p:last-child, li:last-child {
  margin-bottom:0;
}
ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}
ul li:before {
  content: '';
  display: block;
  position: absolute;
  left:0;
  top:12px;
  width:8px;
  height:8px;
  background: var(--secondary);
  border-radius: 3px;
  shape-outside: polygon(0% 0%, 100% 0%, 80% 100%, 20% 100%);
}
ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
ol li {
  margin-bottom: 10px;
  counter-increment: step;
  position: relative;
}
ol li:before {
  content: counter(step) ". ";
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  color: var(--secondary);
  position: absolute;
  left: -24px;
}

.faq-item h3 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom:4px;
}

.faq-item p {
  font-size: 16px;
}

/*************************
*
*   HEADER & NAVIGATION
*
*************************/
header {
  background: var(--white);
  border-bottom: 2px solid var(--secondary);
  padding-top: 10px;
  padding-bottom:10px;
  z-index: 30;
  position: relative;
}
header .container {
  display: flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
header a img {
  width: 170px;
  height: auto;
  margin-right: 12px;
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav a {
  font-size: 15px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight:600;
  padding: 7px 8px;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}
nav a:not(.cta):hover, nav a:not(.cta):focus {
  background: var(--secondary);
  color: var(--white);
}
nav a.cta {
  background: var(--primary);
  color: var(--white);
  font-weight:700;
  padding: 8px 22px;
  border-radius: 80px 8px 80px 8px / 8px 80px 8px 80px; /* geometric corners */
  box-shadow: 0 2px 12px rgba(58,143,125,0.06);
  margin-left:10px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border: 2px solid var(--secondary);
}
nav a.cta:hover, nav a.cta:focus {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow:0 4px 14px rgba(32,64,91,0.10);
}

.mobile-menu-toggle {
  display: none;
  width:48px;
  height:48px;
  background: var(--secondary);
  color: var(--white);
  font-size:2rem;
  border-radius: 12px;
  margin-left: 12px;
  transition: background 0.15s;
}
.mobile-menu-toggle:active {
  background: var(--primary);
}

/********************
*      MOBILE MENU
********************/
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  background: var(--white);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.7,.01,.45,1.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px 24px 24px;
  box-shadow: 0 0 0 9999px rgba(32,64,91,0.14);
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0%);
  visibility: visible;
}
.mobile-menu-close {
  align-self: flex-end;
  background: var(--secondary);
  color: var(--white);
  border-radius: 8px;
  width:40px;height:40px;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: background 0.13s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { background: var(--primary); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}
.mobile-nav a {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.12rem;
  padding: 13px 8px 13px 0;
  border-left: 5px solid transparent;
  border-radius: 0 8px 8px 0;
  background: none;
  transition:background 0.17s, border-color 0.17s, color 0.17s;
}
.mobile-nav a:active,
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--accent);
  border-left: 5px solid var(--secondary);
  color: var(--secondary);
}
.mobile-nav a.cta {
  background: var(--primary);
  color: var(--white);
  border-left: 5px solid var(--secondary);
  border-radius:12px;
  text-align:left;
  margin-top:10px;
  box-shadow: var(--shadow);
  padding: 12px 30px 12px 9px;
}
.mobile-nav a.cta:hover {
  background: var(--secondary);
  color: var(--primary);
  border-left: 5px solid var(--primary);
}

@media (max-width: 1050px) {
  .container { max-width:99vw; }
}

@media (max-width: 900px) {
  nav { gap: 17px; }
  nav a { padding: 6px 5px; font-size: 14px; }
  header .container { gap:11px; }
}

@media (max-width: 820px) {
  nav { gap:10px; }
  nav a { font-size: 13.5px; }
  header .container { gap:7px; }
}

@media (max-width: 768px) {
  header nav {
    display:none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/*************************
*
*   MAIN - SECTION SPACING FLEX LAYOUTS
* (Geometric Structured + Flexbox only)
*************************/

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width:230px;
  flex: 1 1 270px;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px;
}

.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(--accent);
  color: var(--text-dark);
  font-family: 'Open Sans', Arial, sans-serif;
  border-left:5px solid var(--secondary);
  border-radius: 16px;
  box-shadow:0 3px 15px rgba(58,143,125,0.08);
  padding: 20px;
  margin-bottom:24px;
  width: 100%;
  max-width:800px;
}
.testimonial-card p {
  color: var(--primary);
  font-size: 1.08rem;
  font-style:italic;
  margin-bottom:0;
}
.testimonial-card h4 {
  color: var(--secondary);
  font-family:'Montserrat';
  font-size: 1.04rem;
  font-weight:600;
  margin-bottom:0;
  margin-left:14px;
  letter-spacing:1px;
}

/* Specific for feature block (/) */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.feature-card {
  background: var(--white);
  border: 2.5px solid var(--secondary);
  box-shadow: 0 1.5px 8px rgba(32,64,91,0.08);
  border-radius: 20px 7px 20px 7px / 7px 20px 7px 20px;
  padding: 34px 22px 30px 22px;
  margin-bottom: 20px;
  min-width:235px;
  flex:1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  transition: box-shadow 0.19s, transform 0.19s;
  position: relative;
}
.feature-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  filter: drop-shadow(1.2px 3.7px 1.3px rgba(58,143,125,0.07));
}
.feature-card h3 {
  margin-bottom: 4px;
}
.feature-card p {
  max-width:330px;
}
.feature-card:hover, .feature-card:focus-within {
  box-shadow: 0 3px 24px rgba(32,64,91,0.13);
  transform: translateY(-6px) scale(1.025);
  z-index:4;
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 20px 0 0 0;
}
.faq-item {
  background: var(--white);
  border-left: 5px solid var(--secondary);
  padding: 18px 24px 16px 18px;
  border-radius:12px;
  box-shadow:0 4px 18px rgba(32,64,91,0.06);
  transition: box-shadow 0.15s;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow:0 8px 26px rgba(58,143,125,0.13);
}

/*************************
*
*   BUTTONS, CTA, LINKS
*
*************************/
.cta {
  display: inline-block;
  background: var(--secondary);
  color: var(--white)!important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight:700;
  font-size: 1.06rem;
  padding: 13px 34px;
  border-radius: 80px 16px 80px 16px / 16px 80px 16px 80px;
  box-shadow:0 2px 10px rgba(58,143,125,0.08);
  border:2.5px solid var(--primary);
  transition: background 0.15s, color 0.15s, border 0.18s, box-shadow 0.18s, transform 0.13s;
  letter-spacing: 0.5px;
  text-shadow:0 1.1px 2px rgba(32,64,91,0.04);
  cursor:pointer;
  margin-top: 12px;
}
.cta:hover, .cta:focus {
  background: var(--primary);
  color: var(--secondary)!important;
  border-color: var(--secondary);
  box-shadow:0 7px 24px rgba(58,143,125,0.13);
  transform: translateY(-3px) scale(1.04);
}

/*************************
*
*  FOOTER
*************************/
footer {
  background: var(--primary);
  color: var(--white);
  padding: 48px 0 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom:36px;
}
.footer-branding {
  display: flex;
  gap:22px;
  align-items: flex-start;
  font-family: 'Open Sans', Arial, sans-serif;
}
.footer-branding img {
  width: 54px;
  height: auto;
  border-radius: 10px;
  margin-top:2px;
  box-shadow: 0 1.5px 10px rgba(243,246,249,0.11);
}
.footer-branding strong {
  color: var(--secondary);
}
.footer-branding a {
  color: var(--accent);
  text-decoration: underline;
  font-size: 15px;
  margin-top:8px;
}
.footer-nav {
  display:flex;
  flex-direction:column;
  gap:16px;
  font-family:'Montserrat',Arial,sans-serif;
  font-size: 15.5px;
  margin-top:8px;
}
.footer-nav a {
  color: var(--white);
  opacity:0.96;
  transition: color 0.16s, opacity 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--secondary);
  opacity:1;
}

@media (max-width: 900px) {
  .footer-branding {
    flex-direction: column;
    gap: 8px;
  }
  footer .container { gap:18px; }
}
@media (max-width: 580px) {
  footer .container {
    flex-direction: column;
    gap:24px;
  }
}

/*************************
*
*   RESPONSIVE LAYOUTS
*************************/
@media (max-width: 1050px) {
  .feature-grid, .content-grid, .card-container { flex-wrap: wrap; }
}
@media (max-width: 920px) {
  .feature-card, .card {
    flex:1 1 90%;
    min-width: 220px;
  }
}
@media (max-width: 768px) {
  section { padding:32px 0 0 0; margin-bottom:38px; }
  .content-wrapper, .feature-grid, .card-container { gap:17px; }
  .feature-grid, .content-grid, .card-container {
    flex-direction:column;
    align-items:stretch;
  }
  .feature-card, .card { min-width:100px; }
  .testimonial-card {
    flex-direction:column;
    align-items: flex-start;
    max-width:100%;
  }
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  footer {
    padding:30px 0 0 0;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
}
@media (max-width:480px) {
  .feature-card, .card, .faq-item {
    padding-left:11px; padding-right:11px; }
  .testimonial-card { padding: 14px; }
}

/*************************
*
*   INTERACTIVE DETAILS
*************************/

/* No absolute positioning for content cards */

/* Icon alignment in lists (for contact) */
.content-wrapper ul li img {
  display: inline;
  width: 22px;
  height: 22px;
  margin-right: 13px;
  vertical-align: middle;
  position:relative;
  top:3px;
}

/*************************
*
*   COOKIE CONSENT BANNER
*************************/
#cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--white);
  color: var(--primary);
  border-top: 2px solid var(--secondary);
  box-shadow:0 -4px 24px rgba(32,64,91,0.09);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 26px 20px 18px 28px;
  font-size: 15.5px;
  gap: 14px;
  animation: cookie-slide-in 0.45s cubic-bezier(.74,.04,.42,.97);
}
@keyframes cookie-slide-in {
  0% { transform: translateY(120%); opacity: 0; }
  88% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
#cookie-banner p {
  flex: 2 1 65%;
  font-size: 15.5px;
  margin-bottom:0;
}
.cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.cookie-accept, .cookie-reject, .cookie-settings {
  border-radius: 14px 40px 14px 40px / 40px 14px 40px 14px;
  border:1.5px solid var(--secondary);
  color: var(--primary);
  background: var(--accent);
  padding: 8px 18px 8px 18px;
  font-weight: 600;
  font-family:'Montserrat';
  font-size: 15px;
  transition: background 0.15s, color 0.14s, box-shadow 0.15s;
  margin-right:1.5px;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: var(--secondary);
  color: var(--white);
}
.cookie-reject {
  border-color: #ed5050;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #ed5050;
  color: #fff;
  border-color: #a52424;
}
.cookie-settings {
  border-color: var(--primary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--primary);
  color: var(--white);
}

#cookie-banner.hide {
  display:none;
}

@media (max-width:780px) {
  #cookie-banner {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    font-size:15px;
    padding: 16px 10px 16px 10px;
  }
  .cookie-btns {gap:8px;}
}
/*************************
*
*   COOKIE PREFERENCES MODAL
*************************/
#cookie-modal {
  display: none;
  position:fixed;
  z-index:2100;
  left:0; top:0; right:0; bottom:0;
  background: rgba(32,64,91,0.17);
  align-items:center;
  justify-content:center;
  animation:fade-in 0.25s;
}
#cookie-modal.open {
  display: flex;
}
@keyframes fade-in {
  0% { opacity:0; } 100%{ opacity:1; }
}
.cookie-modal-box {
  background: var(--white);
  border-radius: 25px 10px 25px 10px / 10px 25px 10px 25px;
  box-shadow:0 16px 48px rgba(32,64,91,0.21);
  max-width: 380px;
  width: 92vw;
  padding: 34px 30px 28px 30px;
  color:var(--primary);
  display:flex;
  flex-direction:column;
  gap: 13px;
  animation: modal-in 0.32s cubic-bezier(.77,.03,.27,1.24);
  position:relative;
}
@keyframes modal-in {
  0% { transform:scale(.7) translateY(20px); opacity:0; }
  100% { transform:scale(1) translateY(0); opacity:1; }
}
.cookie-modal-box h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary);
}
.cookie-switch-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:8px 0 10px 0;
  gap: 14px;
}
.cookie-switch-row label {
  font-size: 15px;
  font-family:'Montserrat';
  color:var(--primary);
}
.cookie-switch {
  width: 38px; height:20px;
  border-radius: 17px;
  background: var(--accent);
  position:relative;
  transition: background 0.18s;
  border:1.5px solid var(--secondary);
  flex-shrink:0;
}
.cookie-switch input {
  display:none;
}
.cookie-slider {
  display:block;
  width:20px;
  height:20px;
  background: var(--secondary);
  border-radius:50%;
  position:absolute;
  top: -1px; left:0;
  transition:left 0.18s, background 0.21s;
}
.cookie-switch input:checked + .cookie-slider {
  left: 18px;
  background: var(--primary);
}
.cookie-switch input:disabled + .cookie-slider {
  background: #C1C8CF;
  cursor: not-allowed;
}
.cookie-modal-buttons {
  display:flex;
  gap: 14px;
  margin-top:15px;
}
.cookie-modal-close {
  position:absolute; top:14px; right:17px;
  background: none;
  color:var(--secondary);
  font-size:1.55rem;
  border-radius:8px;
  width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;
  transition: background 0.11s, color 0.15s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { background: var(--secondary); color:var(--white);} 

/*************************
*   UTILITY CLASSES
*************************/
.mt-0 { margin-top:0!important;}
.mb-0 { margin-bottom:0!important;}
.text-center { text-align:center;}
.text-left { text-align:left;}
.flex { display:flex; }
.flex-c { flex-direction:column; }
.space-between { justify-content: space-between; }
.align-center {align-items:center;}

/*************************
*
*   ACCESSIBILITY
*************************/
:focus {
  outline:2px solid var(--secondary);
  outline-offset: 2.5px;
}

/*************************
*   PRINT (basic)
*************************/
@media print {
  nav, .mobile-menu, #cookie-banner, #cookie-modal, .cta, button { display:none!important;}
  section, footer, header, .container { padding:0;margin:0;}
}

/* END */
