/* RESET & NORMALIZE */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #223861;
  background-color: #FAFAF7;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
a {
  color: #B17627;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #CF9034;
  text-decoration: underline;
}
ul, ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}
ul {
  list-style-position: outside;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #223861;
  margin: 0 0 18px 0;
}
h1 {
  font-size: 2.25rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

/* CONTAINER & LAYOUT FLEX SPACING */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* container default gap 0; inner wrappers control gap */
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(207, 144, 52, 0.06), 0 1.5px 4px rgba(34,56,97,0.03);
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(207, 144, 52, 0.07);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.23s, transform 0.22s;
}
.card:hover {
  box-shadow: 0 8px 36px rgba(207, 144, 52, 0.11);
  transform: translateY(-3px) scale(1.012);
}
.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;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #FEF6EA;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(207, 144, 52, 0.08);
  color: #223861;
  margin-bottom: 24px;
  flex-direction: column;
  align-items: flex-start;
  min-width: 230px;
  max-width: 480px;
}
.testimonial-card p {
  color: #223861;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #B17627;
}
.testimonial-card div {
  color: #CF9034;
  font-size: 1.2rem;
  letter-spacing: 2px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* HEADER & NAVIGATION */
header {
  width: 100%;
  background: #223861;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(34,56,97,0.07);
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 26px;
  padding: 8px 0;
}
.logo img {
  height: 44px;
  width: auto;
}
nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
nav a {
  color: #fff;
  background: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.19s, color 0.19s;
}
nav a:hover,
nav a:focus {
  background: #E6EDF4;
  color: #223861;
}
.cta {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 12px 30px;
  margin-left: 18px;
  border: none;
  border-radius: 26px;
  box-shadow: 0 2px 12px rgba(207, 144, 52, 0.08);
  cursor: pointer;
  font-weight: 700;
  transition: background 0.19s, color 0.19s, box-shadow 0.19s, transform 0.19s;
}
.cta.primary {
  background: #CF9034;
  color: #fff;
}
.cta.primary:hover, .cta.primary:focus {
  background: #B17627;
  color: #fff;
  box-shadow: 0 4px 20px rgba(207, 144, 52, 0.13);
  transform: translateY(-1px) scale(1.03);
}
.cta.secondary {
  background: #fff;
  color: #223861;
  border: 2px solid #CF9034;
}
.cta.secondary:hover,
.cta.secondary:focus {
  background: #FFF4E3;
  color: #B17627;
}

/* HERO SECTION (Index) */
.hero {
  background: linear-gradient(95deg, #E6EDF4 64%, #FFF4E3 100%);
  border-radius: 0 0 28px 28px;
  padding: 60px 0 46px 0;
  margin-bottom: 58px;
  box-shadow: 0 8px 28px rgba(34,56,97,0.06);
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .container {
  flex-direction: column;
  height: 100%;
}
.hero h1 {
  color: #223861;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.1px;
  margin-bottom: 16px;
}
.hero p {
  color: #223861;
  font-size: 1.15rem;
  margin-bottom: 20px;
  max-width: 610px;
}

/* SECTION & CARD UL LIST ENHANCEMENTS */
ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
}
ul li img {
  width: 28px;
  height: 28px;
  margin-right: 8px;
  background: #fff9f2;
  border-radius: 7px;
  border: 1.5px solid #E6EDF4;
  padding: 3px;
}
/* Remove list style from ul where icons are in use */
ul li img + * {
  list-style-type: none;
}

/* TABLES (Preise) */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 30px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(207, 144, 52, 0.07);
  overflow: hidden;
}
thead {
  background: #E6EDF4;
}
th, td {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  padding: 15px 10px;
  text-align: left;
  color: #223861;
}
th {
  font-weight: 700;
}
tbody tr {
  border-bottom: 1px solid #E6EDF4;
}
tbody tr:last-child {
  border-bottom: none;
}

/* FOOTER */
footer {
  width: 100%;
  background: #223861;
  color: #fff;
  padding: 40px 0 16px 0;
  border-radius: 28px 28px 0 0;
  margin-top: 2rem;
  box-shadow: 0 -2px 12px rgba(34,56,97,0.07);
}
footer .container {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 26px;
  justify-content: center;
}
.footer-nav a {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.18s;
  border-radius: 7px;
  padding: 6px 12px;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #CF9034;
  color: #fff;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-top: 10px;
  color: #fff;
}
.footer-brand img {
  height: 28px;
  width: auto;
}

/* RESPONSIVE FLEX SPACING */
@media (max-width: 1000px) {
  header .container {
    padding: 0 10px;
    gap: 8px;
  }
  .container {
    padding: 0 8px;
  }
}

@media (max-width: 900px) {
  .container {
    padding: 0 5px;
    max-width: 99vw;
  }
}
@media (max-width: 768px) {
  header .container {
    height: 60px;
    gap: 3px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 10px;
  }
  .section {
    margin-bottom: 36px;
    padding: 22px 10px;
    border-radius: 14px;
  }
  .content-wrapper {
    gap: 18px;
  }
  .testimonial-card, .card {
    padding: 16px 12px;
    border-radius: 12px;
  }
  .hero {
    padding: 35px 0 26px 0;
    border-radius: 0 0 18px 18px;
    min-height: 170px;
  }
  h1 {
    font-size: 1.5rem;
    margin-bottom: 13px;
  }
  h2 {
    font-size: 1.18rem;
    margin-bottom: 12px;
  }
  ul li img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    padding: 1.5px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 2px;
    min-width: 0;
  }
  .testimonial-card, .card {
    padding: 8px 3px;
  }
  .footer-brand span {
    font-size: 0.92rem;
  }
}

