/* ========================== */
/* ===== CSS RESET/BASE ===== */
/* ========================== */

/* Normalize & 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,
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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #22304E;
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}
ul, ol {
  list-style: none;
}
a {
  color: #22304E;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #81C3D7;
  text-decoration: underline;
}

button,
input[type="submit"],
input[type="button"] {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  appearance: none;
}


/* =============================== */
/* ===== BRAND FONTS & COLORS ==== */
/* =============================== */
:root {
  --brand-primary: #22304E;
  --brand-secondary: #81C3D7;
  --brand-accent: #F2F2F2;
  --brand-dark: #22304E;
  --brand-white: #fff;
  --brand-shadow: 0 2px 14px 0 rgba(34, 48, 78, 0.06);
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius: 10px;
  --radius-btn: 6px;
  --radius-card: 14px;
  --input-bg: #F8FAFB;
  --text-main: #22304E;
  --text-muted: #506080;
  --text-light: #fff;
  --shadow-1: 0 1px 8px rgba(34,48,78,0.06);
  --shadow-2: 0 2px 16px rgba(34,48,78,0.07);
  --transition-main: 0.18s cubic-bezier(.5,.01,.42,1);
}

@media (prefers-color-scheme: dark) {
  body {
    background: #f6f8fa;
    color: #22304E;
  }
}


/* =========================== */
/* ===== TYPOGRAPHY SCALE ==== */
/* =========================== */
h1 {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.17;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  color: var(--brand-primary);
}
h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--brand-primary);
  letter-spacing: -0.3px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 14px;
}
h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-weight: 500;
}
p, ul, ol {
  font-family: var(--font-body);
  font-size: 1.11rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 16px;
}
strong {
  font-weight: 600;
  color: var(--brand-primary);
}
blockquote {
  margin: 0 0 12px 0;
  padding: 0 0 0 16px;
  border-left: 4px solid var(--brand-secondary);
  font-style: italic;
  color: var(--brand-primary);
  font-size: 1.12rem;
  background: transparent;
}
li {
  margin-bottom: 8px;
}


/* ====================================== */
/* === LAYOUT: SECTIONS & CONTAINERS ==== */
/* ====================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--brand-white);
  border-radius: var(--radius);
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ========================= */
/* == FLEXBOX LAYOUTS ====== */
/* ========================= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: var(--brand-accent);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-1);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition-main), transform var(--transition-main);
}
.card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px) scale(1.02);
}
.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;
  margin-bottom: 24px;
  background: #f6f8fa;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  color: var(--brand-primary);
  font-family: var(--font-body);
  position: relative;
  min-width: 0;
}
.testimonial-card blockquote {
  border-left: 4px solid var(--brand-secondary);
  padding-left: 16px;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--brand-primary);
  margin-bottom: 0;
}
.testimonial-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-size: 1rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-grid > div {
  flex: 1 1 260px;
  background: var(--brand-accent);
  padding: 22px 18px 18px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 210px;
  max-width: 330px;
  gap: 12px;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.services-list > div {
  background: var(--brand-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  padding: 24px 20px;
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 330px;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: row;
}
.faq-accordion > div {
  flex: 1 1 260px;
  background: var(--brand-accent);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  padding: 18px 16px;
  margin-bottom: 0 !important;
  min-width: 210px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
.category-filters span {
  padding: 6px 16px;
  background: var(--brand-accent);
  border-radius: var(--radius-btn);
  font-size: 0.97rem;
  color: var(--brand-primary);
  font-family: var(--font-display);
  cursor: pointer;
  transition: background 0.16s;
}
.category-filters span:hover, .category-filters span.active {
  background: var(--brand-secondary);
  color: var(--brand-white);
}
.logos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.logos-grid img {
  height: 48px;
  background: var(--brand-accent);
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: var(--shadow-1);
}
.case-studies {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.case-studies h3 {
  margin-top: 0;
}


/* ============================= */
/* ===== HEADER & NAVBAR ======= */
/* ============================= */
header {
  background: var(--brand-white);
  box-shadow: var(--shadow-1);
  position: relative;
  z-index: 11;
  padding: 0;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  min-height: 68px;
}
nav img[alt="SprechWelle"] {
  height: 38px;
  margin-right: 15px;
  display: block;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
nav ul li {
  margin-bottom: 0;
}
nav ul li a {
  font-family: var(--font-display);
  font-size: 1.01rem;
  color: var(--brand-primary);
  padding: 7px 12px;
  border-radius: var(--radius-btn);
  transition: background 0.14s, color 0.14s;
}
nav ul li a:hover, nav ul li a:focus {
  background: var(--brand-accent);
  color: var(--brand-secondary);
}
.cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  background: var(--brand-secondary);
  color: var(--brand-white) !important;
  padding: 8.5px 28px;
  border-radius: var(--radius-btn);
  font-size: 1.11rem;
  letter-spacing: .03em;
  box-shadow: 0 3px 14px rgba(129,195,215,0.10);
  transition: background 0.16s, box-shadow 0.18s, color 0.14s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--brand-primary);
  color: var(--brand-white) !important;
  box-shadow: 0 6px 30px rgba(129,195,215,0.15);
}


