/* ===================================
   NORMALIZE & 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, 
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,menu,nav,section{
  display:block;
}
body{
  line-height:1.5;
  background: #f7fafc;
  color: #142534;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 16px;
}
ol,ul{
  list-style:none;
}
a{
  background:transparent;
  color:inherit;
  text-decoration:none;
  transition: color 0.15s;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
}
button, input, select, textarea {
  font: inherit;
  box-sizing: border-box;
  outline: none;
}

/* ===================================
   VARIABLES & SHADOWS (no CSS Vars)
=================================== */
:root {
  /* Brand palette */
  --primary: #24566e;
  --primary-dark: #183448;
  --secondary: #7bc6a4;
  --secondary-dark: #4ea07d;
  --accent: #f7fafc;
  --danger: #ea5e5e;
  --shadow: 0 2px 8px rgba(36,86,110,0.08), 0 1.5px 4px rgba(36,86,110,0.05);
  --radius: 18px;
  --radius-small: 10px;
}

/* ===================================
   TYPOGRAPHY (Modern + Bold)           
=================================== */
h1, h2, h3, h4, h5, h6{
  font-family: "Montserrat", "Arial", sans-serif;
  color: #24566e;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.17;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
p, li, ul, ol {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1.08rem;
  color: #183448;
  line-height: 1.7;
}
strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--primary);
}
blockquote {
  font-style: italic;
  font-size: 1.15rem;
  color: #183448;
  border-left: 5px solid var(--secondary);
  background: #f3f7f6;
  padding: 20px 28px 20px 18px;
  border-radius: var(--radius-small);
  margin-bottom: 14px;
  font-family: "Roboto", Arial, sans-serif;
}

/* ===================================
   GLOBAL SPACING UTILITIES
=================================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.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;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  min-width: 0;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.text-section {
  margin-bottom: 14px;
  line-height: 1.7;
}

/* ===================================
   HEADER & NAVIGATION
=================================== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(36,86,110,0.07);
  z-index: 100;
  position: sticky;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 12px;
  font-family: "Montserrat", Arial, sans-serif;
}
header > a img {
  height: 38px;
  width: auto;
  margin-right: 16px;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  padding: 10px 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05rem;
  position: relative;
  transition: color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: var(--secondary-dark);
}
.cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-small);
  border: 0;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
  padding: 12px 30px;
  margin-left: 24px;
  box-shadow: 0 2px 12px rgba(36,86,110,0.12);
  cursor: pointer;
  transition: background 0.2s, transform 0.12s, box-shadow 0.23s;
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--secondary-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 20px rgba(123,198,164,0.14),0 2px 5px rgba(25,80,110,0.08);
}
button.mobile-menu-toggle {
  background: var(--primary);
  color: #fff;
  font-size: 2rem;
  border: none;
  border-radius: var(--radius-small);
  width: 46px;
  height: 46px;
  cursor: pointer;
  margin-left: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.14s;
  z-index: 125;
}
button.mobile-menu-toggle:focus, button.mobile-menu-toggle:hover {
  background: var(--secondary-dark);
  color: #fff;
  transform: scale(1.08);
}

/* ===================================
   MOBILE NAVIGATION
=================================== */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,86,110,0.97);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.69,-0.03,.35,1.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0 0 60px 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  margin: 24px 24px 12px 0;
  cursor: pointer;
  padding: 8px;
  transition: color 0.16s, transform 0.13s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--secondary);
  transform: scale(1.07);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: flex-start;
  padding: 28px 36px 0 36px;
}
.mobile-nav a {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 16px 0;
  display: flex;
  align-items: center;
  border-radius: var(--radius-small);
  transition: background 0.16s, color 0.13s;
  width: 100%;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--secondary); 
  color: var(--primary);
}

/* Hide nav, show burger on mobile */
@media (max-width: 980px) {
  header nav,
  .cta.primary {
    display: none;
  }
  button.mobile-menu-toggle {
    display: flex;
  }
}

/* Hide mobile menu by default desktop */
@media (min-width: 982px) {
  .mobile-menu { display: none !important; }
}

