/* RESET & BASE STYLES */
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, 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;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: #23395d;
  background: #f9f9f9;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

/* Typography (Modern bold + hierarchy) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #23395d;
  letter-spacing: 0.5px;
  line-height: 1.18;
}
h1 {
  font-size: 2rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
h3 {
  font-size: 1.125rem;
  margin-bottom: 14px;
}
h4,h5,h6 {
  font-weight: 700;
  margin-bottom: 12px;
}
p, li, table, ul, ol, blockquote {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
}
strong {
  font-weight: bold;
}

/* Links & buttons */
a {
  color: #26a69a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23395d;
  text-decoration: underline;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #26a69a;
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  padding: 16px 32px;
  margin: 24px 0 0 0;
  box-shadow: 0 3px 16px 0 rgba(35,57,93,0.08);
  cursor: pointer;
  transition: background 0.25s, transform 0.13s;
  text-transform: uppercase;
}
.cta-button:hover, .cta-button:focus {
  background: #23395d;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px 0 rgba(38,166,154,0.15);
}

button, input[type=button], input[type=submit] {
  cursor: pointer;
  font-family: inherit;
}

/* HEADER STYLES */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 19px 0 rgba(35,57,93,0.09);
  padding: 0 4vw;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
}
header > a > img {
  height: 44px;
  margin-right: 18px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
header nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #23395d;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  padding: 10px 0;
  transition: color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: #26a69a;
}
header .cta-button {
  margin: 0 0 0 32px;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
  display: none;
}

/* MOBILE NAVIGATION */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #23395d;
  z-index: 1200;
  flex-direction: column;
  align-items: flex-start;
  width: 100vw;
  height: 100vh;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.8,0,.14,1);
  padding: 32px 28px 28px 28px;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: #fff;
  margin-bottom: 22px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #26a69a;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  padding: 13px 0 13px 10px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: #26a69a;
  color: #fff;
}

@media (max-width: 991px) {
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    background: #26a69a;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 16px;
    top: 14px;
    z-index: 111;
    box-shadow: 0 4px 16px 0 rgba(38,166,154,0.2);
    transition: background 0.16s, color 0.15s;
  }
  .mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
    background: #23395d;
    color: #fff;
  }
  header .cta-button {
    margin-left: auto;
    margin-right: 42px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 0 6vw;
    min-height: 58px;
  }
  header > a > img { height: 35px; }
  .mobile-menu {
    padding: 18px 10px 10px 16px;
  }
}

/* MAIN LAYOUT & SECTION SPACING */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 48px 0 rgba(35,57,93,0.07);
  position: relative;
}

/* List Styles / Feature Bullets */
ul, ol {
  margin-left: 30px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
ul li, ol li {
  padding-left: 0;
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 13px;
}
ul li img, .text-section img {
  width: 26px;
  height: 26px;
  margin-right: 7px;
  flex-shrink: 0;
}

.text-section {
  margin-top: 12px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  color: #23395d;
}

/* Feature list .feature-item (custom) */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 16px;
}

/* Cards & Testimonial Cards */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.card {
  flex: 1 1 320px;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 24px 0 rgba(35,57,93,0.10);
  padding: 36px 30px 32px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.13s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 10px 44px 0 rgba(38,166,154,0.14);
  transform: translateY(-3px) scale(1.01);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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;
}

@media (max-width: 900px) {
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .card {
    flex: 1 1 100%;
    width: 100%;
    padding: 28px 14px 28px 16px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
  }
}

/* Testimonial Card */
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: #f9f9f9; /* Ensure proper contrast */
  color: #23395d;
  border-left: 8px solid #26a69a;
  border-radius: 12px;
  box-shadow: 0 3px 19px 0 rgba(35,57,93,0.07);
  padding: 28px 28px 20px 24px;
  margin-bottom: 22px;
  min-width: 220px;
  max-width: 600px;
}
.testimonial-card blockquote {
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #23395d;
  margin: 0 0 8px 0;
  letter-spacing: 0.1px;
  line-height: 1.45;
}
.testimonial-card span {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #23395d;
  font-weight: 600;
  opacity: 0.88;
}