/* FLEX DIRECTION COLUMN ON MOBILE */
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .content-grid, .card-container {
    flex-direction: column;
    gap: 20px;
  }
}


/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 20px;
  top: 14px;
  z-index: 1201;
  background: #CF9034;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.7rem;
  box-shadow: 0 2px 6px rgba(207,144,52,0.13);
  cursor: pointer;
  transition: background 0.18s, transform 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #B17627;
  transform: scale(1.05);
}
@media (max-width: 980px) {
  nav, .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,56,97,0.96);
  box-shadow: -4px 0 32px rgba(34,56,97,0.17);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.44,.13,.58,.85);
  will-change: transform;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: #CF9034;
  color: #fff;
  border-radius: 50%;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 18px 18px 10px;
  align-self: flex-end;
  transition: background 0.18s, transform 0.15s;
  cursor: pointer;
  z-index: 1202;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #B17627;
  transform: scale(1.09);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  margin: 28px 0 0 34px;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  padding: 12px 8px 12px 0;
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.17s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #CF9034;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 500px) {
  .mobile-nav {
    margin-left: 12px;
    gap: 11px;
  }
  .mobile-nav a {
    font-size: 1.02rem;
    padding: 10px 4px 10px 0;
  }
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
  background: #FFF4E3;
  color: #223861;
  box-shadow: 0 -2px 16px rgba(207,144,52,0.13), 0 -1px 2px rgba(34,56,97,0.04);
  padding: 18px 40px;
  border-radius: 20px 20px 0 0;
  font-size: 0.99rem;
  animation: cookieSlideIn 0.62s cubic-bezier(.32,1.29,.71,.89);
}
@keyframes cookieSlideIn {
  from {transform: translateY(80px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.cookie-banner button, .cookie-banner .cookie-settings-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  outline: none;
  border-radius: 22px;
  padding: 10px 22px;
  margin: 0;
  cursor: pointer;
  background: #CF9034;
  color: #fff;
  box-shadow: 0 1px 5px rgba(207,144,52,0.07);
  transition: background 0.16s, color 0.13s, transform 0.15s;
}
.cookie-banner .cookie-settings-btn {
  background: #fff;
  color: #223861;
  border: 2px solid #CF9034;
}
.cookie-banner button:hover, .cookie-banner .cookie-settings-btn:hover {
  background: #B17627;
  color: #fff;
  transform: scale(1.045);
}
.cookie-banner .cookie-settings-btn:hover {
  background: #FFF4E3;
  color: #B17627;
}
@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    padding: 15px 8px;
    gap: 12px;
  }
  .cookie-banner .cookie-btns {
    gap: 8px;
  }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1600;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(34,56,97,0.67);
  justify-content: center;
  align-items: center;
  animation: modalIn 0.32s cubic-bezier(.32,1.29,.71,.89);
}
.cookie-modal.open {
  display: flex;
}
@keyframes modalIn {
  from {opacity:0;}
  to {opacity:1;}
}
.cookie-modal-dialog {
  background: #fff;
  color: #223861;
  max-width: 390px;
  width: 95vw;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(207,144,52,0.17);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  animation: modalIn 0.45s cubic-bezier(.32,1.29,.71,.89);
  position: relative;
}
.cookie-modal-dialog h2 {
  font-size: 1.4rem;
  color: #223861;
  margin-bottom: 6px;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: #CF9034;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.16s;
}
.cookie-modal .cookie-modal-close:hover,
.cookie-modal .cookie-modal-close:focus {
  background: #B17627;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 14px 0;
  font-size: 1.01rem;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-modal-category .cookie-toggle {
  min-width: 38px;
  min-height: 18px;
  display: flex;
  align-items: center;
  background: #E6EDF4;
  border-radius: 9px;
  padding: 3px 3.5px 3px 3.5px;
}
.cookie-modal-category .cookie-switch {
  width: 26px;
  height: 26px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid #CF9034;
  margin-left: 4px;
}
.cookie-modal-category input[type="checkbox"] {
  display:none;
}
.cookie-modal-category input[type="checkbox"]:checked + .cookie-switch {
  background: #CF9034;
  border-color: #B17627;
}
.cookie-modal-category .always-on {
  font-size: 0.95rem;
  color: #B17627;
  margin-left: 10px;
  font-weight: 600;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 18px;
  justify-content: flex-end;
}
.cookie-modal-actions button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 18px;
  padding: 10px 22px;
  background: #CF9034;
  color: #fff;
  transition: background 0.17s, color 0.13s, transform 0.12s;
  cursor: pointer;
}
.cookie-modal-actions button.secondary {
  background: #fff;
  color: #223861;
  border: 2px solid #CF9034;
}
.cookie-modal-actions button.secondary:hover, .cookie-modal-actions button.secondary:focus {
  background: #FFF4E3;
  color: #B17627;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
  background: #B17627;
}

