/* CSS RESET & BASE TYPOGRAPHY */
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: inherit;
  box-sizing: border-box;
  vertical-align: baseline;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  background: #fff;
  color: #141414;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

/* Brand font-family */
h1, h2, h3, h4, h5, h6, .btn-primary, .btn-secondary, .footer-brand span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

/* Typography scale */
h1 { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 16px; }
h2 { font-size: 2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 16px; }
h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 12px; }
h4 { font-size: 1.1rem; }

p, ul, ol, blockquote { font-size: 1rem; margin-bottom: 16px; color: #222; }
small { font-size: 0.85rem; color: #444; }
b, strong { font-weight: 600; }

ul, ol {
  padding-left: 26px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 10px;
}

blockquote {
  border-left: 4px solid #24526D;
  background: #f8f8f8;
  color: #1D2830;
  font-style: italic;
  padding: 15px 24px;
  margin-bottom: 10px;
  border-radius: 6px;
}

/* LINKS AND BUTTONS */
a {
  color: #24526D;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #111;
  text-decoration: underline;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 32px;
  border-radius: 30px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 14px rgba(30,30,30,0.08);
  margin-top: 6px;
  margin-bottom: 6px;
}

.btn-primary  {
  background: #141414;
  color: #fff;
  border: 1.5px solid #141414;
}
.btn-primary:hover, .btn-primary:focus {
  background: #24526D;
  color: #fff;
  box-shadow: 0 4px 14px rgba(36,82,109,0.10);
}

.btn-secondary {
  background: #fff;
  color: #141414;
  border: 1.5px solid #141414;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #6BC2C6;
  color: #141414;
  border-color: #6BC2C6;
}
.read-more {
  color: #24526D;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f5f6f8;
  transition: background 0.2s, color 0.2s;
}
.read-more:hover, .read-more:focus {
  background: #24526D;
  color: #fff;
}

/* CONTAINER SYSTEM */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0; /* Containers might include .content-wrapper for spacing */
}

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

main {
  padding-top: 32px;
  padding-bottom: 32px;
}

/* HEADER & NAVIGATION */
header {
  background: #fff;
  border-bottom: 1px solid #e4e6ea;
  padding-top: 0;
  padding-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 20;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

header a img {
  height: 38px;
  width: auto;
  margin-right: 20px;
}

.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  font-size: 1rem;
  color: #222;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #24526D;
  text-decoration: none;
}

.header .btn-primary { margin-left: 10px; }
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #24526D;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  margin-left: 20px;
  z-index: 99;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #141414;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: #fff;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.8,.2,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 30px 30px 30px;
  box-shadow: -8px 0 32px rgba(20,20,20,0.15);
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #24526D;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 28px;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #141414;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
}
.mobile-nav a {
  color: #222;
  font-size: 1.1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #f1f1f1;
  width: 100%;
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #24526D;
  background: #f7fafd;
  border-radius: 6px;
}

/* HERO SECTION */
.hero {
  background: #fff;
  color: #1d2328;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 2px 28px 0 rgba(20,20,20,0.03);
  padding: 0;
}
.hero .container {
  justify-content: center;
  flex-direction: row;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 20px;
  margin-top: 28px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  line-height: 1.14;
}
.hero p {
  max-width: 670px;
  font-size: 1.15rem;
  color: #232323;
  margin-bottom: 20px;
}

/* SECTIONS & STANDARD LAYOUTS */
.section, .features, .services-preview, .testimonials, .case-studies, .cta,
.text-section, .blog-list, .newsletter, .contact-section, .confirmation, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.features, .features .container { flex-direction: column; }
.features .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  padding: 30px 28px;
  box-shadow: 0 4px 16px 0 rgba(34,82,109,0.06);
  border: 1.5px solid #f1f2f3;
  min-width: 240px;
  flex: 1 1 240px;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.feature-item img {
  height: 42px;
  width: 42px;
  margin-bottom: 6px;
}
.feature-item h3 {
  color: #141414;
}
.feature-item p {
  color: #313236;
  margin-bottom: 0;
}
.feature-item:hover, .feature-item:focus-within {
  box-shadow: 0 8px 24px 0 rgba(34,82,109,0.15);
  border-color: #24526D;
}

/* SERVICES PREVIEW */
.services-preview ul {
  margin-bottom: 14px;
}
.services-preview li {
  margin-bottom: 13px;
  font-size: 1.06rem;
  color: #1d2328;
}
.btn-secondary {
  margin-top: 12px;
}

