/* ===== CSS RESET & NORMALIZE ===== */
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, 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;
}
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.5;
  background: #fff;
  color: #23252A;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #35587A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #23252A;
  outline: none;
}
ul, ol {
  padding-left: 1.5em;
  margin-bottom: 24px;
}
li {
  margin-bottom: 8px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button, input, select, textarea {
  font: inherit;
}

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #23252A;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-top: 16px;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

p, ul, ol, address {
  margin-bottom: 16px;
  color: #23252A;
}
p {
  line-height: 1.65;
}
strong, b {
  font-weight: 700;
}

/* ===== GENERAL LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #F5F5F5;
  box-shadow: 0 2px 8px rgba(41,73,95,0.02);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 18px;
}
header img {
  height: 40px;
  width: auto;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
}
header nav a {
  padding: 6px 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  color: #35587A;
  border-bottom: 2px solid transparent;
  transition: border 0.2s, color 0.2s;
}
header nav a:hover,
header nav a:focus {
  color: #23252A;
  border-bottom: 2px solid #35587A;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 28px;
  border: none;
  transition: background 0.16s, color 0.16s, box-shadow 0.26s;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(41,73,95,0.06);
  background: #35587A;
  color: #fff;
}
.cta.primary {
  background: #35587A;
  color: #fff;
}
.cta.primary:hover,
.cta.primary:focus {
  background: #4a7195;
  color: #fff;
  box-shadow: 0 4px 18px rgba(53,88,122,0.12);
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #35587A;
  cursor: pointer;
  margin-left: 16px;
  transition: color 0.18s;
  z-index: 101;
  width: 48px;
  height: 48px;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #35587A;
  border-radius: 50%;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 96vw;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: 2px 0 24px rgba(41,73,95,0.18);
  transform: translateX(-104%);
  transition: transform 0.32s cubic-bezier(0.7,0,0.3,1);
  z-index: 120;
  padding: 36px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2rem;
  color: #35587A;
  cursor: pointer;
  margin-bottom: 16px;
  transition: color 0.15s;
}
.mobile-menu-close:focus {
  outline: 2px solid #35587A;
  border-radius: 50%;
  color: #23252A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: #35587A;
  padding: 14px 0 12px 4px;
  border-bottom: 1px solid #F0F5F8;
  transition: color 0.18s;
}
.mobile-nav a:hover {
  color: #23252A;
}

/* Overlay when mobile menu open */
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  z-index: 99;
  inset: 0;
  background: rgba(57,63,80,0.15);
  transition: opacity 0.22s;
}
.mobile-menu-backdrop.open {
  display: block;
  opacity: 1;
}

@media (max-width: 1020px) {
  header .container nav {
    display: none;
  }
  header .cta.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 420px) {
  .mobile-menu {
    width: 100vw;
    padding-left: 10vw;
    padding-right: 10vw;
    max-width: 100vw;
  }
}

/* ===== MAIN LAYOUT SECTIONS ===== */
main {
  padding-top: 40px;
  min-height: 68vh;
}
section {
  margin-bottom: 60px;
  padding: 40px 0;
}
@media (max-width: 768px) {
  section {
    margin-bottom: 36px;
    padding: 24px 0;
  }
}

/* ===== FLEXBOX PATTERNS ===== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(41,73,95,0.06);
  padding: 28px 24px;
  min-width: 260px;
  flex: 1 1 calc(33% - 24px);
  transition: box-shadow 0.17s, transform 0.18s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 24px rgba(57,63,80,0.13);
  transform: translateY(-3px) scale(1.012);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.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: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .card {
    min-width: 98vw;
  }
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 9px rgba(41,73,95,0.045);
  padding: 24px 20px;
  flex: 1 1 232px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.17s, transform 0.18s;
}
.feature-grid > div:hover,
.feature-grid > div:focus-within {
  box-shadow: 0 6px 22px rgba(53,88,122,0.10);
  transform: translateY(-2px) scale(1.008);
}

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

/* persona cards for 'für wen' */
.persona-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.persona-cards > div {
  background: #F7F6F2;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(41,73,95,0.04);
  flex: 1 1 260px;
  min-width: 220px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 3px solid #35587A;
  transition: box-shadow 0.13s;
}
.persona-cards > div:hover {
  box-shadow: 0 4px 15px rgba(41,73,95,0.08);
}