/* UTILITIES & SPACING */
.mb-24 { margin-bottom: 24px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-34 { margin-top: 34px !important; }
.gap-12 { gap: 12px !important; }
.gap-24 { gap: 24px !important; }

/* BUTTONS (non-cta uses) */
button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* FORMS (if present in future) */
input, select, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background: #E6EDF4;
  border: 2px solid #CF9034;
  border-radius: 9px;
  padding: 10px 12px;
  margin-bottom: 18px;
  transition: border 0.18s, box-shadow 0.12s;
}
input:focus, select:focus, textarea:focus {
  border-color: #B17627;
  outline: none;
  box-shadow: 0 0 2px 2px rgba(207,144,52,0.11);
}

/* ANIMATION/MICRO-INTERACTIONS */
.card, .testimonial-card, .cta, .cookie-banner button, .cookie-banner .cookie-settings-btn, .mobile-menu-toggle, .mobile-menu-close {
  transition: box-shadow 0.22s, background 0.19s, color 0.15s, transform 0.14s;
}

/* SELECTION STYLING */
::selection {
  background: #CF9034;
  color: #fff;
}

/* SCROLLBAR (Webkit only for appearance, not functional) */
::-webkit-scrollbar {
  width: 9px;
  background: #E6EDF4;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: #CF9034;
  border-radius: 10px;
}

/* SPECIAL CLASSES FOR FLEX REPRESENTATION/OVERRIDES */
.flexer {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.flexer-col {
  flex-direction: column !important;
}
@media (max-width: 768px) {
  .flexer {
    flex-direction: column;
    gap: 12px;
  }
}

/* END OF CSS */