/* =============================== */
/* === MOBILE BURGER MENU ======== */
/* =============================== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  z-index: 120;
  background: var(--brand-white);
  color: var(--brand-primary);
  font-size: 2rem;
  border-radius: 50%;
  border: none;
  box-shadow: var(--shadow-1);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.16s, background 0.13s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--brand-secondary);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,48,78,0.94);
  z-index: 1250;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.75,0,0.25,1);
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--brand-white);
  border-radius: 50%;
  margin: 22px 26px 0 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.11s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(129,195,215,0.13);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  padding: 0 0 0 44px;
  margin-top: 42px;
}
.mobile-nav a {
  color: var(--brand-white);
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 13px 0;
  border-radius: var(--radius-btn);
  transition: background 0.15s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-secondary);
  background: rgba(129,195,215,0.08);
  outline: none;
}

/* Show/hide navigation on mobile */
@media (max-width: 1000px) {
  nav ul {
    display: none;
  }
  .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  .mobile-nav {
    padding-left: 26px;
  }
}


/* =============================== */
/* ========= MAIN & SECTIONS ===== */
/* =============================== */
main {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 40px;
}
section {
  margin-bottom: 50px;
  border-radius: var(--radius);
  background: var(--brand-white);
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: none;
}

/* Blog, List Styles */
.category-filters span {
  border: 1px solid var(--brand-secondary);
}

/* Lists inside content */
.content-wrapper > ul,
ul, ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
.content-wrapper > ul li {
  list-style: disc;
  color: var(--brand-primary);
}


/* ===================== */
/* === FOOTER ========= */
/* ===================== */
footer {
  background: var(--brand-accent);
  padding: 34px 0 18px 0;
  border-top: 1px solid #e7edf1;
  box-shadow: 0 -1px 8px rgba(34,48,78,0.03);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.94rem;
  color: var(--brand-primary);
  align-items: center;
}
footer nav a {
  color: var(--brand-primary);
  opacity: 0.88;
  padding: 5px 3px;
}
footer nav a:hover {
  color: var(--brand-secondary);
  opacity: 1;
}
footer p {
  font-size: 0.94rem;
  color: var(--text-muted);
}


/* ========================== */
/* =========== BLOG ========= */
/* ========================== */
.blog-list li {
  margin-bottom: 16px;
}
.blog-list a {
  transition: color .15s;
}
.blog-list a:hover {
  color: var(--brand-secondary);
}