/* contact-list styles */
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
  margin-top: 14px;
}
.contact-list > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 260px;
  background: #F7F6F2;
  padding: 16px 16px;
  border-radius: 9px;
  font-size: 1.07rem;
  color: #23252A;
}
.contact-list img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

/* testimonial cards */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 24px;
  background: #FAFBFC;
  border-radius: 12px;
  box-shadow: 0 2px 9px rgba(41,73,95,0.07);
  color: #23252A;
  font-size: 1.08rem;
  max-width: 660px;
  width: 100%;
  transition: box-shadow 0.12s, transform 0.17s;
}
.testimonial-card strong {
  color: #35587A;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.testimonial-card:hover,
.testimonial-card:focus-within {
  box-shadow: 0 7px 27px rgba(41,73,95,0.12);
  transform: translateY(-2px) scale(1.01);
}

.case-study {
  background: #F7F6F2;
  padding: 20px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(53,88,122,0.05);
}

.footer-contact {
  margin-top: 12px;
  font-size: 0.97rem;
  color: #23252A;
  opacity: 0.88;
}

/* ===== FOOTER ===== */
footer {
  background: #FAFBFC;
  border-top: 1px solid #F0F4F8;
  margin-top: 50px;
  padding: 40px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 12px;
}
footer a {
  color: #35587A;
  font-weight: 600;
}
footer a:hover {
  color: #23252A;
  text-decoration: underline;
}
footer p {
  font-size: 0.9rem;
  color: #23252A;
  opacity: 0.8;
}


/* ===== BUTTONS & LINKS ===== */
button {
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  transition: background 0.14s, color 0.13s;
}
button:focus-visible {
  outline: 2px dashed #35587A;
  outline-offset: 2px;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -3px 18px rgba(53,88,122,0.11);
  border-top: 1px solid #F1F1F1;
  z-index: 200;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 32px 22px 22px 22px;
  opacity: 1;
  transition: opacity 0.29s, transform 0.31s;
  transform: translateY(0);
}
.cookie-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(48px);
}
.cookie-banner__message {
  max-width: 570px;
  font-size: 1.05rem;
  color: #23252A;
}
.cookie-banner__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
/* Cookie Banner Buttons */
.cookie-btn {
  border-radius: 22px;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 22px;
  background: #F7F6F2;
  color: #35587A;
  border: 1px solid #B4C8DB;
  transition: background 0.16s, color 0.14s, border 0.15s;
}
.cookie-btn.accept {
  background: #35587A;
  color: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(53,88,122,0.10);
}
.cookie-btn.accept:hover {
  background: #496e96;
}
.cookie-btn.reject {
  background: #fff;
  color: #35587A;
  border: 1px solid #B4C8DB;
}
.cookie-btn.reject:hover {
  border-color: #35587A;
  color: #23252A;
}
.cookie-btn.settings {
  background: #F7F6F2;
  color: #35587A;
}
.cookie-btn.settings:hover {
  background: #ebe7e2;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 10px 16px 10px;
  }
  .cookie-banner__actions {
    gap: 12px;
  }
}

/* ===== COOKIE CONSENT MODAL ===== */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(53,88,122,0.16);
  z-index: 210;
  opacity: 1;
  transition: opacity 0.2s;
}
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -48%) scale(1);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 38px rgba(41,73,95,0.16);
  z-index: 220;
  width: 92vw;
  max-width: 450px;
  padding: 36px 32px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: opacity 0.36s, transform 0.34s;
}
.cookie-modal.hide {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-40%) scale(0.92);
}
.cookie-modal-close {
  position: absolute;
  right: 22px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #35587A;
  cursor: pointer;
  z-index: 200;
}