/* CARDS */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(17, 17, 17, 0.04);
  padding: 28px 24px;
  flex: 1 1 320px;
  transition: box-shadow 0.16s;
}
.card:hover, .card:focus-within {
  box-shadow: 0 8px 32px 0 rgba(36, 82, 109, 0.13);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

/* GENERIC FLEX WRAPPERS */
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* TESTIMONIALS */
.testimonials .content-wrapper {
  gap: 28px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fcfcfc;
  border: 1.5px solid #e5e9ee;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(36,82,109,0.05);
  margin-bottom: 20px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.testimonial-card blockquote {
  color: #141414;
  background: transparent;
  border-left: 4px solid #24526D;
  padding: 0 20px 0 18px;
  margin: 0;
}
.testimonial-author {
  color: #24526D;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.99rem;
  font-weight: 600;
  margin-left: 10px;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  border-color: #24526D;
  box-shadow: 0 8px 28px 0 rgba(36,82,109,0.09);
}
.ratings-overview {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 8px;
  color: #141414;
  border: 1px solid #e5e5e5;
}

/* CASE STUDY & PROJECT HIGHLIGHT */
.case-studies .content-wrapper {
  gap: 30px;
}
.project-highlight {
  padding: 24px 22px;
  border-radius: 12px;
  background: #f8fafd;
  margin-bottom: 20px;
  border: 1px solid #ececec;
  box-shadow: 0 2px 7px rgba(36,82,109,.05);
  color: #232323;
}

/* CTA */
.cta {
  background: #f4f5f6;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(36,82,109,0.03);
  text-align: left;
  padding-top: 40px;
  padding-bottom: 40px;
}
.cta h2 { color: #141414; margin-bottom: 10px; }
.cta p { margin-bottom: 24px; }

/* FORMS (NEWSLETTER, ETC.) */
.newsletter-signup {
  padding: 24px 18px;
  background: #f8fafb;
  border-radius: 12px;
  border: 1px solid #ececec;
  box-shadow: 0 2px 7px rgba(36,82,109,.04);
  margin-bottom: 16px;
}

/* PRICING TABLE */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  background: #fafbfc;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Open Sans', Arial, sans-serif;
  color: #222;
}
.pricing-table th, .pricing-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #ececec;
}
.pricing-table thead tr {
  background: #f2f4f7;
}
.pricing-table th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  color: #141414;
  border-bottom: 2px solid #b8b8b8;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}

/* CONTACT SECTION */
.contact-section .contact-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 12px;
  margin-bottom: 18px;
}
.contact-section .contact-details div {
  display: flex;
  align-items: center;
  font-size: 1rem;
  gap: 9px;
  color: #111;
}
.contact-section .contact-details img {
  width: 22px;
  height: 22px;
  filter: grayscale(1) contrast(1.08);
}
.address-map {
  margin-top: 16px;
  background: #fafbfc;
  border-radius: 7px;
  padding: 15px 17px;
  border: 1px solid #ececec;
}

