/* RESET & BASE ---------------------------- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 100%;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0; 
  padding: 0;
  border: 0;
  outline: none;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F5F7FA;
  color: #22356A;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
}
a {
  color: #16A085;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #22356A;
  text-decoration: underline;
}

/* TYPOGRAPHY ------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #22356A;
  line-height: 1.15;
}
h1 { font-size: 2.25rem; margin-bottom: 16px; }
h2 { font-size: 1.5rem; margin-bottom: 16px; }
h3 { font-size: 1.125rem; margin-bottom: 12px; }
h4 { font-size: 1rem; margin-bottom: 8px; }
p, ul, ol { margin-bottom: 16px; }
strong { font-weight: 700; }

/* LISTS ------------------------------------- */
ul, ol {
  padding-left: 20px;
}
ul li, ol li {
  margin-bottom: 8px;
}

/* CONTAINER & FLEX LAYOUTS ------------------ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  flex: 1 1 280px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(34,53,106,0.07), 0 1.5px 6px 0 rgba(22,160,133,0.14);
  padding: 32px 24px;
  transition: box-shadow .24s, transform .22s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  box-shadow: 0 6px 32px 0 rgba(34,53,106,0.15), 0 4px 16px 0 rgba(22,160,133,0.18);
  transform: translateY(-4px) scale(1.02);
  z-index: 2;
}

.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: 18px;
  box-shadow: 0 2px 16px 0 rgba(34,53,106,0.09), 0 1.5px 6px 0 rgba(22,160,133,0.10);
  padding: 20px;
  margin-bottom: 20px;
  flex-direction: column;
  color: #22356A;
}
.testimonial-card p {
  margin-bottom: 12px;
}
.testimonial-card span {
  color: #16A085;
  font-weight: 500;
  font-size: 1rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 1.5px 6px 0 rgba(22,160,133,0.08);
  flex: 1 1 220px;
  min-width: 200px;
  transition: box-shadow .18s, transform .18s;
}
.feature-item img {
  width: 36px;
  height: 36px;
}
.feature-item:hover {
  box-shadow: 0 4px 16px 0 rgba(22,160,133,0.13);
  transform: translateY(-2px) scale(1.01);
  z-index: 2;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-contact-hint {
  background: #ecfaf7;
  color: #22356A;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 1rem;
  margin-top: 10px;
}

/* HERO BANNER ------------------------------- */
.hero {
  background: linear-gradient(108deg, #22356A 0%, #16A085 100%);
  color: #fff;
  padding: 60px 0 40px 0;
}
.hero h1, .hero h2, .hero p {
  color: #fff;
}
.hero .btn-primary {
  margin-top: 18px;
}

/* BUTTONS ----------------------------------- */
.btn-primary {
  display: inline-block;
  background: linear-gradient(94deg, #16A085 0%, #22356A 100%);
  color: #fff;
  border: none;
  outline: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 25px;
  box-shadow: 0 1.5px 6px 0 rgba(22,160,133,0.10);
  cursor: pointer;
  transition: background .28s, box-shadow .22s, transform .18s;
  text-align: center;
  margin-top: 8px;
}
.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(94deg, #22356A 0%, #16A085 100%);
  box-shadow: 0 3px 14px 0 rgba(34,53,106,0.20);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.btn-secondary {
  display: inline-block;
  background: #fff;
  color: #16A085;
  border: 1.5px solid #16A085;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 30px;
  border-radius: 25px;
  box-shadow: 0 1px 4px 0 rgba(22,160,133,0.05);
  cursor: pointer;
  transition: background .18s, color .18s;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: #16A085;
  color: #fff;
}

.btn-inline-link {
  background: none;
  color: #16A085 !important;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  padding: 0;
  transition: color .18s, text-decoration .18s;
  text-decoration: underline;
}
.btn-inline-link:hover {
  color: #22356A;
}

/* NAVIGATION ------------------------------- */
header {
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(34,53,106,0.06);
  width: 100%;
  z-index: 40;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  min-height: 60px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
header nav img {
  height: 42px;
  width: auto;
  margin-right: 20px;
}
header nav a {
  color: #22356A;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background .16s, color .14s;
  position: relative;
}
header nav a:hover, header nav a:focus {
  color: #16A085;
  background: #f0f8f7;
}
header nav .btn-primary {
  margin-left: 8px; 
  border-radius: 20px;
}

/* MOBILE NAVIGATION --------------------- */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #22356A;
  cursor: pointer;
  position: absolute;
  right: 26px;
  top: 12px;
  z-index: 101;
  padding: 6px 12px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(120deg,#22356A 80%,#16A085 100%);
  color: #fff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(.7,.3,.2,1.2);
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  border: none;
  position: absolute;
  right: 28px;
  top: 18px;
  cursor: pointer;
  z-index: 1202;
  padding: 2px 14px;
}
.mobile-nav {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding: 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.37rem;
  letter-spacing: 0.01em;
  padding: 10px 0;
  border-radius: 10px;
  transition: background .15s, padding .15s;
  width: 100%;
}
.mobile-nav a:active, .mobile-nav a:focus {
  background: #16A085;
}

/* FOOTER ------------------------------------ */
footer {
  background: linear-gradient(90deg, #22356A 90%, #16A085 100%);
  color: #fff;
  padding: 44px 0 20px 0;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding: 0 22px;
}
footer nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 8px;
  padding: 6px 12px;
  opacity: 0.87;
  transition: background .14s, color .14s;
}
footer nav a:hover, footer nav a:focus {
  background: #16A085;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  opacity: .94;
  font-size: .95rem;
  line-height: 1.5;
  padding: 0 22px;
}
.footer-contact span, .footer-contact div {
  margin-bottom: 4px;
}
.footer-contact {
  margin-bottom: 6px;
}

/* TABLES (Preise) --------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow-x: auto;
  box-shadow: 0 1px 5px 0 rgba(34,53,106,0.07);
  margin-bottom: 24px;
}
thead {
  background: #f1fcfa;
}
th, td {
  font-size: 1rem;
  text-align: left;
  padding: 14px 12px;
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #22356A;
  font-weight: 700;
  letter-spacing: .01em;
}
tbody tr {
  border-top: 1px solid #eef3f6;
}
tbody tr:nth-child(even) {
  background: #f5f8fa;
}

/* SECTION SPACING & LAYOUT ------------------ */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* -- SPECIFIC PATTERNS (per brief) -- */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* UTILITIES & EFFECTS ------------------------ */
.shadow-sm { box-shadow: 0 1.5px 6px 0 rgba(22,160,133,0.06); }
.shadow-md { box-shadow: 0 4px 18px 0 rgba(22,160,133,0.09); }
.rounded { border-radius: 14px; }

/* MICROINTERACTIONS -------------------------- */
.feature-item, .card, .btn-primary, .testimonial-card {
  transition: box-shadow .22s, transform .18s, background .18s;
}

/* RESPONSIVE DESIGN -------------------------- */
@media (max-width: 1024px) {
  .container { max-width: 93vw; }
  header nav { gap: 14px; }
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .content-grid {
    flex-wrap: wrap;
    gap: 20px;
  }
  .feature-item, .card {
    flex: 1 1 240px;
    min-width: 160px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.15rem; }
  section, .section { padding: 30px 10px; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-item, .testimonial-card, .card {
    min-width: 0;
    max-width: 100%;
  }
  .text-image-section, .content-grid {
    flex-direction: column;
    gap: 22px;
  }
  table th, table td {
    font-size: 0.98rem;
    padding: 10px 7px;
  }
}
@media (max-width: 680px) {
  .container {
    padding: 0 7px;
    max-width: 99vw;
  }
  footer nav, .footer-contact { padding: 0 7px; }
  .content-wrapper { gap: 14px; }
}
@media (max-width: 600px) {
  html { font-size: 97%; }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .footer-contact {
    font-size: 0.89rem;
    gap: 2px;
  }
  .hero {
    padding: 36px 0 24px 0;
  }
  .btn-primary, .btn-secondary {
    padding: 12px 16px;
    font-size: 1rem;
  }
  section, .section {
    margin-bottom: 38px;
    padding: 18px 4px;
  }
}

/* COOKIE CONSENT BANNER ---------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: linear-gradient(92deg,#22356A 90%,#16A085 100%);
  color: #fff;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 18px 0 rgba(34,53,106,0.11);
  gap: 10px;
  transition: transform .24s cubic-bezier(.8,.1,.7,1.38), opacity .18s;
}
.cookie-banner__desc {
  font-size: 1.02rem;
  margin-bottom: 10px;
  text-align: center;
}
.cookie-banner__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  font-size: 1rem;
  border-radius: 20px;
  padding: 10px 18px;
}

/* COOKIE MODAL (Overlay) ----------------------------- */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1600;
  top: 0; left:0; right: 0; bottom:0;
  background: rgba(34,53,106,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background .22s;
}
.cookie-modal {
  background: #fff;
  color: #22356A;
  border-radius: 18px;
  max-width: 350px;
  width: 96vw;
  padding: 24px 18px;
  box-shadow: 0 5px 30px 0 rgba(34,53,106,0.19);
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookieModalIn .33s cubic-bezier(.7,.1,.8,1.2);
}
@keyframes cookieModalIn {
  0% { transform: translateY(80px) scale(.9); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.25rem;
  color: #22356A;
  margin-bottom: 12px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.cookie-category input[type=checkbox] {
  accent-color: #16A085;
}
.cookie-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* SPECIAL CLASSES FOR JS HOOKS --------------- */
.mobile-menu,
.cookie-banner,
.cookie-modal-overlay {
  display: none;
}
.mobile-menu.open,
.cookie-banner.visible,
.cookie-modal-overlay.visible {
  display: flex;
}

/* MISC ELEMENTS ------------------------------ */
::-webkit-scrollbar { width: 11px; background: #F5F7FA; }
::-webkit-scrollbar-thumb { background: #e5eeef; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #d2efea; }

/* Accessibility focus ring */
:focus-visible {
  outline: 2px solid #16A085;
  outline-offset: 2px;
}

@media (max-width:420px){
  .cookie-modal{padding:14px 3px;}
  .cookie-banner{padding:10px 2.5vw;}
  .cookie-banner__desc,.cookie-banner__btns{font-size:0.95rem;}
}