.cookie-modal__title {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #23252A;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cookie-category label {
  color: #23252A;
  font-size: 1rem;
  font-weight: 500;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-right: 6px;
}
.cookie-category.essential input[type="checkbox"] {
  accent-color: #35587A;
}
.cookie-category.essential label {
  color: #848C9C;
}
.cookie-category.essential input {
  pointer-events: none;
}

/* ===== CTA, BUTTONS, MICRO-INTERACTIONS ===== */
.cta {
  box-shadow: 0 2px 12px rgba(41,73,95,0.06);
  border-radius: 28px;
  background: #35587A;
  color: #fff;
  font-weight: 700;
  border: none;
  transition: background 0.13s, color 0.13s, box-shadow 0.18s, transform 0.18s;
  outline: none;
}
.cta:active,
.cta:focus {
  background: #22384c;
  color: #fff;
  box-shadow: 0 4px 18px rgba(53,88,122,0.15);
  outline: 2px solid #B4C8DB;
  outline-offset: 1px;
}
.cta.secondary {
  background: #F7F6F2;
  color: #35587A;
  border: 1px solid #B4C8DB;
}
.cta.secondary:hover {
  background: #F4F5F7;
}
.cta:active {
  transform: scale(0.97);
}

/* ===== OTHER UI ELEMENTS ===== */
adress {
  font-style: normal;
  color: #35587A;
}

/* ===== UTILITIES & SPECIAL CASES ===== */
.text-center {
  text-align: center;
}
.mt-24 {
  margin-top: 24px;
}
.mb-24 {
  margin-bottom: 24px;
}
.gap-20 {
  gap: 20px !important;
}

@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
  .content-grid, .card-container, .feature-grid, .persona-cards {
    gap: 14px;
  }
}

/* ===== MEDIA QUERIES FOR MOBILE ===== */
@media (max-width: 844px) {
  h1 {
    font-size: 2.0rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .card, .feature-grid > div, .persona-cards > div {
    min-width: 95vw;
    flex: 1 1 97vw;
    padding: 22px 13px;
  }
  .testimonial-card {
    padding: 14px 8px;
  }
}

@media (max-width: 630px) {
  .container {
    padding: 0 7px;
  }
  .card, .feature-grid > div, .persona-cards > div {
    padding: 14px 7px;
  }
  .footer-contact {
    font-size: 0.97rem;
  }
  footer .container,
  .content-wrapper {
    gap: 10px;
  }
  footer {
    padding: 20px 0 10px 0;
  }
}

/* ===== ANIMATIONS ===== */
.cta,
.card,
.feature-grid > div,
.testimonial-card, .persona-cards > div {
  transition: box-shadow 0.18s, background 0.18s, transform 0.18s;
}

/* ===== SELECTION COLOR ===== */
::selection {
  background: #B4C8DB;
  color: #23252A;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  background: #F7F6F2;
}
::-webkit-scrollbar-thumb {
  background: #B4C8DB;
  border-radius: 8px;
}

/* ===== BASIC SPACING RULES FOR 20PX+ GAP BETWEEN CARDS/SECTIONS ===== */
section + section {
  margin-top: 28px;
}
.content-wrapper > *:not(:last-child) {
  margin-bottom: 20px;
}

/* ===== ACCESSIBILITY ===== */
[tabindex]:focus, input:focus, textarea:focus, select:focus {
  outline: 2px solid #35587A;
  outline-offset: 2px;
}

/* ===== VISUAL OVERRIDES FOR LISTS IN FEATURE AREAS ===== */
.feature-grid ul, .feature-grid ol, .persona-cards ul, .persona-cards ol {
  margin-bottom: 0;
}

/* ===== END OF CSS ===== */