/* ========================== */
/* ===== COOKIE CONSENT ===== */
/* ========================== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--brand-white);
  color: var(--brand-primary);
  box-shadow: 0 -2px 20px rgba(34,48,78,0.15);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2002;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s, transform 0.38s;
  gap: 18px;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner-text {
  font-size: 1.04rem;
  text-align: center;
  margin-bottom: 9px;
  color: var(--brand-primary);
}
.cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btns .cookie-accept {
  background: var(--brand-secondary);
  color: var(--brand-white);
  border-radius: var(--radius-btn);
  padding: 8px 22px;
  border: none;
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, box-shadow 0.14s;
}
.cookie-btns .cookie-accept:hover {
  background: var(--brand-primary);
}
.cookie-btns .cookie-reject {
  background: none;
  color: var(--brand-primary);
  border: 1px solid var(--brand-secondary);
  border-radius: var(--radius-btn);
  padding: 8px 20px;
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-btns .cookie-reject:hover {
  background: var(--brand-accent);
  color: var(--brand-secondary);
}
.cookie-btns .cookie-settings {
  background: var(--brand-accent);
  color: var(--brand-primary);
  border: none;
  border-radius: var(--radius-btn);
  padding: 8px 20px;
  font-size: 1.08rem;
  font-family: var(--font-display);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
}
.cookie-btns .cookie-settings:hover {
  background: var(--brand-secondary);
  color: var(--brand-white);
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(34,48,78,.40);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: var(--brand-white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  max-width: 430px;
  width: 95vw;
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  transform: translateY(30px);
  transition: transform 0.28s;
}
.cookie-modal.open .cookie-modal-content {
  transform: translateY(0);
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.cookie-modal-header h3 {
  font-size: 1.24rem;
  color: var(--brand-primary);
  font-family: var(--font-display);
  margin-bottom: 0;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--brand-primary);
  font-size: 1.7rem;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--brand-accent);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-category-label {
  flex: 1 1 auto;
  font-size: 1.08rem;
  color: var(--brand-primary);
}
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-toggle input[type="checkbox"] {
  width: 42px; height: 22px;
  accent-color: var(--brand-secondary);
}
.cookie-category-essential {
  opacity: 0.5;
}
.cookie-category-essential .cookie-toggle input[type="checkbox"] {
  pointer-events: none;
}


/* ==================================== */
/* === MICRO-INTERACTIONS & SHADOWS ===*/
/* ==================================== */
.card, .feature-grid > div, .services-list > div, .faq-accordion > div,
.testimonial-card,
.category-filters span,
.cookie-modal-content {
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:focus-within, .card:hover,
.feature-grid > div:hover,
.services-list > div:hover,
.faq-accordion > div:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px) scale(1.012);
}
.category-filters span:focus {
  outline: 2px solid var(--brand-secondary);
  background: var(--brand-secondary);
  color: var(--brand-white);
}

/* ==================== */
/* ===== RESPONSIVE ====*/
/* ==================== */
@media (max-width: 900px) {
  .container {
    max-width: 99vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  .feature-grid, .services-list, .card-container {
    gap: 16px;
  }
  .feature-grid > div, .services-list > div {
    min-width: 180px;
    max-width: 290px;
    padding: 18px 10px;
  }
}
@media (max-width: 768px) {
  html {
    font-size: 98%;
  }
  .section {
    margin-bottom: 40px;
    padding: 28px 8px;
  }
  .content-wrapper {
    gap: 17px;
  }
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .feature-grid, .services-list, .card-container, .faq-accordion {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .feature-grid > div, .services-list > div, .faq-accordion > div {
    max-width: 100%;
    min-width: 0;
  }
  .content-grid {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials {
    flex-direction: column;
    gap: 16px;
  }
  .logos-grid {
    flex-direction: column;
    gap: 18px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .section { padding: 18px 2px; }
  .content-wrapper {
    gap: 11px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 9px;
    padding: 13px 7px;
  }
  .footer .container, footer .container {
    gap: 11px;
  }
}


/* ========== Accessibility =========== */
:focus-visible {
  outline: 2px solid var(--brand-secondary);
  outline-offset: 2px;
}


/********************************************
  END OF MAIN STYLE FILE
********************************************/