/* LEGAL PAGES */
.legal h1, .legal h2 { color: #111; }
.legal ul li { color: #1d2328; }

/* TEXT-SECTION (About, Leistungen etc.) */
.text-section, .legal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(36,82,109,0.04);
  margin-bottom: 60px;
}
.text-section h1, .text-section h2, .text-section h3 { color: #141414; }

/* BLOG */
.blog-list .post-preview {
  background: #f7fafc;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 22px 20px 19px;
  box-shadow: 0 3px 13px rgba(20,20,20,0.03);
  transition: box-shadow 0.16s, border-color 0.18s;
}
.blog-list .post-preview:hover, .blog-list .post-preview:focus-within {
  border-color: #24526D;
  box-shadow: 0 8px 32px rgba(36,82,109,0.11);
}

/* CONFIRMATION */
.confirmation {
  background: #f5f8fa;
  border-radius: 13px;
  box-shadow: 0 4px 18px 0 rgba(36,82,109,0.07);
  margin-bottom: 60px;
}
.confirmation h1 { margin-bottom: 10px; }
.confirmation h2 { margin-top: 16px; margin-bottom: 11px; }
.confirmation ul { margin-bottom: 18px; }

/* FOOTER */
footer {
  background: #222;
  color: #fff;
  padding-top: 36px;
  padding-bottom: 20px;
  border-top: 1.5px solid #111;
}
footer .container {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.88;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 0;
  transition: color 0.18s, opacity 0.18s;
  padding: 0;
  border: none;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #6BC2C6;
  opacity: 1;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #eaeaea;
  font-size: 0.98rem;
}
.footer-contact img {
  width: 50px;
  height: auto;
  margin-bottom: 8px;
  filter: grayscale(1) brightness(2.5);
}
.footer-brand {
  color: #ccc;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: .99rem;
  align-self: flex-end;
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4000;
  background: #222;
  color: #fff;
  width: 100%;
  padding: 24px 20px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -2px 16px 0 rgba(20,20,20,0.18);
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.32s cubic-bezier(.7,.2,.2,1);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 4px;
}
.cookie-banner .btn-primary, .cookie-banner .btn-secondary {
  font-size: 1rem;
  padding: 10px 18px;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 10px 19px;
  border-radius: 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  transition: background 0.13s, color 0.13s;
  cursor: pointer;
}
.cookie-banner .cookie-settings:hover {
  background: #fff;
  color: #222;
}

/* Cookie Preferences Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 4200;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieFadeIn 0.28s;
}
@keyframes cookieFadeIn { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal {
  background: #fff;
  color: #111;
  max-width: 420px;
  width: 95vw;
  border-radius: 17px;
  box-shadow: 0 8px 48px rgba(20,20,20,0.20);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 4400;
  animation: modalSlideUp 0.32s cubic-bezier(.75,0,.45,1.2);
}
@keyframes modalSlideUp { from { transform: translateY(80px); opacity: 0; } to { transform: none; opacity: 1; } }
.cookie-modal h2 {
  color: #24526D;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 7px;
}
.cookie-modal .modal-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #24526D;
  cursor: pointer;
  transition: color 0.18s;
}
.cookie-modal .modal-close:hover,
.cookie-modal .modal-close:focus { color: #141414; }

.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.cookie-modal .cookie-category:last-child {
  border-bottom: none;
}
.cookie-modal .cookie-category span.category-name {
  font-weight: 600;
  color: #222;
}
.cookie-modal .cookie-category input[type='checkbox'] {
  accent-color: #24526D;
  width: 19px; height: 19px;
  border-radius: 5px;
}
.cookie-modal .category-desc {
  font-size: 0.93rem;
  color: #545454;
  margin-left: 4px;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 16px;
}
.cookie-modal .modal-actions .btn-primary,
.cookie-modal .modal-actions .btn-secondary {
  padding: 9px 17px;
  font-size: 1rem;
}

/* --- RESPONSIVE DESIGN: MOBILE FIRST --- */
@media (max-width: 1120px) {
  .container { max-width: 95vw; }
  footer .container { flex-direction: column; gap: 18px; }
}

@media (max-width: 900px) {
  .feature-item { min-width: 148px; padding: 18px 14px; }
  .case-studies .content-wrapper { gap: 20px; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { padding-left: 10px; padding-right: 10px; }
  header .container { flex-direction: row; gap: 10px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .footer-contact { font-size: .93rem; gap: 1px; }
  .footer-brand { font-size: .95rem; align-self: flex-start; }
  .content-wrapper { gap: 16px; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav { flex-direction: column; gap: 10px; }
}

@media (max-width: 600px) {
  html { font-size: 14px; }
  .section, .features, .services-preview, .testimonials, .case-studies, .cta, .newsletter, .text-section, .confirmation, .legal, .contact-section {
    padding: 28px 6px;
  }
  .hero { min-height: 160px; }
  .hero .container { padding-left: 6px; padding-right: 6px; }
  .footer-contact img { width: 40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.4rem; }
  h2 { font-size: 1.12rem; }
  h1 { font-size: 1.39rem; }

  .testimonial-card { flex-direction: column; gap: 10px; }
  .newsletter-signup { padding: 14px 7px; }
  .content-grid, .feature-grid, .card-container { gap: 13px; }
}

/* --- FLEX ADAPTIVE LAYOUTS FOR MOBILE --- */
@media (max-width: 900px) {
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* FOCUS VISIBLE */
a:focus, button:focus, .btn-primary:focus, .btn-secondary:focus {
  outline: 2px solid #24526D;
  outline-offset: 2px;
}

/* SCROLLBAR & SELECTION */
::selection { background: #24526D; color: #fff; }
::-webkit-scrollbar { width: 10px; background: #f4f5f7; }
::-webkit-scrollbar-thumb { background: #d1d6db; border-radius: 5px; }

/* MICRO-INTERACTIONS */
.btn-primary, .btn-secondary, .feature-item, .card, .testimonial-card,
.blog-list .post-preview, .project-highlight {
  transition: box-shadow 0.18s, border-color 0.17s, transform 0.13s;
}
.btn-primary:active, .btn-secondary:active {
  transform: translateY(2px) scale(0.97);
}
.feature-item:active, .testimonial-card:active, .project-highlight:active {
  transform: scale(0.98);
}

/****
 * END OF CSS 
 * No CSS grid, column-count, clamp(), or forbidden properties used, only Flexbox.
 * All spacing, layout and typography rules strictly followed.
 * Cookie banner and modal, mobile menu, and all major semantic blocks styled as per provided requirements.
 ****/