/* ===============================
   HERO SECTIONS
=============================== */
.hero {
  padding: 48px 0 36px 0;
  background: linear-gradient(115deg, #f7fafc 69%, #7bc6a4 100%);
  display: flex;
  align-items: center;
  min-height: 360px;
  width: 100%;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1 {
  color: var(--primary-dark);
  max-width: 800px;
}
.hero p {
  color: #295572;
  font-size: 1.23rem;
  margin: 0 0 18px 0;
  font-family: "Roboto", Arial, sans-serif;
}

/* Responsive hero alignment */
@media (max-width: 768px) {
  .hero { padding: 40px 0 28px 0; min-height: unset; }
  .hero h1 { font-size: 2rem; }
}

/* ===============================
   FEATURE & SERVICE LISTS
=============================== */
.features ul, .leistungen ul, .services-benefits ul, .benefits ul, .analysis ul, .team ul, .values ul, .faq ul, .cookie-policy ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}
.features li, .leistungen li, .services-benefits li, .benefits li, .analysis li, .team li, .values li {
  display: flex;
  align-items: center;
  background: #f3f7f6;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  gap: 14px;
  font-family: "Roboto", Arial, sans-serif;
  font-size: 1.05rem;
  color: #183448;
}
.features li img, .leistungen li img, .services-benefits li img, .analysis li img {
  width: 29px;
  height: 29px;
  filter: grayscale(0) contrast(1.05);
  margin-right: 10px;
}

.leistungen ul > li, .faq ul > li {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  border: 2.5px solid var(--secondary);
  box-shadow: var(--shadow);
  border-radius: var(--radius-small);
  margin-bottom: 10px;
  padding: 20px 22px 18px 22px;
}
.leistungen ul > li strong {
  background: var(--secondary);
  color: var(--primary-dark);
  border-radius: var(--radius-small);
  padding: 4px 10px;
  font-size: 1.05em;
  font-weight: 800;
  margin-top: 12px;
  display: inline-block;
}

/* FAQ styles */
.faq ul > li {
  background: #f8fcfb;
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(123,198,164,0.08);
  padding: 18px 18px 12px 18px;
  gap: 10px;
}
.faq ul strong {
  font-size: 1.1em;
  color: var(--primary);
}

.benefits ul li, .values ul li {
  background: #fff;
  border: 2px solid var(--accent);
  font-family: "Roboto", Arial, sans-serif;
}

/* ===================================
   TESTIMONIALS & REVIEW CARDS
=================================== */
.testimonials, .testimonials .container, .testimonials .content-wrapper {
  width: 100%;
}
.testimonial-card {
  background: #fff;
  color: #142534;
  border: 3.5px solid var(--secondary);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 30px 19px 30px;
}
.testimonial-card p {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

/* ===================================
   CALL-TO-ACTION SECTIONS
=================================== */
section.cta {
  padding: 40px 0 48px 0;
  background: var(--secondary);
  text-align: center;
}
section.cta h2 {
  color: #183448;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
}
section.cta .cta.primary {
  margin-left: 0;
  margin-top: 15px;
  font-size: 1.18rem;
}

/* ===================================
   ABOUT, POLICY, LEGAL, MISC SECTIONS
=================================== */
.about-section, .team, .values, .datenschutz, .gdpr, .cookie-policy, .nutzung, .thank-you, .kontakt {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 34px;
  margin-bottom: 60px;
  padding: 44px 22px 44px 22px;
}
.about-section h1, .thank-you h1 { margin-bottom: 13px; }
.text-section { margin-bottom: 20px; }
.about-section ul, .values ul, .team ul {
  gap: 14px;
  padding-left: 0;
}
.about-section ul li, .values ul li, .team ul li {
  padding: 12px 10px 12px 24px;
  background: #f7fafc;
  border-radius: var(--radius-small);
  border-left: 5px solid var(--secondary);
}

/* ===================================
   FOOTER
=================================== */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 34px 0 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Roboto", Arial, sans-serif;
  margin-top: 36px;
}
footer .footer-logo img {
  max-width: 62px;
  margin-bottom: 12px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 19px;
}
.footer-nav a {
  color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1.01rem;
  font-weight: 700;
  padding: 7px 0;
  border-radius: var(--radius-small);
  transition: background 0.15s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: var(--secondary);
  color: var(--primary);
}
.contact-info {
  color: #e5f0f5;
  font-size: 0.98rem;
  margin-bottom: 12px;
  text-align: center;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 7px;
}
footer p {
  color: #f2feff;
  font-size: 0.93rem;
  text-align: center;
  margin-bottom: 0;
}

/* ===================================
   BUTTONS
=================================== */
button, .cta.primary {
  transition: background 0.2s, color 0.12s, transform 0.13s;
}
button:focus {
  outline: 2.5px solid var(--secondary);
  outline-offset: 2px;
}

/* ========================================
   RESPONSIVE DESIGN & LAYOUT (Mobile First)
======================================== */
@media (max-width: 980px) {
  .container {
    max-width: 98vw;
    padding: 0 12px;
  }
  header { padding: 0 7px; }
  header > a img { height: 32px; }
}
@media (max-width: 768px) {
  .hero .container { align-items: flex-start; }
  .hero h1 { font-size: 1.32rem; }
  .card-container, .content-grid, .features ul, .leistungen ul {
    flex-direction: column !important;
    gap: 20px;
  }
  .testimonial-card, .leistungen ul > li {
    padding: 16px 12px;
  }
  .footer-nav { flex-direction: column; gap: 7px; }
  .about-section, .team, .values, .datenschutz, .gdpr, .cookie-policy, .nutzung, .thank-you, .kontakt {
    padding: 24px 8px 30px 8px;
  }
  .section { margin-bottom: 38px; padding: 28px 5px; }
  .faq ul > li, .features li, .leistungen li {
    font-size: 0.97rem;
    padding: 13px 10px;
  }
  .text-image-section {
    flex-direction: column !important;
    gap: 13px;
    align-items: flex-start;
  }
}

/* ===================================
   COOKIE CONSENT BANNER
=================================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: #142534;
  border-top: 3px solid var(--primary);
  box-shadow: 0 -2px 30px rgba(36,86,110,0.12);
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: center;
  padding: 24px 16px 22px 16px;
  font-size: 1.07rem;
  z-index: 190;
  animation: cookie-slide-in 0.52s cubic-bezier(.62,1.6,.51,1) 1;
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
  margin-left: 8px;
  margin-right: 0;
}
.cookie-banner .cookie-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-small);
  padding: 9px 17px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-right: 6px;
  transition: background 0.17s, color 0.12s, box-shadow 0.14s, transform 0.13s;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--secondary-dark);
  color: #fff;
  box-shadow: 0 2px 13px rgba(36,86,110,0.12);
  transform: translateY(-1px) scale(1.04);
}
.cookie-banner .cookie-btn.settings {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--secondary);
  margin-left: 2px;
}
.cookie-banner .cookie-btn.settings:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}

@media (max-width: 660px) {
  .cookie-banner { flex-direction: column; gap: 12px; font-size: 1rem; padding: 18px 8px 18px 8px; }
}

/* ===================================
   COOKIE CONSENT MODAL
=================================== */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,86,110,0.9);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: modal-fade-in 0.35s cubic-bezier(.45,.18,.32,1.12) 1;
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal .modal-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 30px rgba(36,86,110,0.15);
  max-width: 368px;
  width: 98vw;
  padding: 34px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 10px; right: 16px;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  color: var(--primary);
  cursor: pointer;
  padding: 3px;
  transition: color 0.11s, transform 0.12s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus {
  color: var(--secondary-dark);
  transform: scale(1.08);
}
.cookie-modal h2 {
  font-size: 1.36rem;
  color: var(--primary);
  margin-bottom: 9px;
  font-weight: 800;
}
.cookie-modal .cookie-cat {
  margin: 16px 0 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-toggle {
  width: 38px; height: 22px;
  background: #e8e8ea;
  border-radius: 14px;
  border: 0;
  position: relative;
  cursor: pointer;
  outline: none;
  margin-left: 8px;
  transition: background 0.17s;
}
.cookie-toggle[data-on="true"] {
  background: var(--secondary-dark);
}
.cookie-toggle:before {
  content: '';
  display: block;
  position: absolute;
  top: 3.5px; left: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(36,86,110,0.12);
  transition: left 0.16s;
}
.cookie-toggle[data-on="true"]:before {
  left: 18px;
}
.cookie-modal .modal-btn-bar {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 25px;
}
.cookie-modal .modal-btn-bar button {
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-small);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.11s, transform 0.1s;
}
.cookie-modal .modal-btn-bar button:focus, .cookie-modal .modal-btn-bar button:hover {
  background: var(--secondary-dark);
  color: #fff;
  transform: scale(1.03);
}