/* Table Styles (Preise) */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  margin-top: 5px;
  font-size: 1rem;
  background: #fff;
  box-shadow: 0 3px 12px 0 rgba(38,166,154,0.07);
  border-radius: 10px;
  overflow: hidden;
}
thead {
  background: #23395d;
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.06em;
}
thead th {
  padding: 14px 12px;
  text-align: left;
  font-weight: 800;
  letter-spacing: 0.4px;
}
tbody td {
  padding: 12px 12px;
  border-bottom: 1px solid #e0e0e0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
tbody tr:last-child td {
  border-bottom: none;
}

/* Footer Styles */
footer {
  background: #23395d;
  color: #fff;
  padding: 44px 10vw 20px 10vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: flex-start;
}
.footer-menu a {
  color: #26a69a;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: color 0.2s;
}
.footer-menu a:hover, .footer-menu a:focus { color: #fff; }
.footer-info {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-info img {
  width: 50px;
  height: 50px;
}
.footer-info p {
  font-size: 1rem;
  opacity: 0.85;
  margin-right: 16px;
  color: #fff;
}

@media (max-width: 767px) {
  footer {
    padding: 26px 7vw 18px 7vw;
    gap: 15px;
  }
  .footer-info {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-info img {
    margin-bottom: 5px;
  }
  .footer-menu {
    gap: 15px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 4px;
  }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #23395d;
  color: #fff;
  box-shadow: 0 -2px 14px 0 rgba(35,57,93,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 2000;
  padding: 22px 30px 22px 30px;
  gap: 16px;
  font-size: 1rem;
  animation: fadeInCookie 0.6s cubic-bezier(.6,0,.44,1);
}
@keyframes fadeInCookie {
  from { opacity: 0; transform: translateY(80px); }
  to { opacity: 1; transform: none; }
}

.cookie-banner-text {
  max-width: 620px;
  font-size: 1rem;
  margin-right: 12px;
  flex: 1 1 300px;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-consent-btn, .cookie-settings-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  padding: 10px 22px;
  transition: background 0.18s, color 0.14s;
  margin-left: 0;
}
.cookie-consent-btn.accept {
  background: #26a69a;
  color: #fff;
}
.cookie-consent-btn.accept:hover, .cookie-consent-btn.accept:focus {
  background: #25a08f;
}
.cookie-consent-btn.reject {
  background: #f9f9f9;
  color: #23395d;
  border: 2px solid #26a69a;
}
.cookie-consent-btn.reject:hover, .cookie-consent-btn.reject:focus {
  background: #e5e5e5;
  color: #26a69a;
}
.cookie-settings-btn {
  background: transparent;
  color: #fff;
  border: 1.5px solid #26a69a;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #26a69a;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 2100;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35,57,93, 0.62);
  animation: fadeInModalBackdrop 0.4s cubic-bezier(.77,0,.19,1);
}
@keyframes fadeInModalBackdrop {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-backdrop.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal {
  background: #fff;
  color: #23395d;
  border-radius: 20px;
  max-width: 420px;
  min-width: 250px;
  width: 100%;
  box-shadow: 0 8px 44px 0 rgba(35,57,93,0.17);
  padding: 34px 30px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookieModalFadeIn 0.45s cubic-bezier(.77,0,.19,1);
}
@keyframes cookieModalFadeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95);}
  to   { opacity: 1; transform: none;}
}
.cookie-modal-title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 1.28rem;
  margin-bottom: 8px;
  color: #23395d;
}
.cookie-modal-close {
  position: absolute;
  right: 16px;
  top: 14px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #23395d;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #26a69a; }
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 10px;
  min-height: 36px;
}
.cookie-category label {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #23395d;
  flex: 1 1 60%;
}
.cookie-category input[type="checkbox"] {
  accent-color: #26a69a;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  border-radius: 50%;
}
.cookie-category .essential {
  opacity: 0.6;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
  align-items: center;
}

/* Responsive: Cookie Banner and Modal */
@media (max-width: 600px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 12px;
    gap: 10px;
    font-size: 0.95rem;
  }
  .cookie-banner-text {
    max-width: 95vw;
    margin-right: 0;
  }
  .cookie-modal {
    padding: 16px 8px 16px 16px;
    max-width: 97vw;
  }
}

/* BLOCKS: Section and Card Reset for layout */
section {
  margin-bottom: 60px;
  padding: 0;
}
section .container {
  padding-top: 0;
  padding-bottom: 0;
}

/* Responsive section padding */
@media (max-width: 600px) {
  .section {
    padding: 19px 6px;
    margin-bottom: 30px;
    border-radius: 13px;
  }
}

/* Miscellaneous: Highlight Price, etc. */
ul li span, table td span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: #26a69a;
  margin-left: 10px;
  font-size: 1.08em;
}

/* Article (Blog) */
article {
  background: #ecfbfa;
  border-radius: 13px;
  border-left: 5px solid #26a69a;
  padding: 22px 18px;
  margin: 20px 0;
  font-size: 1.03rem;
  box-shadow: 0 2px 12px 0 rgba(38,166,154,0.04);
}
article h3 {
  color: #23395d;
}

/* Animations for hover microinteractions*/
.card, .cta-button, .testimonial-card, .cookie-consent-btn, .cookie-settings-btn, .mobile-menu-toggle {
  transition: box-shadow 0.20s, background 0.16s, color 0.13s, transform 0.13s;
}

/* Utility classes */
.mt-1 { margin-top: 8px; }
.mb-1 { margin-bottom: 8px; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 38px; }
.mb-3 { margin-bottom: 38px; }

/* RESPONSIVE TYPOGRAPHY */
@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
}

/* FORMS (if added later) */
input, select, textarea {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #d6dcdf;
  padding: 11px 12px;
  outline: none;
  margin-bottom: 14px;
  color: #23395d;
}
input:focus, textarea:focus, select:focus {
  border-color: #26a69a;
  box-shadow: 0 2px 12px 0 rgba(38,166,154,0.09);
}

/* Error & Success */
.form-error {
  color: #c72221;
  font-size: 0.95em;
  margin-bottom: 8px;
}
.form-success {
  color: #26a69a;
  font-size: 0.98em;
  margin-bottom: 8px;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 7px;
  background: #f9f9f9;
}
::-webkit-scrollbar-thumb {
  background: #26a69a;
  border-radius: 8px;
}

/* Hide visually but keep accessible */
.sr-only {
  position: absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  border:0;
}

/* BRAND COLORS as fallback variables (if used) */
:root {
  --brand-primary: #23395d;
  --brand-secondary: #26a69a;
  --brand-accent: #f9f9f9;
}