/* ===============================
   MICRO-INTERACTIONS
=============================== */
a, button, .card, .testimonial-card, .cta.primary, .cookie-btn, .mobile-nav a {
  transition: background 0.17s, color 0.11s, box-shadow 0.12s, transform 0.11s;
}
.card:hover, .leistungs-card:hover, .testimonial-card:hover {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 8px 28px rgba(36,86,110,0.10), 0 2px 6px rgba(123,198,164,0.09);
}

/* ===============================
   GEOMETRIC SHAPES & DECORATIVES
=============================== */
.hero:before,
.hero:after {
  content: '';
  display: block;
  position: absolute;
  border-radius: 28% 66% 61% 30% / 46% 31% 58% 51%;
  pointer-events: none;
  opacity: 0.13;
  z-index: 2;
}
.hero:before {
  top: 0; right: 0;
  width: 190px; height: 170px;
  background: var(--secondary);
}
.hero:after {
  left: -50px; bottom: -25px;
  width: 215px; height: 120px;
  background: var(--primary);
}

/* ===============================
   ACCESSIBILITY
=============================== */
:focus-visible {
  outline: 3px solid var(--secondary-dark);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation-duration: 0.0001s !important;
  }
}

/* ===============================
   SPECIAL: THANK YOU PAGE
=============================== */
.thank-you {
  text-align: center;
}
.thank-you p {
  margin-bottom: 22px;
  font-size: 1.21rem;
}

/* ===============================
   SPECIAL: CONTACT PAGE
=============================== */
.kontakt ul li {
  background: none;
  border: none;
  border-left: 0;
  font-size: 1.06rem;
  margin-bottom: 6px;
  padding: 0;
}
.kontakt a {
  text-decoration: underline;
  color: var(--primary);
  font-family: "Roboto", Arial, sans-serif;
}
.kontakt a:hover,
.kontakt a:focus { color: var(--secondary-dark); }

/* ===============================
   PRINT STYLES (Optional)
=============================== */
@media print {
  header, .mobile-menu, footer, .cookie-banner, .cookie-modal { display: none !important; }
  main, .container { padding: 0 !important; margin: 0 !important; }
}

/* ========== END ========== */
